function content_5559741dcce9f1_41312051($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.script.php';
        }
        if (!is_callable('smarty_function_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.cycle.php';
        }
        if (!is_callable('smarty_modifier_escape')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/modifier.escape.php';
        }
        if (!is_callable('smarty_function_url_for')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.url_for.php';
        }
        if (!is_callable('smarty_block_form')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.form.php';
        }
        if (!is_callable('smarty_function_input')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.input.php';
        }
        if (!is_callable('smarty_function_label')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.label.php';
        }
        if (!is_callable('smarty_function_error')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.error.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('script', array());
        $_block_repeat = true;
        echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


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

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

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


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

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

                <select onchange="location.href = '<?php 
        echo $_smarty_tpl->tpl_vars['languageSwitchUrl']->value;
        ?>
&language='+this.value;">
                	<?php 
        $_smarty_tpl->tpl_vars['lang'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['lang']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['langs']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['lang']->key => $_smarty_tpl->tpl_vars['lang']->value) {
            $_smarty_tpl->tpl_vars['lang']->_loop = true;
            ?>
                	<option <?php 
            if ($_smarty_tpl->tpl_vars['language']->value->getTag() == $_smarty_tpl->tpl_vars['lang']->value->getTag()) {
                ?>
selected="selected"<?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['lang']->value->getTag();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['lang']->value->getLabel();
            ?>
</option>
                	<?php 
        }
        ?>
                </select>
                
                <?php 
        echo smarty_function_text(array('key' => "admin+check_other_langs", 'url' => "?mod=langs"), $_smarty_tpl);
        ?>

                
            </div>
            
            <div class="ow_stdmargin clearfix">
                <div class="ow_left" style="margin: 6px 10px;<?php 
        if (empty($_smarty_tpl->tpl_vars['devMode']->value)) {
            ?>
 display: none;<?php 
        }
        ?>
">
                	<?php 
        echo smarty_function_decorator(array('name' => 'button', 'langLabel' => 'admin+add_new_text', 'class' => 'ow_ic_add', 'id' => "add_new_text_btn"), $_smarty_tpl);
        ?>

                    <a style="display: none;" id="add_new_text" onclick="new OW_FloatBox({$title: '<?php 
        echo smarty_function_text(array('key' => "admin+title_add_new_text"), $_smarty_tpl);
        ?>
', $contents: $('#new-key-form'), width: '550px', icon_class: 'ow_ic_add'})"><?php 
        echo smarty_function_text(array('key' => "admin+add_new_text"), $_smarty_tpl);
        ?>
</a>
                </div>

            	<div class="ow_box ow_right">
                	<?php 
        echo smarty_function_text(array('key' => "admin+show"), $_smarty_tpl);
        ?>


                    <select onchange="location.href='<?php 
        echo $_smarty_tpl->tpl_vars['section_switch_url']->value;
        ?>
&prefix='+$(this).val();">
                        <option <?php 
        if ($_smarty_tpl->tpl_vars['current_prefix']->value == 'all') {
            ?>
selected="selected"<?php 
        }
        ?>
 value="all"><?php 
        echo smarty_function_text(array('key' => "admin+all_sections"), $_smarty_tpl);
        ?>
</option>
                        <?php 
        $_smarty_tpl->tpl_vars['prefix'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['prefix']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['prefixes']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['prefix']->key => $_smarty_tpl->tpl_vars['prefix']->value) {
            $_smarty_tpl->tpl_vars['prefix']->_loop = true;
            ?>
                        <option <?php 
            if ($_smarty_tpl->tpl_vars['current_prefix']->value == $_smarty_tpl->tpl_vars['prefix']->value->prefix) {
                ?>
selected="selected"<?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['prefix']->value->prefix;
            ?>
" > <?php 
            echo $_smarty_tpl->tpl_vars['prefix']->value->label;
            ?>
</option>
                        <?php 
        }
        ?>
                        <option disabled="disabled">-</option>
                        <option <?php 
        if ($_smarty_tpl->tpl_vars['current_prefix']->value == 'missing-text') {
            ?>
selected="selected"<?php 
        }
        ?>
 value="missing-text">
                        	<?php 
        echo smarty_function_text(array('key' => "admin+missing_text"), $_smarty_tpl);
        ?>

                        </option>
                    </select>

                    &nbsp;&nbsp;<b>OR</b>&nbsp;&nbsp;

                    <form id="search_form" style="display: inline" onsubmit="location.href = '<?php 
        echo $_smarty_tpl->tpl_vars['searchFormActionUrl']->value;
        ?>
&search='+ $('#search_inp').val()+( $('#search_in_inp:checked').length > 0 ? '&in_keys=y': ''); return false;">
                        <input id="search_inp" name="search" type="text" value="<?php 
        echo $_smarty_tpl->tpl_vars['current_search']->value;
        ?>
" style="width: 200px" class="grey-text" onfocus="if(this.flag == undefined){this.flag = false; $(this).removeClass('grey-text').attr('value', '')}" />
                        <?php 
        if (!empty($_smarty_tpl->tpl_vars['devMode']->value)) {
            ?>
<input id="search_in_inp" name="search_in_keys" <?php 
            if (!empty($_smarty_tpl->tpl_vars['searchInKeys']->value) && $_smarty_tpl->tpl_vars['searchInKeys']->value == 'y') {
                ?>
checked="checked"<?php 
            }
            ?>
 type="checkbox" /> <label>in keys</label><?php 
        }
        ?>
                        <?php 
        echo smarty_function_decorator(array('name' => 'button', 'langLabel' => 'admin+go', 'class' => "ow_ic_lens", 'type' => 'submit'), $_smarty_tpl);
        ?>

                    </form>
                </div>

            </div>
			<?php 
        if ($_smarty_tpl->tpl_vars['isSearchResults']->value) {
            ?>
           	<div class="ow_anno ow_std_margin">
               <div style="text-align:center;">
               	<?php 
            if (count($_smarty_tpl->tpl_vars['list']->value) > 0) {
                ?>
               		<?php 
                echo smarty_function_text(array('key' => "admin+search_results_for_keyword", 'keyword' => (string) $_smarty_tpl->tpl_vars['current_search']->value), $_smarty_tpl);
                ?>

             	<?php 
            } else {
                ?>
             		<?php 
                echo smarty_function_text(array('key' => "admin+search_no_results_for_keyword", 'keyword' => (string) $_smarty_tpl->tpl_vars['current_search']->value), $_smarty_tpl);
                ?>

               	<?php 
            }
            ?>
               	</div>
            </div>
            <?php 
        } else {
            ?>
            
            	<?php 
            if (count($_smarty_tpl->tpl_vars['list']->value) == 0) {
                ?>
		           	<div class="ow_anno ow_std_margin">
		               <div style="text-align:center;">
		               		{ text key="admin+no_values" } 
		               	</div>
		            </div>
            	<?php 
            }
            ?>
            <?php 
        }
        ?>
            
			<center><?php 
        echo $_smarty_tpl->tpl_vars['paging']->value;
        ?>
</center>
            
<form method="POST" id="main-form">
                      
			<table class="ow_table_1 ow_form" style="width:100%;">
                <tr class="ow_tr_first">
                	<th style="width:47%;text-align:left;"><?php 
        echo smarty_function_text(array('key' => "admin+original_value", 'label' => $_smarty_tpl->tpl_vars['origLabel']->value, 'tag' => $_smarty_tpl->tpl_vars['origTag']->value), $_smarty_tpl);
        ?>
</th>
                	<th style="width:47%;text-align:left;"><?php 
        echo smarty_function_text(array('key' => "admin+translation", 'label' => $_smarty_tpl->tpl_vars['label']->value, 'tag' => $_smarty_tpl->tpl_vars['tag']->value), $_smarty_tpl);
        ?>
</th>
                    <th style="width:6%;"></th>
                </tr>
                <!-- custom section -->
               <!-- end of custom section -->

<input type="hidden" name="command" value="edit-values" />
<?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['list']->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;
            ?>
                <tr>
                	<td colspan="3" style="text-align:center;"><h3><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['label'];
            ?>
</h3></td>
                </tr>
                
                <?php 
            $_smarty_tpl->tpl_vars['item_d2'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['item_d2']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['item']->value['data'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['item_d2']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['item_d2']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['item_d2']->key => $_smarty_tpl->tpl_vars['item_d2']->value) {
                $_smarty_tpl->tpl_vars['item_d2']->_loop = true;
                $_smarty_tpl->tpl_vars['item_d2']->iteration++;
                $_smarty_tpl->tpl_vars['item_d2']->last = $_smarty_tpl->tpl_vars['item_d2']->iteration === $_smarty_tpl->tpl_vars['item_d2']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['item_d2']['last'] = $_smarty_tpl->tpl_vars['item_d2']->last;
                ?>
                <tr class="<?php 
                echo smarty_function_cycle(array('values' => 'ow_alt2, ow_alt1'), $_smarty_tpl);
                ?>
 <?php 
                if ($_smarty_tpl->getVariable('smarty')->value['foreach']['item_d2']['last']) {
                    ?>
ow_tr_last<?php 
                }
                ?>
" onmouseover="$('span.del-cont', this).show();" onmouseout="$('span.del-cont', this).hide();">
                	<td class="ow_label" style="text-align:left;">
                        <div class="lang_value">
                        <?php 
                if ($_smarty_tpl->tpl_vars['item_d2']->value['origValue']) {
                    ?>
                			<?php 
                    echo smarty_modifier_escape($_smarty_tpl->tpl_vars['item_d2']->value['origValue']->value, "html", "utf-8");
                    ?>

                		<?php 
                }
                ?>
                        </div>
						<div style="margin-top: 10px;" class="ow_small"><span style="padding: 1px 3px;" class="ow_mild_green">{text key='<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['prefix'];
                ?>
+<?php 
                echo $_smarty_tpl->tpl_vars['item_d2']->value['key'];
                ?>
'}</span></div>                	
                	</td>
                    <td class="ow_value">
                    	<?php 
                if ($_smarty_tpl->tpl_vars['item_d2']->value['value']) {
                    ?>
                    		<textarea name="values[<?php 
                    echo $_smarty_tpl->tpl_vars['item_d2']->value['value']->keyId;
                    ?>
]" class="once" onclick="if(this.once === undefined){this.once = true; $(this).removeClass('once')}"><?php 
                    echo $_smarty_tpl->tpl_vars['item_d2']->value['value']->value;
                    ?>
</textarea>
                    	<?php 
                } else {
                    ?>
							<textarea name="missing[<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['prefix'];
                    ?>
][<?php 
                    echo $_smarty_tpl->tpl_vars['item_d2']->value['key'];
                    ?>
]" class="once"></textarea>
                    	<?php 
                }
                ?>
                   	</td>
                    <td class="ns-hover-block">
                    	<div style="width: 50px;">
	                    	<span class="del-cont" style="display: none;">
	                    	
	                    	<?php 
                if (!$_smarty_tpl->tpl_vars['devMode']->value && $_smarty_tpl->tpl_vars['item']->value['prefix'] == 'ow_custom' || $_smarty_tpl->tpl_vars['devMode']->value) {
                    ?>
	                    	<a class="ow_lbutton ow_red" href="<?php 
                    echo smarty_function_url_for(array('for' => "ADMIN_CTRL_Languages:deletekey"), $_smarty_tpl);
                    ?>
?prefix=<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['prefix'];
                    ?>
&key=<?php 
                    echo $_smarty_tpl->tpl_vars['item_d2']->value['key'];
                    ?>
" 
	                    		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>
	                   		<?php 
                }
                ?>
	                   		</span>
                   		</div>
                	</td>
                </tr>
                <?php 
            }
        }
        ?>
            </table>    
			<div class="clearfix ow_stdmargin"><div class="ow_right"><?php 
        echo smarty_function_decorator(array('name' => "button", 'langLabel' => "admin+save_this_page", 'class' => "ow_ic_save ow_positive", 'extraString' => 'onclick="this.form.submit()"'), $_smarty_tpl);
        ?>
</div></div>        
</form>
			<center><?php 
        echo $_smarty_tpl->tpl_vars['paging']->value;
        ?>
</center>
            
<!-- begin -->
<div style="display:none;">
	<div id="new-key-form">
	<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "form"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "form"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

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

	<input type="hidden" name="command" value="add-key">
	<table class="ow_table_1 ow_form" style="width: 100%">
			<tr class="ow_alt2 ow_tr_first" style="<?php 
            if (!$_smarty_tpl->tpl_vars['devMode']->value) {
                ?>
display: none;<?php 
            }
            ?>
">
				<td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'prefix'), $_smarty_tpl);
            ?>
</td>
				<td class="ow_value">
					<?php 
            echo smarty_function_input(array('name' => 'prefix'), $_smarty_tpl);
            ?>

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

				</td>
			</tr>
			<tr class="ow_alt1" style="<?php 
            if (!$_smarty_tpl->tpl_vars['devMode']->value) {
                ?>
display: none;<?php 
            }
            ?>
">
				<td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'key'), $_smarty_tpl);
            ?>
</td>
				<td class="ow_value">
					<?php 
            echo smarty_function_input(array('name' => 'key'), $_smarty_tpl);
            ?>

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

				</td>
			</tr>
		<tr class="ow_alt2 ow_tr_last">
			<td class="ow_label ow_nowrap"><?php 
            echo smarty_function_label(array('name' => 'value'), $_smarty_tpl);
            ?>
</td>
			<td class="ow_value">
				<?php 
            echo smarty_function_input(array('name' => 'value', 'style' => 'height: 150px'), $_smarty_tpl);
            ?>

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

			</td>
		</tr >
	</table>
    <div class="clearfix ow_submit"><div class="ow_right"><?php 
            echo smarty_function_submit(array('name' => "submit", 'class' => "ow_positive"), $_smarty_tpl);
            ?>
</div></div>
	<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => "form"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

	</div>
</div>
<!-- end --><?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_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_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_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_549696d0054457_98855199($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.error.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>


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


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

    
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
            ?>
 ow_tr_first">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_enabled'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpEnabled'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'mailSmtpEnabled'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_enabled_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
            ?>
">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_host'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpHost', 'style' => "width: 172px"), $_smarty_tpl);
            ?>
:<?php 
            echo smarty_function_input(array('name' => 'mailSmtpPort', 'maxlength' => 5, 'style' => "width: 60px"), $_smarty_tpl);
            echo smarty_function_error(array('name' => 'mailSmtpHost'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc"></td>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
            ?>
">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_user'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpUser'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'mailSmtpUser'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc ow_small"></td>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
            ?>
">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_password'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpPassword'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'mailSmtpPassword'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc ow_small"></td>
    </tr>
    
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
            ?>
 ow_tr_las">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_connection_prefix'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpConnectionPrefix'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'mailSmtpConnectionPrefix'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_connection_prefix_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>

    <!-- / Smtp Settings -->

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

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

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

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

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

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

<?php 
        }
    }
    function content_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 
    }
    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_55b89052038444_95507014($_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_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_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.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_submit')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.submit.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.block_decorator.php';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>


<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'configSaveForm'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'configSaveForm'), 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_script"><?php 
            echo smarty_function_text(array('key' => 'admin+site_installation'), $_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+site_title'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'siteTitle'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'siteTitle'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"></td>
        </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+site_email'), $_smarty_tpl);
            ?>
</td>
            <?php 
            if ($_smarty_tpl->tpl_vars['showVerifyButton']->value) {
                ?>
                <td class="ow_value"><?php 
                echo smarty_function_input(array('style' => "width:60%;", 'name' => 'siteEmail'), $_smarty_tpl);
                ?>
 <?php 
                echo smarty_function_decorator(array('name' => "button", 'class' => 'ow_ic_mail', 'id' => "verify_site_email_button", 'langLabel' => 'admin+verify_site_email'), $_smarty_tpl);
                ?>
 <?php 
                echo smarty_function_error(array('name' => 'siteEmail'), $_smarty_tpl);
                ?>
</td>
            <?php 
            } else {
                ?>
                <td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'siteEmail'), $_smarty_tpl);
                ?>
 <?php 
                echo smarty_function_error(array('name' => 'siteEmail'), $_smarty_tpl);
                ?>
</td>
            <?php 
            }
            ?>
            <td class="ow_desc"><?php 
            echo smarty_function_text(array('key' => 'admin+site_email_desc'), $_smarty_tpl);
            ?>
</td>
        </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+site_tagline'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'tagline'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'tagline'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'admin+site_tagline_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+site_description'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'description'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'description'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'admin+site_description_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_clock"><?php 
            echo smarty_function_text(array('key' => 'admin+time_settings'), $_smarty_tpl);
            ?>
</span>
            </th>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "time", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'dateFieldFormat'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'dateFieldFormat'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'dateFieldFormat'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc ow_small"></td>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "time", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+timezone'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'timezone'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'timezone'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"></td>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "time", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+use_relative_time'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'relativeTime'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'relativeTime'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'admin+site_relative_time_desc'), $_smarty_tpl);
            ?>
</td>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "time", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
 ow_tr_last">
            <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+use_military_time'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'militaryTime'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc ow_small"></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_app"><?php 
            echo smarty_function_text(array('key' => 'admin+finance_settings'), $_smarty_tpl);
            ?>
</span>
            </th>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "time", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'currency'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'currency'), $_smarty_tpl);
            ?>
 <br /><?php 
            echo smarty_function_error(array('name' => 'currency'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc ow_small"></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' => 'configSaveForm'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['showVerifyButton']->value) {
            ?>
    <div style="display:none;">
        <div id="site-email-verify">
            <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_automargin", 'style' => "width:325px;padding-bottom:10px;"));
            $_block_repeat = true;
            echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_automargin", 'style' => "width:325px;padding-bottom:10px;"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

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

            <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_automargin", 'style' => "width:325px;padding-bottom:10px;"), $_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' => "normal", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"));
            $_block_repeat = true;
            echo smarty_block_block_decorator(array('name' => "box", 'type' => "normal", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

                <?php 
                echo smarty_function_decorator(array('name' => "button", 'class' => 'ow_ic_mail', 'id' => "sendVerifyMail", 'langLabel' => 'admin+send_verification_email'), $_smarty_tpl);
                ?>

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

        </div>
    </div>
<?php 
        }
        ?>

<?php 
    }
    function content_55f69ec1311055_64596604($_smarty_tpl)
    {
        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_submit')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.submit.php';
        }
        if (!is_callable('smarty_function_error')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.error.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding: 215px 15px 15px;"));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding: 215px 15px 15px;"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <?php 
            echo smarty_function_text(array('key' => "base+email_verify_form_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: 215px 15px 15px;"), $_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' => "normal", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center", 'style' => "width:63%;"));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => "box", 'type' => "normal", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center", 'style' => "width:63%;"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

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

        <div style="display: inline;"><?php 
                echo smarty_function_label(array('name' => 'verificationCode'), $_smarty_tpl);
                ?>
:</div><div style="display: inline;"> <?php 
                echo smarty_function_input(array('name' => 'verificationCode', 'style' => "width:330px;"), $_smarty_tpl);
                ?>
</div>
        <?php 
                echo smarty_function_submit(array('name' => 'submit', 'class' => 'ow_ic_mail'), $_smarty_tpl);
                ?>
<br/><div style="color: red;"><?php 
                echo smarty_function_error(array('name' => 'verificationCode'), $_smarty_tpl);
                ?>
</div>
    <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_form(array('name' => 'verificationForm'), $_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' => "normal", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center", 'style' => "width:63%;"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
    function content_54923d7cee4332_46229339($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.error.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('style', array());
        $_block_repeat = true;
        echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


.ow_forum .ow_lbutton:hover {
    cursor: default;
}

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

<div class="ow_box ow_highbox ow_smallmargin ow_center">
    <?php 
        echo smarty_function_decorator(array('name' => 'button', 'langLabel' => 'base+widgets_finish_customize_btn', 'id' => 'finish_customizing', 'class' => 'ow_ic_lock'), $_smarty_tpl);
        ?>

</div>

<div class="forum_sections">

<?php 
        $_smarty_tpl->tpl_vars['section'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['section']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['sectionGroupList']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['section']->key => $_smarty_tpl->tpl_vars['section']->value) {
            $_smarty_tpl->tpl_vars['section']->_loop = true;
            ?>
<table class="ow_table_1 ow_stdmargin ow_forum forum_section" id="section_<?php 
            echo $_smarty_tpl->tpl_vars['section']->value['sectionId'];
            ?>
">
    <tr class="forum_section_tr ow_tr_first">
        <th class="ow_name"><a href="<?php 
            echo $_smarty_tpl->tpl_vars['section']->value['sectionUrl'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['section']->value['sectionName'];
            ?>
</a></th>
        <th class="ow_topics"><?php 
            echo smarty_function_text(array('key' => 'forum+topics'), $_smarty_tpl);
            ?>
</th>
        <th class="ow_replies"><?php 
            echo smarty_function_text(array('key' => 'forum+replies'), $_smarty_tpl);
            ?>
</th>
        <th class="ow_action">
            <div class="ow_section_acts" style="display: none">
                <a class="ow_lbutton section_edit" href="javascript://"><?php 
            echo smarty_function_text(array('key' => 'forum+edit_section'), $_smarty_tpl);
            ?>
</a>&nbsp;<a class="ow_lbutton ow_red section_delete" href="javascript://"><?php 
            echo smarty_function_text(array('key' => 'forum+delete_section'), $_smarty_tpl);
            ?>
</a>
            </div>
        </th>
    </tr>
    
    <?php 
            $_smarty_tpl->tpl_vars['group'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['group']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['section']->value['groups'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['group']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['group']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['group']->key => $_smarty_tpl->tpl_vars['group']->value) {
                $_smarty_tpl->tpl_vars['group']->_loop = true;
                $_smarty_tpl->tpl_vars['group']->iteration++;
                $_smarty_tpl->tpl_vars['group']->last = $_smarty_tpl->tpl_vars['group']->iteration === $_smarty_tpl->tpl_vars['group']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['groups']['last'] = $_smarty_tpl->tpl_vars['group']->last;
                ?>
    <tr class="forum_group <?php 
                if ($_smarty_tpl->getVariable('smarty')->value['foreach']['groups']['last']) {
                    ?>
ow_tr_last<?php 
                }
                ?>
" id="group_<?php 
                echo $_smarty_tpl->tpl_vars['group']->value['id'];
                ?>
">
        <td class="ow_name">
            <a href="<?php 
                echo $_smarty_tpl->tpl_vars['group']->value['groupUrl'];
                ?>
"><b><?php 
                echo $_smarty_tpl->tpl_vars['group']->value['name'];
                ?>
</b> </a>
            <div class="ow_small"><?php 
                echo $_smarty_tpl->tpl_vars['group']->value['description'];
                ?>
</div>
            <?php 
                if ($_smarty_tpl->tpl_vars['group']->value['isPrivate']) {
                    ?>
                <span class="ow_lbutton ow_green"><?php 
                    echo smarty_function_text(array('key' => 'forum+is_private'), $_smarty_tpl);
                    ?>
</span> 
                <span class="ow_small ow_remark"><?php 
                    echo smarty_function_text(array('key' => 'forum+visible_to'), $_smarty_tpl);
                    ?>
: <?php 
                    $_smarty_tpl->tpl_vars['r'] = new Smarty_Variable();
                    $_smarty_tpl->tpl_vars['r']->_loop = false;
                    $_from = $_smarty_tpl->tpl_vars['group']->value['roles'];
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    $_smarty_tpl->tpl_vars['r']->total = $_smarty_tpl->_count($_from);
                    $_smarty_tpl->tpl_vars['r']->iteration = 0;
                    foreach ($_from as $_smarty_tpl->tpl_vars['r']->key => $_smarty_tpl->tpl_vars['r']->value) {
                        $_smarty_tpl->tpl_vars['r']->_loop = true;
                        $_smarty_tpl->tpl_vars['r']->iteration++;
                        $_smarty_tpl->tpl_vars['r']->last = $_smarty_tpl->tpl_vars['r']->iteration === $_smarty_tpl->tpl_vars['r']->total;
                        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['r']['last'] = $_smarty_tpl->tpl_vars['r']->last;
                        echo $_smarty_tpl->tpl_vars['r']->value;
                        if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['r']['last']) {
                            ?>
, <?php 
                        }
                    }
                    ?>
</span>
            <?php 
                }
                ?>
        </td>
        <td class="ow_topics"><?php 
                echo $_smarty_tpl->tpl_vars['group']->value['topicCount'];
                ?>
</td>
        <td class="ow_replies"><?php 
                echo $_smarty_tpl->tpl_vars['group']->value['replyCount'];
                ?>
</td>
        <td class="ow_action">
            <div class="ow_group_acts" style="display: none;">
                <a class="ow_lbutton group_edit" href="javascript://"><?php 
                echo smarty_function_text(array('key' => 'forum+edit_group'), $_smarty_tpl);
                ?>
</a>&nbsp;<a class="ow_lbutton ow_red group_delete" href="javascript://"><?php 
                echo smarty_function_text(array('key' => 'forum+delete_group'), $_smarty_tpl);
                ?>
</a>
            </div>
        </td>
    </tr>
    <?php 
            }
            ?>
    <tr class="forum_group no_forum_group" <?php 
            if ($_smarty_tpl->tpl_vars['section']->value['groups']) {
                ?>
style="display: none;"<?php 
            }
            ?>
>
        <td colspan="4"><?php 
            echo smarty_function_text(array('key' => 'forum+no_group'), $_smarty_tpl);
            ?>
</td>
    </tr>
</table>
<?php 
        }
        ?>

</div>

<div class="ow_stdmargin ow_txtright">
    <?php 
        echo smarty_function_decorator(array('name' => 'button', 'langLabel' => 'forum+add_new_forum_btn', 'id' => 'add_forum_btn', 'class' => 'ow_ic_add'), $_smarty_tpl);
        ?>

</div>


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

        <table class="ow_table_1 ow_form ow_full">
		<tr class="ow_alt2">
			<td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'forum+add_new_forum_name'), $_smarty_tpl);
            ?>
</td>
			<td class="ow_value">
				<?php 
            echo smarty_function_input(array('name' => 'group-name'), $_smarty_tpl);
            ?>

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

			</td>
		</tr>
		<tr class="ow_alt1">
			<td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'forum+add_new_forum_section'), $_smarty_tpl);
            ?>
</td>
			<td class="ow_value">
				<?php 
            echo smarty_function_input(array('name' => 'section'), $_smarty_tpl);
            ?>

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

			</td>
		</tr>
		<tr class="ow_alt2">
			<td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'forum+add_new_forum_description'), $_smarty_tpl);
            ?>
</td>
			<td class="ow_value">
				<?php 
            echo smarty_function_input(array('name' => 'description'), $_smarty_tpl);
            ?>

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

			</td>
		</tr>
		<tr class="ow_alt1">
          <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'forum+is_private'), $_smarty_tpl);
            ?>
</td>
          <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'is-private'), $_smarty_tpl);
            ?>
</td>
        </tr>
        <tr class="ow_alt2 private_forum_roles" style="display: none;">
          <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'forum+visible_to'), $_smarty_tpl);
            ?>
</td>
          <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'roles'), $_smarty_tpl);
            ?>
</td>
        </tr>
		</table>
		<div class="clearfix">
            <div class="ow_right">
        	<?php 
            echo smarty_function_submit(array('name' => 'add', 'class' => 'ow_positive'), $_smarty_tpl);
            ?>

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

</div>
</div>


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

		<table class="ow_table_1 ow_form ow_full">
		<tr class="ow_alt2">
            <td class="ow_label"><span class="ow_nowrap"><?php 
            echo smarty_function_text(array('key' => 'forum+edit_section_name'), $_smarty_tpl);
            ?>
</span></td>
			<td class="ow_value">
				<?php 
            echo smarty_function_input(array('name' => 'section-name'), $_smarty_tpl);
            ?>

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

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

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

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

</div>
</div>


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

		<table class="ow_table_1 ow_form ow_full">
		<tr class="ow_alt2">
			<td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'forum+edit_group_name'), $_smarty_tpl);
            ?>
</td>
			<td class="ow_value">
				<?php 
            echo smarty_function_input(array('name' => 'group-name'), $_smarty_tpl);
            ?>

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

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

			</td>
		</tr>
		<tr class="ow_alt1">
			<td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'forum+edit_group_description'), $_smarty_tpl);
            ?>
</td>
			<td class="ow_value">
				<?php 
            echo smarty_function_input(array('name' => 'description'), $_smarty_tpl);
            ?>

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

			</td>
		</tr>
		<tr class="ow_alt2">
		  <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'forum+is_private'), $_smarty_tpl);
            ?>
</td>
		  <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'is-private'), $_smarty_tpl);
            ?>
</td>
		</tr>
		<tr class="ow_alt1 private_forum_roles">
		  <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'forum+visible_to'), $_smarty_tpl);
            ?>
</td>
		  <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'roles'), $_smarty_tpl);
            ?>
</td>
		</tr>
		</table>
		<div class="clearfix">
            <div class="ow_right">
            <?php 
            echo smarty_function_submit(array('name' => 'save', 'class' => 'ow_positive'), $_smarty_tpl);
            ?>

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

</div>
</div><?php 
    }
    function content_54908afbdc79b9_21726766($_smarty_tpl)
    {
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.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_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        ?>
<div class="ow_create_group clearfix">

    <div class="ow_superwide ow_automargin">
        <div class="ow_stdmargin">
	       <?php 
        echo smarty_function_decorator(array('name' => "button", 'class' => "ow_ic_left_arrow", 'langLabel' => "groups+edit_back_label", 'id' => "groups-back_btn"), $_smarty_tpl);
        ?>

	    </div>

        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'GROUPS_EditGroupForm'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'GROUPS_EditGroupForm'), 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' => 'title'), $_smarty_tpl);
            ?>
</td>
                    <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'title'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'title'), $_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' => 'description'), $_smarty_tpl);
            ?>
</td>
                    <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'description'), $_smarty_tpl);
            ?>
<br /><?php 
            echo smarty_function_error(array('name' => 'description'), $_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' => 'image'), $_smarty_tpl);
            ?>
</td>
                    <td class="ow_value">
                        <?php 
            if ($_smarty_tpl->tpl_vars['imageUrl']->value) {
                ?>
                            <div class="ow_smallmargin">
                                <img src="<?php 
                echo $_smarty_tpl->tpl_vars['imageUrl']->value;
                ?>
" height="100" />
                            </div>
                        <?php 
            }
            ?>
                        <?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"></td>
                </tr>

                 <tr class="ow_alt1">
                    <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'whoCanView'), $_smarty_tpl);
            ?>
</td>
                    <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'whoCanView'), $_smarty_tpl);
            ?>
<br /><?php 
            echo smarty_function_error(array('name' => 'whoCanView'), $_smarty_tpl);
            ?>
</td>
                    <td class="ow_desc ow_small"></td>
                </tr>
                <tr class="ow_alt2 ow_tr_last">
                    <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'whoCanInvite'), $_smarty_tpl);
            ?>
</td>
                    <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'whoCanInvite'), $_smarty_tpl);
            ?>
<br /><?php 
            echo smarty_function_error(array('name' => 'whoCanInvite'), $_smarty_tpl);
            ?>
</td>
                    <td class="ow_desc ow_small"></td>
                </tr>
            </table>
			<div class="clearfix ow_stdmargin">
                <div class="ow_right">
                <?php 
            echo smarty_function_decorator(array('name' => "button", 'class' => "ow_ic_delete ow_red ow_negative", 'langLabel' => "groups+delete_group_label", 'id' => "groups-delete_btn"), $_smarty_tpl);
            ?>

                <?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' => 'GROUPS_EditGroupForm'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

    </div>

</div>


<?php 
    }
    function content_52cccdeaf07c00_15591312($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include '/home/kairat/www/private/ow_smarty/plugin/block.form.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include '/home/kairat/www/private/ow_libraries/smarty3/plugins/function.cycle.php';
        }
        if (!is_callable('smarty_function_label')) {
            include '/home/kairat/www/private/ow_smarty/plugin/function.label.php';
        }
        if (!is_callable('smarty_function_input')) {
            include '/home/kairat/www/private/ow_smarty/plugin/function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include '/home/kairat/www/private/ow_smarty/plugin/function.error.php';
        }
        if (!is_callable('smarty_function_desc')) {
            include '/home/kairat/www/private/ow_smarty/plugin/function.desc.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/home/kairat/www/private/ow_smarty/plugin/function.submit.php';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>

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

<table class="ow_table_1 ow_form">
    <tr class="ow_tr_first <?php 
            echo smarty_function_cycle(array('values' => 'ow_alt2,ow_alt1'), $_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);
            ?>
<br /><?php 
            echo smarty_function_error(array('name' => 'title'), $_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' => 'code'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'code'), $_smarty_tpl);
            ?>
<br /><?php 
            echo smarty_function_error(array('name' => 'code'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'code'), $_smarty_tpl);
            ?>
</td>
	</tr>
    <?php 
            if (empty($_smarty_tpl->tpl_vars['locDisabled']->value)) {
                ?>
    <tr class="ow_tr_last <?php 
                echo smarty_function_cycle(array('values' => 'ow_alt2,ow_alt1'), $_smarty_tpl);
                ?>
">
		<td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'select_country'), $_smarty_tpl);
                ?>
</td>
		<td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'select_country'), $_smarty_tpl);
                ?>
<br /><?php 
                echo smarty_function_error(array('name' => 'select_country'), $_smarty_tpl);
                ?>
</td>
		<td class="ow_desc"><?php 
                echo smarty_function_desc(array('name' => 'select_country'), $_smarty_tpl);
                ?>
</td>
	</tr>
    <?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' => 'banner_edit_form'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

</div><?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_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_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_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_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_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_55d2db955f9496_99686269($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url_for_route')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.url_for_route.php';
        }
        if (!is_callable('smarty_function_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_block_form')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.form.php';
        }
        if (!is_callable('smarty_function_input')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.error.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.submit.php';
        }
        ?>

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

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

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

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

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

                    <div class="ow_dropdown_list_wrap">
                        <ul class="ow_dropdown_list">
                            <li><?php 
            echo smarty_function_text(array('key' => "photo+create_album"), $_smarty_tpl);
            ?>
<span class="ow_add_item"></span></li>
                            <?php 
            if (!empty($_smarty_tpl->tpl_vars['albumNameList']->value)) {
                ?>
                                <li class="ow_dropdown_delimeter"><div></div></li>
                                <?php 
                $_smarty_tpl->tpl_vars['album'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['album']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['albumNameList']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['album']->key => $_smarty_tpl->tpl_vars['album']->value) {
                    $_smarty_tpl->tpl_vars['album']->_loop = true;
                    ?>
                                    <li><?php 
                    echo $_smarty_tpl->tpl_vars['album']->value;
                    ?>
</li>
                                <?php 
                }
                ?>
                            <?php 
            }
            ?>
                        </ul>
                    </div>
                    <div class="ow_dropdown_arrow_down upload_photo_spinner"></div>
                    <?php 
            echo smarty_function_error(array('name' => 'album-name'), $_smarty_tpl);
            ?>

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

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

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

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

</div>
<?php 
    }
    function content_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_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_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_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_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_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_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_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_55c9cb8a2ffdf2_81607179($_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_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';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>


<div class="ow_automargin ow_superwide">
    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'box', 'langLabel' => 'membership+notifications', 'type' => 'empty', 'addClass' => 'ow_stdmargin ow_break_word', 'iconClass' => 'ow_ic_mail'));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => 'box', 'langLabel' => 'membership+notifications', 'type' => 'empty', 'addClass' => 'ow_stdmargin ow_break_word', 'iconClass' => 'ow_ic_mail'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

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

            <table class="ow_table_1 ow_form ow_center">
                <tbody>
                <tr class="type ow_alt1">
                    <td style="width:50%;" class="ow_txtleft"><?php 
                echo smarty_function_label(array('name' => 'period'), $_smarty_tpl);
                ?>
</td>
                    <td>
                        <div><?php 
                echo smarty_function_input(array('name' => 'period', 'class' => 'ow_settings_input'), $_smarty_tpl);
                ?>
 <?php 
                echo smarty_function_text(array('key' => 'membership+days'), $_smarty_tpl);
                ?>
 <?php 
                echo smarty_function_error(array('name' => 'period'), $_smarty_tpl);
                ?>
</div>
                    </td>
                </tr>
                </tbody>
            </table>
            <div class="clearfix">
                <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' => 'settings-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' => 'membership+notifications', 'type' => 'empty', 'addClass' => 'ow_stdmargin ow_break_word', 'iconClass' => 'ow_ic_mail'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

</div><?php 
    }