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 
    }
    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);
    }
    function content_55e9605e911854_68772435($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_cut')) {
            require_once 'plugins\\modifier.cut.php';
        }
        if (!is_callable('smarty_function_input')) {
            require_once 'plugins\\function.input.php';
        }
        $_smarty_tpl->properties['nocache_hash'] = '2265155e9605e7b9bf3_62485938';
        ?>
<!DOCTYPE html>
<html>
<head>

<meta charset="UTF-8">

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

</head>


<body>
	主内容为:<?php 
        echo smarty_modifier_cut($_smarty_tpl->tpl_vars['str']->value);
        ?>

	
	<br>
	
	自定义函数:input :
	<?php 
        echo smarty_function_input(array('name' => "username", 'width' => 20, 'value' => "请输入"), $_smarty_tpl);
        ?>

</body>
</html><?php 
    }
    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 
    }
    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);
    }
Example #6
0
function smarty_function_setting($params, &$smarty)
{
    if (!$GLOBALS['_settingList']) {
        $system =& $GLOBALS['system'];
        $GLOBALS['_settingList'] =& $system->__setting->source();
    }
    smarty_core_load_plugins(array('plugins' => array(array('function', 'input', $smarty->_current_file, $smarty->_current_line_no, 20, false))), $smarty);
    $system =& $GLOBALS['system'];
    $params = array_merge($params, $GLOBALS['_settingList'][$params['key']]);
    $params['value'] = $system->getConf($params['key']);
    if ($params['key'] == 'site.tax_ratio') {
        $params['value'] *= 100;
    }
    //ever add 20080327
    if ($params['type'] == SET_T_INT) {
        $params['type'] = 'number';
    } elseif ($params['type'] == SET_T_ENUM) {
        $params['type'] = 'select';
    } elseif ($params['type'] == SET_T_BOOL) {
        $params['type'] = 'bool';
    } elseif ($params['type'] == SET_T_TXT) {
        $params['type'] = 'textarea';
    } elseif ($params['type'] == SET_T_FILE) {
        $params['type'] = 'file';
    } elseif ($params['type'] == SET_T_DIGITS) {
        $params['type'] = 'digits';
    } else {
        $params['type'] = 'text';
    }
    if (!$params['id']) {
        $params['id'] = 'el_' . substr(md5(rand(0, time())), 0, 6);
    }
    $params['name'] = ($params['namespace'] ? $params['namespace'] : 'setting') . '[' . $params['key'] . ']';
    $key = $params['key'];
    unset($params['desc']);
    unset($params['key']);
    return $html . smarty_function_input($params, $smarty) . '<input type="hidden" name="_set_[' . $key . ']" value="' . $params['type'] . '" />';
}
    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;
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    $_smarty_tpl->tpl_vars['question']->total = $_smarty_tpl->_count($_from);
                    $_smarty_tpl->tpl_vars['question']->iteration = 0;
                    $_smarty_tpl->tpl_vars['question']->index = -1;
                    foreach ($_from as $_smarty_tpl->tpl_vars['question']->key => $_smarty_tpl->tpl_vars['question']->value) {
                        $_smarty_tpl->tpl_vars['question']->_loop = true;
                        $_smarty_tpl->tpl_vars['question']->iteration++;
                        $_smarty_tpl->tpl_vars['question']->index++;
                        $_smarty_tpl->tpl_vars['question']->first = $_smarty_tpl->tpl_vars['question']->index === 0;
                        $_smarty_tpl->tpl_vars['question']->last = $_smarty_tpl->tpl_vars['question']->iteration === $_smarty_tpl->tpl_vars['question']->total;
                        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['question']['first'] = $_smarty_tpl->tpl_vars['question']->first;
                        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['question']['last'] = $_smarty_tpl->tpl_vars['question']->last;
                        ?>
                    <?php 
                        echo smarty_function_cycle(array('assign' => 'alt', 'name' => $_smarty_tpl->tpl_vars['section']->value, 'values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
                        ?>

                    <tr class=" <?php 
                        if ($_smarty_tpl->getVariable('smarty')->value['foreach']['question']['last']) {
                            ?>
ow_tr_last<?php 
                        }
                        ?>
">
                        <td class="<?php 
                        echo $_smarty_tpl->tpl_vars['alt']->value;
                        ?>
 ow_label">
                            <?php 
                        echo smarty_function_label(array('name' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                        ?>

                        </td>
                        <td class="<?php 
                        echo $_smarty_tpl->tpl_vars['alt']->value;
                        ?>
 ow_value">
                            <?php 
                        echo smarty_function_input(array('name' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                        ?>

                            <div style="height:1px;"></div>
                            <?php 
                        echo smarty_function_error(array('name' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                        ?>

                        </td>
                        <td class="<?php 
                        echo $_smarty_tpl->tpl_vars['alt']->value;
                        ?>
 ow_desc ow_small">
                            <?php 
                        echo smarty_function_question_description_lang(array('name' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                        ?>

                        </td>
                    </tr>
                <?php 
                    }
                    ?>

                <?php 
                    if (!empty($_smarty_tpl->tpl_vars['section']->value)) {
                        ?>
                    <?php 
                        if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['question']['first']) {
                            ?>
                        <tr class="ow_tr_delimiter"><td></td></tr>
                    <?php 
                        }
                        ?>
                <?php 
                    }
                    ?>

            <?php 
                }
                ?>
        </table>
        <div class="clearfix ow_stdmargin">
           <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' => 'requiredQuestionsForm'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_superwide ow_automargin"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
    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>
        </div>
    </div>
    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => "questions_add"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

</div><?php 
    }
    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;
                            $_from = $_smarty_tpl->tpl_vars['joinConnectHook']->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 
                            }
                            ?>
           <?php 
                            $_block_content = ob_get_clean();
                            $_block_repeat = false;
                            echo smarty_block_block_decorator(array('name' => "box", 'addClass' => "ow_center", 'style' => "overflow:hidden;", 'iconClass' => 'ow_ic_key', 'langLabel' => 'base+join_connect_title'), $_block_content, $_smarty_tpl, $_block_repeat);
                        }
                        array_pop($_smarty_tpl->smarty->_tag_stack);
                        ?>

           <?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_or"), $_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 
                    }
                    ?>
    <?php 
                }
                ?>
    <?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'box', 'type' => 'empty', 'iconClass' => 'ow_ic_user', 'langLabel' => 'base+join_form_title'));
                $_block_repeat = true;
                echo smarty_block_block_decorator(array('name' => 'box', 'type' => 'empty', 'iconClass' => 'ow_ic_user', 'langLabel' => 'base+join_form_title'), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo smarty_block_block_decorator(array('name' => 'box', 'type' => 'empty', 'iconClass' => 'ow_ic_user', 'langLabel' => 'base+join_form_title'), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>

    <?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'joinForm'));
                $_block_repeat = true;
                echo smarty_block_form(array('name' => 'joinForm'), 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 
                        echo smarty_function_cycle(array('assign' => 'alt', 'values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
                        ?>

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

                </td>
                <td class="<?php 
                        echo $_smarty_tpl->tpl_vars['alt']->value;
                        ?>
 ow_value ow_center">
                    <?php 
                        echo smarty_function_input(array('name' => 'accountType'), $_smarty_tpl);
                        ?>

                    <div style="height:1px;"></div>
                    <?php 
                        echo smarty_function_error(array('name' => 'accountType'), $_smarty_tpl);
                        ?>

                </td>
                <td class="<?php 
                        echo $_smarty_tpl->tpl_vars['alt']->value;
                        ?>
 ow_desc">
                    <?php 
                        echo smarty_function_question_description_lang(array('name' => "accountType"), $_smarty_tpl);
                        ?>

                </td>
            </tr>
            <tr class="ow_tr_delimiter"><td></td></tr>
            <?php 
                    }
                    ?>
            <?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');
                    }
                    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;
                        ?>
                <?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;
                        if (!is_array($_from) && !is_object($_from)) {
                            settype($_from, 'array');
                        }
                        $_smarty_tpl->tpl_vars['question']->total = $_smarty_tpl->_count($_from);
                        $_smarty_tpl->tpl_vars['question']->iteration = 0;
                        foreach ($_from as $_smarty_tpl->tpl_vars['question']->key => $_smarty_tpl->tpl_vars['question']->value) {
                            $_smarty_tpl->tpl_vars['question']->_loop = true;
                            $_smarty_tpl->tpl_vars['question']->iteration++;
                            $_smarty_tpl->tpl_vars['question']->last = $_smarty_tpl->tpl_vars['question']->iteration === $_smarty_tpl->tpl_vars['question']->total;
                            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['question']['last'] = $_smarty_tpl->tpl_vars['question']->last;
                            ?>
                    <tr class=" <?php 
                            if (empty($_smarty_tpl->tpl_vars['section']->value)) {
                                ?>
ow_tr_first<?php 
                            }
                            ?>
 <?php 
                            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['question']['last'] && $_smarty_tpl->tpl_vars['question']->value['name'] != 'password') {
                                ?>
ow_tr_last<?php 
                            }
                            ?>
">
                        <td class="<?php 
                            if (!empty($_smarty_tpl->tpl_vars['question']->value['trClass'])) {
                                echo $_smarty_tpl->tpl_vars['question']->value['trClass'];
                            }
                            ?>
 ow_label">
                            <?php 
                            echo smarty_function_label(array('name' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                            ?>

                        </td>
                        <td class="<?php 
                            if (!empty($_smarty_tpl->tpl_vars['question']->value['trClass'])) {
                                echo $_smarty_tpl->tpl_vars['question']->value['trClass'];
                            }
                            ?>
 ow_value">
                            <?php 
                            echo smarty_function_input(array('name' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                            ?>

                            <div style="height:1px;"></div>
                            <?php 
                            echo smarty_function_error(array('name' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                            ?>

                        </td>
                        <td class="<?php 
                            if (!empty($_smarty_tpl->tpl_vars['question']->value['trClass'])) {
                                echo $_smarty_tpl->tpl_vars['question']->value['trClass'];
                            }
                            ?>
 ow_desc">
                            <?php 
                            echo smarty_function_question_description_lang(array('name' => $_smarty_tpl->tpl_vars['question']->value['realName']), $_smarty_tpl);
                            ?>

                        </td>
                    </tr>
                    <?php 
                            if ($_smarty_tpl->tpl_vars['question']->value['name'] == 'password') {
                                ?>
                        <tr class="<?php 
                                if ($_smarty_tpl->getVariable('smarty')->value['foreach']['question']['last']) {
                                    ?>
ow_tr_last<?php 
                                }
                                ?>
">
                            <td class="<?php 
                                if (!empty($_smarty_tpl->tpl_vars['question']->value['trClass']) && $_smarty_tpl->tpl_vars['question']->value['trClass'] == 'ow_alt1') {
                                    ?>
ow_alt2<?php 
                                } else {
                                    ?>
ow_alt1<?php 
                                }
                                ?>
 ow_label">
                                <?php 
                                echo smarty_function_label(array('name' => 'repeatPassword'), $_smarty_tpl);
                                ?>

                            </td>
                            <td class="<?php 
                                if (!empty($_smarty_tpl->tpl_vars['question']->value['trClass']) && $_smarty_tpl->tpl_vars['question']->value['trClass'] == 'ow_alt1') {
                                    ?>
ow_alt2<?php 
                                } else {
                                    ?>
ow_alt1<?php 
                                }
                                ?>
 ow_value">
                                <?php 
                                echo smarty_function_input(array('name' => 'repeatPassword'), $_smarty_tpl);
                                ?>

                                <div style="height:1px;"></div>
                                <?php 
                                echo smarty_function_error(array('name' => 'repeatPassword'), $_smarty_tpl);
                                ?>

                            </td>
                            <td class="<?php 
                                if (!empty($_smarty_tpl->tpl_vars['question']->value['trClass']) && $_smarty_tpl->tpl_vars['question']->value['trClass'] == 'ow_alt1') {
                                    ?>
ow_alt2<?php 
                                } else {
                                    ?>
ow_alt1<?php 
                                }
                                ?>
 ow_desc">
                                <?php 
                                echo smarty_function_question_description_lang(array('name' => 'repeatPassword'), $_smarty_tpl);
                                ?>

                            </td>
                        </tr>
                    <?php 
                            }
                            ?>
                <?php 
                        }
                        ?>
                <?php 
                        if (!empty($_smarty_tpl->tpl_vars['section']->value)) {
                            ?>
<tr class="ow_tr_delimiter"><td></td></tr><?php 
                        }
                        ?>
            <?php 
                    }
                    ?>
            <?php 
                    if ($_smarty_tpl->tpl_vars['isLastStep']->value) {
                        ?>
                <?php 
                        if ($_smarty_tpl->tpl_vars['display_photo']->value) {
                            ?>
                    <tr class="ow_tr_first"><th colspan="3"><?php 
                            echo smarty_function_text(array('key' => "base+questions_section_user_photo_label"), $_smarty_tpl);
                            ?>
</th></tr>
                    <?php 
                            echo smarty_function_cycle(array('assign' => 'alt', 'name' => 'userPhoto', 'values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
                            ?>

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

                        </td>
                        <td class="<?php 
                            echo $_smarty_tpl->tpl_vars['alt']->value;
                            ?>
 ow_value">
                            <?php 
                            echo smarty_function_input(array('name' => 'userPhoto'), $_smarty_tpl);
                            ?>

                            <div style="height:1px;"></div>
                            <?php 
                            echo smarty_function_error(array('name' => 'userPhoto'), $_smarty_tpl);
                            ?>

                        </td>
                        <td class="<?php 
                            echo $_smarty_tpl->tpl_vars['alt']->value;
                            ?>
 ow_desc">
                            <?php 
                            echo smarty_function_question_description_lang(array('name' => 'user_photo'), $_smarty_tpl);
                            ?>

                        </td>
                    </tr>
                    <tr class="ow_tr_delimiter"><td></td></tr>
                <?php 
                        }
                        ?>
                
                <?php 
                        if ($_smarty_tpl->tpl_vars['display_terms_of_use']->value) {
                            ?>
                    <tr class="ow_tr_first"><th colspan="3"><?php 
                            echo smarty_function_text(array('key' => "base+questions_section_terms_of_use_label"), $_smarty_tpl);
                            ?>
</th></tr>
                    <?php 
                            echo smarty_function_cycle(array('assign' => 'alt', 'name' => 'userPhoto', 'values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
                            ?>

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

                        </td>
                        <td class="<?php 
                            echo $_smarty_tpl->tpl_vars['alt']->value;
                            ?>
 ow_value">
                            <?php 
                            echo smarty_function_input(array('name' => 'termOfUse'), $_smarty_tpl);
                            ?>

                            <div style="height:1px;"></div>
                            <?php 
                            echo smarty_function_error(array('name' => 'termOfUse'), $_smarty_tpl);
                            ?>

                        </td>
                        <td class="<?php 
                            echo $_smarty_tpl->tpl_vars['alt']->value;
                            ?>
 ow_desc">
                            
                        </td>
                    </tr>
                    <tr class="ow_tr_delimiter"><td></td></tr>
                <?php 
                        }
                        ?>
                <?php 
                        if ($_smarty_tpl->tpl_vars['display_captcha']->value) {
                            ?>
                    <tr class="ow_tr_first"><th colspan="3"><?php 
                            echo smarty_function_text(array('key' => "base+questions_section_captcha_label"), $_smarty_tpl);
                            ?>
</th></tr>
                    <?php 
                            echo smarty_function_cycle(array('assign' => 'alt', 'name' => 'captchaField', 'values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
                            ?>

                    <tr class="ow_tr_last" >
                        <td colspan="3" class="<?php 
                            echo $_smarty_tpl->tpl_vars['alt']->value;
                            ?>
 ow_center">
                            <div style='padding:10px;'>
                                <?php 
                            echo smarty_function_input(array('name' => 'captchaField'), $_smarty_tpl);
                            ?>

                                <div style="height:1px;"></div>
                                <?php 
                            echo smarty_function_error(array('name' => 'captchaField'), $_smarty_tpl);
                            ?>

                            </div>
                        </td>
                    </tr>
                <?php 
                        }
                        ?>
                <tr class="ow_tr_delimiter"><td></td></tr>
            <?php 
                    }
                    ?>
        </table>
		<div class="clearfix">
           <div class="ow_right">
                <?php 
                    echo smarty_function_submit(array('name' => 'joinSubmit'), $_smarty_tpl);
                    ?>

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

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

<?php 
    }
    function content_548e7d70123a35_99519172($_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';
        }
        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_cycle')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.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();
            ?>


.theme_icon{
	background-repeat:no-repeat;
	background-position:50% 50%;
	height:180px;
	width:180px;
}

.theme_title{
	font-weight:bold;
}

.theme_desc{
	padding:10px 0;
}

.theme_controls input[type="text"]{
	width:232px;
	padding:4px;
}

.theme_control_image{
	background-repeat:no-repeat;
	background-position:0% 0%;
	border:1px solid #ccc;
	height:40px;
	width:170px;
    float:left;
    cursor:pointer;
}

.theme_controls select{
	width:240px;
}

body table.theme_controls td.ow_label{
	width:35%;
}

body table.theme_controls td.ow_input{
	width:30%;
}

body table.theme_controls td.ow_desc{
	text-align:left;
	width:35%;
}

.color_input input[type="text"]{
	width:170px;
}

.theme_controls .color_button{
	width:30px;
	height:27px;
	padding:0;
	box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
}

.preview_graphics{
    background-repeat:no-repeat;
	background-position:50% 50%;
	border:1px solid #ccc;
    width:500px;
    height:350px;
    margin:0 auto;
}


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

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

<div class="clearfix">
	<div style="float:left;width:23%;"><div class="theme_icon" style="background-image:url(<?php 
        echo $_smarty_tpl->tpl_vars['themeInfo']->value['iconUrl'];
        ?>
);"></div></div>
	<div style="float:right;width:74%;padding:5px;">
		<div class="theme_title"><?php 
        if (isset($_smarty_tpl->tpl_vars['themeInfo']->value['title'])) {
            echo $_smarty_tpl->tpl_vars['themeInfo']->value['title'];
        } else {
            ?>
-<?php 
        }
        ?>
</div>
		<div class="theme_desc"><?php 
        if (isset($_smarty_tpl->tpl_vars['themeInfo']->value['description'])) {
            echo $_smarty_tpl->tpl_vars['themeInfo']->value['description'];
        } else {
            ?>
-<?php 
        }
        ?>
</div>
		<div class="theme_info">
			<table class="ow_table_3" style="width:100px">
				<tr class="ow_tr_first">
					<td class="ow_label"><?php 
        echo smarty_function_text(array('key' => 'admin+theme_info_version_label'), $_smarty_tpl);
        ?>
:</td>
					<td class="ow_value"><?php 
        if (isset($_smarty_tpl->tpl_vars['themeInfo']->value['version'])) {
            echo $_smarty_tpl->tpl_vars['themeInfo']->value['version'];
        } else {
            ?>
-<?php 
        }
        ?>
</td>
				</tr>
				<tr>
					<td class="ow_label"><?php 
        echo smarty_function_text(array('key' => 'admin+theme_info_compatibility_label'), $_smarty_tpl);
        ?>
:</td>
					<td class="ow_value"><?php 
        if (isset($_smarty_tpl->tpl_vars['themeInfo']->value['compatibility'])) {
            echo $_smarty_tpl->tpl_vars['themeInfo']->value['compatibility'];
        } else {
            ?>
-<?php 
        }
        ?>
</td>
				</tr>
				<tr>
					<td class="ow_label"><?php 
        echo smarty_function_text(array('key' => 'admin+theme_info_author_label'), $_smarty_tpl);
        ?>
:</td>
					<td class="ow_value"><?php 
        if (isset($_smarty_tpl->tpl_vars['themeInfo']->value['author'])) {
            echo $_smarty_tpl->tpl_vars['themeInfo']->value['author'];
        } else {
            ?>
-<?php 
        }
        ?>
</td>
				</tr>
				<tr class="ow_tr_last">
					<td class="ow_label"><?php 
        echo smarty_function_text(array('key' => 'admin+theme_info_author_url_label'), $_smarty_tpl);
        ?>
:</td>
					<td class="ow_value"><?php 
        if (isset($_smarty_tpl->tpl_vars['themeInfo']->value['authorUrl'])) {
            ?>
<a href="<?php 
            echo $_smarty_tpl->tpl_vars['themeInfo']->value['authorUrl'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['themeInfo']->value['authorUrl'];
            ?>
</a><?php 
        } else {
            ?>
-<?php 
        }
        ?>
</td>
				</tr>
			</table>
		</div>
	</div>
</div>
<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'box', 'type' => 'empty', 'langLabel' => 'admin+theme_settings_cap_label', 'iconClass' => 'ow_ic_edit'));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => 'box', 'type' => 'empty', 'langLabel' => 'admin+theme_settings_cap_label', 'iconClass' => 'ow_ic_edit'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

<div class="ow_superwide ow_automargin">
<?php 
            if (isset($_smarty_tpl->tpl_vars['noControls']->value) && $_smarty_tpl->tpl_vars['noControls']->value) {
                ?>
<div class="no_content"><?php 
                echo smarty_function_text(array('key' => 'admin+theme_settings_no_controls_label'), $_smarty_tpl);
                ?>
</div>
<?php 
            } else {
                $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'theme-edit'));
                $_block_repeat = true;
                echo smarty_block_form(array('name' => 'theme-edit'), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>

<table class="ow_form ow_table_1 theme_controls">
<?php 
                    $_smarty_tpl->tpl_vars['inputs'] = new Smarty_Variable();
                    $_smarty_tpl->tpl_vars['inputs']->_loop = false;
                    $_smarty_tpl->tpl_vars['section'] = new Smarty_Variable();
                    $_from = $_smarty_tpl->tpl_vars['inputArray']->value;
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    foreach ($_from as $_smarty_tpl->tpl_vars['inputs']->key => $_smarty_tpl->tpl_vars['inputs']->value) {
                        $_smarty_tpl->tpl_vars['inputs']->_loop = true;
                        $_smarty_tpl->tpl_vars['section']->value = $_smarty_tpl->tpl_vars['inputs']->key;
                        ?>
   <tr class="ow_tr_first">
	   <th colspan="10" style="text-align: left;"><?php 
                        echo $_smarty_tpl->tpl_vars['section']->value;
                        ?>
</th>
   </tr>
   <?php 
                        $_smarty_tpl->tpl_vars['input'] = new Smarty_Variable();
                        $_smarty_tpl->tpl_vars['input']->_loop = false;
                        $_from = $_smarty_tpl->tpl_vars['inputs']->value;
                        if (!is_array($_from) && !is_object($_from)) {
                            settype($_from, 'array');
                        }
                        $_smarty_tpl->tpl_vars['input']->total = $_smarty_tpl->_count($_from);
                        $_smarty_tpl->tpl_vars['input']->iteration = 0;
                        foreach ($_from as $_smarty_tpl->tpl_vars['input']->key => $_smarty_tpl->tpl_vars['input']->value) {
                            $_smarty_tpl->tpl_vars['input']->_loop = true;
                            $_smarty_tpl->tpl_vars['input']->iteration++;
                            $_smarty_tpl->tpl_vars['input']->last = $_smarty_tpl->tpl_vars['input']->iteration === $_smarty_tpl->tpl_vars['input']->total;
                            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['i']['last'] = $_smarty_tpl->tpl_vars['input']->last;
                            ?>
	<tr class="<?php 
                            echo smarty_function_cycle(array('values' => 'ow_alt1,ow_alt2', 'name' => $_smarty_tpl->tpl_vars['section']->value), $_smarty_tpl);
                            ?>
 <?php 
                            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['i']['last']) {
                                ?>
ow_tr_last<?php 
                            }
                            ?>
">
      <td class="ow_label"><?php 
                            echo $_smarty_tpl->tpl_vars['input']->value['title'];
                            ?>
</td>
      <td class="ow_value"><?php 
                            echo smarty_function_input(array('name' => $_smarty_tpl->tpl_vars['input']->value['name']), $_smarty_tpl);
                            ?>
</td>
      <td class="ow_desc"><?php 
                            if (isset($_smarty_tpl->tpl_vars['input']->value['desc'])) {
                                echo $_smarty_tpl->tpl_vars['input']->value['desc'];
                            }
                            ?>
</td>
      
   </tr>
   <?php 
                        }
                        ?>
   <tr class="ow_tr_delimiter"><td></td></tr>
<?php 
                    }
                    ?>
       <?php 
                    $_smarty_tpl->_capture_stack[0][] = array('resetLabel', null, null);
                    ob_start();
                    echo smarty_function_text(array('key' => 'admin+theme_settings_reset_confirm_message'), $_smarty_tpl);
                    list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                    if (!empty($_capture_buffer)) {
                        if (isset($_capture_assign)) {
                            $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                        }
                        if (isset($_capture_append)) {
                            $_smarty_tpl->append($_capture_append, ob_get_contents());
                        }
                        Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
                    } else {
                        $_smarty_tpl->capture_error();
                    }
                    ?>

</table>
    <div class="clearfix ow_stdmargin ow_btn_delimiter">
        <div class="ow_right">
            <?php 
                    echo smarty_function_decorator(array('name' => "button", 'class' => 'ow_red ow_ic_delete', 'langLabel' => 'admin+themes_settings_reset_label', 'onclick' => "if(confirm('" . (string) Smarty::$_smarty_vars['capture']['resetLabel'] . "')) window.location = '" . (string) $_smarty_tpl->tpl_vars['resetUrl']->value . "';"), $_smarty_tpl);
                    ?>
    
			<?php 
                    echo smarty_function_submit(array('name' => 'submit', 'class' => 'ow_positive ow_btn_delimiter'), $_smarty_tpl);
                    ?>
     
        </div>
    </div>
<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo smarty_block_form(array('name' => 'theme-edit'), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>

<?php 
            }
            ?>
</div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_block_decorator(array('name' => 'box', 'type' => 'empty', 'langLabel' => 'admin+theme_settings_cap_label', 'iconClass' => 'ow_ic_edit'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
    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">
                        <span class="buttons clearfix">
                            <a class="attach" href="javascript://" title="Attach" id="newMessageWindowAttachmentsBtn"></a>
                        </span>
                    </div>
                </span>
                <?php 
            }
            ?>
            </div>
            
        </div>

        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => "mailbox-new-message-form"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

    </div>
</div>
<!-- -----------------------END OF SEND NEW MESSAGE---------------------------- --><?php 
    }
    function content_5349e0e505d416_94689138($_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_text')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_function_label')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.label.php';
        }
        if (!is_callable('smarty_function_input')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.error.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.submit.php';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>


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


<table class="ow_table_1 ow_form ow_stdmargin">
    <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' => 'cacheextreme+cache_settings'), $_smarty_tpl);
            ?>
</span>
        </th>
    </tr>
    <tr class="ow_alt1">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'templateCache'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value">
            <?php 
            echo smarty_function_input(array('name' => 'templateCache', 'class' => 'ow_settings_input'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'templateCache'), $_smarty_tpl);
            ?>

        </td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'cacheextreme+templateCache_setting_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>
    <tr class="ow_alt1">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'backendCache'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value">
            <?php 
            echo smarty_function_input(array('name' => 'backendCache', 'class' => 'ow_settings_input'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'backendCache'), $_smarty_tpl);
            ?>

        </td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'cacheextreme+backendCache_setting_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>
    <tr class="ow_alt1">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'themeStatic'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value">
            <?php 
            echo smarty_function_input(array('name' => 'themeStatic', 'class' => 'ow_settings_input'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'themeStatic'), $_smarty_tpl);
            ?>

        </td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'cacheextreme+themeStatic_setting_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>
    <tr class="ow_alt1">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'pluginStatic'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value">
            <?php 
            echo smarty_function_input(array('name' => 'pluginStatic', 'class' => 'ow_settings_input'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'pluginStatic'), $_smarty_tpl);
            ?>

        </td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'cacheextreme+pluginStatic_setting_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>    
</table>
<div class="clearfix ow_stdmargin"><div class="ow_center"><?php 
            echo smarty_function_submit(array('name' => 'clean', 'class' => 'ow_ic_trash ow_positive'), $_smarty_tpl);
            ?>
</div></div>



<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'cacheControlForm'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
    function content_548ea95ac7d462_23768537($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.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_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';
        }
        ?>
<div id="edit_template_form">
    <div>
    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'edit-template-form'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'edit-template-form'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <table class="ow_table_3">
            <?php 
            if ($_smarty_tpl->tpl_vars['single']->value) {
                ?>
            <tr class="ow_tr_first">
            	<td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'file'), $_smarty_tpl);
                ?>
</td>
            	<td class="ow_value">
                	<div class="ow_smallmargin"><img src="<?php 
                echo $_smarty_tpl->tpl_vars['imageUrl']->value;
                ?>
" width="80" /></div>
                	<?php 
                echo smarty_function_input(array('name' => 'file'), $_smarty_tpl);
                ?>

            	</td>
            </tr>
            <?php 
            }
            ?>
            <?php 
            if ($_smarty_tpl->tpl_vars['categoriesSetup']->value) {
                ?>
            <tr>
            	<td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'category'), $_smarty_tpl);
                ?>
</td>
            	<td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'category'), $_smarty_tpl);
                ?>
</td>
            </tr>
            <?php 
            }
            ?>
            <?php 
            if ($_smarty_tpl->tpl_vars['setPrice']->value) {
                ?>
            <tr class="ow_tr_last">
            	<td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'price'), $_smarty_tpl);
                ?>
</td>
            	<td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'price', 'class' => 'ow_settings_input'), $_smarty_tpl);
                ?>
 <?php 
                echo smarty_function_text(array('key' => 'usercredits+credits'), $_smarty_tpl);
                ?>
</td>
            </tr>
            <?php 
            }
            ?>
        </table>
        <div class="clearfix">
			<div class="ow_right">
				<?php 
            echo smarty_function_submit(array('name' => 'save', 'class' => 'ow_ic_save ow_positive'), $_smarty_tpl);
            ?>

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

    </div>
</div><?php 
    }
    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);
            ?>
">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_password'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpPassword'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'mailSmtpPassword'), $_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);
            ?>
 ow_tr_las">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_connection_prefix'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpConnectionPrefix'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'mailSmtpConnectionPrefix'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_connection_prefix_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>

    <!-- / Smtp Settings -->

</table>
<div class="clearfix ow_stdmargin"><div class="ow_right">
<?php 
            echo smarty_function_submit(array('name' => 'save', 'class' => 'ow_ic_save'), $_smarty_tpl);
            ?>

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

<?php 
        if ($_smarty_tpl->tpl_vars['smtpEnabled']->value) {
            ?>
	<?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'iconClass' => "ow_ic_mail", 'langLabel' => 'admin+mail_smtp_test_connection_title'));
            $_block_repeat = true;
            echo smarty_block_block_decorator(array('name' => "box", 'iconClass' => "ow_ic_mail", 'langLabel' => 'admin+mail_smtp_test_connection_title'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

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

	<div class="clearfix" style="padding: 5px;">
    <div class="ow_right">
            <?php 
                echo smarty_function_decorator(array('name' => "button", 'id' => "smtp_test_connection", 'langLabel' => "admin+mail_smtp_test_connection_btn"), $_smarty_tpl);
                ?>

	</div>
    </div>
	<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_block_decorator(array('name' => "box", 'iconClass' => "ow_ic_mail", 'langLabel' => 'admin+mail_smtp_test_connection_title'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

<?php 
        }
    }
    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 
            }
            ?>
                        </ul>
                    </div>
                    <div class="ow_dropdown_arrow_down upload_photo_spinner"></div>
                    <?php 
            echo smarty_function_error(array('name' => 'album-name'), $_smarty_tpl);
            ?>

                </div>
                <div class="new-album" style="display: none">
                    <?php 
            echo smarty_function_input(array('name' => "album-name"), $_smarty_tpl);
            ?>

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

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

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

</div>
<?php 
    }
    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">
                            <?php 
                        echo smarty_function_input(array('name' => 'sex'), $_smarty_tpl);
                        ?>

                            <div style="height:1px;"></div>
                            <?php 
                        echo smarty_function_error(array('name' => 'sex'), $_smarty_tpl);
                        ?>

                        </td>
                    </tr>
                <?php 
                    }
                    ?>
                <tr class="ow_tr_first">
                    <?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' => 'match_sex'), $_smarty_tpl);
                    ?>

                    </td>
                    <td class="<?php 
                    echo $_smarty_tpl->tpl_vars['alt']->value;
                    ?>
 ow_value">
                        <?php 
                    echo smarty_function_input(array('name' => 'match_sex'), $_smarty_tpl);
                    ?>

                        <div style="height:1px;"></div>
                        <?php 
                    echo smarty_function_error(array('name' => 'match_sex'), $_smarty_tpl);
                    ?>

                    </td>
                </tr>
                
                <tr class="">
                    <?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' => 'online'), $_smarty_tpl);
                    ?>

                    </td>
                    <td class="<?php 
                    echo $_smarty_tpl->tpl_vars['alt']->value;
                    ?>
 ow_value">
                        <?php 
                    echo smarty_function_input(array('name' => 'online'), $_smarty_tpl);
                    ?>

                        <div style="height:1px;"></div>
                        <?php 
                    echo smarty_function_error(array('name' => 'online'), $_smarty_tpl);
                    ?>

                    </td>
                </tr>
                
                <tr class="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' => 'with_photo'), $_smarty_tpl);
                    ?>

                    </td>
                    <td class="<?php 
                    echo $_smarty_tpl->tpl_vars['alt']->value;
                    ?>
 ow_value">
                        <?php 
                    echo smarty_function_input(array('name' => 'with_photo'), $_smarty_tpl);
                    ?>

                        <div style="height:1px;"></div>
                        <?php 
                    echo smarty_function_error(array('name' => 'with_photo'), $_smarty_tpl);
                    ?>

                    </td>
                </tr>
                
                <tr class="ow_tr_delimiter"><td></td></tr>
            <?php 
                }
                ?>
            <?php 
                if (!empty($_smarty_tpl->tpl_vars['questionList']->value)) {
                    ?>
            <?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['questionList']->value;
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    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;
                        ?>
            <?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;
                        if (!is_array($_from) && !is_object($_from)) {
                            settype($_from, 'array');
                        }
                        $_smarty_tpl->tpl_vars['question']->total = $_smarty_tpl->_count($_from);
                        $_smarty_tpl->tpl_vars['question']->iteration = 0;
                        foreach ($_from as $_smarty_tpl->tpl_vars['question']->key => $_smarty_tpl->tpl_vars['question']->value) {
                            $_smarty_tpl->tpl_vars['question']->_loop = true;
                            $_smarty_tpl->tpl_vars['question']->iteration++;
                            $_smarty_tpl->tpl_vars['question']->last = $_smarty_tpl->tpl_vars['question']->iteration === $_smarty_tpl->tpl_vars['question']->total;
                            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['question']['last'] = $_smarty_tpl->tpl_vars['question']->last;
                            ?>
                <tr class="<?php 
                            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['question']['last']) {
                                ?>
ow_tr_last<?php 
                            }
                            ?>
">
                    <?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' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                            ?>

                    </td>
                    <td class="<?php 
                            echo $_smarty_tpl->tpl_vars['alt']->value;
                            ?>
 ow_value">
                        <?php 
                            echo smarty_function_input(array('name' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                            ?>

                        <div style="height:1px;"></div>
                        <?php 
                            echo smarty_function_error(array('name' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                            ?>

                    </td>
                </tr>
            <?php 
                        }
                        ?>
            <tr class="ow_tr_delimiter"><td></td></tr>
            <?php 
                    }
                    ?>
            <?php 
                }
                ?>
        </table>
        <div class="clearfix">
            <div class="ow_right">
                <?php 
                echo smarty_function_submit(array('name' => 'MainSearchFormSubmit'), $_smarty_tpl);
                ?>

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

    </div>
</div>
<?php 
        }
    }
    function content_548e7d87a7ef83_59382485($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_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('style', array());
        $_block_repeat = true;
        echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


textarea.edit_css{
    height:400px;
}
.css_code pre{
	padding:10px;
	height:400px;
	overflow:scroll;
}

<?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['contentMenu']->value;
        ?>

<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'box', 'addClass' => 'ow_stdmargin', 'langLabel' => 'admin+theme_css_existing_css_box_cap_label'));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => 'box', 'addClass' => 'ow_stdmargin', 'langLabel' => 'admin+theme_css_existing_css_box_cap_label'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <div class="css_code"><?php 
            echo $_smarty_tpl->tpl_vars['code']->value;
            ?>
</div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_block_decorator(array('name' => 'box', 'addClass' => 'ow_stdmargin', 'langLabel' => 'admin+theme_css_existing_css_box_cap_label'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'box', 'style' => 'text-align:center;', 'iconClass' => "ow_ic_write", 'langLabel' => 'admin+theme_css_edit_css_box_cap_label'));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => 'box', 'style' => 'text-align:center;', 'iconClass' => "ow_ic_write", 'langLabel' => 'admin+theme_css_edit_css_box_cap_label'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

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

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

<div class="clearfix ow_smallmargin">
<div class="ow_right" style="padding-top: 20px;padding-left: 10px; padding-right: 15px;">
<?php 
                echo smarty_function_submit(array('name' => 'submit', 'class' => 'ow_positive'), $_smarty_tpl);
                ?>

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

<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_block_decorator(array('name' => 'box', 'style' => 'text-align:center;', 'iconClass' => "ow_ic_write", 'langLabel' => 'admin+theme_css_edit_css_box_cap_label'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


<?php 
    }
    function content_5349e25544d650_43070957($_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_block_form')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/block.form.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_libraries/smarty3/plugins/function.cycle.php';
        }
        if (!is_callable('smarty_function_label')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.label.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_text')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.text.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('style', array());
        $_block_repeat = true;
        echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

.oa_form input[type=text],
.oa_form textarea{
    border: 1px solid #ced1da !important;
	border-top: 1px solid #abadb3 !important;
	border-left:1px solid #abadb3 !important;
    color: #333 !important;
    font-family: "Lucida Grande", "Verdana" !important;
    font-size: 13px !important;
    padding: 4px !important;
    background:#fff !important;
    border-radius:0 !important;
    -moz-border-radius:0 !important;
    -webkit-border-radius:0 !important;

}

.oa_form input[type=text]:focus,
.oa_form textarea:focus,
.oa_form ul.oa_tags_field.focused{
	border: 1px solid #b5cfe7 !important;
	border-top: 1px solid #3d7bad !important;
	border-left:1px solid #3d7bad !important;
	background: #fbfceb !important;
}

.oa_form ul.oa_tags_field input[type=text]{
    background:none !important;
    border:none !important;
}

.oa_form ul.oa_tags_field, .oa_form textarea{
    height:160px !important;
    overflow-y:scroll !important;
}

.cst_meta_edit textarea,
.cst_meta_edit input[type=text]{
    width:729px !important;
}

.cst_meta_edit ul.oa_tags_field input[type=text]{
    width:170px !important;
}

.oa_form .ow_alt1, .oa_form tr.ow_alt1 td{
    background-color: #e0e3eb !important;
}

.oa_form .ow_alt2, .oa_form tr.ow_alt2 td{
    background-color: #eef0f5 !important;
}

.cst_meta_edit table.ow_form td.ow_label{
    width:80px !important;
}

.cst_meta_edit table.ow_form td.ow_value{
    
}

.cst_meta_edit table.ow_form td.ow_desc{
    padding-left:0 !important;
    width:115px !important;
}

.oaseo_pos_button{
    position:fixed !important;
    z-index:100000000000000000 !important;
    top:45% !important;
    right:0 !important;
    cursor: pointer !important;
    box-shadow:0 0 10px #555555 !important;
    background: #292d3a url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACe0lEQVR4nI3PS08TARQF4NPOjBRNS2OBoBjCw8L0KYatINAoGxNpjI8N0YULtrIyLiDUGF7+C0xMTEoT05CgGxeaYJGVBgtBAwN0ZrDt0GnpTOfpQqwiVL3JXX7nnmvBf8zkRPScpnELmi54AYCwOhiKrH/w8NGdOcu/cGR89kZOXHne2Rmgurouwm63g+N5vH71xrCi8eZfA55Ox0Li/urCwNXLRF19HRiGgcPhAEmS4Dgey0urDFkJz0zNhapPavFAsJfw+TzQDR08z2P9y1dQJAlVVaEbYtOxATNTc6EqmxJvbWu2eTxtYBgBgAQrQYAgCPC7uwAAgiRw5IXpyWjoRFUp3t7RbPP73MjlJKTTIlj2GyxEDi0tjVBVFYuLCZQkaoX8E5OUFHe7D2OOy2B7iwPLpeCwn0J1NQU2tavX13UNlBtMTURDBFGI055WWzBIH8JbTAosx8IwZAgCC0kWjIB/4Nbo2FD0VwNr/kXDmQab399REWcFFqWSpHg9V8KjY0PzAEACwMST2aGaGqv9bGMNCgUZ2WzhCM5kUpBLkuL19oTHI3fny3cB4P1StP+8u4EqSntgttYhinmkdrgyTmd2IMlFxevpDkd+w+UGNE0Ptrvbkc5ksPxhGWJehZjHD5zeRlEuKgFfbzjy+N4hDAAkTdPXaZp2KqoCTdNwutaFz8l32N/XIO7JkOSiEgz0HYt/BgzGYjFsbG7iUncPVEVFba0LGxsfdZg2KeDvvV0JA4BlZGRESCQSTpfLhb7+fnAsKyaTyZcXgtcWxiP3n1WC5YDh4eFPTqezaW1t7e3PBaAfrGkYRhaAYRhGAYBsmqZhmqZ04PXvnxJcjThBj5sAAAAASUVORK5CYII=) no-repeat 8px 7px !important;
    padding: 5px 7px 7px 30px !important;
    color:#fff !important;
    border-bottom-left-radius:7px !important;
    -moz-border-bottom-left-radius:7px !important;
    -webkit-border-bottom-left-radius:7px !important;
    border-top-left-radius:7px !important;
    -moz-border-top-left-radius:7px !important;
    -webkit-border-top-left-radius:7px !important;
}

.oaseo_pos_button:hover{
    padding-right:10px !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);
        ?>

<?php 
        if (!empty($_smarty_tpl->tpl_vars['no_compile']->value)) {
            ?>
Empty
<?php 
        } else {
            if (!empty($_smarty_tpl->tpl_vars['frontend']->value)) {
                ?>
<div style="display: none;"><?php 
            }
            ?>
<div id="oaseo_edit_form_<?php 
            echo $_smarty_tpl->tpl_vars['id']->value;
            ?>
" class="oa_form cst_meta_edit">
<?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "meta_edit"));
            $_block_repeat = true;
            echo smarty_block_form(array('name' => "meta_edit"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

<table class="ow_form ow_table_1">
    <tr class="<?php 
                echo smarty_function_cycle(array('values' => 'ow_alt1, ow_alt2'), $_smarty_tpl);
                ?>
">
        <td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'title'), $_smarty_tpl);
                ?>
</td>
        <td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'title'), $_smarty_tpl);
                ?>
</td>
        
    </tr>
    <tr class="<?php 
                echo smarty_function_cycle(array('values' => 'ow_alt1, ow_alt2'), $_smarty_tpl);
                ?>
">
        <td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'keywords'), $_smarty_tpl);
                ?>
</td>
        <td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'keywords'), $_smarty_tpl);
                ?>
</td>
        
    </tr>
    <tr class="<?php 
                echo smarty_function_cycle(array('values' => 'ow_alt1, ow_alt2'), $_smarty_tpl);
                ?>
">
        <td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'desc'), $_smarty_tpl);
                ?>
</td>
        <td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'desc'), $_smarty_tpl);
                ?>
</td>
        
    </tr>
    <?php 
                if (!empty($_smarty_tpl->tpl_vars['urlAvail']->value)) {
                    ?>
    <tr class="<?php 
                    echo smarty_function_cycle(array('values' => 'ow_alt1, ow_alt2'), $_smarty_tpl);
                    ?>
">
        <td class="ow_label"><?php 
                    echo smarty_function_label(array('name' => 'url'), $_smarty_tpl);
                    ?>
</td>
        <td class="ow_value"><?php 
                    echo smarty_function_input(array('name' => 'url'), $_smarty_tpl);
                    ?>
</td>
        
    </tr>
    <?php 
                } else {
                    ?>
    <tr>
        <td colspan="3"><?php 
                    echo smarty_function_text(array('key' => 'oaseo+url_not_editable'), $_smarty_tpl);
                    ?>
</td>
    </tr>
    <?php 
                }
                ?>
    <tr>
        <td colspan="2" class="ow_center">
            <?php 
                echo smarty_function_submit(array('name' => "submit"), $_smarty_tpl);
                ?>

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

</div>
<?php 
            if (!empty($_smarty_tpl->tpl_vars['frontend']->value)) {
                ?>
</div>
<div class="oaseo_pos_button" id="aoseo_button_<?php 
                echo $_smarty_tpl->tpl_vars['id']->value;
                ?>
"><?php 
                echo smarty_function_text(array('key' => 'oaseo+frontend_button_label'), $_smarty_tpl);
                ?>
</div>
<?php 
            }
        }
    }
    function content_549696ae43b3c2_65732145($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.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_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        ?>
<div class="ow_automargin ow_superwide">
    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'adminForm'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'adminForm'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

         <table class="ow_table_1 ow_form">

           <tr> 
               <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => "autoclick"), $_smarty_tpl);
            ?>
</td>
               <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => "autoclick"), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'autoclick'), $_smarty_tpl);
            ?>
</td>
           </tr>

          

           <tr>
               <td colspan="2" class="ow_submit"><?php 
            echo smarty_function_submit(array('name' => "saveSettings", 'class' => 'ow_ic_save'), $_smarty_tpl);
            ?>
</td>
           </tr>
         </table>
    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'adminForm'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

</div>
<?php 
    }
    function content_5349e2547321d5_66189812($_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_block_block_decorator')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/block.block_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_function_label')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.label.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.submit.php';
        }
        ?>
<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;">

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

            </div>
            <?php 
            }
            ?>

            <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="eq-add-answers-field">
                        <div class="ow_smallmargin">
                            <div class="qaa-label-c">
                                <span class="qaa-label"><strong><?php 
                echo smarty_function_text(array('key' => "equestions+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' => "equestions+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 eq-save-c">
                    <span class="ow_attachment_btn"><?php 
            echo smarty_function_submit(array('name' => "save"), $_smarty_tpl);
            ?>
</span>
                </div>

                <?php 
            if ($_smarty_tpl->tpl_vars['configs']->value['attachments']) {
                ?>
                <div class="eq-input-controls ow_attachment_icons">
                    <div class="ow_attachments">
                        <span class="buttons clearfix">
                            <?php 
                if ($_smarty_tpl->tpl_vars['configs']->value['attachments_link']) {
                    ?>
                                <a class="link EQ_AttachmentLink" href="javascript://" title="<?php 
                    echo smarty_function_text(array('key' => 'equestions+attchments_link_button_label'), $_smarty_tpl);
                    ?>
"></a>
                            <?php 
                }
                ?>

                            <?php 
                if ($_smarty_tpl->tpl_vars['configs']->value['attachments_image']) {
                    ?>
                                <a class="image EQ_AttachmentPhoto" href="javascript://" title="<?php 
                    echo smarty_function_text(array('key' => 'equestions+attchments_photo_button_label'), $_smarty_tpl);
                    ?>
"></a>
                            <?php 
                }
                ?>

                            <?php 
                if ($_smarty_tpl->tpl_vars['configs']->value['attachments_video']) {
                    ?>
                                <a class="video EQ_AttachmentVideo" href="javascript://" title="<?php 
                    echo smarty_function_text(array('key' => 'equestions+attchments_video_button_label'), $_smarty_tpl);
                    ?>
"></a>
                            <?php 
                }
                ?>
                        </span>
                    </div>
                </div>
                <?php 
            }
            ?>
            </div>
        </div>
    </div>
    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => "questions_add"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

</div><?php 
    }
    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 
            echo smarty_function_label(array('name' => 'comments_rich_media'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'comments_rich_media'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'comments_rich_media'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'comments_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_picture"><?php 
            echo smarty_function_text(array('key' => 'admin+user_input_settings_rich_media'), $_smarty_tpl);
            ?>
</span>
            </th>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "rm", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'allow_photo_upload'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'allow_photo_upload'), $_smarty_tpl);
            ?>
<br /><?php 
            echo smarty_function_error(array('name' => 'allow_photo_upload'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"></td>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "rm", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'max_upload_size'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'max_upload_size', 'style' => "width:30px;"), $_smarty_tpl);
            ?>
 MB  <span class="ow_small"><?php 
            echo smarty_function_text(array('key' => 'base+max_upload_filesize', 'value' => $_smarty_tpl->tpl_vars['maxUploadMaxFilesize']->value), $_smarty_tpl);
            ?>
</span><br /><?php 
            echo smarty_function_error(array('name' => 'max_upload_size'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"></td>
        </tr>
        <tr class=" ow_tr_last <?php 
            echo smarty_function_cycle(array('name' => "rm", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'resource_list'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'resource_list'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'resource_list'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'resource_list'), $_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_picture"><?php 
            echo smarty_function_text(array('key' => 'admin+user_input_settings_attachments'), $_smarty_tpl);
            ?>
</span>
            </th>
        </tr>        
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "rm", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'attch_max_upload_size'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'attch_max_upload_size', 'style' => "width:30px;"), $_smarty_tpl);
            ?>
 MB  <span class="ow_small"><?php 
            echo smarty_function_text(array('key' => 'base+max_upload_filesize', 'value' => $_smarty_tpl->tpl_vars['maxUploadMaxFilesize']->value), $_smarty_tpl);
            ?>
</span><br /><?php 
            echo smarty_function_error(array('name' => 'attch_max_upload_size'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"></td>
        </tr>
        <tr class=" ow_tr_last <?php 
            echo smarty_function_cycle(array('name' => "rm", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'attch_ext_list'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'attch_ext_list'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'attch_ext_list'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'attch_ext_list'), $_smarty_tpl);
            ?>
</td>
        </tr>
    </table>
    <div class="clearfix ow_stdmargin"><div class="ow_right"><?php 
            echo smarty_function_submit(array('name' => 'save', 'class' => 'ow_ic_save ow_positive'), $_smarty_tpl);
            ?>
</div></div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'input_settings'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
    function content_548e797883d8a4_37498091($_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_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_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';
        }
        $_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();
            ?>

    span.tag {
        background: url("images/tag_bg.png") repeat-x scroll 0 0 #F8F8F8;
        border: 1px solid #DCDCDC;
        border-radius: 2px 2px 2px 2px;
        float: left;
        line-height: 22px;
        margin-bottom: 3px;
        margin-right: 4px;
    }
<?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('form', array('name' => 'qst_add_form'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'qst_add_form'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

	<table class="ow_table_1 ow_form ow_admin_add_profile_question">
		<?php 
            $_smarty_tpl->tpl_vars['field'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['field']->_loop = false;
            $_smarty_tpl->tpl_vars['formEl'] = new Smarty_Variable();
            $_from = $_smarty_tpl->tpl_vars['formData']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['field']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['field']->iteration = 0;
            $_smarty_tpl->tpl_vars['field']->index = -1;
            foreach ($_from as $_smarty_tpl->tpl_vars['field']->key => $_smarty_tpl->tpl_vars['field']->value) {
                $_smarty_tpl->tpl_vars['field']->_loop = true;
                $_smarty_tpl->tpl_vars['formEl']->value = $_smarty_tpl->tpl_vars['field']->key;
                $_smarty_tpl->tpl_vars['field']->iteration++;
                $_smarty_tpl->tpl_vars['field']->index++;
                $_smarty_tpl->tpl_vars['field']->first = $_smarty_tpl->tpl_vars['field']->index === 0;
                $_smarty_tpl->tpl_vars['field']->last = $_smarty_tpl->tpl_vars['field']->iteration === $_smarty_tpl->tpl_vars['field']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['f']['first'] = $_smarty_tpl->tpl_vars['field']->first;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['f']['last'] = $_smarty_tpl->tpl_vars['field']->last;
                ?>
                    <tr class="<?php 
                echo smarty_function_cycle(array('values' => 'ow_alt2,ow_alt1'), $_smarty_tpl);
                ?>
 tr_<?php 
                echo $_smarty_tpl->tpl_vars['formEl']->value;
                ?>
 <?php 
                if ($_smarty_tpl->getVariable('smarty')->value['foreach']['f']['first']) {
                    ?>
ow_tr_first<?php 
                }
                ?>
 <?php 
                if ($_smarty_tpl->getVariable('smarty')->value['foreach']['f']['last']) {
                    ?>
ow_tr_last<?php 
                }
                ?>
 <?php 
                if (empty($_smarty_tpl->tpl_vars['displayedFormElements']->value[$_smarty_tpl->tpl_vars['formEl']->value])) {
                    ?>
ow_hidden<?php 
                }
                ?>
">
                        <td class="ow_label">
                            <?php 
                echo smarty_function_label(array('name' => $_smarty_tpl->tpl_vars['formEl']->value), $_smarty_tpl);
                ?>

                        </td>
                        <td class="ow_value">
                            <?php 
                echo smarty_function_input(array('name' => $_smarty_tpl->tpl_vars['formEl']->value), $_smarty_tpl);
                ?>

                            <br/>
                            <?php 
                echo smarty_function_error(array('name' => $_smarty_tpl->tpl_vars['formEl']->value), $_smarty_tpl);
                ?>

                        </td>
                        <td class="ow_desc ow_small"><?php 
                echo smarty_function_desc(array('name' => $_smarty_tpl->tpl_vars['formEl']->value), $_smarty_tpl);
                ?>
</td>
                    </tr>
		<?php 
            }
            ?>
	</table>
    <div class="clearfix ow_stdmargin">
        <div class="ow_right">
             <?php 
            echo smarty_function_submit(array('name' => 'qst_submit'), $_smarty_tpl);
            ?>

        </div>
    </div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'qst_add_form'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
    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;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['label']->key => $_smarty_tpl->tpl_vars['label']->value) {
            $_smarty_tpl->tpl_vars['label']->_loop = true;
            $_smarty_tpl->tpl_vars['question']->value = $_smarty_tpl->tpl_vars['label']->key;
            ?>
	           <option value="<?php 
            echo $_smarty_tpl->tpl_vars['question']->value;
            ?>
"<?php 
            if ($_smarty_tpl->tpl_vars['currentSearch']->value['question'] == $_smarty_tpl->tpl_vars['question']->value) {
                ?>
 selected="selected"<?php 
            }
            ?>
><?php 
            echo $_smarty_tpl->tpl_vars['label']->value;
            ?>
</option>
	           <?php 
        }
        ?>
	       </select> :
	       <input type="text" name="search" id="username-search-input" style="width: 280px" value="<?php 
        echo $_smarty_tpl->tpl_vars['currentSearch']->value['value'];
        ?>
" />
	       <?php 
        echo smarty_function_decorator(array('name' => 'button', 'type' => "submit", 'langLabel' => 'admin+go'), $_smarty_tpl);
        ?>

	    </div>
	    
	    <?php 
        echo smarty_function_decorator(array('name' => 'button', 'class' => 'ow_ic_add', 'langLabel' => 'admin+invite_members_button_label', 'id' => 'invite_btn'), $_smarty_tpl);
        ?>

	    </form>	
	</div>
</div>

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


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

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

<table class="ow_table_1 ow_form">
    <tr class="<?php 
            echo smarty_function_cycle(array('values' => 'ow_alt2,ow_alt1'), $_smarty_tpl);
            ?>
 ow_tr_first">
		<td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'user_approve'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'user_approve'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_desc"></td>
	</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' => 'who_can_join'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'who_can_join'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_desc"></td>
	</tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('values' => 'ow_alt2,ow_alt1'), $_smarty_tpl);
            ?>
" style="display:none;">
		<td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'who_can_invite'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'who_can_invite'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_desc"></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' => 'guests_can_view'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value">
            <div class="clearfix">
                <div style="float: left;width: 50%;"><?php 
            echo smarty_function_input(array('name' => 'guests_can_view'), $_smarty_tpl);
            ?>
</div>
                <div style="float: left;width: 50%;padding-top: 35px;"><?php 
            echo smarty_function_input(array('name' => 'password'), $_smarty_tpl);
            ?>
</div>
            </div>
        </td>
		<td class="ow_desc ow_small"><?php 
            echo smarty_function_desc(array('name' => 'guests_can_view'), $_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' => 'privacy_settings'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

</div>
<?php 
    }
    function content_548e52f99675e1_54579712($_smarty_tpl)
    {
        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_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if ($_smarty_tpl->tpl_vars['useChat']->value == 'promoted') {
            ?>
<div class="ow_chat_cont ow_hidden" id="chatPromotionBlock">
    <div class="ow_chat_wrap">
        <div class="ow_chat">
            <div class="ow_puller"></div>
            <div class="ow_chat_block_wrap ow_border">
                <div class="ow_chat_block ow_active">
                    <div class="ow_chat_block_main">
                        <div class="ow_top_panel">
                            <div class="ow_count_block">
                                <a href="javascript://" class="btn2_panel">
                                    <span class="ow_count_txt"><?php 
            echo smarty_function_text(array('key' => "mailbox+chat"), $_smarty_tpl);
            ?>
</span>
                                </a>
                            </div>
                        </div>
                        <div class="ow_chat_in_block">
                            <div class="ow_chat_list showOnlineOnly ow_scrollable" style="width: 245px;">
                                <div style="display: table; height: 100%; width: 100%;">
                                    <div style="padding: 0 8px; text-align: center; font-size: 12px; display: table-cell; vertical-align: middle;">
                                        <?php 
            echo $_smarty_tpl->tpl_vars['msg']->value;
            ?>

                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="ow_bot_panel">
                        <div class="ow_count_block">
                            <a href="javascript://" class="btn2_panel"><span class="ow_count_txt"><?php 
            echo smarty_function_text(array('key' => "mailbox+chat"), $_smarty_tpl);
            ?>
</span></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php 
        }
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['useChat']->value == 'available') {
            ?>
<div class="ow_chat_cont">
    <div class="ow_chat_wrap">
        <div class="ow_chat">
            <div class="ow_puller"></div>
            <div class="ow_chat_block_wrap ow_border">
                <div class="ow_chat_block">
                    <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'im_user_settings_form'));
            $_block_repeat = true;
            echo smarty_block_form(array('name' => 'im_user_settings_form'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

                    <div class="ow_chat_block_main">
                        <div class="ow_top_panel">
                            <div class="ow_count_block">
                                <a href="javascript://" class="btn2_panel">
                                    <span class="ow_btn_sort_users" id="mailboxSortUsersPreference"><span class="ow_btn_sort_online"></span></span>
                                    <span class="ow_count_txt"><?php 
                echo smarty_function_text(array('key' => "mailbox+chat"), $_smarty_tpl);
                ?>
</span>
                                <span class="ow_count_wrap">
									<span class="ow_count_bg totalUserOnlineCountBackground">
										<span class="ow_count totalUserOnlineCount">0</span>
									</span>
								</span>
                                </a>
                            </div>
                        </div>
                        <div class="ow_chat_in_block">
                            <div class="ow_chat_search">
                                <span><?php 
                echo smarty_function_input(array('name' => 'im_find_contact', 'id' => "im_find_contact"), $_smarty_tpl);
                ?>
</span>
                            </div>

                            <div class="ow_chat_list" style="width: 245px;">
                                <div class="ow_chat_preloader"></div>
                                <ul></ul>
                            </div>

                        </div>
                    </div>
                    <div class="ow_bot_panel">
                        <div class="ow_count_block">
                            <a href="javascript://" class="btn2_panel"><span class="ow_count_txt"><?php 
                echo smarty_function_text(array('key' => "mailbox+chat"), $_smarty_tpl);
                ?>
</span>
                                <span class="ow_count_wrap">
                                    <span class="ow_count_bg totalUserOnlineCountBackground">
                                        <span class="ow_count totalUserOnlineCount">0</span>
                                    </span>
                                </span>
                            </a>
                        </div>
                        <a href="javascript://" class="ow_btn_sound" id="mailboxSoundPreference"><span></span></a>
                    </div>
                    <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_form(array('name' => 'im_user_settings_form'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

                </div>
            </div>
        </div>
    </div>
</div>


<div id="ow_chat_prototypes" style="display: none;">

    <div id="ow_chat_list_proto">
        <ul>
            <li>
                <a href="javascript://" class="clearfix ow_chat_item">
                    <span class="ow_chat_item_photo_wrap">
                        <span class="ow_chat_item_photo">
                            <span class="ow_chat_in_item_photo"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['avatar_proto_data']->value['src'];
            ?>
"  width="32px" height="32px" alt="" id="contactItemAvatarUrl" /></span>
                        </span>
                    </span>
                    <span class="ow_chat_item_author">
                        <span class="ow_chat_in_item_author" id="contactItemDisplayName"></span>
                    </span>
                    <span class="ow_count_wrap ow_count_active" style="display: none;"><span class="ow_count">0</span></span>
                    <div class="ow_chat_status" id="contactProfileStatus"></div>
                </a>
            </li>
        </ul>
    </div>
</div>
<?php 
        }
    }
    function content_5552085ba84a87_66037757($_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_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_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();
            ?>


table.ow_table_1 td.ow_label
{
    width: 35%;
}

.contact_send{ line-height: 0px !important; padding: 23px 26px !important; font-size: 18px !important; margin-left: 110px !important; color: #5a5a5a !important; border:1px solid #6e6e6e !important; }
.cont_texarea{ background: #fff; border: solid 1px #8a8a8a; border-radius: 5px; height:126px !important; width: 326px;
               padding:15px 0 0 15px; margin: 0 0 0 0;
               -webkit-box-shadow: inset 3px 3px 5px 0px rgba(0,0,0,0.3);
               -moz-box-shadow: inset 3px 3px 5px 0px rgba(0,0,0,0.3);
               box-shadow: inset 3px 3px 5px 0px rgba(0,0,0,0.3);
}
.cap_input{ background: #fff !important; border: solid 1px #8a8a8a !important; border-radius: 5px !important; height: 48px !important; width: 115px !important;
            padding: 0 0 0 15px !important; margin: 0 0 0 0 !important;
            -webkit-box-shadow: inset 3px 3px 5px 0px rgba(0,0,0,0.3) !important;
            -moz-box-shadow: inset 3px 3px 5px 0px rgba(0,0,0,0.3) !important;
            box-shadow: inset 3px 3px 5px 0px rgba(0,0,0,0.3) !important;
}
.cont_inputright img{ position: relative; left: -58px; }
.cont_inputright #siimage_refresh{ position: relative; left: -37px; }
.cont_inputleft{ padding-right: 20px !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);
        ?>

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

<table class="ow_table_1 ow_form ow_automargin">
    <tr class="ow_alt1 ow_tr_first cont_input" style="background: none; display: none;">
        <td class="ow_label cont_inputleft" style="background: none;"><?php 
            echo smarty_function_label(array('name' => 'to'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value cont_inputright" style="background: none;"><?php 
            echo smarty_function_input(array('name' => 'to', 'class' => 'contact_input'), $_smarty_tpl);
            echo smarty_function_error(array('name' => 'to'), $_smarty_tpl);
            ?>
</td>
	</tr>
    <tr class="ow_alt2 cont_input cont_input" style="background: none;">
		<td class="ow_label cont_inputleft" style="background: none;"><?php 
            echo smarty_function_label(array('name' => 'from'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value cont_inputright" style="background: none;"><?php 
            echo smarty_function_input(array('name' => 'from', 'class' => 'contact_input'), $_smarty_tpl);
            echo smarty_function_error(array('name' => 'from'), $_smarty_tpl);
            ?>
</td>
	</tr>
        <tr class="ow_alt1 cont_input" style="background: none;">
		<td class="ow_label cont_inputleft" style="background: none;"><?php 
            echo smarty_function_label(array('name' => 'subject'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value cont_inputright" style="background: none;"><?php 
            echo smarty_function_input(array('name' => 'subject', 'class' => 'contact_input'), $_smarty_tpl);
            echo smarty_function_error(array('name' => 'subject'), $_smarty_tpl);
            ?>
</td>
	</tr>
    <tr class="ow_alt2 cont_input" style="background: none;">
		<td class="ow_label cont_inputleft" style="background: none;"><?php 
            echo smarty_function_label(array('name' => 'message'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value cont_inputright" style="background: none;"><?php 
            echo smarty_function_input(array('name' => 'message', 'class' => 'contact_input cont_texarea'), $_smarty_tpl);
            echo smarty_function_error(array('name' => 'message'), $_smarty_tpl);
            ?>
</td>
	</tr>
    <tr class="ow_alt1 ow_tr_last cont_input" style="background: none;">
		<td class="ow_label cont_inputleft" style="background: none;"><?php 
            echo smarty_function_label(array('name' => 'captcha'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value ow_center cont_inputright" style="background: none;"><?php 
            echo smarty_function_input(array('style' => 'float:left;', 'name' => 'captcha', 'class' => 'cap_input'), $_smarty_tpl);
            echo smarty_function_error(array('name' => 'captcha'), $_smarty_tpl);
            ?>
</td>
	</tr>
</table>
<div class="clearfix ow_stdmargin ow_automargin"><div class="ow_right">
<?php 
            echo smarty_function_submit(array('name' => 'send', 'class' => 'ow_button ow_ic_mail pro_btnsin contact_send'), $_smarty_tpl);
            ?>

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

<?php 
    }
    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 
    }
    function content_5559c222bb2df7_46936569($_smarty_tpl)
    {
        if (!is_callable('smarty_function_text')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_block_form')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.form.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_submit')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.submit.php';
        }
        ?>
<div class="ow_box_empty ow_superwide ow_automargin ow_no_cap ow_break_word" style="">
    <?php 
        if ($_smarty_tpl->tpl_vars['noQuestions']->value) {
            ?>
    <div class="ow_stdmargin">
        <?php 
            echo smarty_function_text(array('key' => 'matchmaking+no_questions'), $_smarty_tpl);
            ?>

    </div>
    <?php 
        } else {
            ?>
    <div class="ow_stdmargin">
        <?php 
            echo smarty_function_text(array('key' => 'matchmaking+preferences_invitation'), $_smarty_tpl);
            ?>

    </div>

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

        <table class="ow_table_1 ow_form ow_stdmargin">
            <tbody>
            <?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;
                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']->last = $_smarty_tpl->tpl_vars['questions']->iteration === $_smarty_tpl->tpl_vars['questions']->total;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']["q"]['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;
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    foreach ($_from as $_smarty_tpl->tpl_vars['question']->key => $_smarty_tpl->tpl_vars['question']->value) {
                        $_smarty_tpl->tpl_vars['question']->_loop = true;
                        ?>
            <tr class="<?php 
                        echo smarty_function_cycle(array('values' => 'ow_alt1, ow_alt2'), $_smarty_tpl);
                        ?>
 <?php 
                        if ($_smarty_tpl->getVariable('smarty')->value['foreach']['q']['last']) {
                            ?>
ow_tr_last<?php 
                        }
                        ?>
">
                <td class="ow_label"><?php 
                        echo smarty_function_label(array('name' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                        ?>
</td>
                <td class="ow_value"><?php 
                        echo smarty_function_input(array('name' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                        ?>
<div style="height:1px;"></div><?php 
                        echo smarty_function_error(array('name' => $_smarty_tpl->tpl_vars['question']->value['name']), $_smarty_tpl);
                        ?>
</td>
                <td class="ow_desc ow_small ow_txtcenter"><?php 
                        echo $_smarty_tpl->tpl_vars['question']->value['acc_type_label'];
                        ?>
</td>
            </tr>
            <?php 
                    }
                    ?>
            <?php 
                }
                ?>

            <tr class="ow_tr_delimiter"><td></td></tr>
            </tbody></table>

        <!------------ ---------->

        <div class="clearfix ow_stdmargin">
            <div class="ow_right">
                <?php 
                echo smarty_function_submit(array('name' => 'save', 'class' => 'ow_ic_save'), $_smarty_tpl);
                ?>

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

    <?php 
        }
        ?>
</div><?php 
    }
Example #29
0
function smarty_block_field($params, $content = '', $template, &$repeat)
{
    Clips\require_widget_smarty_plugin('Html', 'div');
    Clips\require_widget_smarty_plugin('Html', 'label');
    // Global variables
    $labelClass = Clips\get_default($params, 'label-class', 'form-label');
    $inputClass = Clips\get_default($params, 'input-class', 'form-input');
    $glyphicon = Clips\get_default($params, 'glyphicon', null);
    if ($repeat) {
        // The header part
        // Init the context
        Clips\context('indent_level', 1, true);
        Clips\context('indent_level', 1, true);
        // Indent for the inner div
        Clips\context_pop('current_field');
        // Remove the last current field
        // Getting the form
        $form = Clips\context('form');
        if ($form) {
            // Getting the field
            $field = Clips\get_default($params, 'field', null);
            if (!isset($field)) {
                Clips\show_error('No field configured for the field plugin!');
                return;
            }
            $f = $form->field($field);
            if (!isset($f)) {
                Clips\show_error('No field configuration found for field %s!', $field);
                return;
            }
            // Put the field to context
            Clips\context('current_field', $f);
            // Processing the form data
            $data = Clips\get_default(Clips\context('current_form_data'), $field);
            if ($data) {
                Clips\context('current_form_field_data', $data, true);
                // Update the field's value to data
                $f->value = $data;
            }
            // Processing the states
            $state = Clips\get_default($params, 'state');
            if (!$state) {
                $state = Clips\field_state($f);
            }
            if ($state) {
                Clips\context('current_form_field_state', $state);
            }
        } else {
            Clips\show_error('No form configuration found for this field!');
        }
    } else {
        if (Clips\clips_context('current_field')) {
            Clips\context_pop('indent_level');
            $f = Clips\clips_context('current_field');
            if (\Clips\get_default($f, 'state') == 'none' || $f->state == 'none') {
                Clips\context_pop('indent_level');
                return '';
            }
            if (\Clips\get_default($params, 'state') == 'hidden' || \Clips\get_default($f, 'hidden') || $f->state == 'hidden') {
                Clips\context_pop('indent_level');
                Clips\require_widget_smarty_plugin('Form', 'input');
                return smarty_function_input(array('type' => 'hidden'), $template);
            }
            // Now for rendering
            $ret = array();
            // Render the icon
            if ($glyphicon) {
                // Add the glyphicon
                $ret[] = Clips\create_tag_with_content('span', '', array('class' => array('glyphicon', 'glyphicon-' . $glyphicon, 'form-control-feedback')), array(), true);
            }
            // Render the label
            $r = true;
            smarty_block_label(array(), '', $template, $r);
            // Skip the label head
            $r = false;
            $ret[] = smarty_block_label(array('for' => $f->getId(), 'class' => array($labelClass, 'control-label', isset($f->required) ? 'form_field_required' : '')), $f->label, $template, $r);
            // Render the input row head
            $r = true;
            smarty_block_div(array(), '', $template, $r);
            // Skip the div head
            // If no input set, using default input
            if (trim($content) == '') {
                Clips\require_widget_smarty_plugin('Form', 'input');
                $content = smarty_function_input(array(), $template);
            }
            // Close the input div
            $ret[] = smarty_block_div(array('class' => $inputClass), $content, $template, $repeat);
            // Added the help block
            $ret[] = Clips\create_tag_with_content('p', '', array('class' => 'help-block'), array(), true);
            $level = Clips\context('indent_level');
            if ($level === null) {
                $level = 0;
            } else {
                $level = count($level);
            }
            $indent = '';
            for ($i = 0; $i < $level; $i++) {
                $indent .= "\t";
            }
            // Altogether
            Clips\context_pop('indent_level');
            CLips\context_pop('current_form_field_data');
            CLips\context_pop('current_form_field_state');
            return Clips\create_tag_with_content('div', implode("\n{$indent}", $ret), $params, array('class' => array('form-group', 'control-group')));
        }
    }
}
    function content_5497c9f7706ea3_47851366($_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_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';
        }
        ?>
<div class="clearfix">
    <div class="ow_right ow_stdmargin"><a href="http://oxcandystore.com/?pk=ocsguests"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['logo']->value;
        ?>
" /></a></div>
</div>

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


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


<table class="ow_table_1 ow_form">
    <tr>
        <th class="ow_name ow_txtleft" colspan="2">
            <span class="ow_section_icon ow_ic_forum"><?php 
            echo smarty_function_text(array('key' => 'ocsguests+general_settings'), $_smarty_tpl);
            ?>
</span>
        </th>
    </tr>
    <tr class="ow_alt<?php 
            echo smarty_function_cycle(array('values' => '1,2'), $_smarty_tpl);
            ?>
">
        <td class="ow_label" style="width: 50%;"><?php 
            echo smarty_function_label(array('name' => 'months'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value">
            <?php 
            echo smarty_function_input(array('name' => 'months', 'class' => 'ow_settings_input'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_text(array('key' => 'ocsguests+months'), $_smarty_tpl);
            ?>
<br /><?php 
            echo smarty_function_error(array('name' => 'months'), $_smarty_tpl);
            ?>

        </td>
    </tr>
    <tr><td colspan="2" class="ow_submit"><?php 
            echo smarty_function_submit(array('name' => 'save'), $_smarty_tpl);
            ?>
</td></tr>
</table>

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

</div><?php 
    }