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


PHP smarty_block_script函数代码示例

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


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

示例1: content_5349e255681a26_61809048

    function content_5349e255681a26_61809048($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/block.script.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();
            ?>

    DND_InterfaceFix.fix('.ow_sidebar');
<?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);
        ?>


<?php 
        $_smarty_tpl->tpl_vars["component"] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars["component"]->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['componentList']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars["component"]->key => $_smarty_tpl->tpl_vars["component"]->value) {
            $_smarty_tpl->tpl_vars["component"]->_loop = true;
            ?>
    <?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['sb_component'][0][0]->tplComponent(array('uniqName' => $_smarty_tpl->tpl_vars['component']->value['uniqName']), $_smarty_tpl);
            ?>

<?php 
        }
    }
开发者ID:vazahat,项目名称:dudex,代码行数:39,代码来源:8b4b2d9d38bb3b0eee7bfdf7e3ed4db47a2653d5.file.sidebar.html.php

示例2: content_548e5323b0c142_93745746

    function content_548e5323b0c142_93745746($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.script.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();
            ?>

    DND_InterfaceFix.fix('.ow_sidebar');
<?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);
        ?>


<?php 
        $_smarty_tpl->tpl_vars["component"] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars["component"]->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['componentList']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars["component"]->key => $_smarty_tpl->tpl_vars["component"]->value) {
            $_smarty_tpl->tpl_vars["component"]->_loop = true;
            ?>
    <?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['sb_component'][0][0]->tplComponent(array('uniqName' => $_smarty_tpl->tpl_vars['component']->value['uniqName']), $_smarty_tpl);
            ?>

<?php 
        }
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:39,代码来源:70b63ec0c31f2206f9a1e5a37b70be652db6bbe3.file.sidebar.html.php

示例3: content_55520ad8158c35_30295163

    function content_55520ad8158c35_30295163($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.script.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();
            ?>

    DND_InterfaceFix.fix('.ow_sidebar');
<?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);
        ?>


<?php 
        $_smarty_tpl->tpl_vars["component"] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars["component"]->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['componentList']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars["component"]->key => $_smarty_tpl->tpl_vars["component"]->value) {
            $_smarty_tpl->tpl_vars["component"]->_loop = true;
            ?>
    <?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['sb_component'][0][0]->tplComponent(array('uniqName' => $_smarty_tpl->tpl_vars['component']->value['uniqName']), $_smarty_tpl);
            ?>

<?php 
        }
    }
开发者ID:bhushansonar,项目名称:hammu,代码行数:39,代码来源:e0cb7133aaf5236a5ec8f19553cefe52add08cbd.file.sidebar.html.php

示例4: 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

示例5: content_548e56be0a1295_27119754

    function content_548e56be0a1295_27119754($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        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_online_now')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.online_now.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_avatar_console .ow_avatar_label {
        bottom: 5px;
        right: 5px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
    }
    #avatar_console_image {
        background-repeat: no-repeat;
        background-position: center center;
        position:relative;
        width: 100%;
    }
<?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 ($_smarty_tpl->tpl_vars['owner']->value || $_smarty_tpl->tpl_vars['moderation']->value) {
            ?>
    <?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();
                ?>

        
        (function(){
            $("#avatar-console").hover(
              function(){
                $("#avatar-change").fadeIn("fast");
                $("#avatar-approve").fadeIn("fast");
              },
              function(){
                $("#avatar-change").fadeOut("fast");
                $("#avatar-approve").fadeOut("fast");
              }
          );            
       }());
       
    <?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);
            ?>

<?php 
        }
        ?>


<div class="ow_avatar_console ow_center" id="avatar-console">
    <div id="avatar_console_image" style="height: <?php 
        echo $_smarty_tpl->tpl_vars['avatarSize']->value;
        ?>
px; background-image: url(<?php 
        echo $_smarty_tpl->tpl_vars['avatar']->value;
        ?>
);">
        
        <div class="ow_avatar_pending_approval" style="<?php 
        if (!$_smarty_tpl->tpl_vars['hasAvatar']->value || $_smarty_tpl->tpl_vars['isModerator']->value || !$_smarty_tpl->tpl_vars['owner']->value || !$_smarty_tpl->tpl_vars['isModerator']->value && !empty($_smarty_tpl->tpl_vars['avatarDto']->value) && $_smarty_tpl->tpl_vars['avatarDto']->value->status == 'active') {
            ?>
display:none;<?php 
        } else {
        }
        ?>
position: absolute; top: 0; right: 0; left: 0; bottom: 0; background-color: rgba(0,0,0,0.6); color: #fff; padding: 8px;"><?php 
        echo smarty_function_text(array('key' => 'base+avatar_pending_approval'), $_smarty_tpl);
        ?>
</div>
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:bd81c51c8bb93b4d2094b4407f08de7cdf5bba60.file.user_avatar_widget.html.php

示例6: content_55597b9fb0c768_48516542

    function content_55597b9fb0c768_48516542($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.script.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();
            ?>


var p = $("#<?php 
            echo $_smarty_tpl->tpl_vars['uniqId']->value;
            ?>
");

p.on("click", "[data-tab]", function() {
    $("[data-tab]", p).removeClass("active");
    $("[data-content]", p).hide();
    var tab = $(this).addClass("active").data("tab");
    $("[data-content=" + tab + "]", p).show();
});

<?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="<?php 
        echo $_smarty_tpl->tpl_vars['uniqId']->value;
        ?>
">
    <div class="clearfix">
        <div class="ow_box_menu">
            <?php 
        $_smarty_tpl->tpl_vars["item"] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars["item"]->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['items']->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;
            ?>
                <a href="javascript://" <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['active']) {
                ?>
 class="active"<?php 
            }
            ?>
 data-tab="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['name'];
            ?>
">
                   <span><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['label'];
            ?>
</span>
                </a>
            <?php 
        }
        ?>
        </div>
    </div>

    <div class="ow_moderation_panel_content">
        <?php 
        $_smarty_tpl->tpl_vars["item"] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars["item"]->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['items']->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;
            ?>
            <div data-content="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['name'];
            ?>
" <?php 
            if (!$_smarty_tpl->tpl_vars['item']->value['active']) {
                ?>
 style="display: none;"<?php 
            }
            ?>
>
                 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value['content'];
            ?>

            </div>
        <?php 
        }
        ?>
    </div>
//.........这里部分代码省略.........
开发者ID:bhushansonar,项目名称:hammu,代码行数:101,代码来源:329519a5e75d4cc48ae14bcbcbb57ba72abc4bb8.file.moderation_tools_widget.html.php

示例7: content_55b27435ea9f66_79945606

    function content_55b27435ea9f66_79945606($_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_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_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php';
        }
        if (!is_callable('smarty_function_user_link')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.user_link.php';
        }
        if (!is_callable('smarty_function_age')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.age.php';
        }
        if (!is_callable('smarty_function_format_date')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.format_date.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('script', array());
        $_block_repeat = true;
        echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

	<?php 
            $_smarty_tpl->tpl_vars['btn'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['btn']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['buttons']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['btn']->key => $_smarty_tpl->tpl_vars['btn']->value) {
                $_smarty_tpl->tpl_vars['btn']->_loop = true;
                ?>
	   <?php 
                if (!empty($_smarty_tpl->tpl_vars['btn']->value['js'])) {
                    ?>
	       <?php 
                    echo $_smarty_tpl->tpl_vars['btn']->value['js'];
                    ?>

	   <?php 
                }
                ?>
	<?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);
        ?>


<?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();
            ?>


    .user_list_thumb {
        width: 55px;
        height: 45px;
    }
    
    .user_list_thumb img {
        width: 45px;
        height: 45px;
    }
    
    #user-list-form .ow_lbutton {
        cursor: default;
    }

<?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 ($_smarty_tpl->tpl_vars['users']->value) {
//.........这里部分代码省略.........
开发者ID:hardikamutech,项目名称:hammu,代码行数:101,代码来源:c7d820331bebe4b7c2901d972ba613552809fdf4.file.user_list.html.php

示例8: content_55c9cb4ec88615_13542542

    function content_55c9cb4ec88615_13542542($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.script.php';
        }
        if (!is_callable('smarty_block_form')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include 'E:\\wamp\\www\\hammu\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_error')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.error.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'E:\\wamp\\www\\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();
            ?>


    $('tr.type', '#types' ).hover(
        function(){
            $('td a.edit_type, td a.delete_type', this).show();
        },
        function(){
            $('td a.edit_type, td a.delete_type', this).hide();
        }
    );

<?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);
        ?>


<?php 
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>


<div class="ow_automargin ow_superwide">
    <?php 
        if ($_smarty_tpl->tpl_vars['showAccTypes']->value) {
            ?>
    <div class="ow_box_normal ow_automargin ow_no_cap ow_break_word" style="margin-bottom: 16px;">
        <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'acc-type-select-form'));
            $_block_repeat = true;
            echo smarty_block_form(array('name' => 'acc-type-select-form'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

        <label for="qst_account_type_select"><?php 
                echo smarty_function_text(array('key' => 'membership+for_account_type'), $_smarty_tpl);
                ?>
</label>
        <?php 
                echo smarty_function_input(array('name' => 'accountType'), $_smarty_tpl);
                ?>

        <a style="margin-left: 15px;" class="ow_lbutton" href="<?php 
                echo $_smarty_tpl->tpl_vars['accTypesUrl']->value;
                ?>
"><?php 
                echo smarty_function_text(array('key' => 'admin+questions_edit_account_types_button'), $_smarty_tpl);
                ?>
</a>
        <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_form(array('name' => 'acc-type-select-form'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

    </div>
    <?php 
        }
        ?>

    <?php 
        if ($_smarty_tpl->tpl_vars['memberships']->value) {
//.........这里部分代码省略.........
开发者ID:bhushansonar,项目名称:hammu,代码行数:101,代码来源:1b7bcbee39f450cfe28ededc65e6a53044b9af08.file.admin_index.html.php

示例9: content_558900fcb4b0e0_10294059

    function content_558900fcb4b0e0_10294059($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.script.php';
        }
        if (!is_callable('smarty_block_style')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_function_add_content')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.add_content.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'E:\\wamp\\www\\hammu\\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();
            ?>

    DND_InterfaceFix.fix('.place_section');
<?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);
        ?>


<?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();
            ?>

    #place_components .component {
        float: left;
    }

    .configurable_component .ow_box_icons {
        float: right;
        padding-top: 6px;
    }

    .configurable_component h3 {
        float: left;
    }

<?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 
        echo smarty_function_add_content(array('key' => 'base.widget_panel.content.top', 'placeName' => $_smarty_tpl->tpl_vars['placeName']->value), $_smarty_tpl);
        ?>

<?php 
        echo smarty_function_add_content(array('key' => 'base.`$placeName`.content.top'), $_smarty_tpl);
        ?>


<?php 
        if ($_smarty_tpl->tpl_vars['allowCustomize']->value) {
            ?>
    <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'box', 'addClass' => 'ow_highbox ow_stdmargin index_customize_box', 'type' => "empty"));
            $_block_repeat = true;
            echo smarty_block_block_decorator(array('name' => 'box', 'addClass' => 'ow_highbox ow_stdmargin index_customize_box', 'type' => "empty"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

            <div class="ow_center">
                <?php 
                echo smarty_function_decorator(array('name' => 'button', 'langLabel' => 'base+widgets_customize_btn', 'class' => 'ow_ic_gear_wheel', 'id' => "goto_customize_btn"), $_smarty_tpl);
                ?>

            </div>
    <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_block_decorator(array('name' => 'box', 'addClass' => 'ow_highbox ow_stdmargin index_customize_box', 'type' => "empty"), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

<?php 
        }
//.........这里部分代码省略.........
开发者ID:bhushansonar,项目名称:hammu,代码行数:101,代码来源:85124270e65277f8425171f5b26f8549d7943ca2.file.drag_and_drop_index.html.php

示例10: content_5559741dcce9f1_41312051

    function content_5559741dcce9f1_41312051($_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_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.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_modifier_escape')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/modifier.escape.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_form')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.form.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_label')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.label.php';
        }
        if (!is_callable('smarty_function_error')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.error.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();
            ?>


$(function(){
    $('#add_new_text_btn').click(function(){$('#add_new_text').trigger('click')})
});

<?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);
        ?>

<?php 
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>


<style>
	input[type="text"].grey-text{color: #BBB;}
	textarea.once{height:30px;}
	
    .lang_value{
        width: 395px;
        overflow: hidden;
    }
    
</style>

    		<div class="ow_anno ow_std_margin" style="text-align:center;">
	                <?php 
        echo smarty_function_text(array('key' => "admin+you_are_editing"), $_smarty_tpl);
        ?>

                <select onchange="location.href = '<?php 
        echo $_smarty_tpl->tpl_vars['languageSwitchUrl']->value;
        ?>
&language='+this.value;">
                	<?php 
        $_smarty_tpl->tpl_vars['lang'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['lang']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['langs']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['lang']->key => $_smarty_tpl->tpl_vars['lang']->value) {
            $_smarty_tpl->tpl_vars['lang']->_loop = true;
            ?>
                	<option <?php 
            if ($_smarty_tpl->tpl_vars['language']->value->getTag() == $_smarty_tpl->tpl_vars['lang']->value->getTag()) {
                ?>
selected="selected"<?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['lang']->value->getTag();
            ?>
"><?php 
//.........这里部分代码省略.........
开发者ID:bhushansonar,项目名称:hammu,代码行数:101,代码来源:1302870440fd6525ab1c6203a76f1d54e8ae0cf3.file.languages_index.html.php

示例11: content_548e679f006226_56602570

    function content_548e679f006226_56602570($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        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';
        }
        ?>
 <?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();
            ?>


 .s-admin-screen
 {
    max-width: 95%;
    border-width: 1px;
    margin: 10px 0px;
 }
 
 .s-leave-review {
    font-size: 11px;
    margin-top: 30px;
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 20px;
 }

 <?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->smarty->_tag_stack[] = array('script', array());
        $_block_repeat = true;
        echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

 var shown = false;
 $("#snippets-show-manual").click(function() {
    $("#snippets-manual")[shown ? "hide" : "show"]();
    shown = !shown;
 });
 <?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 class="ow_smallmargin">
    <?php 
        echo smarty_function_text(array('key' => "snippets+admin_help_brief", 'userSettings' => $_smarty_tpl->tpl_vars['userSettings']->value), $_smarty_tpl);
        ?>

</div>

<?php 
        echo smarty_function_text(array('key' => "snippets+config_steps_label"), $_smarty_tpl);
        ?>


<div style="min-height: 143px;">
<div id="snippets-manual" style="display: none">
<ul class="ow_regular ow_stdmargin">
<li>
    <?php 
        echo smarty_function_text(array('key' => "snippets+config_step1", 'userSettings' => $_smarty_tpl->tpl_vars['userSettings']->value), $_smarty_tpl);
        ?>

</li>

<li>
    <?php 
        echo smarty_function_text(array('key' => "snippets+config_step2"), $_smarty_tpl);
        ?>

    <br />
    <img src="<?php 
        echo $_smarty_tpl->tpl_vars['screensUrl']->value;
        ?>
admin-config-page.png" class="s-admin-screen ow_border" />
</li>
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:a8f97dab15ae4793fb52f3e6f33e77344feb3632.file.admin_index.html.php

示例12: content_548e85fc697ac8_35994451

    function content_548e85fc697ac8_35994451($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_block_script')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.script.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_add_content')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.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';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.error.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.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_attachment_icon {
        display: inline-block;
        background-repeat: no-repeat;
        cursor: pointer;
        width: 14px;
        height: 17px;
    }
    .forum_attachments_label {
        margin: 15px 0 5px;
        padding-left: 5px;
        font-weight: bold;
    }

    .forum_add_post .jhtmlarea {
        margin: 0px auto;
    }

    .post_content img { max-width: 100%; }
    .post_content { overflow: hidden; }

<?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->smarty->_tag_stack[] = array('script', array());
        $_block_repeat = true;
        echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


    $(".ow_forum_attachment").hover(
	    function(){
	        $(this).find("a.forum_delete_attachment").show();
	    },
	    function(){
	        $(this).find("a.forum_delete_attachment").hide();
	    }
    );

    $("a.forum_delete_attachment").each(function(){

        var container_handler = $(this).parent();

        $(this).click(function(){

            if ( confirm(OW.getLanguageText('forum', 'confirm_delete_attachment')) )
	        {
	           var attachment_id = $(this).attr("rel");

//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:9255fbbac3fc2b60126649207c29515497d3f09a.file.topic_index.html.php

示例13: content_548e8c5aa91aa4_07249084

    function content_548e8c5aa91aa4_07249084($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.script.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_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.error.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        ?>

<?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();
            ?>


    $("a.forum_delete_attachment").each(function(){
        
        var container_handler = $(this).closest(".attachment_container");
        
        $(this).click(function(){            
            
            if ( confirm(OW.getLanguageText('forum', 'confirm_delete_attachment')) )
            {
               var attachment_id = $(this).data("aid");
               
               var params = {};
               var url = '<?php 
            echo smarty_function_url_for_route(array('for' => 'forum_delete_attachment'), $_smarty_tpl);
            ?>
';
               params['attachmentId'] = attachment_id;
               
               $.ajaxSetup({dataType: 'json'});
               $.post(url, params, function(data){
                    if ( data.result == true ) {
                        OW.info(data.msg);
                        container_handler.remove();
                    }
                    else if (data.error != undefined) {
                        OW.warning(data.error);
                    }
               });             
            }
            else
            {
                return false;
            }
        });
    });

<?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);
        ?>


<?php 
        if ($_smarty_tpl->tpl_vars['isHidden']->value) {
            ?>
    <div class="ow_stdmargin">
        <?php 
            echo $_smarty_tpl->tpl_vars['componentForumCaption']->value;
            ?>

    </div>
<?php 
        }
        echo $_smarty_tpl->tpl_vars['breadcrumb']->value;
        ?>



<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'edit-topic-form'));
        $_block_repeat = true;
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:3da51cf7f3e66aa16a86624d4de5b76d4d8237da.file.edit_topic_index.html.php

示例14: content_548e67a1778f16_86145704

    function content_548e67a1778f16_86145704($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_block_script')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.script.php';
        }
        ?>



<?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();
            ?>


#<?php 
            echo $_smarty_tpl->tpl_vars['uniqId']->value;
            ?>
 .uhint-avatar-image
{
    background-image: url(<?php 
            echo $_smarty_tpl->tpl_vars['user']->value['avatar'];
            ?>
);
}

<?php 
            if (!empty($_smarty_tpl->tpl_vars['cover']->value)) {
                ?>

#<?php 
                echo $_smarty_tpl->tpl_vars['uniqId']->value;
                ?>
 .uhint-body .uhb-head {
    height: <?php 
                echo $_smarty_tpl->tpl_vars['cover']->value['height'];
                ?>
px;
}

<?php 
            }
            ?>

#h-preview-buttons li, #h-preview-buttons li a {
    cursor: move;
}

<?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->smarty->_tag_stack[] = array('script', array());
        $_block_repeat = true;
        echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

$( "#h-preview-buttons" ).sortable({
    tolerance: "pointer",
    stop: function( event, ui ) {
        var pos = $(this).sortable("toArray");
        $.get(<?php 
            echo $_smarty_tpl->tpl_vars['rspUrl']->value;
            ?>
, { sort: JSON.stringify(pos) });
    }
});

$( "#h-preview-buttons" ).disableSelection();
<?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="<?php 
        echo $_smarty_tpl->tpl_vars['uniqId']->value;
        ?>
" class="hint-preview hint-container hint-bottom-right">
    <div class="hint-content ow_border ow_bg_color">
        <div class="hint-corner-wrap hint-top-corner-wrap">
            <div class="hint-corner">
                <?php 
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:5ef731dcbe43510141fd046a7947f851168fb09e.file.user_hint_preview.html.php

示例15: content_548e5f21bbf163_77189457

    function content_548e5f21bbf163_77189457($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_block_script')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.script.php';
        }
        if (!is_callable('smarty_function_add_content')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.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';
        }
        if (!is_callable('smarty_function_cycle')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_user_link')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.user_link.php';
        }
        if (!is_callable('smarty_function_format_date')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.format_date.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_author { 
    width: 25%; 
}

.ow_reply_info {
    margin-bottom: 3px;
}
.ow_forum .ow_lbutton:hover {
    cursor: default;
}

<?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->smarty->_tag_stack[] = array('script', array());
        $_block_repeat = true;
        echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


    $("#btn-customize-forum").click(function(){
        window.location.href='<?php 
            echo $_smarty_tpl->tpl_vars['customizeUrl']->value;
            ?>
';
    });

<?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 class="clearfix">
<?php 
        if ($_smarty_tpl->tpl_vars['singleMode']->value) {
            ?>
    <?php 
            echo smarty_function_add_content(array('key' => 'forum.add_content.list.top', 'listType' => 'group'), $_smarty_tpl);
            ?>

<?php 
        } else {
            ?>
    <?php 
            echo smarty_function_add_content(array('key' => 'forum.add_content.list.top', 'listType' => 'forum'), $_smarty_tpl);
            ?>

<?php 
        }
        ?>
</div>

<?php 
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:f03541b51c682bdfb61375ca372075c6f47224d2.file.index.html.php


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