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


PHP smarty_function_submit函数代码示例

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


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

示例1: content_5493cf40058a46_10119319

    function content_5493cf40058a46_10119319($_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_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';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "set_suspend_message"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "set_suspend_message"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

<div class="ow_std_margin">
 
        <?php 
            echo smarty_function_text(array('key' => "base+set_suspend_message_label"), $_smarty_tpl);
            ?>

        <?php 
            echo smarty_function_input(array('name' => 'message'), $_smarty_tpl);
            ?>

        

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

</div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => "set_suspend_message"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:48,代码来源:1f44797fae02baa92a25d949c8e7fd9456aeb96d.file.set_suspend_message.html.php

示例2: content_548f196c25f9d4_52089953

    function content_548f196c25f9d4_52089953($_smarty_tpl)
    {
        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_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => $_smarty_tpl->tpl_vars['formName']->value));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => $_smarty_tpl->tpl_vars['formName']->value), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

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

</div>
<div class="owm_newsfeed_comment_submit clearfix comment_submit" style="display:none;">
    <div class="owm_float_right"><?php 
            echo smarty_function_submit(array('name' => 'comment-submit'), $_smarty_tpl);
            ?>
</div>
</div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => $_smarty_tpl->tpl_vars['formName']->value), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

<?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:40,代码来源:73162bbf1a6f122f5265ad3e17d906a5833c6208.file.comments_form.html.php

示例3: content_5349e254913c91_37639437

    function content_5349e254913c91_37639437($_smarty_tpl)
    {
        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_submit')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'inite-friends'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'inite-friends'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <?php 
            echo smarty_function_input(array('name' => 'emailList'), $_smarty_tpl);
            ?>

    <div class="ow_smallmargin"><?php 
            echo smarty_function_input(array('name' => 'text'), $_smarty_tpl);
            ?>
</div>
    <div class="clearfix ow_smallmargin">
        <div class="ow_right"><?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' => 'inite-friends'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
开发者ID:vazahat,项目名称:dudex,代码行数:39,代码来源:696d2932c172c3d067e79d0abea51c81700b4966.file.email_invite.html.php

示例4: content_548fa9ca841891_23807637

    function content_548fa9ca841891_23807637($_smarty_tpl)
    {
        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_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_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';
        }
        ?>
<div class="questions-add clearfix" id="<?php 
        echo $_smarty_tpl->tpl_vars['uniqId']->value;
        ?>
">
    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "questions_add"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "questions_add"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <div class="form_auto_click">
        <div class="questions-add-question">
            <?php 
            echo smarty_function_input(array('name' => "question", 'class' => "questions-input"), $_smarty_tpl);
            ?>

        </div>
        <div class="ow_submit_auto_click" style="display: none;">

            <div class="questions-add-answers" style="display: none;">
                <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'tooltip', 'addClass' => 'qaa-tooltip ow_small '));
            $_block_repeat = true;
            echo smarty_block_block_decorator(array('name' => 'tooltip', 'addClass' => 'qaa-tooltip ow_small '), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

                    <div class="q-add-answers-field">
                        <div class="ow_smallmargin">
                            <div class="qaa-label-c">
                                <span class="qaa-label"><strong><?php 
                echo smarty_function_text(array('key' => "questions+question_add_answers_label"), $_smarty_tpl);
                ?>
</strong></span>
                            </div>
                        </div>

                        <?php 
                echo smarty_function_input(array('name' => "answers"), $_smarty_tpl);
                ?>

                    </div>
                <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_block_decorator(array('name' => 'tooltip', 'addClass' => 'qaa-tooltip ow_small '), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

            </div>

            <div class="clearfix qa-submit-c ow_border">
                <div class="ow_left questions-add-answers-btn-c">
                    <a href="javascript://" class="questions-add-answers-btn"><?php 
            echo smarty_function_text(array('key' => "questions+question_add_show_options_btn"), $_smarty_tpl);
            ?>
</a>
                    <div class="questions-add-answers-options" style="display: none;">
                        <?php 
            echo smarty_function_input(array('name' => "allowAddOprions"), $_smarty_tpl);
            echo smarty_function_label(array('name' => "allowAddOprions"), $_smarty_tpl);
            ?>

                    </div>
                </div>

                <div class="ow_right q-save-c">
                    <span class="ow_attachment_btn"><?php 
            echo smarty_function_submit(array('name' => "save"), $_smarty_tpl);
            ?>
</span>
                </div>
                
                <div class="ow_inprogress q-status-preloader Q_StatusPreloader"></div>
            </div>
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:8aa6386f5942af37b7b68fc4dc9bb0d965e2d42a.file.question_add.html.php

示例5: content_548e6fffda2ce5_48853078

    function content_548e6fffda2ce5_48853078($_smarty_tpl)
    {
        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_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_label')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.label.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_question_description_lang')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.question_description_lang.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_superwide ow_automargin"));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_superwide ow_automargin"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

<?php 
            if (isset($_smarty_tpl->tpl_vars['notValidInviteCode']->value)) {
                ?>
    <?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;"));
                $_block_repeat = true;
                echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;"), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>

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

    <?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;"), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>

<?php 
            } else {
                ?>
    <?php 
                if ($_smarty_tpl->tpl_vars['step']->value == 1) {
                    ?>
        <?php 
                    $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;"));
                    $_block_repeat = true;
                    echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;"), null, $_smarty_tpl, $_block_repeat);
                    while ($_block_repeat) {
                        ob_start();
                        ?>

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

        <?php 
                        $_block_content = ob_get_clean();
                        $_block_repeat = false;
                        echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;"), $_block_content, $_smarty_tpl, $_block_repeat);
                    }
                    array_pop($_smarty_tpl->smarty->_tag_stack);
                    ?>


        <?php 
                    if (!empty($_smarty_tpl->tpl_vars['joinConnectHook']->value)) {
                        ?>
           <?php 
                        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'addClass' => "ow_center", 'style' => "overflow:hidden;", 'iconClass' => 'ow_ic_key', 'langLabel' => 'base+join_connect_title'));
                        $_block_repeat = true;
                        echo smarty_block_block_decorator(array('name' => "box", 'addClass' => "ow_center", 'style' => "overflow:hidden;", 'iconClass' => 'ow_ic_key', 'langLabel' => 'base+join_connect_title'), null, $_smarty_tpl, $_block_repeat);
                        while ($_block_repeat) {
                            ob_start();
                            ?>

               <?php 
                            $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
                            $_smarty_tpl->tpl_vars['item']->_loop = false;
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:094cde348f3f5da8f205124692dffb9d41a7ca6f.file.join_index.html.php

示例6: content_54929852564993_25531542

    function content_54929852564993_25531542($_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_cycle')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_label')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.label.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_desc')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.desc.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        ?>
<div class="ow_stdmargin">
<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'maintenance'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'maintenance'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

<table class="ow_table_1 ow_form">
    <tr class="ow_tr_first">
        <th class="ow_name ow_txtleft" colspan="3">
            <span class="ow_section_icon ow_ic_gear_wheel"><?php 
            echo smarty_function_text(array('key' => "admin+maintenance_section_label"), $_smarty_tpl);
            ?>
</span>
        </th>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('values' => 'ow_alt2,ow_alt1'), $_smarty_tpl);
            ?>
">
		<td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'maintenance_enable'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'maintenance_enable'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'maintenance_enable'), $_smarty_tpl);
            ?>
</td>
	</tr>
	<tr class="<?php 
            echo smarty_function_cycle(array('values' => 'ow_alt2,ow_alt1'), $_smarty_tpl);
            ?>
 ow_tr_last">
		<td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'maintenance_text'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'maintenance_text'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'maintenance_text'), $_smarty_tpl);
            ?>
</td>
	</tr>
</table>
<div class="clearfix"><div class="ow_right"><?php 
            echo smarty_function_submit(array('name' => 'save', 'class' => 'ow_button ow_ic_save ow_positive'), $_smarty_tpl);
            ?>
</div></div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'maintenance'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

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

示例7: content_55f6d479d8fb30_70387519

    function content_55f6d479d8fb30_70387519($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'E:\\wamp\\www\\loov\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'E:\\wamp\\www\\loov\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'E:\\wamp\\www\\loov\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'E:\\wamp\\www\\loov\\ow_smarty\\plugin\\function.submit.php';
        }
        ?>
<!-- ----------------------MAILBOX SEND NEW MESSAGE--------------------------- -->
<div class="ow_chat_dialog ow_mailchat_new_message " id="newMessageWindow">
    <div class="ow_chat_block ow_mailchat_select_user_wrap">
        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "mailbox-new-message-form"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "mailbox-new-message-form"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <!-- ---- NEW MESSAGE CAP ---->
        <!-- ----------------------- SELECTED USER CAP --------------------------- -->
        <div class="ow_mailchat_selected_user ow_author_block clearfix">
            <div aria-disabled="false" style="position: absolute;" class="ow_puller ui-draggable"></div>
            <a href="javascript://" target="_blank" class="ow_chat_in_item_author_href ow_chat_in_item_photo_wrap" id="userFieldProfileLink">
                <span class="ow_chat_in_item_photo"><img title="" alt="" src="<?php 
            echo $_smarty_tpl->tpl_vars['defaultAvatarUrl']->value;
            ?>
" height="32px" width="32px" id="userFieldAvatar"></span>
            </a>
            <a href="javascript://" class="ow_chat_item_author_wrap" id="newMessageWindowMinimizeBtn">
                <span class="ow_chat_item_author">
                    <span class="ow_chat_message_to"><?php 
            echo smarty_function_text(array('key' => 'mailbox+new_message_to'), $_smarty_tpl);
            ?>
</span>
                    <span class="ow_chat_in_item_author" id="userFieldDisplayname"></span>
                </span>
                <span class="ow_mailchat_delete_receiver" id="userFieldDeleteBtn"></span>
            </a>
            <a class="ow_btn_close" id="newMessageWindowCloseBtn" href="javascript://"><span></span></a>
        </div>
        <!-- ----------------------- UNSELECTED USER CAP --------------------------- -->
        <div class="ow_mailchat_select_user ow_author_block">
            <div aria-disabled="false" style="position: absolute;" class="ow_puller ui-draggable"></div>
            <?php 
            echo smarty_function_input(array('name' => 'opponentId'), $_smarty_tpl);
            ?>

            <a href="javascript://" class="ow_chat_minimize_btn" id="newMessageWindowUnselectedCapMinimizeBtn"></a>
            <a class="ow_btn_close" id="newMessageWindowUnselectedCapCloseBtn" href="javascript://"><span></span></a>
            <div class="ow_mailchat_new_message_title"><?php 
            echo smarty_function_text(array('key' => "mailbox+new_message_title"), $_smarty_tpl);
            ?>
</div>
        </div>
        <!-- ----------------------- END OF USER CAP --------------------------- -->
        <!-- ---- END OF NEW MESSAGE CAP ---->
        <div class="ow_chat_subject_block">
            <?php 
            echo smarty_function_input(array('name' => 'subject', 'class' => "newMessageWindowSubjectInputControl"), $_smarty_tpl);
            ?>

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

            <?php 
            if ($_smarty_tpl->tpl_vars['enableAttachments']->value) {
                ?>
            <div class="ow_file_attachment_preview clearfix">
            <?php 
                echo $_smarty_tpl->tpl_vars['attachments']->value;
                ?>

            </div>
            <?php 
            }
            ?>
            <div class="ow_file_attachment_preview clearfix" id="newMessageWindowEmbedAttachmentsBlock"></div>
            <div class="ow_chat_mailchat_buttons clearfix">
                <span class="ow_attachment_btn">
                    <?php 
            echo smarty_function_submit(array('name' => "send"), $_smarty_tpl);
            ?>

                </span>
                <?php 
            if ($_smarty_tpl->tpl_vars['enableAttachments']->value) {
                ?>
                <span class="ow_attachment_icons">
                    <div class="ow_attachments">
//.........这里部分代码省略.........
开发者ID:hardikamutech,项目名称:loov,代码行数:101,代码来源:4032c5556ef97e9df9f6bfcee295d2829070c7b6.file.new_message.html.php

示例8: content_558d2eb5bd78d7_24896752

    function content_558d2eb5bd78d7_24896752($_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_input')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.submit.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.text.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();
            ?>



    $("#invite_btn").click(function(){
	    var $form_content = $("#invite_members");
	
	    window.invite_members_floatbox = new OW_FloatBox({
	        $title: OW.getLanguageText('admin', 'invite_members_cap_label'),
	        $contents: $form_content,
	        icon_class: 'ow_ic_add',
	        width: 550
	    });
    });
    
    $("#username-search-input").focus();


<?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_hidden">
    <div id="invite_members" class="ow_center">
        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'invite-members'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'invite-members'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <?php 
            echo smarty_function_input(array('name' => 'emails'), $_smarty_tpl);
            ?>

        <div style="text-align: center;padding: 5px;"><?php 
            echo smarty_function_submit(array('name' => 'submit'), $_smarty_tpl);
            ?>
</div>
        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'invite-members'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

    </div>
</div>

<?php 
        echo smarty_function_text(array('key' => 'admin+total_users', 'count' => $_smarty_tpl->tpl_vars['totalUsers']->value), $_smarty_tpl);
        ?>


<div class="ow_stdmargin clearfix">
	<div class="ow_right ow_superwide ow_txtright">
        <form method="get">
		<div class="ow_box ow_admin_search_box ow_smallmargin">
	       <?php 
        echo smarty_function_text(array('key' => 'admin+search_by'), $_smarty_tpl);
        ?>

	       <select name="search_by">
	           <?php 
        $_smarty_tpl->tpl_vars['label'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['label']->_loop = false;
        $_smarty_tpl->tpl_vars['question'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['searchQ']->value;
//.........这里部分代码省略.........
开发者ID:bhushansonar,项目名称:hammu,代码行数:101,代码来源:3145ef45d529c1b108075b9dddd80c834000cebd.file.users_index.html.php

示例9: content_548fe4863eaac0_99003697

    function content_548fe4863eaac0_99003697($_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_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        ?>

<?php 
        if (!empty($_smarty_tpl->tpl_vars['imgError']->value)) {
            ?>
    <div class="ow_nocontent"><?php 
            echo $_smarty_tpl->tpl_vars['imgError']->value;
            ?>
</div>
<?php 
        } else {
            ?>
    <div id="set-as-album-cover" class="ow_box ow_wide ow_automargin ow_smallmargin clearfix ow_no_cap ow_break_word">
        <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "album-cover-maker"));
            $_block_repeat = true;
            echo smarty_block_form(array('name' => "album-cover-maker"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

            <div class="clearfix">
                <div class="ow_left ow_superwide ow_center" style="width: 260px;">
                    <h4><?php 
                echo smarty_function_text(array('key' => 'photo+cover_original'), $_smarty_tpl);
                ?>
</h4>
                    <img width="220" class="ow_smallmargin crop_img" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D" alt="" />
                    <br/>
                    <?php 
                echo smarty_function_submit(array('name' => "save"), $_smarty_tpl);
                ?>

                </div>
                <div class="ow_avatar_preview ow_right ow_supernarrow ow_center" style="width: 120px;">
                    <h4><?php 
                echo smarty_function_text(array('key' => 'photo+cover_preview'), $_smarty_tpl);
                ?>
</h4>
                    <div style="width: 120px; height: 120px; overflow: hidden">
                        <img class="crop_preview" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D" alt="" style="width: 120px;" />
                    </div>
                </div>
            </div>
        <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_form(array('name' => "album-cover-maker"), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

    </div>

    <script>
        var albumCoverMaker = (function( $ )
        {
            return {
                init: function()
                {
                    var _elements = {}, _methods = {};
                    _elements.content = $(document.getElementById('set-as-album-cover'));
                    _elements.coverImg = $('.crop_img', _elements.content);
                    _elements.coverPreview = $('.crop_preview', _elements.content);

                    _methods.complete = function()
                    {
                        _elements.coverPreview.css({
                            width: 120 + 'px',
                            height: 'auto',
                            marginLeft: 0,
                            marginTop: 0
                        });

                        _elements.jcrop = $.Jcrop(_elements.coverImg, (function()
                        {
                            var photoWidth = _elements.coverImg.width(),
                                minSize = Math.ceil(330 / (_elements.coverImg[0].naturalWidth / photoWidth));

                            return {
                                onChange: _methods.showPreview,
                                onSelect: _methods.showPreview,
                                aspectRatio: 1,
                                minSize: [minSize, minSize]
                            };
                        })());
                    };

                    _methods.showPreview = function( coords )
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:6a587746388674ab61ebbee73328a1b03b85a75d.file.make_album_cover.html.php

示例10: content_555adc1608ff39_49867460

    function content_555adc1608ff39_49867460($_smarty_tpl)
    {
        if (!is_callable('smarty_block_block_decorator')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.block_decorator.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_cycle')) {
            include 'E:\\wamp\\www\\hammu\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_label')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.label.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.error.php';
        }
        if (!is_callable('smarty_function_question_description_lang')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.question_description_lang.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_superwide ow_automargin"));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_superwide ow_automargin"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


    <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box_cap", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;", 'langLabel' => "base+required_profile_questions"));
            $_block_repeat = true;
            echo smarty_block_block_decorator(array('name' => "box_cap", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;", 'langLabel' => "base+required_profile_questions"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

    <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_block_decorator(array('name' => "box_cap", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;", 'langLabel' => "base+required_profile_questions"), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>


    <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'requiredQuestionsForm'));
            $_block_repeat = true;
            echo smarty_block_form(array('name' => 'requiredQuestionsForm'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

        <table class="ow_table_1 ow_form ow_stdmargin">
            <?php 
                $_smarty_tpl->tpl_vars['questions'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['questions']->_loop = false;
                $_smarty_tpl->tpl_vars['section'] = new Smarty_Variable();
                $_from = $_smarty_tpl->tpl_vars['questionArray']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                $_smarty_tpl->tpl_vars['questions']->total = $_smarty_tpl->_count($_from);
                $_smarty_tpl->tpl_vars['questions']->iteration = 0;
                $_smarty_tpl->tpl_vars['questions']->index = -1;
                foreach ($_from as $_smarty_tpl->tpl_vars['questions']->key => $_smarty_tpl->tpl_vars['questions']->value) {
                    $_smarty_tpl->tpl_vars['questions']->_loop = true;
                    $_smarty_tpl->tpl_vars['section']->value = $_smarty_tpl->tpl_vars['questions']->key;
                    $_smarty_tpl->tpl_vars['questions']->iteration++;
                    $_smarty_tpl->tpl_vars['questions']->index++;
                    $_smarty_tpl->tpl_vars['questions']->first = $_smarty_tpl->tpl_vars['questions']->index === 0;
                    $_smarty_tpl->tpl_vars['questions']->last = $_smarty_tpl->tpl_vars['questions']->iteration === $_smarty_tpl->tpl_vars['questions']->total;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['question']['first'] = $_smarty_tpl->tpl_vars['questions']->first;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['question']['last'] = $_smarty_tpl->tpl_vars['questions']->last;
                    ?>

                <?php 
                    if (!empty($_smarty_tpl->tpl_vars['section']->value)) {
                        ?>
                    <tr class="ow_tr_first"><th colspan="3"><?php 
                        echo smarty_function_text(array('key' => "base+questions_section_" . (string) $_smarty_tpl->tpl_vars['section']->value . "_label"), $_smarty_tpl);
                        ?>
</th></tr>
                <?php 
                    }
                    ?>
                
                <?php 
                    $_smarty_tpl->tpl_vars['question'] = new Smarty_Variable();
                    $_smarty_tpl->tpl_vars['question']->_loop = false;
                    $_from = $_smarty_tpl->tpl_vars['questions']->value;
//.........这里部分代码省略.........
开发者ID:bhushansonar,项目名称:hammu,代码行数:101,代码来源:80fab9d06ae1ab08cb78dd747acbb19e5b4f73af.file.complete_profile_fill_required_questions.html.php

示例11: content_55d575f316fe42_13931440

    function content_55d575f316fe42_13931440($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.form.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_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_error')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.error.php';
        }
        if (!is_callable('smarty_function_desc')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.desc.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.submit.php';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>

<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'input_settings'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'input_settings'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <table class="ow_table_1 ow_form">
        <tr class="ow_tr_first">
            <th class="ow_name ow_txtleft" colspan="3">
                <span class="ow_section_icon ow_ic_file"><?php 
            echo smarty_function_text(array('key' => 'admin+user_input_settings_user_content'), $_smarty_tpl);
            ?>
</span>
            </th>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "user_input", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label" style="width: 30%;"><?php 
            echo smarty_function_label(array('name' => 'user_custom_html'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'user_custom_html'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'user_custom_html'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'user_custom_html'), $_smarty_tpl);
            ?>
</td>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "user_input", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
 ow_tr_last">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'user_rich_media'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'user_rich_media'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'user_rich_media'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'user_rich_media'), $_smarty_tpl);
            ?>
</td>
        </tr>
        <tr class="ow_tr_delimiter"><td></td></tr>
        <tr class="ow_tr_first">
            <th class="ow_name ow_txtleft" colspan="3">
                <span class="ow_section_icon ow_ic_comment"><?php 
            echo smarty_function_text(array('key' => 'admin+user_input_settings_comments'), $_smarty_tpl);
            ?>
</span>
            </th>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "comments", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
 ow_tr_last">
            <td class="ow_label"><?php 
//.........这里部分代码省略.........
开发者ID:hardikamutech,项目名称:hammu,代码行数:101,代码来源:df126c90ad113ea2a7b8930a725a08a5ddecc24f.file.settings_user_input.html.php

示例12: content_55c840f09bb826_13273505

    function content_55c840f09bb826_13273505($_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_block_form')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.form.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_submit')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/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();
            ?>


.client_style{color:#00c2bb; text-align:left;}
.escort_style{color:#8f009c; 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);
        ?>

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

<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "invites-log-form"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "invites-log-form"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

<table id="invites_logs" class="ow_table_2">

    <tr class="ow_tr_first">
        <th width="1"><input type="checkbox" class="check-all" /></td>
        <th>Inviter</th>
        <th>Invitee</th>
        <th>Logs</th>
    </tr>
    <?php 
            $_smarty_tpl->tpl_vars['log_data'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['log_data']->_loop = false;
            $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
            $_from = $_smarty_tpl->tpl_vars['log_datas']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['log_data']->key => $_smarty_tpl->tpl_vars['log_data']->value) {
                $_smarty_tpl->tpl_vars['log_data']->_loop = true;
                $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['log_data']->key;
                ?>
    <tr id="check-all-check" class="<?php 
                echo smarty_function_cycle(array('values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
                ?>
">
        <td><input type="checkbox" value="<?php 
                echo $_smarty_tpl->tpl_vars['log_data']->value[0]['inviter_id'];
                ?>
_<?php 
                echo $_smarty_tpl->tpl_vars['log_data']->value[0]['invitee_id'];
                ?>
" name="invitesIds[]" /></td>
        <td>
            <span class="client_style"><?php 
                echo $_smarty_tpl->tpl_vars['log_data']->value[0]['inviter_username'];
                ?>
</span>
        </td>
        <td>
            <span class="escort_style"><?php 
                echo $_smarty_tpl->tpl_vars['log_data']->value[0]['invitee_username'];
                ?>
</span>
        </td>
        <td>
            <?php 
                $_smarty_tpl->tpl_vars['log'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['log']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['log_data']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['log']->key => $_smarty_tpl->tpl_vars['log']->value) {
                    $_smarty_tpl->tpl_vars['log']->_loop = true;
                    ?>
            <p <?php 
//.........这里部分代码省略.........
开发者ID:hardikamutech,项目名称:hammu,代码行数:101,代码来源:f30439be57b04fd5a346b0bdcee21cd2d3de9a33.file.admin_index.html.php

示例13: content_55d2db955f9496_99686269

    function content_55d2db955f9496_99686269($_smarty_tpl)
    {
        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_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.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_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';
        }
        ?>

<div class="ow_photo_upload_wrap" id="add-new-photo-container">
    <div class="ow_hidden">
        <iframe name="iframe_upload" id="iframe_upload" src="about:blank"></iframe>
        <form id="upload-form" target="iframe_upload" enctype="multipart/form-data" method="post" action="<?php 
        echo smarty_function_url_for_route(array('for' => 'photo.ajax_upload'), $_smarty_tpl);
        ?>
">
            <input type="file" name="file" accept="image/jpeg,image/png,image/gif" multiple />
        </form>
        <div id="slot-prototype" class="ow_photo_preview_edit">
            <input type="hidden" name="slot" />
            <input type="hidden" name="rotate" />
            <div class="ow_photo_preview_action">
                <div class="ow_photo_preview_image ow_photo_preview_loading">
                    <div class="ow_photo_preview_image_filter"></div>
                </div>
                <div class="ow_photo_preview_x"></div>
                <div class="ow_photo_preview_rotate"></div>
            </div>
            <div class="ow_photo_upload_description" style="min-height: 58px">
                <textarea class="ow_hidden invitation"></textarea>
            </div>
        </div>
    </div>

    <div class="ow_photo_dragndrop">
        <div id="drop-area" ondragover="return false;"></div>
        <span id="drop-area-label"><?php 
        echo smarty_function_text(array('key' => "photo+dnd_support"), $_smarty_tpl);
        ?>
</span>
    </div>

    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "ajax-upload"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "ajax-upload"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <div id="slot-area" class="ow_photo_preview_block_wrap clearfix"></div>

        <div id="photo-album-form" class="ow_photo_upload_bottom clearfix">
            <div id="photo-album-list" class="ow_left">
                <div class="ow_suggest_field ow_smallmargin">
                    <?php 
            echo smarty_function_input(array('name' => 'album'), $_smarty_tpl);
            ?>

                    <div class="ow_dropdown_list_wrap">
                        <ul class="ow_dropdown_list">
                            <li><?php 
            echo smarty_function_text(array('key' => "photo+create_album"), $_smarty_tpl);
            ?>
<span class="ow_add_item"></span></li>
                            <?php 
            if (!empty($_smarty_tpl->tpl_vars['albumNameList']->value)) {
                ?>
                                <li class="ow_dropdown_delimeter"><div></div></li>
                                <?php 
                $_smarty_tpl->tpl_vars['album'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['album']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['albumNameList']->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;
                    ?>
                                    <li><?php 
                    echo $_smarty_tpl->tpl_vars['album']->value;
                    ?>
</li>
                                <?php 
                }
                ?>
                            <?php 
//.........这里部分代码省略.........
开发者ID:hardikamutech,项目名称:hammu,代码行数:101,代码来源:6800ba92048b6b30d0a7ba5d769a930bd7e5bd28.file.ajax_upload.html.php

示例14: content_549696d0054457_98855199

    function content_549696d0054457_98855199($_smarty_tpl)
    {
        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';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>


<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'mailSettingsForm'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'mailSettingsForm'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


<table class="ow_table_1 ow_form">
    <!-- Smtp Settings -->

    
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
            ?>
 ow_tr_first">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_enabled'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpEnabled'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'mailSmtpEnabled'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_enabled_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
            ?>
">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_host'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpHost', 'style' => "width: 172px"), $_smarty_tpl);
            ?>
:<?php 
            echo smarty_function_input(array('name' => 'mailSmtpPort', 'maxlength' => 5, 'style' => "width: 60px"), $_smarty_tpl);
            echo smarty_function_error(array('name' => 'mailSmtpHost'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc"></td>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
            ?>
">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_user'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpUser'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'mailSmtpUser'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc ow_small"></td>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:8bf526c43418c928f4e5c2d7b57b66c35daec00e.file.settings_mail.html.php

示例15: content_55d5751c6815e9_56225179

    function content_55d5751c6815e9_56225179($_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_form')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.form.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_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_error')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.error.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_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(){
    $("form[name='MainSearchForm'] [name='match_sex']").change(
        function(){ this.form.submit(); }
    );
});

<?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 (isset($_smarty_tpl->tpl_vars['menu']->value)) {
            echo $_smarty_tpl->tpl_vars['menu']->value;
        }
        ?>

<?php 
        if (isset($_smarty_tpl->tpl_vars['authMessage']->value)) {
            ?>
<div class="ow_anno ow_std_margin ow_nocontent"><?php 
            echo $_smarty_tpl->tpl_vars['authMessage']->value;
            ?>
</div>
<?php 
        } else {
            ?>
<div class="clearfix">
    <div class="ow_superwide ow_automargin">
        <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'MainSearchForm'));
            $_block_repeat = true;
            echo smarty_block_form(array('name' => 'MainSearchForm'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

        <table class="ow_table_1 ow_form">
            <?php 
                if ($_smarty_tpl->tpl_vars['displayAccountType']->value == true) {
                    ?>
                <?php 
                    if (!empty($_smarty_tpl->tpl_vars['displayGender']->value)) {
                        ?>
                    <tr class=" ow_tr_first ow_tr_last">
                        <?php 
                        echo smarty_function_cycle(array('assign' => 'alt', 'values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
                        ?>

                        <td class="<?php 
                        echo $_smarty_tpl->tpl_vars['alt']->value;
                        ?>
 ow_label">
                            <?php 
                        echo smarty_function_label(array('name' => 'sex'), $_smarty_tpl);
                        ?>

                        </td>
                        <td class="<?php 
                        echo $_smarty_tpl->tpl_vars['alt']->value;
                        ?>
 ow_value">
//.........这里部分代码省略.........
开发者ID:hardikamutech,项目名称:hammu,代码行数:101,代码来源:68825e4600e38158b2de1d7f4bf4e16f70c9ba82.file.search_form.html.php


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