function content_548e679c4fdb18_85227550($_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';
        }
        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';
        }
        ?>

<div class="ow_stdmargin">
    <?php 
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>

</div>

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

    <table class="ow_table_1 ow_form">
        <tbody>
            <tr class="ow_alt1'">
                <td width="1" class="ow_label">
                    <?php 
            echo smarty_function_label(array('name' => 'themeList'), $_smarty_tpl);
            ?>

                </td>
                <td class="ow_value">
                    <?php 
            echo smarty_function_input(array('name' => 'themeList'), $_smarty_tpl);
            ?>

                    <?php 
            echo smarty_function_error(array('name' => 'themeList'), $_smarty_tpl);
            ?>

                </td>
            </tr>

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

                </td>
            </tr>
        </tbody>
    </table>

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

        <table class="ow_table_1 ow_form ow_stdmargin" style="margin: 0">
            <tr class="ow_alt1">
                <td class="ow_label">
                    <?php 
                echo smarty_function_text(array('key' => 'profileprogressbar+progressbar_label'), $_smarty_tpl);
                ?>

                </td>
                <td class="ow_value">
                    <div id="profile_progressbar" class="profile-progressbar clearfix">
                        <span class="profile-progressbar-caption">60%</span>
                        <div class="profile-progressbar-complete" style="width: 60%"></div>
                    </div>
                </td>
            </tr>
            <tr class="ow_alt1">
                <td colspan="2">
                    <div id="slider"></div>
                </td>
            </tr>
        </table>
    <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_block_decorator(array('name' => 'box', 'addClass' => 'ow_stdmargin', 'langLabel' => 'profileprogressbar+preview'), $_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_form(array('name' => 'settingsForm'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

<?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_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_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_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_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_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 
    }
    function content_548e71e18b2436_05705884($_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_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_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();
            ?>


.q-extended-tab
{

}

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


<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'QUESTIONS_ConfigSaveForm'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'QUESTIONS_ConfigSaveForm'), 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="3">
            <span class="ow_section_icon ow_ic_gear_wheel"><?php 
            echo smarty_function_text(array('key' => 'questions+admin_main_settings_title'), $_smarty_tpl);
            ?>
</span>
        </th>
    </tr>

    <tr class="ow_alt1">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'enable_follow'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'enable_follow'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => "questions+admin_enable_follow_desc"), $_smarty_tpl);
            ?>
</td>
    </tr>

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

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

    <tr class="ow_alt2">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'allow_popups'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'allow_popups'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => "questions+admin_allow_popups_desc"), $_smarty_tpl);
            ?>
</td>
    </tr>

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

<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'QUESTIONS_ConfigSaveForm'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
    function content_55b8905ec86344_20764495($_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_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_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';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>

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

<table class="ow_table_1 ow_form">
   <tr class="ow_alt2 ow_tr_first">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'head_code'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'head_code'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'head_code'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc ow_small">
            <?php 
            echo smarty_function_desc(array('name' => 'head_code'), $_smarty_tpl);
            ?>

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

        </td>
    </tr>
    <tr class="ow_alt2 ow_tr_last">
        <td class="ow_label"><label><?php 
            echo smarty_function_label(array('name' => 'favicon'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_input(array('name' => 'enable_favicon'), $_smarty_tpl);
            ?>
</label></td>
        <td class="ow_value">
            <div id="favicon_desabled"<?php 
            if (!empty($_smarty_tpl->tpl_vars['faviconEnabled']->value)) {
                ?>
 style="display:none;"<?php 
            }
            ?>
><?php 
            echo smarty_function_text(array('key' => 'admin+page_settings_no_favicon_label'), $_smarty_tpl);
            ?>
</div>
            <div id="favicon_enabled"<?php 
            if (empty($_smarty_tpl->tpl_vars['faviconEnabled']->value)) {
                ?>
 style="display:none;"<?php 
            }
            ?>
><img src="<?php 
            echo $_smarty_tpl->tpl_vars['faviconSrc']->value;
            ?>
" /> <?php 
            echo smarty_function_input(array('name' => 'favicon'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'favicon'), $_smarty_tpl);
            ?>
</div>
        </td>
        <td class="ow_desc ow_small">
            <?php 
            echo smarty_function_desc(array('name' => 'favicon'), $_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' => 'page_settings'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
    function content_548e782c659f19_58531384($_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_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';
        }
        echo $_smarty_tpl->tpl_vars['contentMenu']->value;
        ?>

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

    <table class="ow_form ow_full ow_automargin ow_center ow_table_1">
        <tr class="<?php 
            echo smarty_function_cycle(array('values' => 'ow_alt2,alt1'), $_smarty_tpl);
            ?>
 ow_tr_first ow_tr_last">
            <td class="ow_label" ><?php 
            echo smarty_function_label(array('name' => 'user_view_presentation'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value" style="text-align:left;padding-left:40px;"><?php 
            echo smarty_function_input(array('name' => 'user_view_presentation'), $_smarty_tpl);
            ?>
<br/><?php 
            echo smarty_function_error(array('name' => 'user_view_presentation'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc ow_small" style="text-align:left"><?php 
            echo smarty_function_desc(array('name' => 'user_view_presentation'), $_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"), $_smarty_tpl);
            ?>

       </div>
   </div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'questionSettings'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
    function content_548e6b37853651_69791140($_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_edit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text_edit.php';
        }
        if (!is_callable('smarty_function_url_for')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for.php';
        }
        if (!is_callable('smarty_function_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_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_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>


<div class="ow_wide ow_automargin">
    <?php 
        if ($_smarty_tpl->tpl_vars['categories']->value) {
            ?>
    <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'box', 'type' => 'empty', 'iconClass' => 'ow_ic_folder', 'langLabel' => 'virtualgifts+category_list'));
            $_block_repeat = true;
            echo smarty_block_block_decorator(array('name' => 'box', 'type' => 'empty', 'iconClass' => 'ow_ic_folder', 'langLabel' => 'virtualgifts+category_list'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

    <table class="ow_table_2" id="categories_tbl">
        <tbody>
        <?php 
                $_smarty_tpl->tpl_vars['cat'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['cat']->_loop = false;
                $_smarty_tpl->tpl_vars['catId'] = new Smarty_Variable();
                $_from = $_smarty_tpl->tpl_vars['categories']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                $_smarty_tpl->tpl_vars['cat']->total = $_smarty_tpl->_count($_from);
                $_smarty_tpl->tpl_vars['cat']->iteration = 0;
                $_smarty_tpl->tpl_vars['cat']->index = -1;
                foreach ($_from as $_smarty_tpl->tpl_vars['cat']->key => $_smarty_tpl->tpl_vars['cat']->value) {
                    $_smarty_tpl->tpl_vars['cat']->_loop = true;
                    $_smarty_tpl->tpl_vars['catId']->value = $_smarty_tpl->tpl_vars['cat']->key;
                    $_smarty_tpl->tpl_vars['cat']->iteration++;
                    $_smarty_tpl->tpl_vars['cat']->index++;
                    $_smarty_tpl->tpl_vars['cat']->first = $_smarty_tpl->tpl_vars['cat']->index === 0;
                    $_smarty_tpl->tpl_vars['cat']->last = $_smarty_tpl->tpl_vars['cat']->iteration === $_smarty_tpl->tpl_vars['cat']->total;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['cat']['first'] = $_smarty_tpl->tpl_vars['cat']->first;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['cat']['last'] = $_smarty_tpl->tpl_vars['cat']->last;
                    ?>
        <tr rel="<?php 
                    echo $_smarty_tpl->tpl_vars['catId']->value;
                    ?>
" class="ow_alt1 <?php 
                    if ($_smarty_tpl->getVariable('smarty')->value['foreach']['cat']['first']) {
                        ?>
ow_tr_first<?php 
                    }
                    ?>
 <?php 
                    if ($_smarty_tpl->getVariable('smarty')->value['foreach']['cat']['last']) {
                        ?>
ow_tr_last<?php 
                    }
                    ?>
" onmouseover="$('span.del-cont', this).show();" onmouseout="$('span.del-cont', this).hide();">
            <td style="width: 90%;">
                <div class="ow_txtleft" style="padding: 2px 0px;"><?php 
                    echo smarty_function_text_edit(array('key' => "virtualgifts+category_" . (string) $_smarty_tpl->tpl_vars['catId']->value), $_smarty_tpl);
                    ?>
</div>
            </td>
            <td class="ns-hover-block">
                <div style="width: 50px;">
                    <span class="del-cont" style="display: none;">
                        <a class="ow_lbutton ow_red" href="<?php 
                    echo smarty_function_url_for(array('for' => "VIRTUALGIFTS_CTRL_Admin:categories"), $_smarty_tpl);
                    ?>
?catId=<?php 
                    echo $_smarty_tpl->tpl_vars['catId']->value;
                    ?>
"
                            onclick="return(confirm('<?php 
                    echo smarty_function_text(array('key' => "admin+are_you_sure"), $_smarty_tpl);
                    ?>
'));"><?php 
                    echo smarty_function_text(array('key' => "admin+delete"), $_smarty_tpl);
                    ?>
</a>
                    </span>
                </div>
            </td>
        </tr>
        <?php 
                }
                ?>
        </tbody>
    </table>
    <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_block_decorator(array('name' => 'box', 'type' => 'empty', 'iconClass' => 'ow_ic_folder', 'langLabel' => 'virtualgifts+category_list'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

    <?php 
        }
        ?>

    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'box', 'langLabel' => 'virtualgifts+add_category', 'iconClass' => 'ow_ic_add'));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => 'box', 'langLabel' => 'virtualgifts+add_category', 'iconClass' => 'ow_ic_add'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

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

            <div class="ow_smallmargin ow_center">
                <?php 
                echo smarty_function_label(array('name' => 'catTitle'), $_smarty_tpl);
                ?>
 <?php 
                echo smarty_function_input(array('name' => 'catTitle', 'style' => 'width: 210px;'), $_smarty_tpl);
                ?>
 <?php 
                echo smarty_function_submit(array('name' => 'add', 'class' => 'ow_ic_add'), $_smarty_tpl);
                ?>

            </div>
        <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_form(array('name' => 'add-category-form'), $_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', 'langLabel' => 'virtualgifts+add_category', 'iconClass' => 'ow_ic_add'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

</div><?php 
    }
    function content_55b2389f416a81_37172809($_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_block_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.block_decorator.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_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_cycle')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.cycle.php';
        }
        if (!is_callable('smarty_function_question_description_lang')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.question_description_lang.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php';
        }
        if (!is_callable('smarty_function_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();
            ?>


.edit_info_left{ background:none !important; border:none !important; color:#6a6a6a !important; text-align:left !important; }
.edit_info_right{background:none !important; border:none !important; color:#6a6a6a !important; }
.edit_info_right input[type=checkbox]{ height: auto !important; width: auto !important; }
.edit_info_right select{ width: auto !important; }
.ow_tr_first{ display:none !important; }
.profile_box{ width: 496px !important; float:left;}
.save_edit{ width: 405px !important;}
.save_edit input[type=submit]{ height: auto !important; border: 1px solid #6e6e6e !important; padding: 6px 32px !important; color: #5a5a5a !important;}
.main_right{ width: 736px !important;}
.green_title{ width: 476px !important; }
.status_box{ float:left; margin-left: 24px; margin-top: -33px; }
.unregister_profile_button{ border-color:#6e6e6e !important; color: #5a5a5a !important; height: 50px !important; }
.edit_info_right input[type="radio"] { height: auto !important; width: auto !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);
        ?>



<script language="javascript" type="text/javascript">
    $(function(){
        $(".unregister_profile_button").click(
            function() { window.location = "<?php 
        echo $_smarty_tpl->tpl_vars['unregisterProfileUrl']->value;
        ?>
" }
        );
   });
</script>


<?php 
        if ($_smarty_tpl->tpl_vars['user_sex']->value == '808aa8ca354f51c5a3868dad5298cd72') {
            ?>
    <?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();
                ?>

        .main_joinarea{ background: url(men-bg.png)no-repeat center 256px !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['changePassword']->value)) {
            ?>
    <?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();
                ?>

        <div class="clearfix ow_stdmargin"><div class="ow_right"><?php 
                echo $_smarty_tpl->tpl_vars['changePassword']->value;
                ?>
</div></div>
    <?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 
        }
        ?>

<?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['editSynchronizeHook']->value)) {
                ?>
    <?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'addClass' => "ow_center", 'iconClass' => 'ow_ic_update', 'langLabel' => 'base+edit_remote_field_synchronize_title', 'style' => "overflow:hidden;"));
                $_block_repeat = true;
                echo smarty_block_block_decorator(array('name' => "box", 'addClass' => "ow_center", 'iconClass' => 'ow_ic_update', 'langLabel' => 'base+edit_remote_field_synchronize_title', 'style' => "overflow:hidden;"), 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['editSynchronizeHook']->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", 'iconClass' => 'ow_ic_update', 'langLabel' => 'base+edit_remote_field_synchronize_title', 'style' => "overflow:hidden;"), $_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 
            $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'editForm'));
            $_block_repeat = true;
            echo smarty_block_form(array('name' => 'editForm'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

    <table class="ow_table_1 ow_form ow_stdmargin">
        <?php 
                if ($_smarty_tpl->tpl_vars['displayAccountType']->value) {
                    ?>
            <tr class="ow_alt1 ow_tr_first">
                <td class="ow_label">
                    <?php 
                    echo smarty_function_label(array('name' => 'accountType'), $_smarty_tpl);
                    ?>

                </td>
                <td class="ow_value">
                    <?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="ow_desc ow_small">

                </td>
            </tr>
        <?php 
                }
                ?>
        <tr class="ow_tr_delimiter"><td></td></tr>
        <?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 
                        }
                        ?>
 edit_info_main">
                    <td class="<?php 
                        echo $_smarty_tpl->tpl_vars['alt']->value;
                        ?>
 ow_label edit_info_left in-block">
                        <?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 edit_info_right in-block">
                        <?php 
                        echo smarty_function_input(array('name' => $_smarty_tpl->tpl_vars['question']->value['name'], 'class' => 'edit_input'), $_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)) {
                        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<?php 
                if (!$_smarty_tpl->tpl_vars['isAdmin']->value) {
                    ?>
 ow_btn_delimiter<?php 
                }
                ?>
">
	   <div class="ow_right save_edit">
		   <?php 
                if (!$_smarty_tpl->tpl_vars['isAdmin']->value) {
                    ?>
				<?php 
                    echo smarty_function_decorator(array('name' => "button", 'class' => "unregister_profile_button ow_ic_delete ow_red ow_negative pro_btnsin", 'langLabel' => 'base+delete_profile'), $_smarty_tpl);
                    ?>

		   <?php 
                }
                ?>
		   <?php 
                echo smarty_function_submit(array('name' => 'editSubmit', 'class' => 'pro_btnsin'), $_smarty_tpl);
                ?>

	   </div>
	</div>


<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_form(array('name' => 'editForm'), $_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_55b2389f24b191_01492916($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.script.php';
        }
        if (!is_callable('smarty_function_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php';
        }
        if (!is_callable('smarty_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('script', array());
        $_block_repeat = true;
        echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>



        $(function(){
            $("#change_password_button").click(
                function() { 
                    window.oldPassword.floatBox = new OW_FloatBox({$title: '<?php 
            echo smarty_function_text(array('key' => 'base+change_password'), $_smarty_tpl);
            ?>
', $contents: $('#change-password-div'), width: 480});
                    window.owForms['change-user-password'].resetForm();
                    window.owForms['change-user-password'].removeErrors();
                }
            );
       });


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


<?php 
        echo smarty_function_decorator(array('name' => "button", 'id' => "change_password_button", 'langLabel' => 'base+change_password'), $_smarty_tpl);
        ?>

<div style="display:none;">
    <div id="change-password-div">
        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "change-user-password"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "change-user-password"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                <table class="ow_table_1 ow_form">
                    <tr class="ow_alt2 ow_tr_first">
                        <td class="ow_label" style="width:40%;"><?php 
            echo smarty_function_label(array('name' => 'oldPassword'), $_smarty_tpl);
            ?>
</td>
                        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => "oldPassword"), $_smarty_tpl);
            ?>
<br/><?php 
            echo smarty_function_error(array('name' => "oldPassword"), $_smarty_tpl);
            ?>
</td>
                    </tr>
                    <tr class="ow_alt1" width="40">
                        <td class="ow_label" style="width:40%;"><?php 
            echo smarty_function_label(array('name' => 'password'), $_smarty_tpl);
            ?>
</td>
                        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => "password"), $_smarty_tpl);
            ?>
<br/><?php 
            echo smarty_function_error(array('name' => "password"), $_smarty_tpl);
            ?>
</td>
                    </tr>
                    <tr class="ow_alt2 ow_tr_last">
                        <td class="ow_label" style="width:40%;"><?php 
            echo smarty_function_label(array('name' => 'repeatPassword'), $_smarty_tpl);
            ?>
</td>
                        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => "repeatPassword"), $_smarty_tpl);
            ?>
<br/><?php 
            echo smarty_function_error(array('name' => "repeatPassword"), $_smarty_tpl);
            ?>
</td>
                    </tr>

                </table>
                
                <div class="clearfix ow_stdmargin"><div class="ow_right"><?php 
            echo smarty_function_submit(array('name' => "change"), $_smarty_tpl);
            ?>
</div></div>
         <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => "change-user-password"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

    </div>
</div>
<?php 
    }
    function content_548e642b0c0475_61446068($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_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();
            ?>


tr.ow_preference td.ow_label{
    width:30%
}

<?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", '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 (empty($_smarty_tpl->tpl_vars['preferenceList']->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+preference_no_items"), $_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 
                $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'preferenceForm'));
                $_block_repeat = true;
                echo smarty_block_form(array('name' => 'preferenceForm'), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>

            <table class="ow_table_1 ow_form">
                <?php 
                    $_smarty_tpl->tpl_vars['preferences'] = new Smarty_Variable();
                    $_smarty_tpl->tpl_vars['preferences']->_loop = false;
                    $_smarty_tpl->tpl_vars['section'] = new Smarty_Variable();
                    $_from = $_smarty_tpl->tpl_vars['preferenceList']->value;
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    foreach ($_from as $_smarty_tpl->tpl_vars['preferences']->key => $_smarty_tpl->tpl_vars['preferences']->value) {
                        $_smarty_tpl->tpl_vars['preferences']->_loop = true;
                        $_smarty_tpl->tpl_vars['section']->value = $_smarty_tpl->tpl_vars['preferences']->key;
                        ?>
                    <?php 
                        if (!empty($_smarty_tpl->tpl_vars['section']->value)) {
                            ?>
                        <tr class="ow_name ow_txtleft ow_tr_first">
                            <th colspan="3">
                                <?php 
                            if (!empty($_smarty_tpl->tpl_vars['sectionLabels']->value[$_smarty_tpl->tpl_vars['section']->value]['label'])) {
                                ?>
                                    <span class="ow_section_icon <?php 
                                if (!empty($_smarty_tpl->tpl_vars['sectionLabels']->value[$_smarty_tpl->tpl_vars['section']->value]['iconClass'])) {
                                    ?>
 <?php 
                                    echo $_smarty_tpl->tpl_vars['sectionLabels']->value[$_smarty_tpl->tpl_vars['section']->value]['iconClass'];
                                    ?>
 <?php 
                                }
                                ?>
">
                                        <?php 
                                echo $_smarty_tpl->tpl_vars['sectionLabels']->value[$_smarty_tpl->tpl_vars['section']->value]['label'];
                                ?>

                                    </span>
                                <?php 
                            } else {
                                ?>
                                    <?php 
                                echo $_smarty_tpl->tpl_vars['section']->value;
                                ?>

                                <?php 
                            }
                            ?>
                            </th>
                        </tr>
                    <?php 
                        }
                        ?>
                    <?php 
                        $_smarty_tpl->tpl_vars['preference'] = new Smarty_Variable();
                        $_smarty_tpl->tpl_vars['preference']->_loop = false;
                        $_from = $_smarty_tpl->tpl_vars['preferences']->value;
                        if (!is_array($_from) && !is_object($_from)) {
                            settype($_from, 'array');
                        }
                        $_smarty_tpl->tpl_vars['preference']->total = $_smarty_tpl->_count($_from);
                        $_smarty_tpl->tpl_vars['preference']->iteration = 0;
                        foreach ($_from as $_smarty_tpl->tpl_vars['preference']->key => $_smarty_tpl->tpl_vars['preference']->value) {
                            $_smarty_tpl->tpl_vars['preference']->_loop = true;
                            $_smarty_tpl->tpl_vars['preference']->iteration++;
                            $_smarty_tpl->tpl_vars['preference']->last = $_smarty_tpl->tpl_vars['preference']->iteration === $_smarty_tpl->tpl_vars['preference']->total;
                            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['preference']['last'] = $_smarty_tpl->tpl_vars['preference']->last;
                            ?>
                        <tr class="ow_preference <?php 
                            echo smarty_function_cycle(array('name' => $_smarty_tpl->tpl_vars['section']->value, 'values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
                            ?>
 <?php 
                            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['preference']['last']) {
                                ?>
ow_tr_last<?php 
                            }
                            ?>
">
                            <td class="ow_label">
                                <?php 
                            echo smarty_function_label(array('name' => $_smarty_tpl->tpl_vars['preference']->value), $_smarty_tpl);
                            ?>

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

				if( !$(this).hasClass(addClass) )
					$(this).addClass( addClass );

			})
		}
	});

	$(".edit_role", "#roles").click(function(){
	    var roleId = $(this).attr("rel");

	    editRoleFloatBox = OW.ajaxFloatBox(
	    	"ADMIN_CMP_AuthorizationRoleEdit", 
	    	{ roleId: roleId }, 
	    	{ width:400, iconClass: "ow_ic_edit", title: OW.getLanguageText('admin', 'permissions_edit_role_btn') }
	    );
	});
});


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


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


tr.placeholder td{
	border: 1px dashed grey;
	height: 35px;
	width: 100%;
}

.role{
	cursor: move;
}

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


<div class="ow_automargin ow_wide">
	<form action="<?php 
        echo smarty_function_url_for(array('for' => "ADMIN_CTRL_Users:deleteRoles"), $_smarty_tpl);
        ?>
" method="POST">
	    <table id="roles" class="ow_table_2 ow_form ow_stdmargin ow_center">
	        <tr class="ow_tr_first">
	            <th width="1"></th>
	            <th><?php 
        echo smarty_function_text(array('key' => 'admin+permissions_user_role'), $_smarty_tpl);
        ?>
</th>
	            <th width="1"><?php 
        echo smarty_function_text(array('key' => 'admin+permissions_number_of_users'), $_smarty_tpl);
        ?>
</th>
	            <th width="1"><span class="ow_nowrap"><?php 
        echo smarty_function_text(array('key' => 'admin+avatar_label'), $_smarty_tpl);
        ?>
</span></th>
	        </tr>

	        <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['set']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item']->index = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['item']->index++;
            $_smarty_tpl->tpl_vars['item']->first = $_smarty_tpl->tpl_vars['item']->index === 0;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']["roles"]['first'] = $_smarty_tpl->tpl_vars['item']->first;
            ?>
		        <?php 
            $_smarty_tpl->tpl_vars['role'] = new Smarty_variable($_smarty_tpl->tpl_vars['item']->value['dto'], null, 0);
            ?>
		        <?php 
            $_smarty_tpl->tpl_vars['roleId'] = new Smarty_variable($_smarty_tpl->tpl_vars['role']->value->id, null, 0);
            ?>
		        <tr class="<?php 
            echo smarty_function_cycle(array('values' => 'ow_alt1, ow_alt2'), $_smarty_tpl);
            ?>
 role">
		            <td>
		            	<input type="checkbox" name="role[]" value="<?php 
            echo $_smarty_tpl->tpl_vars['role']->value->id;
            ?>
" <?php 
            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['roles']['first']) {
                ?>
disabled="disabled"<?php 
            }
            ?>
 />
		            </td>
		            <td class="ow_txtleft">
		            	<?php 
            echo smarty_function_text_edit(array('key' => "base+authorization_role_" . (string) $_smarty_tpl->tpl_vars['role']->value->name), $_smarty_tpl);
            ?>
  
		            	<span class="ow_mild_green ow_small default-role" style="display:<?php 
            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['roles']['first']) {
                ?>
inline<?php 
            } else {
                ?>
none<?php 
            }
            ?>
;">
		            		<?php 
            echo smarty_function_text(array('key' => 'admin+permissions_default_role'), $_smarty_tpl);
            ?>

		            	</span>
		            </td>
		            <td class="ow_nowrap">
		            	<?php 
            echo smarty_function_math(array('equation' => "(x/y)*100", 'x' => $_smarty_tpl->tpl_vars['item']->value['userCount'], 'y' => $_smarty_tpl->tpl_vars['total']->value, 'assign' => 'percent'), $_smarty_tpl);
            ?>

		            	<a href="<?php 
            echo smarty_function_url_for_route(array('for' => "admin_users_browse_membership_owners:[roleId=>" . (string) $_smarty_tpl->tpl_vars['roleId']->value . "]"), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['userCount'];
            ?>
</a> | <?php 
            echo sprintf('%.1f', $_smarty_tpl->tpl_vars['percent']->value);
            ?>
%
		            </td>
		            <td style="min-width: 40px;">
		            <?php 
            if ($_smarty_tpl->tpl_vars['role']->value->displayLabel) {
                ?>
                        <a class="ow_lbutton edit_role" rel="<?php 
                echo $_smarty_tpl->tpl_vars['role']->value->id;
                ?>
" href="javascript://"<?php 
                if (!empty($_smarty_tpl->tpl_vars['role']->value->custom)) {
                    ?>
 style="background-color: <?php 
                    echo $_smarty_tpl->tpl_vars['role']->value->custom;
                    ?>
"<?php 
                }
                ?>
>
                            <?php 
                echo smarty_function_text(array('key' => 'base+yes'), $_smarty_tpl);
                ?>

                        </a>
		            <?php 
            } else {
                ?>
                        <a href="javascript://" rel="<?php 
                echo $_smarty_tpl->tpl_vars['role']->value->id;
                ?>
" class="edit_role"><?php 
                echo smarty_function_text(array('key' => 'base+no'), $_smarty_tpl);
                ?>
</a>
		            <?php 
            }
            ?>
		            </td>
		        </tr>
		        <?php 
        }
        ?>
			<tr class="ow_tr_last">
				<td>
					<input id="check_all" type="checkbox" onclick="$('#roles tr.role td input:checkbox:enabled').attr('checked', this.checked );" />
				</td>
				<td colspan="3" style="text-align: left;">
					<label for="check_all"><?php 
        echo smarty_function_text(array('key' => 'admin+permissions_check_all_selected'), $_smarty_tpl);
        ?>
</label>
					<form>
						<?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 delRoles(){
								if( $('#roles tr.role td input:checkbox:checked').size() == 0 ){ 
									alert('<?php 
            echo smarty_function_text(array('key' => 'admin+permissions_please_select_role'), $_smarty_tpl);
            ?>
'); 
									return false;
								}

								return confirm('<?php 
            echo smarty_function_text(array('key' => 'admin+permissions_are_you_sure'), $_smarty_tpl);
            ?>
');								
							}

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

						<?php 
        echo smarty_function_decorator(array('name' => 'button', 'type' => 'submit', 'langLabel' => 'admin+permissions_delete_role', 'class' => 'ow_button ow_red ow_ic_delete', 'onclick' => "return delRoles()"), $_smarty_tpl);
        ?>

					</form>									
				</td>
			</tr>
	    </table>
	</form>

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

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

	            <?php 
                echo smarty_function_label(array('name' => "label"), $_smarty_tpl);
                ?>
 <?php 
                echo smarty_function_input(array('name' => "label", 'style' => "width: 270px;"), $_smarty_tpl);
                ?>

	            <?php 
                echo smarty_function_submit(array('name' => "submit", 'class' => " ow_mild_green ow_ic_add"), $_smarty_tpl);
                ?>

            <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_form(array('name' => "add-role"), $_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', 'addClass' => 'ow_stdmargin ow_center', 'type' => 'empty', 'langLabel' => 'admin+add_new_role_block_cap_label', 'iconClass' => 'ow_ic_add'), $_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', 'addClass' => 'ow_stdmargin', 'type' => 'empty', 'langLabel' => 'admin+user_role_permissions_cap_label', 'iconClass' => 'ow_ic_gear_wheel'));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => 'box', 'addClass' => 'ow_stdmargin', 'type' => 'empty', 'langLabel' => 'admin+user_role_permissions_cap_label', 'iconClass' => 'ow_ic_gear_wheel'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <?php 
            $_smarty_tpl->_capture_stack[0][] = array('default', "permissionsPageUrl", null);
            ob_start();
            echo smarty_function_url_for(array('for' => 'ADMIN_CTRL_Permissions:roles'), $_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();
            }
            ?>
        <?php 
            echo smarty_function_text(array('key' => 'admin+permissions_go_to_permissions_page', 'url' => (string) $_smarty_tpl->tpl_vars['permissionsPageUrl']->value), $_smarty_tpl);
            ?>

    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_block_decorator(array('name' => 'box', 'addClass' => 'ow_stdmargin', 'type' => 'empty', 'langLabel' => 'admin+user_role_permissions_cap_label', 'iconClass' => 'ow_ic_gear_wheel'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

</div>
<?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_548e876dd22d48_37128744($_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_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">
    <?php 
        if (!$_smarty_tpl->tpl_vars['isActive']->value) {
            ?>
        <div class="ow_anno ow_center">
            <?php 
            echo $_smarty_tpl->tpl_vars['expireText']->value;
            ?>

        </div>
    <?php 
        } else {
            ?>
        <div class="ow_column ow_automargin ow_superwide">
            <p class="total_members"><?php 
            echo smarty_function_text(array('key' => "admin+massmailing_total_members", 'count' => $_smarty_tpl->tpl_vars['userCount']->value), $_smarty_tpl);
            ?>
</p>
            <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'massMailingForm', 'type' => 'empty', 'iconClass' => "ow_ic_edit", 'langLabel' => 'admin+massmailing_compose_email'));
            $_block_repeat = true;
            echo smarty_block_form(array('name' => 'massMailingForm', 'type' => 'empty', 'iconClass' => "ow_ic_edit", 'langLabel' => 'admin+massmailing_compose_email'), 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' => 'emailFormat'), $_smarty_tpl);
                ?>
</td>
                        <td class="ow_value">
                             <?php 
                echo smarty_function_input(array('name' => 'emailFormat'), $_smarty_tpl);
                ?>

                        </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' => 'userRoles'), $_smarty_tpl);
                ?>
</td>
                        <td class="ow_value">
                             <?php 
                echo smarty_function_input(array('name' => 'userRoles'), $_smarty_tpl);
                ?>

                        </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' => 'subject'), $_smarty_tpl);
                ?>
</td>
                        <td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'subject', 'style' => "width:97%;"), $_smarty_tpl);
                ?>
<br /><?php 
                echo smarty_function_error(array('name' => 'subject'), $_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' => 'body'), $_smarty_tpl);
                ?>
</td>
                        <td class="ow_value">
                            <?php 
                echo smarty_function_input(array('id' => "mass_mailing_body", 'name' => 'body', 'style' => "width:97%;height:250px;"), $_smarty_tpl);
                ?>
<br /><?php 
                echo smarty_function_error(array('name' => 'body'), $_smarty_tpl);
                ?>

                            <div style="padding:5px;">
                                <?php 
                echo smarty_function_text(array('key' => 'admin+massmailing_following_variables_text'), $_smarty_tpl);
                ?>
<br />
                                
                                    <a id="var_username" onclick="window.massMailing.addVar('{$user_name}')" href="javascript://">{$user_name}</a><br />
                                    <a id="var_username" onclick="window.massMailing.addVar('{$user_email}')" href="javascript://">{$user_email}</a><br />
                                    <a id="var_sitename" onclick="window.massMailing.addVar('{$site_name}')" href="javascript://">{$site_name}</a><br />
                                    <a id="var_siteurl" onclick="window.massMailing.addVar('{$site_url}')" href="javascript://">{$site_url}</a><br />
                                    <a id="site_email" onclick="window.massMailing.addVar('{$site_email}')" href="javascript://">{$site_email}</a><br />
                                    <a id="site_email" onclick="window.massMailing.addVar('{$unsubscribe_url}')" href="javascript://">{$unsubscribe_url}</a><br />
                                
                            </div>
                        </td>
                    </tr>
                </table>
                <div class="clearfix ow_stdmargin">
                    <div class="ow_right">
                        <?php 
                echo smarty_function_submit(array('name' => 'startMailing', 'class' => "ow_positive"), $_smarty_tpl);
                ?>

                    </div>
                </div>
            <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_form(array('name' => 'massMailingForm', 'type' => 'empty', 'iconClass' => "ow_ic_edit", 'langLabel' => 'admin+massmailing_compose_email'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

        </div>
    <?php 
        }
        ?>
</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 
    }
    function content_55597bc656a750_11035358($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.script.php';
        }
        if (!is_callable('smarty_function_url_for_route')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.url_for_route.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_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.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_cycle')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.cycle.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('script', array());
        $_block_repeat = true;
        echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

  
    $("#avatar_change_btn").click(function(){
        $(this).hide();
        $("#cancel_change").show();
        $("#avatar_input").show();
    });
    
    $("#big_avatar_change_btn").click(function(){
        $(this).hide();
        $("#cancel_big_change").show();
        $("#big_avatar_input").show();
    });
    
    $("#cancel_change").click(function(){
        $(this).hide();
        $("#avatar_change_btn").show();
        $("#avatar_input").html('<input type="file" name="avatar" />');
        $("#avatar_input").hide();
    });
    
    $("#cancel_big_change").click(function(){
        $(this).hide();
        $("#big_avatar_change_btn").show();
        $("#big_avatar_input").html('<input type="file" name="bigAvatar" />');
        $("#big_avatar_input").hide();
    });
    
    $("#avatar_delete_btn").click(function(){
        if ( confirm(OW.getLanguageText('admin', 'confirm_avatar_delete')) ) 
        {
            window.location.href = "<?php 
            echo smarty_function_url_for_route(array('for' => 'admin_settings_user'), $_smarty_tpl);
            ?>
?del-avatar=1";
        }
    });
    
    $("#big_avatar_delete_btn").click(function(){
        if ( confirm(OW.getLanguageText('admin', 'confirm_avatar_delete')) ) 
        {
            window.location.href = "<?php 
            echo smarty_function_url_for_route(array('for' => 'admin_settings_user'), $_smarty_tpl);
            ?>
?del-avatar=2";
        }
    });
  
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_script(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

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

<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'userSettingsForm'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'userSettingsForm'), 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_monitor"><?php 
            echo smarty_function_text(array('key' => 'admin+user_display_settings'), $_smarty_tpl);
            ?>
</span>
        </th>
    </tr>
   <tr class="ow_alt1 ow_tr_last">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'displayName'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'displayName'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'displayName'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc ow_small">
            <?php 
            echo smarty_function_text(array('key' => 'admin+user_settings_display_name_desc'), $_smarty_tpl);
            ?>

        </td>
    </tr>
    <tr class="ow_tr_delimiter"><td></td></tr>
    <?php 
            if ($_smarty_tpl->tpl_vars['displayConfirmEmail']->value) {
                ?>
    <tr class="ow_tr_first">
        <th class="ow_name ow_txtleft" colspan="3">
            <span class="ow_section_icon ow_ic_mail"><?php 
                echo smarty_function_text(array('key' => 'admin+user_settings_email'), $_smarty_tpl);
                ?>
</span>
        </th>
    </tr>
    <tr class="ow_alt1 ow_tr_last">
        <td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'confirmEmail'), $_smarty_tpl);
                ?>
</td>
        <td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'confirmEmail'), $_smarty_tpl);
                ?>
 <?php 
                echo smarty_function_error(array('name' => 'confirmEmail'), $_smarty_tpl);
                ?>
</td>
        <td class="ow_desc ow_small">
            <?php 
                echo smarty_function_text(array('key' => 'admin+user_settings_confirm_email_desc'), $_smarty_tpl);
                ?>

        </td>
    </tr>
    <tr class="ow_tr_delimiter"><td></td></tr>
    <?php 
            }
            ?>
    <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_avatar_settings'), $_smarty_tpl);
            ?>
</span>
        </th>
    </tr>
    <tr class="ow_alt1">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'avatarSize'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'avatarSize', 'class' => 'ow_settings_input'), $_smarty_tpl);
            ?>
 px<br /><?php 
            echo smarty_function_error(array('name' => 'avatarSize'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'admin+user_settings_avatar_size_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>
    <tr class="ow_alt2">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'bigAvatarSize'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'bigAvatarSize', 'class' => 'ow_settings_input'), $_smarty_tpl);
            ?>
 px<br /><?php 
            echo smarty_function_error(array('name' => 'bigAvatarSize'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'admin+user_settings_big_avatar_size_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>        
        <tr class="ow_alt1">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'avatar_max_upload_size'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'avatar_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' => 'avatar_max_upload_size'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"></td>
        </tr>
    </tr>
    <tr class="ow_alt2 ow_tr_last">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+user_settings_avatar_image'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value">
            <div class="ow_smallmargin">
                <img src="<?php 
            echo $_smarty_tpl->tpl_vars['avatar']->value;
            ?>
" /><br />
                <?php 
            if (!empty($_smarty_tpl->tpl_vars['customAvatar']->value[1])) {
                ?>
<span class="ow_lbutton ow_mild_red" id="avatar_delete_btn"><?php 
                echo smarty_function_text(array('key' => 'base+delete'), $_smarty_tpl);
                ?>
</span><?php 
            }
            ?>
                <span class="ow_lbutton" id="avatar_change_btn"><?php 
            echo smarty_function_text(array('key' => 'base+change'), $_smarty_tpl);
            ?>
</span>
                <span class="ow_lbutton" id="cancel_change" style="display: none;"><?php 
            echo smarty_function_text(array('key' => 'base+cancel'), $_smarty_tpl);
            ?>
</span>
	            <div id="avatar_input" style="display: none"><?php 
            echo smarty_function_input(array('name' => 'avatar'), $_smarty_tpl);
            ?>
</div>
            </div>
            <div>
                <img src="<?php 
            echo $_smarty_tpl->tpl_vars['avatarBig']->value;
            ?>
" /><br />
                <?php 
            if (!empty($_smarty_tpl->tpl_vars['customAvatar']->value[2])) {
                ?>
<span class="ow_lbutton ow_mild_red" id="big_avatar_delete_btn"><?php 
                echo smarty_function_text(array('key' => 'base+delete'), $_smarty_tpl);
                ?>
</span><?php 
            }
            ?>
                <span class="ow_lbutton" id="big_avatar_change_btn"><?php 
            echo smarty_function_text(array('key' => 'base+change'), $_smarty_tpl);
            ?>
</span>
                <span class="ow_lbutton" id="cancel_big_change" style="display: none;"><?php 
            echo smarty_function_text(array('key' => 'base+cancel'), $_smarty_tpl);
            ?>
</span>
                <div id="big_avatar_input" style="display: none"><?php 
            echo smarty_function_input(array('name' => 'bigAvatar'), $_smarty_tpl);
            ?>
</div>
            </div>
        </td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'admin+user_settings_avatar_image_desc'), $_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_script"><?php 
            echo smarty_function_text(array('key' => 'admin+join_page'), $_smarty_tpl);
            ?>
</span>
        </th>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+join_display_photo_upload'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'join_display_photo_upload'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'join_display_photo_upload'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc"><?php 
            echo smarty_function_text(array('key' => 'admin+join_display_photo_upload_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
 ow_tr_last">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+join_display_terms_of_use'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'join_display_terms_of_use'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'join_display_terms_of_use'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc"><?php 
            echo smarty_function_text(array('key' => 'admin+join_display_terms_of_use_desc'), $_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'), $_smarty_tpl);
            ?>

</div></div>

<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'userSettingsForm'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
    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_555adfd0b4a082_85944973($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_block_form')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.form.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_text')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_error')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.error.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('style', array());
        $_block_repeat = true;
        echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>



    .ow_qs_header { 
        padding-bottom: 20px; 
    }

    .ow_qs_field { 
        padding-bottom: 15px; 
    }

    .ow_qs_label { 
        padding: 0 10px 0 10px; 
    }

    .ow_qs_field input[type="text"] {
        max-width: 70%;
    }

    .ow_qs_field input.ow_googlelocation_search_location
    {
        max-width:100%;
    }

   .ow_qs_field .ow_qs_miles {
        width: 50px;
        text-align: center;
    }

     .ow_qs_field .ow_qs_locationstr { 
        width: 150px; 
    }

    form .ow_googlelocation_search_distance { 
        text-align: center; 
    }

    .ow_qs_btn .ow_qs_label {
        padding: 6px 10px 0px;
        display: inline-block;
    }

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


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


    <?php 
            $_smarty_tpl->tpl_vars['question'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['question']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['questionList']->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;
                ?>

        <?php 
                if ($_smarty_tpl->tpl_vars['question']->value->name == 'match_sex') {
                    ?>
            <?php 
                    if (!empty($_smarty_tpl->tpl_vars['form']->value->displayAccountType)) {
                        ?>
                <div class="ow_qs_field">
                    <span class="ow_qs_label"><?php 
                        echo smarty_function_label(array('name' => $_smarty_tpl->tpl_vars['question']->value->name), $_smarty_tpl);
                        ?>
</span>
                    <span class="ow_qs_value"><?php 
                        echo smarty_function_input(array('name' => $_smarty_tpl->tpl_vars['question']->value->name), $_smarty_tpl);
                        ?>
</span>
                </div>
            <?php 
                    }
                    ?>
        <?php 
                } elseif ($_smarty_tpl->tpl_vars['question']->value->name == 'sex') {
                    ?>
            <?php 
                    if (!empty($_smarty_tpl->tpl_vars['form']->value->displayAccountType)) {
                        ?>
                <div class="ow_qs_field">
                    <span class="ow_qs_label"><?php 
                        echo smarty_function_label(array('name' => $_smarty_tpl->tpl_vars['question']->value->name), $_smarty_tpl);
                        ?>
</span>
                    <span class="ow_qs_value"><?php 
                        echo smarty_function_input(array('name' => $_smarty_tpl->tpl_vars['question']->value->name), $_smarty_tpl);
                        ?>
</span>
                </div>
            <?php 
                    }
                    ?>
        <?php 
                } elseif ($_smarty_tpl->tpl_vars['question']->value->name == 'birthdate') {
                    ?>
             <div class="ow_qs_field">
                <span class="ow_qs_label"><label><?php 
                    echo smarty_function_text(array('key' => 'usearch+age'), $_smarty_tpl);
                    ?>
</label></span>
                <span class="ow_qs_value"><?php 
                    echo smarty_function_input(array('name' => 'birthdate'), $_smarty_tpl);
                    ?>
</span>
                <div><?php 
                    echo smarty_function_error(array('name' => 'birthdate'), $_smarty_tpl);
                    ?>
</div>
            </div>
        <?php 
                } elseif ($_smarty_tpl->tpl_vars['question']->value->name == 'googlemap_location') {
                    ?>
            <div class="ow_qs_field">
                <?php 
                    echo smarty_function_input(array('name' => 'googlemap_location'), $_smarty_tpl);
                    ?>

                <?php 
                    echo smarty_function_error(array('name' => 'googlemap_location'), $_smarty_tpl);
                    ?>

            </div>
        <?php 
                } else {
                    ?>
            <div class="ow_qs_field">
                <span class="ow_qs_label"><?php 
                    echo smarty_function_label(array('name' => $_smarty_tpl->tpl_vars['question']->value->name), $_smarty_tpl);
                    ?>
</span>
                <span class="ow_qs_value"><?php 
                    echo smarty_function_input(array('name' => $_smarty_tpl->tpl_vars['question']->value->name), $_smarty_tpl);
                    ?>
</span>
            </div>
        <?php 
                }
                ?>

    <?php 
            }
            ?>

     <?php 
            if ($_smarty_tpl->tpl_vars['_owForms_']->value['QuickSearchForm']->getElement('online')) {
                ?>
        <div class="ow_qs_field" style="width:50%; float:left;">
            <span class="ow_qs_value"><?php 
                echo smarty_function_input(array('name' => 'online'), $_smarty_tpl);
                ?>
</span>
            <span class="ow_qs_label"><?php 
                echo smarty_function_label(array('name' => 'online'), $_smarty_tpl);
                ?>
</span>
        </div>
    <?php 
            }
            ?>
    
    <?php 
            if ($_smarty_tpl->tpl_vars['_owForms_']->value['QuickSearchForm']->getElement('with_photo')) {
                ?>
        <div class="ow_qs_field" style="width:50%; float:left;">
            <span class="ow_qs_value"><?php 
                echo smarty_function_input(array('name' => 'with_photo'), $_smarty_tpl);
                ?>
</span>
            <span class="ow_qs_label"><?php 
                echo smarty_function_label(array('name' => 'with_photo'), $_smarty_tpl);
                ?>
</span>
        </div>
    <?php 
            }
            ?>

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


        <span class="ow_qs_label">
            <a href="<?php 
            echo $_smarty_tpl->tpl_vars['advancedUrl']->value;
            ?>
" class="ow_nowrap"><?php 
            echo smarty_function_text(array('key' => 'usearch+advanced_search'), $_smarty_tpl);
            ?>
</a>
        </span>
    </div>
    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'QuickSearchForm'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

</div><?php 
    }
    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_549146926dea46_56459382($_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_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_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';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('style', array());
        $_block_repeat = true;
        echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>



.ow_event_time {
    padding-left: 3px;
}


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


<div class="ow_superwide ow_automargin">

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

		<table class="ow_table_1 ow_form ow_stdmargin">
            <tr class="ow_alt2 ow_tr_first">
		        <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);
                echo smarty_function_error(array('name' => 'title'), $_smarty_tpl);
                ?>
</td>
		        <td class="ow_desc ow_small"><?php 
                echo smarty_function_text(array('key' => 'event+add_form_title_desc'), $_smarty_tpl);
                ?>
</td>
		    </tr>
		    <tr class="ow_alt1">
		        <td class="ow_label"><?php 
                echo smarty_function_text(array('key' => 'event+add_form_date_label'), $_smarty_tpl);
                ?>
</td>
                <td class="ow_value">
                    <div class="clearfix">
                        <div class="ow_left ow_event_date"><?php 
                echo smarty_function_input(array('name' => 'start_date'), $_smarty_tpl);
                echo smarty_function_error(array('name' => 'start_date'), $_smarty_tpl);
                ?>
</div>
                        <div class="ow_left ow_event_time"><?php 
                echo smarty_function_input(array('name' => 'start_time'), $_smarty_tpl);
                ?>
<br /><?php 
                echo smarty_function_error(array('name' => 'start_time'), $_smarty_tpl);
                ?>
</div>
                    </div>
                </td>
		        <td class="ow_desc ow_small"><?php 
                echo smarty_function_text(array('key' => 'event+add_form_date_desc'), $_smarty_tpl);
                ?>
</td>
		    </tr>
            <tr class="ow_alt2" id="<?php 
                echo $_smarty_tpl->tpl_vars['tdId']->value;
                ?>
">
		        <td class="ow_label"><?php 
                echo smarty_function_text(array('key' => 'event+add_form_end_date_label'), $_smarty_tpl);
                ?>
 <input type="checkbox" name="endDateFlag" id="<?php 
                echo $_smarty_tpl->tpl_vars['chId']->value;
                ?>
"<?php 
                if (!empty($_smarty_tpl->tpl_vars['endDateFlag']->value)) {
                    ?>
 checked="checked"<?php 
                }
                ?>
 /></td>
		        <td class="ow_value">
                    <div class="clearfix">
                        <div class="ow_left ow_event_date">
                            <?php 
                echo smarty_function_input(array('name' => 'end_date'), $_smarty_tpl);
                echo smarty_function_error(array('name' => 'end_date'), $_smarty_tpl);
                ?>
</div>
                        <div class="ow_left ow_event_time"><?php 
                echo smarty_function_input(array('name' => 'end_time'), $_smarty_tpl);
                ?>
<br /><?php 
                echo smarty_function_error(array('name' => 'end_time'), $_smarty_tpl);
                ?>
</div>
                    </div>
                </td>
		        <td class="ow_desc ow_small"><?php 
                echo smarty_function_text(array('key' => 'event+add_form_end_date_desc'), $_smarty_tpl);
                ?>
</td>
		    </tr>
            <tr class="ow_alt1">
		        <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);
                ?>
 <br /> <?php 
                echo smarty_function_error(array('name' => 'desc'), $_smarty_tpl);
                ?>
</td>
		        <td class="ow_desc ow_small"><?php 
                echo smarty_function_text(array('key' => 'event+add_form_desc_desc'), $_smarty_tpl);
                ?>
</td>
		    </tr>
            <tr class="ow_alt2">
		        <td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'location'), $_smarty_tpl);
                ?>
</td>
		        <td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'location'), $_smarty_tpl);
                ?>
 <br /> <?php 
                echo smarty_function_error(array('name' => 'location'), $_smarty_tpl);
                ?>
</td>
		        <td class="ow_desc ow_small"><?php 
                echo smarty_function_text(array('key' => 'event+add_form_location_desc'), $_smarty_tpl);
                ?>
</td>
		    </tr>
            <tr class="ow_alt1">
		        <td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'image'), $_smarty_tpl);
                ?>
</td>
                <td class="ow_value"><?php 
                if (!empty($_smarty_tpl->tpl_vars['imgsrc']->value)) {
                    ?>
<img src="<?php 
                    echo $_smarty_tpl->tpl_vars['imgsrc']->value;
                    ?>
" />&nbsp;&nbsp;<?php 
                }
                echo smarty_function_input(array('name' => 'image'), $_smarty_tpl);
                ?>
 <br /> <?php 
                echo smarty_function_error(array('name' => 'image'), $_smarty_tpl);
                ?>
</td>
		        <td class="ow_desc ow_small"><?php 
                echo smarty_function_text(array('key' => 'event+add_form_image_desc'), $_smarty_tpl);
                ?>
</td>
		    </tr>
            <tr class="ow_alt2">
		        <td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'who_can_view'), $_smarty_tpl);
                ?>
</td>
		        <td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'who_can_view'), $_smarty_tpl);
                ?>
 <br /> <?php 
                echo smarty_function_error(array('name' => 'who_can_view'), $_smarty_tpl);
                ?>
</td>
		        <td class="ow_desc ow_small"><?php 
                echo smarty_function_text(array('key' => 'event+add_form_who_can_view_desc'), $_smarty_tpl);
                ?>
</td>
		    </tr>
            <tr class="ow_alt1 ow_tr_last">
		        <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);
                ?>
 <br /> <?php 
                echo smarty_function_error(array('name' => 'who_can_invite'), $_smarty_tpl);
                ?>
</td>
		        <td class="ow_desc ow_small"><?php 
                echo smarty_function_text(array('key' => 'event+add_form_who_can_invite_desc'), $_smarty_tpl);
                ?>
</td>
		    </tr>
		</table>
		<div class="clearfix ow_stdmargin ow_submit">
			<div class="ow_right"><?php 
                echo smarty_function_submit(array('name' => 'submit', 'class' => 'ow_ic_edit'), $_smarty_tpl);
                ?>
</div>
		</div>
		<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_form(array('name' => 'event_edit'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

    <?php 
        } else {
            ?>
        <div class="ow_anno ow_std_margin ow_nocontent"><?php 
            echo $_smarty_tpl->tpl_vars['err_msg']->value;
            ?>
</div>
    <?php 
        }
        ?>
</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_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_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_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_548e641b88ec13_84496166($_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_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_cycle')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.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_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';
        }
        ?>

<script language="javascript" type="text/javascript">
    $(function(){
        $(".unregister_profile_button").click(
            function() { window.location = "<?php 
        echo $_smarty_tpl->tpl_vars['unregisterProfileUrl']->value;
        ?>
" }
        );
   });
</script>


<?php 
        if (!empty($_smarty_tpl->tpl_vars['changePassword']->value)) {
            ?>
    <?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();
                ?>

        <div class="clearfix ow_stdmargin"><div class="ow_right"><?php 
                echo $_smarty_tpl->tpl_vars['changePassword']->value;
                ?>
</div></div>
    <?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 
        }
        ?>

<?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['editSynchronizeHook']->value)) {
                ?>
    <?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'addClass' => "ow_center", 'iconClass' => 'ow_ic_update', 'langLabel' => 'base+edit_remote_field_synchronize_title', 'style' => "overflow:hidden;"));
                $_block_repeat = true;
                echo smarty_block_block_decorator(array('name' => "box", 'addClass' => "ow_center", 'iconClass' => 'ow_ic_update', 'langLabel' => 'base+edit_remote_field_synchronize_title', 'style' => "overflow:hidden;"), 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['editSynchronizeHook']->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", 'iconClass' => 'ow_ic_update', 'langLabel' => 'base+edit_remote_field_synchronize_title', 'style' => "overflow:hidden;"), $_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 
            $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'editForm'));
            $_block_repeat = true;
            echo smarty_block_form(array('name' => 'editForm'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

    <table class="ow_table_1 ow_form ow_stdmargin">
        <?php 
                if ($_smarty_tpl->tpl_vars['displayAccountType']->value) {
                    ?>
            <tr class="ow_alt1 ow_tr_first">
                <td class="ow_label">
                    <?php 
                    echo smarty_function_label(array('name' => 'accountType'), $_smarty_tpl);
                    ?>

                </td>
                <td class="ow_value">
                    <?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="ow_desc ow_small">

                </td>
            </tr>
        <?php 
                }
                ?>
        <tr class="ow_tr_delimiter"><td></td></tr>
        <?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)) {
                        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<?php 
                if (!$_smarty_tpl->tpl_vars['isAdmin']->value) {
                    ?>
 ow_btn_delimiter<?php 
                }
                ?>
">
	   <div class="ow_right">
		   <?php 
                if (!$_smarty_tpl->tpl_vars['isAdmin']->value) {
                    ?>
				<?php 
                    echo smarty_function_decorator(array('name' => "button", 'class' => "unregister_profile_button ow_ic_delete ow_red ow_negative", 'langLabel' => 'base+delete_profile'), $_smarty_tpl);
                    ?>

		   <?php 
                }
                ?>
		   <?php 
                echo smarty_function_submit(array('name' => 'editSubmit'), $_smarty_tpl);
                ?>

	   </div>
	</div>


<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_form(array('name' => 'editForm'), $_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 
    }