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


PHP smarty_block_style函数代码示例

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


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

示例1: content_548e8fd641eeb6_54807543

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


.flags-input ul li{
    float: left;
    width: 100px !important;
    text-align: 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);
        ?>


<div style="height: 40px; text-align: center; margin-top: 10px;" class="flags-container">
<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "flag"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "flag"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <div class="clearfix flags-input">
        <?php 
            echo smarty_function_input(array('name' => "reason", 'onchange' => "\$" . "(this.form).submit(); " . "\$" . "('.flags-input').hide(); " . "\$" . "('.flags-container').addClass('ow_preloader_content');"), $_smarty_tpl);
            ?>

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

</div><?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:59,代码来源:4902677e304a675e4bbec8a09eecbf4c4c009926.file.flag.html.php

示例2: content_548e8c4767ff16_59218007

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

    .view_component div{
       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);
        ?>


<div class="owm_std_margin_top" id="place_sections">
    <div class="place_section">

        <?php 
        if (isset($_smarty_tpl->tpl_vars['componentList']->value['section']["mobile.main"])) {
            ?>
            <?php 
            $_smarty_tpl->tpl_vars["component"] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars["component"]->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['componentList']->value['section']["mobile.main"];
            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]['dd_component'][0][0]->tplComponent(array('uniqName' => $_smarty_tpl->tpl_vars['component']->value['uniqName'], 'render' => true), $_smarty_tpl);
                ?>

            <?php 
            }
            ?>
        <?php 
        }
        ?>

    </div>
</div><?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:57,代码来源:2d4d15d2a06416abf43022e1086808c43f91f073.file.widget_panel.html.php

示例3: content_55f6d47a635008_81746286

    function content_55f6d47a635008_81746286($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'E:\\wamp\\www\\loov\\ow_smarty\\plugin\\block.style.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();
            ?>


html div.ow_console_list_wrapper
{
    min-height: 0px;
    max-height: 257px;
}

<?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_console clearfix">
    <div class="ow_console_body clearfix">
        <div style="ow_floatright">
            <?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;
            ?>
                <?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>

            <?php 
        }
        ?>
        </div>
    </div>
</div><?php 
    }
开发者ID:bhushanamutech,项目名称:loov,代码行数:52,代码来源:a236de27171be98a1049242838d9212c85856914.file.console.html.php

示例4: content_55b2389fc74a08_18766181

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


html div.ow_console_list_wrapper
{
    min-height: 0px;
    max-height: 257px;
}

<?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_console clearfix">
    <div class="ow_console_body clearfix">
        <div style="ow_floatright">
            <?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;
            ?>
                <?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>

            <?php 
        }
        ?>
        </div>
    </div>
</div><?php 
    }
开发者ID:hardikamutech,项目名称:hammu,代码行数:52,代码来源:4a23c969720f341ad086b4006a4aebfddcb3601f.file.console.html.php

示例5: content_548e8c47a22745_54826932

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

    body .owm_floatbox_wrap {
        top: 0px;
    }
    
    .owm_floatbox_preloader {
        height: 50px;
    }
<?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 style="display: none" id="floatbox_prototype">

    <div class="owm_floatbox_wrap" data-tpl="wrap">
        <div class="owm_floatbox clearfix">
            <header data-tpl="header">
			
		 <nav id="head-navigation">
                    <a href="javascript://" class="owm_nav_menu" data-tpl="left-btn" style="display: none;"></a>
                    <a href="javascript://" class="owm_nav_profile" data-tpl="right-btn" style="display: none;"></a>
                    <div class="owm_top_title" data-tpl="heading"><?php 
        echo $_smarty_tpl->tpl_vars['data']->value['heading'];
        ?>
</div>
		 </nav>
		 
            </header>
            <div class="owm_floatbox_cont clearfix" data-tpl="body">
                <div class="owm_preloader owm_floatbox_preloader"></div>
            </div>
        </div>
    </div>

</div><?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:52,代码来源:7b345165e3604f0121b5e3e2900693dc74e54028.file.floatbox.html.php

示例6: content_5349e0e56ad602_69836567

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


html div.ow_console_list_wrapper
{
    min-height: 0px;
    max-height: 257px;
}

<?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_console clearfix">
    <div class="ow_console_body clearfix">
        <div style="ow_floatright">
            <?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;
            ?>
                <?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>

            <?php 
        }
        ?>
        </div>
    </div>
</div><?php 
    }
开发者ID:vazahat,项目名称:dudex,代码行数:52,代码来源:6788b31c60856b1f2038762bd233b7e4b8558096.file.console.html.php

示例7: content_5589010f964012_66226774

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


.ow_box_empty{ padding:0px !important; }
.ladyhome_left .ow_stdmargin{ margin-bottom:60px !important;}
.sign_joinbtn{ line-height:60px !important;}


<?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_my_avatar_widget clearfix my_img">
	<div class="ow_left ow_my_avatar_img lady_pic"><?php 
        echo smarty_function_decorator(array('name' => 'avatar_item', 'data' => $_smarty_tpl->tpl_vars['avatar']->value), $_smarty_tpl);
        ?>
</div>
    <div class="ow_my_avatar_cont my_name">
    	<a href="<?php 
        echo $_smarty_tpl->tpl_vars['avatar']->value['url'];
        ?>
" class="ow_my_avatar_username"><span><?php 
        echo $_smarty_tpl->tpl_vars['avatar']->value['title'];
        ?>
</span></a>
    </div>
        <div class="lady_btn">
            <a class="sign_joinbtn" href="<?php 
        echo $_smarty_tpl->tpl_vars['site_url']->value;
        ?>
sign-out">Sign Out</a>
        </div>
</div><?php 
    }
开发者ID:bhushansonar,项目名称:hammu,代码行数:51,代码来源:87bc5b6ced49ecf103d8cc3c2b9e1fd63b580dc3.file.my_avatar_widget.html.php

示例8: content_548e9f17832999_33170959

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


.newsfeed_item_view
{
    width: 600px;
}

<?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">
    <div class="newsfeed_item_view ow_left">
        <?php 
        echo $_smarty_tpl->tpl_vars['action']->value;
        ?>

    </div>
    <div class="ow_right">
        <?php 
        echo smarty_function_add_content(array('key' => 'socialsharing.get_sharing_buttons'), $_smarty_tpl);
        ?>

        <?php 
        echo smarty_function_add_content(array('key' => 'newsfeed.item.content.right', 'entityType' => $_smarty_tpl->tpl_vars['entity']->value['type'], 'entityId' => $_smarty_tpl->tpl_vars['entity']->value['id']), $_smarty_tpl);
        ?>

    </div>
</div><?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:49,代码来源:c2cfeef318de928c3c71948f8172ed30fa7930aa.file.feed_view_item.html.php

示例9: content_5493ee6be433b0_83101626

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

    .owm_profile_desc {
        display: block;
    }
<?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['previewMode']->value) {
            ?>
<a href="<?php 
            echo $_smarty_tpl->tpl_vars['aboutUrl']->value;
            ?>
" class="owm_profile_desc owm_box_wrap owm_bg_color_2 owm_std_margin_bottom">
    <?php 
            echo $_smarty_tpl->tpl_vars['aboutMe']->value;
            ?>

</a>
<?php 
        } else {
            ?>
    <div class="owm_profile_desc_all owm_box_wrap owm_bg_color_1 owm_std_margin_bottom">
        <?php 
            echo $_smarty_tpl->tpl_vars['aboutMe']->value;
            ?>

    </div>
<?php 
        }
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:48,代码来源:1d2c2047d855f699964cbda8f40671cc5c8ec10f.file.profile_about.html.php

示例10: content_548e884360cfc2_83769615

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


.maintenance_cont{
    width:500px;
    margin:0 auto;
    padding-top: 200px;
}

<?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="maintenance_cont">
    <?php 
        echo smarty_function_text(array('key' => 'admin+maintenance_text_value'), $_smarty_tpl);
        ?>

    <?php 
        if (!empty($_smarty_tpl->tpl_vars['disableMessage']->value)) {
            ?>
<div style="padding-top: 50px; text-align: center;"><?php 
            echo $_smarty_tpl->tpl_vars['disableMessage']->value;
            ?>
</div><?php 
        }
        ?>
</div><?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:46,代码来源:f10d4fd2b35b618afacc10f06992c7c1e45829bb.file.base_document_maintenance.html.php

示例11: content_558d2e31693278_12809227

    function content_558d2e31693278_12809227($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.style.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_sign_in_wrap {
	position:absolute;
	top:200px;
	left:50%;
	margin:0 0 0 -351px;
}

<?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_sign_in_cont">
    <?php 
        echo $_smarty_tpl->tpl_vars['sign_in_form']->value;
        ?>

</div>
<?php 
    }
开发者ID:bhushansonar,项目名称:hammu,代码行数:36,代码来源:3be3ee8b6863d4393aa24ac01832492ead7db2e5.file.user_standard_sign_in.html.php

示例12: content_55b28ee90d8e82_56177378

    function content_55b28ee90d8e82_56177378($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.style.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_sign_in_wrap {
	position:absolute;
	top:200px;
	left:50%;
	margin:0 0 0 -351px;
}

<?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_sign_in_cont">
    <?php 
        echo $_smarty_tpl->tpl_vars['sign_in_form']->value;
        ?>

</div>
<?php 
    }
开发者ID:hardikamutech,项目名称:hammu,代码行数:36,代码来源:178e2effde8965f0ce703924c44193e404789e32.file.user_standard_sign_in.html.php

示例13: content_548e83758811f2_74389798

    function content_548e83758811f2_74389798($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.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_sign_in_wrap {
	position:absolute;
	top:200px;
	left:50%;
	margin:0 0 0 -351px;
}

<?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_sign_in_cont">
    <?php 
        echo $_smarty_tpl->tpl_vars['sign_in_form']->value;
        ?>

</div>
<?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:36,代码来源:84ee0c489a6cd0151a0fea56a9d0c44569e75098.file.user_standard_sign_in.html.php

示例14: content_5349e253ecc057_38805931

    function content_5349e253ecc057_38805931($_smarty_tpl)
    {
        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_decorator')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.decorator.php';
        }
        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_block_decorator')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/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_add_comments_form .ow_submit_auto_click .item_loaded{
    margin-bottom:4px;
}
.comments_fake_autoclick {
    height: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);
        ?>

<div id="<?php 
        echo $_smarty_tpl->tpl_vars['cmpContext']->value;
        ?>
">
    <?php 
        $_smarty_tpl->_capture_stack[0][] = array('comments', null, null);
        ob_start();
        ?>
    <?php 
        if ($_smarty_tpl->tpl_vars['displayType']->value == 1 || $_smarty_tpl->tpl_vars['displayType']->value == 3 || $_smarty_tpl->tpl_vars['displayType']->value == 4) {
            ?>
   <div class="comments_list_cont">
	   <?php 
            echo $_smarty_tpl->tpl_vars['commentList']->value;
            ?>

   </div>
   <?php 
        }
        ?>
   	<?php 
        if (isset($_smarty_tpl->tpl_vars['formCmp']->value)) {
            ?>
        <div class="clearfix base_cmnt_mark ow_smallmargin">
          <div class="ow_comments_item_picture"><?php 
            echo smarty_function_decorator(array('name' => 'avatar_item', 'data' => $_smarty_tpl->tpl_vars['currentUserInfo']->value), $_smarty_tpl);
            ?>
</div>
          <div class="ow_comments_item_info clearfix"><span class="comment_add_arr"></span><textarea class="comments_fake_autoclick invitation"><?php 
            echo smarty_function_text(array('key' => 'base+comment_form_element_invitation_text'), $_smarty_tpl);
            ?>
</textarea></div>
      </div>
      <div class="base_cmnts_temp_cont ow_smallmargin" style="display:none"></div>
    <?php 
        } else {
            ?>
      <div class="ow_smallmargin ow_center ow_comments_msg"><?php 
            echo $_smarty_tpl->tpl_vars['authErrorMessage']->value;
            ?>
</div>
   <?php 
        }
        ?>
   <?php 
        if ($_smarty_tpl->tpl_vars['displayType']->value == 2) {
            ?>
   <div class="comments_list_cont">
	   <?php 
            echo $_smarty_tpl->tpl_vars['commentList']->value;
            ?>

   </div>
   <?php 
        }
        ?>
   <?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)) {
//.........这里部分代码省略.........
开发者ID:vazahat,项目名称:dudex,代码行数:101,代码来源:208c783d7abe59c789230060a1d8051473017cec.file.comments.html.php

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


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