当前位置: 首页>>代码示例>>PHP>>正文


PHP smarty_function_url_for_route函数代码示例

本文整理汇总了PHP中smarty_function_url_for_route函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_url_for_route函数的具体用法?PHP smarty_function_url_for_route怎么用?PHP smarty_function_url_for_route使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了smarty_function_url_for_route函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: content_548f1ae4445c76_49946492

    function content_548f1ae4445c76_49946492($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url_for_route')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php';
        }
        $_smarty_tpl->_capture_stack[0][] = array('default', 'img', null);
        ob_start();
        ?>
data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==<?php 
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['p']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['photos']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['p']->key => $_smarty_tpl->tpl_vars['p']->value) {
            $_smarty_tpl->tpl_vars['p']->_loop = true;
            ?>
<div class="owm_photo_list_item" data-ref="<?php 
            echo $_smarty_tpl->tpl_vars['p']->value['id'];
            ?>
"><a href="<?php 
            echo smarty_function_url_for_route(array('for' => "view_photo:[id=>" . (string) $_smarty_tpl->tpl_vars['p']->value['id'] . "]"), $_smarty_tpl);
            ?>
" style="background-image: url(<?php 
            echo $_smarty_tpl->tpl_vars['p']->value['url'];
            ?>
)"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['img']->value;
            ?>
" /></a></div><?php 
        }
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:45,代码来源:fa881c1a3cd00631a2af257e143481969739882d.file.photo_list.html.php

示例2: content_548e92f8cfb8d4_27297070

    function content_548e92f8cfb8d4_27297070($_smarty_tpl)
    {
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_url_for_route')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php';
        }
        ?>
<div class="owm_sidebar_profile_block">
    <div class="owm_sidebar_profile_cont clearfix">
        <div class="owm_avatar"><a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value;
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['avatarUrl']->value;
        ?>
" /></a></div>
        <div class="owm_sidebar_profile_name"><?php 
        echo $_smarty_tpl->tpl_vars['username']->value;
        ?>
</div>
        <a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value;
        ?>
" class="owm_sidebar_profile_btn"><span><?php 
        echo smarty_function_text(array('key' => 'mobile+view_profile'), $_smarty_tpl);
        ?>
</span></a>
    </div>
    <div class="owm_sidebar_profile_delimiter"></div>
    <input class="owm_sidebar_profile_logout" type="button" onclick="location.href='<?php 
        echo smarty_function_url_for_route(array('for' => 'base_sign_out'), $_smarty_tpl);
        ?>
'" value="<?php 
        echo smarty_function_text(array('key' => 'mobile+sign_out'), $_smarty_tpl);
        ?>
" />
</div><?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:40,代码来源:5015335b54ad03995687631af870746a9124ceda.file.console_profile_page.html.php

示例3: content_548e5310882b84_46798503

    function content_548e5310882b84_46798503($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.script.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_url_for')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for.php';
        }
        if (!is_callable('smarty_function_url_for_route')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('script', array());
        $_block_repeat = true;
        echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


    $(document).ready(function(){
        var $tb_container = $(".ow_box_toolbar_cont", $("#video_list_widget").parents('.ow_box, .ow_box_empty').get(0));

        $("#video-widget-menu-featured").click(function(){
            $tb_container.html($("div#video-widget-toolbar-featured").html());
        });

        $("#video-widget-menu-latest").click(function(){
            $tb_container.html($("div#video-widget-toolbar-latest").html());
        });

        $("#video-widget-menu-toprated").click(function(){
            $tb_container.html($("div#video-widget-toolbar-toprated").html());
        });
    });

<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_script(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


<div id="video_list_widget">

    <?php 
        if ($_smarty_tpl->tpl_vars['latest']->value || $_smarty_tpl->tpl_vars['featured']->value || $_smarty_tpl->tpl_vars['toprated']->value) {
            ?>
 <?php 
            if (isset($_smarty_tpl->tpl_vars['menu']->value)) {
                echo $_smarty_tpl->tpl_vars['menu']->value;
            }
            ?>
 <?php 
        }
        ?>
    
    <?php 
        $_smarty_tpl->_capture_stack[0][] = array('default', 'nocontent', null);
        ob_start();
        ?>
       <div class="ow_nocontent"><?php 
        echo smarty_function_text(array('key' => 'video+no_video'), $_smarty_tpl);
        ?>
, <a href="<?php 
        echo smarty_function_url_for(array('for' => "VIDEO_CTRL_Add:index"), $_smarty_tpl);
        ?>
"><?php 
        echo smarty_function_text(array('key' => 'video+add_new'), $_smarty_tpl);
        ?>
</a></div>
    <?php 
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>

	<div id="<?php 
        echo $_smarty_tpl->tpl_vars['items']->value['latest']['contId'];
        ?>
">
	<?php 
        if ($_smarty_tpl->tpl_vars['showTitles']->value) {
            ?>
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:9af43a1fb18194b20aedd8c847006cc20a4b3b2a.file.video_list_widget.html.php

示例4: content_548e998920a966_27344058

    function content_548e998920a966_27344058($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_url_for_route')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('style', array());
        $_block_repeat = true;
        echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


    .ow_forum_matching_posts { padding: 5px; }
    .ow_forum_search_result .ow_highbox { padding: 0 3px; }

<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


<?php 
        if (!empty($_smarty_tpl->tpl_vars['token']->value) || !empty($_smarty_tpl->tpl_vars['userToken']->value)) {
            ?>
	<?php 
            if (isset($_smarty_tpl->tpl_vars['componentForumCaption']->value)) {
                ?>
	    <div class="ow_stdmargin">
	        <?php 
                echo $_smarty_tpl->tpl_vars['componentForumCaption']->value;
                ?>
        
	    </div>
	<?php 
            }
            ?>

    <div class="ow_smallmargin clearfix">
        <div class="ow_left"><?php 
            if (isset($_smarty_tpl->tpl_vars['paging']->value)) {
                echo $_smarty_tpl->tpl_vars['paging']->value;
            }
            ?>
</div>
	    <div class="ow_right ow_txtright"><?php 
            echo $_smarty_tpl->tpl_vars['search']->value;
            ?>
</div>
    </div>
    
    <?php 
            if ($_smarty_tpl->tpl_vars['topics']->value) {
                ?>
    
    <?php 
                if (!empty($_smarty_tpl->tpl_vars['token']->value)) {
                    echo $_smarty_tpl->tpl_vars['sort']->value;
                }
                ?>
    	
	<div class="ow_forum_search_result">
    <?php 
                $_smarty_tpl->tpl_vars['topic'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['topic']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['topics']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['topic']->key => $_smarty_tpl->tpl_vars['topic']->value) {
                    $_smarty_tpl->tpl_vars['topic']->_loop = true;
                    ?>
        <?php 
                    $_smarty_tpl->_capture_stack[0][] = array('default', 'label', null);
                    ob_start();
                    ?>
<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['topic']->value['topicUrl'];
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['topic']->value['title'];
                    ?>
</a><?php 
                    list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                    if (!empty($_capture_buffer)) {
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:6f32650dd7bbbdfc1b7632ec095d227818a269b2.file.search_result.html.php

示例5: content_55b23ba3756f76_89217623

    function content_55b23ba3756f76_89217623($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.style.php';
        }
        if (!is_callable('smarty_function_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_function_url_for_route')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.url_for_route.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.block_decorator.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('style', array());
        $_block_repeat = true;
        echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

.ow_photo_item_widget {
    width: 72px;
    height: 72px;
    background-size: cover;
    background-repeat: no-repeat;
}
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

<?php 
        $_smarty_tpl->_capture_stack[0][] = array('default', 'cmp', null);
        ob_start();
        ?>
    <div id="photo_list_cmp<?php 
        echo $_smarty_tpl->tpl_vars['uniqId']->value;
        ?>
">
        <?php 
        if ($_smarty_tpl->tpl_vars['latest']->value || $_smarty_tpl->tpl_vars['featured']->value || $_smarty_tpl->tpl_vars['toprated']->value) {
            ?>
            <?php 
            if (isset($_smarty_tpl->tpl_vars['menu']->value)) {
                echo $_smarty_tpl->tpl_vars['menu']->value;
            }
            ?>
        <?php 
        }
        ?>

        <?php 
        $_smarty_tpl->_capture_stack[0][] = array('default', 'nocontent', null);
        ob_start();
        ?>
            <div class="ow_nocontent"><?php 
        echo smarty_function_text(array('key' => 'photo+no_photo'), $_smarty_tpl);
        ?>
, <a href="javascript:<?php 
        echo $_smarty_tpl->tpl_vars['url']->value;
        ?>
()"><?php 
        echo smarty_function_text(array('key' => 'photo+add_new'), $_smarty_tpl);
        ?>
</a></div>
        <?php 
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>

        <div class="ow_lp_photos ow_center" id="<?php 
        echo $_smarty_tpl->tpl_vars['items']->value['latest']['contId'];
        ?>
">
            <?php 
        $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['p']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['latest']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['p']->key => $_smarty_tpl->tpl_vars['p']->value) {
            $_smarty_tpl->tpl_vars['p']->_loop = true;
//.........这里部分代码省略.........
开发者ID:hardikamutech,项目名称:hammu,代码行数:101,代码来源:1d08d462269802ab6e9321abc2005817b843ee87.file.index_photo_list.html.php

示例6: content_5589010f67d433_51083652

    function content_5589010f67d433_51083652($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url_for_route')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.url_for_route.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.text.php';
        }
        ?>
<div class="clearfix ow_lp_albums">	
    <?php 
        if ($_smarty_tpl->tpl_vars['showTitles']->value) {
            ?>
	<?php 
            $_smarty_tpl->tpl_vars['album'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['album']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['albums']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['album']->key => $_smarty_tpl->tpl_vars['album']->value) {
                $_smarty_tpl->tpl_vars['album']->_loop = true;
                ?>
            <div class="clearfix ow_smallmargin">
                <div class="ow_lp_wrapper">
		   <?php 
                $_smarty_tpl->_capture_stack[0][] = array('url', null, null);
                ob_start();
                echo smarty_function_url_for_route(array('for' => "photo_user_album:[user=>" . (string) $_smarty_tpl->tpl_vars['user']->value . ", album=>" . (string) $_smarty_tpl->tpl_vars['album']->value['dto']->id . "]"), $_smarty_tpl);
                list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                if (!empty($_capture_buffer)) {
                    if (isset($_capture_assign)) {
                        $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                    }
                    if (isset($_capture_append)) {
                        $_smarty_tpl->append($_capture_append, ob_get_contents());
                    }
                    Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
                } else {
                    $_smarty_tpl->capture_error();
                }
                ?>
		   <a href="<?php 
                echo Smarty::$_smarty_vars['capture']['url'];
                ?>
"><img title="<?php 
                echo $_smarty_tpl->tpl_vars['album']->value['dto']->name;
                ?>
" src="<?php 
                echo $_smarty_tpl->tpl_vars['album']->value['cover'];
                ?>
" width="100" height="100" /></a>
                </div>
                <div class="ow_lp_label ow_small">
                    <a href="<?php 
                echo Smarty::$_smarty_vars['capture']['url'];
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['album']->value['dto']->name;
                ?>
</a>
                </div>
            </div>
	<?php 
            }
            if (!$_smarty_tpl->tpl_vars['album']->_loop) {
                ?>
	    <div class="ow_nocontent"><?php 
                echo smarty_function_text(array('key' => 'photo+no_photo_found'), $_smarty_tpl);
                ?>
</div>
	<?php 
            }
            ?>
    <?php 
        } else {
            ?>
        <div class="ow_lp_photos ow_center">
            <?php 
            $_smarty_tpl->tpl_vars['album'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['album']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['albums']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['album']->key => $_smarty_tpl->tpl_vars['album']->value) {
                $_smarty_tpl->tpl_vars['album']->_loop = true;
                ?>
                <?php 
                $_smarty_tpl->_capture_stack[0][] = array('url', null, null);
                ob_start();
                ?>
                    <?php 
                echo smarty_function_url_for_route(array('for' => "photo_user_album:[user=>" . (string) $_smarty_tpl->tpl_vars['user']->value . ", album=>" . (string) $_smarty_tpl->tpl_vars['album']->value['dto']->id . "]"), $_smarty_tpl);
                ?>

                <?php 
                list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                if (!empty($_capture_buffer)) {
                    if (isset($_capture_assign)) {
//.........这里部分代码省略.........
开发者ID:bhushansonar,项目名称:hammu,代码行数:101,代码来源:bd756aa124a2a01f8390817a9fdf45771913b7bd.file.user_photo_albums_widget.html.php

示例7: content_548eba5846a895_69093724

    function content_548eba5846a895_69093724($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_function_url_for_route')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('style', array());
        $_block_repeat = true;
        echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


    .ow_user_gifts .ow_gift_wrapper {
        margin: 0px 2px 0px 0px;
        height: 83px;
        width: 80px;
        overflow: hidden;
    }
    
    .ow_user_gifts .ow_gift_wrapper img { width: 80px; }

<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


<div class="clearfix ow_user_gifts">
<?php 
        $_smarty_tpl->tpl_vars['gift'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['gift']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['gifts']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['gift']->key => $_smarty_tpl->tpl_vars['gift']->value) {
            $_smarty_tpl->tpl_vars['gift']->_loop = true;
            ?>
	<div class="ow_gift_wrapper">
        <a href="<?php 
            echo smarty_function_url_for_route(array('for' => "virtual_gifts_view_gift:[giftId=>" . (string) $_smarty_tpl->tpl_vars['gift']->value['dto']->id . "]"), $_smarty_tpl);
            ?>
">
            <img <?php 
            if ($_smarty_tpl->tpl_vars['gift']->value['dto']->message != '') {
                ?>
title="<?php 
                echo $_smarty_tpl->tpl_vars['gift']->value['dto']->message;
                ?>
"<?php 
            }
            ?>
 src="<?php 
            echo $_smarty_tpl->tpl_vars['gift']->value['imageUrl'];
            ?>
" />
        </a>
	</div>
<?php 
        }
        ?>
</div><?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:70,代码来源:815a290cba24ae99e918f29d95a150d65db6e035.file.user_gifts_widget.html.php

示例8: content_55ba1ff38297b7_04453401

    function content_55ba1ff38297b7_04453401($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.script.php';
        }
        if (!is_callable('smarty_function_url_for')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.url_for.php';
        }
        if (!is_callable('smarty_block_style')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.style.php';
        }
        if (!is_callable('smarty_function_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.cycle.php';
        }
        if (!is_callable('smarty_function_text_edit')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text_edit.php';
        }
        if (!is_callable('smarty_function_math')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.math.php';
        }
        if (!is_callable('smarty_function_url_for_route')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.url_for_route.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.block_decorator.php';
        }
        if (!is_callable('smarty_block_form')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.form.php';
        }
        if (!is_callable('smarty_function_label')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.label.php';
        }
        if (!is_callable('smarty_function_input')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.input.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('script', array());
        $_block_repeat = true;
        echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


$(document).ready(function(){
	$('#roles').sortable({
		items: 'tr.role',
		helper: 'clone',
		placeholder: 'placeholder',
		start: function(event, ui){
			$(ui.placeholder).append('<td colspan="4"></td>');
		},
		update: function(event, ui){
			var set = {};

			$('#roles tr.role td input:checkbox[name="role[]"]').each(function(i){
				var id = $(this).val();
				set['order['+id+']'] = ++i;
			});

			url = '<?php 
            echo smarty_function_url_for(array('for' => "ADMIN_CTRL_Users:ajaxReorder"), $_smarty_tpl);
            ?>
';

			$.post( url, set );
		},
		stop: function(event, ui){

			$set = $('#roles tr.role td input:checkbox[name="role[]"]');
			 
			$set.attr('disabled', false);

			$( $set[0] ).attr('disabled', 'disabled').attr('checked', false);

			$('td span.default-role:visible', this).hide();

			$('td input:checkbox[name]')
			
			$( $(this).sortable('option', 'items'), this ).each(function(i){
				if(i == 0)
					$('td span.default-role', this).show();

				var isEven = (i+1) % 2 === 0;

				remClass = isEven ? 'ow_alt1':'ow_alt2';
				addClass = isEven ? 'ow_alt2':'ow_alt1';
				
				if( $(this).hasClass(remClass) )
					$(this).removeClass( remClass );

				if( !$(this).hasClass(addClass) )
//.........这里部分代码省略.........
开发者ID:hardikamutech,项目名称:hammu,代码行数:101,代码来源:78909c89375f2c00327899e3aee9c9409537b8ce.file.users_roles.html.php

示例9: content_548ea9cd890997_33278123

    function content_548ea9cd890997_33278123($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_url_for_route')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_label')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.label.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        if (!is_callable('smarty_function_component')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.component.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'sign-in'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'sign-in'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

<div class="owm_login_form">
    <div class="clearfix owm_std_margin_top">
        <div class="owm_login_txt owm_float_left">
            <?php 
            echo smarty_function_text(array('key' => 'base+base_sign_in_cap_label'), $_smarty_tpl);
            ?>

        </div>
        <a href="<?php 
            echo smarty_function_url_for_route(array('for' => 'base_forgot_password'), $_smarty_tpl);
            ?>
" class="owm_forgot_txt owm_float_right"><?php 
            echo smarty_function_text(array('key' => 'base+forgot_password_label'), $_smarty_tpl);
            ?>
</a>
    </div>
    <div class="owm_login_field owm_login_username">
        <?php 
            echo smarty_function_input(array('name' => 'identity'), $_smarty_tpl);
            ?>

    </div>
    <div class="owm_login_field owm_login_pass">
        <?php 
            echo smarty_function_input(array('name' => 'password'), $_smarty_tpl);
            ?>

    </div>
    <div style="display:none;"><?php 
            echo smarty_function_input(array('name' => 'remember'), $_smarty_tpl);
            echo smarty_function_label(array('name' => 'remember'), $_smarty_tpl);
            ?>
</div>
    <div class="owm_btn_wide owm_btn_positive owm_std_margin_top">
        <?php 
            echo smarty_function_submit(array('name' => 'submit'), $_smarty_tpl);
            ?>

    </div>
</div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'sign-in'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


<?php 
        echo smarty_function_component(array('class' => "BASE_MCMP_ConnectButtonList"), $_smarty_tpl);
        ?>


<?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:86,代码来源:f1c72d3d4eaee31ff988c6af9aed9ba6d5d8fb15.file.sign_in.html.php

示例10: content_548e531062f143_62109873

    function content_548e531062f143_62109873($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url_for_route')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php';
        }
        if (!is_callable('smarty_modifier_truncate')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\modifier.truncate.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        $_smarty_tpl->tpl_vars['topic'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['topic']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['topics']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['topic']->key => $_smarty_tpl->tpl_vars['topic']->value) {
            $_smarty_tpl->tpl_vars['topic']->_loop = true;
            ?>

	<?php 
            $_smarty_tpl->_capture_stack[0][] = array('default', 'info_string', null);
            ob_start();
            ?>
	    <a href="<?php 
            echo $_smarty_tpl->tpl_vars['topic']->value['lastPost']['postUrl'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['topic']->value['title'];
            ?>
</a>
	<?php 
            list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
            if (!empty($_capture_buffer)) {
                if (isset($_capture_assign)) {
                    $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                }
                if (isset($_capture_append)) {
                    $_smarty_tpl->append($_capture_append, ob_get_contents());
                }
                Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
            } else {
                $_smarty_tpl->capture_error();
            }
            ?>
	
	<?php 
            $_smarty_tpl->_capture_stack[0][] = array('default', 'content', null);
            ob_start();
            ?>
    	<?php 
            $_smarty_tpl->tpl_vars["sectId"] = new Smarty_variable($_smarty_tpl->tpl_vars['groups']->value[$_smarty_tpl->tpl_vars['topic']->value['groupId']]->sectionId, null, 0);
            ?>
		<div class="ow_smallmargin ow_small">
		    <a href="<?php 
            echo smarty_function_url_for_route(array('for' => "forum-default"), $_smarty_tpl);
            ?>
#section-<?php 
            echo $_smarty_tpl->tpl_vars['sectId']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['sections']->value[$_smarty_tpl->tpl_vars['sectId']->value]->name;
            ?>
</a> &raquo; <a href="<?php 
            echo smarty_function_url_for_route(array('for' => "group-default:[groupId=>" . (string) $_smarty_tpl->tpl_vars['topic']->value['groupId'] . "]"), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['groups']->value[$_smarty_tpl->tpl_vars['topic']->value['groupId']]->name;
            ?>
</a>
		</div>
	    <div class="ow_smallmargin">
            <?php 
            $_smarty_tpl->_capture_stack[0][] = array('default', 'length', null);
            ob_start();
            echo preg_match_all('/[^\\s]/u', $_smarty_tpl->tpl_vars['topic']->value['lastPost']['text'], $tmp);
            list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
            if (!empty($_capture_buffer)) {
                if (isset($_capture_assign)) {
                    $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                }
                if (isset($_capture_append)) {
                    $_smarty_tpl->append($_capture_append, ob_get_contents());
                }
                Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
            } else {
                $_smarty_tpl->capture_error();
            }
            ?>
            <?php 
            echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['topic']->value['lastPost']['text'], $_smarty_tpl->tpl_vars['postLength']->value);
            ?>
 <?php 
            if ($_smarty_tpl->tpl_vars['length']->value > $_smarty_tpl->tpl_vars['postLength']->value) {
                ?>
<a href="<?php 
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:ff653bc71452274e1598569cb31f0b358aeda203.file.forum_topics_widget.html.php

示例11: content_548f1ad771e6b3_34802700

    function content_548f1ad771e6b3_34802700($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url_for_route')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php';
        }
        if (!is_callable('smarty_modifier_truncate')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\modifier.truncate.php';
        }
        $_smarty_tpl->tpl_vars['album'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['album']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['albums']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['album']->key => $_smarty_tpl->tpl_vars['album']->value) {
            $_smarty_tpl->tpl_vars['album']->_loop = true;
            $_smarty_tpl->_capture_stack[0][] = array('default', 'href', null);
            ob_start();
            echo smarty_function_url_for_route(array('for' => "photo_user_album:[user=>" . (string) $_smarty_tpl->tpl_vars['username']->value . ", album=>" . (string) $_smarty_tpl->tpl_vars['album']->value['dto']->id . "]"), $_smarty_tpl);
            list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
            if (!empty($_capture_buffer)) {
                if (isset($_capture_assign)) {
                    $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                }
                if (isset($_capture_append)) {
                    $_smarty_tpl->append($_capture_append, ob_get_contents());
                }
                Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
            } else {
                $_smarty_tpl->capture_error();
            }
            ?>
<li class="owm_photo_album_list_item" data-ref="<?php 
            echo $_smarty_tpl->tpl_vars['album']->value['dto']->id;
            ?>
">
    <a href="<?php 
            echo $_smarty_tpl->tpl_vars['href']->value;
            ?>
" class="owm_photo_album_list_cont clearfix">
        <span class="owm_float_left">
            <span class="owm_photo_album_thumb" style="background-image: url(<?php 
            echo $_smarty_tpl->tpl_vars['album']->value['cover'];
            ?>
)"></span>
            <span class="owm_photo_album_name"><?php 
            echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['album']->value['dto']->name, 22);
            ?>
</span>
        </span>
        <span class="owm_float_right">
            <span class="owm_photo_album_count"><?php 
            echo $_smarty_tpl->tpl_vars['album']->value['photo_count'];
            ?>
</span>
        </span>
    </a>
</li>
<?php 
        }
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:61,代码来源:d1caa1dc4a33f406ee275de9e018cbb9031cb2f4.file.album_list.html.php

示例12: content_548e8ea10107c9_15351732

    function content_548e8ea10107c9_15351732($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_url_for_route')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('style', array());
        $_block_repeat = true;
        echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    div.ow_floatbox_user_list .ow_floatbox_user_list_row .ow_item_set3 {
        width: 31%;
    }

    .ow_floatbox_user_list_scroll {
        height: 400px;
        overflow-y: auto;
    }
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


<?php 
        if (!empty($_smarty_tpl->tpl_vars['list']->value)) {
            ?>
<div class="ow_user_list ow_floatbox_user_list ow_full<?php 
            if ($_smarty_tpl->tpl_vars['scroll']->value) {
                ?>
 ow_floatbox_user_list_scroll <?php 
            }
            ?>
">
    <?php 
            $_smarty_tpl->tpl_vars['id'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['id']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['list']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['id']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['id']->iteration = 0;
            $_smarty_tpl->tpl_vars['id']->index = -1;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['iteration'] = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['id']->key => $_smarty_tpl->tpl_vars['id']->value) {
                $_smarty_tpl->tpl_vars['id']->_loop = true;
                $_smarty_tpl->tpl_vars['id']->iteration++;
                $_smarty_tpl->tpl_vars['id']->index++;
                $_smarty_tpl->tpl_vars['id']->first = $_smarty_tpl->tpl_vars['id']->index === 0;
                $_smarty_tpl->tpl_vars['id']->last = $_smarty_tpl->tpl_vars['id']->iteration === $_smarty_tpl->tpl_vars['id']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['first'] = $_smarty_tpl->tpl_vars['id']->first;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['iteration']++;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['last'] = $_smarty_tpl->tpl_vars['id']->last;
                ?>

        <?php 
                if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['first']) {
                    ?>
            <div class="clearfix ow_floatbox_user_list_row <?php 
                    echo smarty_function_cycle(array('name' => "rows", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
                    ?>
">
        <?php 
                }
                ?>

        <?php 
                $_smarty_tpl->_capture_stack[0][] = array('default', "_fields", null);
                ob_start();
                ?>
            <?php 
                if (!empty($_smarty_tpl->tpl_vars['fields']->value)) {
                    ?>
                <?php 
                    $_smarty_tpl->tpl_vars["field"] = new Smarty_Variable();
                    $_smarty_tpl->tpl_vars["field"]->_loop = false;
                    $_from = $_smarty_tpl->tpl_vars['fields']->value[$_smarty_tpl->tpl_vars['id']->value];
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    foreach ($_from as $_smarty_tpl->tpl_vars["field"]->key => $_smarty_tpl->tpl_vars["field"]->value) {
                        $_smarty_tpl->tpl_vars["field"]->_loop = true;
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:a90b2ac27f29709bd7835dc23c8a3fd319d35204.file.floatbox_user_list.html.php

示例13: content_548e59021e2967_20035996

    function content_548e59021e2967_20035996($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        if (!is_callable('smarty_function_label')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.label.php';
        }
        if (!is_callable('smarty_function_url_for_route')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_component')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.component.php';
        }
        ?>
<div class="ow_sign_in_wrap">
<h2><?php 
        echo $_smarty_tpl->tpl_vars['siteName']->value;
        ?>
</h2>
<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'sign-in'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'sign-in'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

     <div class="clearfix">
        <div class="ow_sign_in">
            <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'box', 'langLabel' => 'base+base_sign_in_cap_label'));
            $_block_repeat = true;
            echo smarty_block_block_decorator(array('name' => 'box', 'langLabel' => 'base+base_sign_in_cap_label'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>


                <div class="ow_user_name">
                    <?php 
                echo smarty_function_input(array('name' => 'identity'), $_smarty_tpl);
                ?>

                </div>
                <div class="ow_password">
                    <?php 
                echo smarty_function_input(array('name' => 'password'), $_smarty_tpl);
                ?>

                </div>
                <div class="ow_form_options clearfix">
                    <div class="ow_right">
                        <?php 
                echo smarty_function_submit(array('name' => 'submit', 'class' => 'ow_positive'), $_smarty_tpl);
                ?>

                    </div>
                    <p class="ow_remember_me"><?php 
                echo smarty_function_input(array('name' => 'remember'), $_smarty_tpl);
                echo smarty_function_label(array('name' => 'remember'), $_smarty_tpl);
                ?>
</p>
                    <p class="ow_forgot_pass"><a href="<?php 
                echo smarty_function_url_for_route(array('for' => 'base_forgot_password'), $_smarty_tpl);
                ?>
"><?php 
                echo smarty_function_text(array('key' => 'base+forgot_password_label'), $_smarty_tpl);
                ?>
</a></p>
                </div>
            <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_block_decorator(array('name' => 'box', 'langLabel' => 'base+base_sign_in_cap_label'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

            <div class="ow_connect_buttons">
                <?php 
            echo smarty_function_component(array('class' => 'BASE_CMP_SignInButtonList'), $_smarty_tpl);
            ?>

            </div>
        </div>
        <div class="ow_sign_up">
            <p><?php 
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:1c5b9297222b82677a816e37725af9fb9c04bbd3.file.sign_in.html.php

示例14: content_5559721c5085d5_80971572

    function content_5559721c5085d5_80971572($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.style.php';
        }
        if (!is_callable('smarty_function_component')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.component.php';
        }
        if (!is_callable('smarty_function_url_for_route')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.url_for_route.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('style', array());
        $_block_repeat = true;
        echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


.admin_notification, .admin_warning{
    text-align: center;
	margin-bottom:10px;
	padding: 10px 0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
    background-color: #dfd;
	color: #444;
	text-shadow: #fff 1px 1px 0;
}

.admin_warning{
    background-color: #fdd;
}

<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

<div class="ow_header ow_admin_header clearfix">
	<?php 
        echo smarty_function_component(array('class' => 'BASE_CMP_Console'), $_smarty_tpl);
        ?>

	<div class="ow_site_panel">
		<div class="ow_logo_wrap">
			<a href="<?php 
        echo $_smarty_tpl->tpl_vars['siteUrl']->value;
        ?>
" class="ow_tagline"><?php 
        echo $_smarty_tpl->tpl_vars['siteName']->value;
        ?>
</a>
			<a href="<?php 
        echo smarty_function_url_for_route(array('for' => "admin_default"), $_smarty_tpl);
        ?>
" class="ow_admin_title">Admin Area</a>
		</div>
	</div>
	<div class="ow_canvas">
		<div class="ow_page">
			<div class="admin_menu_cont clearfix">
			<?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['menuArr']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
				<div id="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['id'];
            ?>
" class="menu_item<?php 
            if ($_smarty_tpl->tpl_vars['item']->value['isActive']) {
                ?>
 active<?php 
            }
            ?>
">
					<span class="icon <?php 
            echo $_smarty_tpl->tpl_vars['key']->value;
            ?>
">
						<span class="label"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['label'];
            ?>
</span>
						<span class="menu_items ow_tooltip">
//.........这里部分代码省略.........
开发者ID:bhushansonar,项目名称:hammu,代码行数:101,代码来源:b81e443e2228577067617859285b6aae0e8c1fbe.file.admin.html.php

示例15: content_5349e1b97f2319_41894535

    function content_5349e1b97f2319_41894535($_smarty_tpl)
    {
        if (!is_callable('smarty_function_text')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_block_script')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/block.script.php';
        }
        if (!is_callable('smarty_function_url_for')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.url_for.php';
        }
        if (!is_callable('smarty_block_style')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/block.style.php';
        }
        if (!is_callable('smarty_function_url_for_route')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.url_for_route.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/block.block_decorator.php';
        }
        if (!is_callable('smarty_block_form')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/block.form.php';
        }
        if (!is_callable('smarty_function_input')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.input.php';
        }
        if (!is_callable('smarty_function_label')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.label.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.submit.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_libraries/smarty3/plugins/function.cycle.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.decorator.php';
        }
        if (!is_callable('smarty_function_desc')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.desc.php';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>


<div class="ow_stdmargin">
	<span class="ow_highlight" style="padding:1px 3px;"><?php 
        echo smarty_function_text(array('key' => "admin+page_note_part_1"), $_smarty_tpl);
        ?>
</span> <?php 
        echo smarty_function_text(array('key' => "admin+page_note_part_2"), $_smarty_tpl);
        ?>
 
</div>
<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('script', array());
        $_block_repeat = true;
        echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


$(document).ready( function(){
	$('#s1, #s2').sortable({
		items: 'tr.draggable-lang-item',
		helper: 'clone',
		placeholder: 'lang_placeholder',
		start: function(event, ui){
			$(ui.placeholder).append('<td colspan="3"></td>');
		},

		stop: function(event, ui){

				switch( this ){
					case $('#s1')[0]:
												
						if( $('tr.draggable-lang-item', this).length == 0 )
						{
							alert( '<?php 
            echo smarty_function_text(array('key' => "admin+msg_one_active_constraint"), $_smarty_tpl);
            ?>
' );
							
							$(this).sortable('cancel');
							
							$('#s1 tr.empty').remove();
							break;
						}
					
						$('tr.draggable-lang-item:odd', this).each(function(){
							
							if( !$(this).hasClass('ow_even') ) $(this).addClass('ow_even');
						});


						$('tr.draggable-lang-item:even', this).each(function(){
							if( $(this).hasClass('ow_even') ) $(this).removeClass('ow_even');
						});
						break;
//.........这里部分代码省略.........
开发者ID:vazahat,项目名称:dudex,代码行数:101,代码来源:2bcc533f9625193e02192832c2ae96550821a892.file.languages_mod.html.php


注:本文中的smarty_function_url_for_route函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。