function content_56a7b12fb92eb2_96079294($_smarty_tpl)
    {
        if (!$_smarty_tpl->tpl_vars['protect']->value) {
            ?>
	<?php 
            if (isset($_smarty_tpl->tpl_vars['page_protect']->value)) {
                ?>
		<div class="alert alert-warning"><?php 
                echo $_smarty_tpl->tpl_vars['page_protect']->value;
                ?>
</div>
	<?php 
            }
            ?>

	<div class="page-content"><?php 
            echo $_smarty_tpl->tpl_vars['content']->value;
            ?>
</div>
<?php 
        } else {
            ?>
	<div class="alert alert-warning"><?php 
            echo iaSmartyPlugins::lang(array('key' => 'password_protected_page'), $_smarty_tpl);
            ?>
</div>

	<form action="<?php 
            echo @constant('IA_SELF');
            ?>
" method="post" class="form-inline">
		<?php 
            echo iaSmartyPlugins::preventCsrf(array(), $_smarty_tpl);
            ?>

		<label><?php 
            echo iaSmartyPlugins::lang(array('key' => 'password'), $_smarty_tpl);
            ?>
:
			<input type="password" tabindex="5" name="password" value="" />
			<button type="submit" tabindex="6" name="login" value="" class="btn btn-primary"><?php 
            echo iaSmartyPlugins::lang(array('key' => 'view'), $_smarty_tpl);
            ?>
</button>
		</label>
	</form>
<?php 
        }
    }
Ejemplo n.º 2
0
 public function init()
 {
     $this->iaCore = iaCore::instance();
     parent::init();
     foreach ($this->iaCore->packagesData as $packageName => $packageData) {
         $this->registerResource($packageName, $this->_createPackageTemplateHandlers($packageName));
     }
     iaSystem::renderTime('main', 'afterSmartyFuncInit');
     $this->assign('tabs_content', array());
     $this->assign('tabs_before', array());
     $this->assign('tabs_after', array());
     $this->assign('fieldset_before', array());
     $this->assign('fieldset_after', array());
     $this->assign('field_before', array());
     $this->assign('field_after', array());
     $this->resources = array('jquery' => 'text:Loading jQuery API..., js:jquery/jquery', 'subrion' => 'text:Loading Subrion Awesome Stuff..., js:intelli/intelli, js:_IA_URL_tmp/cache/intelli.config, ' . (iaCore::ACCESS_ADMIN == $this->iaCore->getAccessType() ? 'js:_IA_TPL_bootstrap.min, js:bootstrap/js/bootstrap-switch.min, js:bootstrap/js/passfield.min, js:intelli/intelli.admin, js:admin/footer, css:_IA_URL_js/bootstrap/css/passfield' : 'js:intelli/intelli.minmax, js:frontend/footer') . ',js:_IA_URL_tmp/cache/intelli' . (iaCore::ACCESS_ADMIN == $this->iaCore->getAccessType() ? '.admin' : '') . '.lang.' . $this->iaCore->iaView->language, 'extjs' => 'text:Loading ExtJS..., css:_IA_URL_js/extjs/resources/ext-theme-neptune/ext-theme-neptune-all' . ($this->iaCore->get('sap_style', false) ? '-' . $this->iaCore->get('sap_style') : '') . ', js:extjs/ext-all', 'manage_mode' => 'css:_IA_URL_js/visual/css/visual, js:visual/js/slidebars.min, js:visual/js/jqueryui.min, js:visual/js/visual', 'tree' => 'js:jquery/plugins/jstree/jstree.min, js:intelli/intelli.tree, css:_IA_URL_js/jquery/plugins/jstree/themes/default/style', 'jcal' => 'js:jquery/plugins/jcal/jquery.jcal, css:_IA_URL_js/jquery/plugins/jcal/jquery.jcal', 'bootstrap' => 'js:bootstrap/js/bootstrap.min, css:iabootstrap, css:iabootstrap-responsive, css:user-style', 'datepicker' => 'js:bootstrap/js/datepicker/bootstrap-datepicker, js:bootstrap/js/datepicker/locales/bootstrap-datepicker.' . $this->iaCore->get('lang') . ', css:_IA_URL_js/bootstrap/css/datepicker' . (iaCore::ACCESS_ADMIN == $this->iaCore->getAccessType() ? '3' : ''), 'tagsinput' => 'js:jquery/plugins/tagsinput/jquery.tagsinput.min, css:_IA_URL_js/jquery/plugins/tagsinput/jquery.tagsinput', 'underscore' => 'js:utils/underscore.min', 'iadropdown' => 'js:jquery/plugins/jquery.ia-dropdown.min', 'flexslider' => 'js:jquery/plugins/flexslider/jquery.flexslider.min, css:_IA_URL_js/jquery/plugins/flexslider/flexslider');
     $this->iaCore->startHook('phpSmartyAfterMediaInit', array('iaSmarty' => &$this));
 }
    function content_56a7b12ff1fec1_90474113($_smarty_tpl)
    {
        if ($_smarty_tpl->tpl_vars['config']->value['language_switch'] && count($_smarty_tpl->tpl_vars['core']->value['languages']) > 1) {
            ?>
	<ul class="nav-inventory nav-inventory--langs">
		<?php 
            $_smarty_tpl->tpl_vars['language'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['language']->_loop = false;
            $_smarty_tpl->tpl_vars['code'] = new Smarty_Variable();
            $_from = $_smarty_tpl->tpl_vars['core']->value['languages'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['language']->key => $_smarty_tpl->tpl_vars['language']->value) {
                $_smarty_tpl->tpl_vars['language']->_loop = true;
                $_smarty_tpl->tpl_vars['code']->value = $_smarty_tpl->tpl_vars['language']->key;
                ?>
			<li<?php 
                if (@constant('IA_LANGUAGE') == $_smarty_tpl->tpl_vars['code']->value) {
                    ?>
 class="active"<?php 
                }
                ?>
><a href="<?php 
                echo iaSmartyPlugins::ia_page_url(array('code' => $_smarty_tpl->tpl_vars['code']->value), $_smarty_tpl);
                ?>
" title="<?php 
                echo $_smarty_tpl->tpl_vars['language']->value['title'];
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['language']->value['title'];
                ?>
</a></li>
		<?php 
            }
            ?>
	</ul>
<?php 
        }
    }
    function content_56a7b12fda5f07_12059645($_smarty_tpl)
    {
        if (isset($_smarty_tpl->tpl_vars['iaPositions']->value) && !$_smarty_tpl->tpl_vars['iaPositions']->value[$_smarty_tpl->tpl_vars['position']->value]['menu']) {
            ?>
<div id="<?php 
            echo $_smarty_tpl->tpl_vars['position']->value;
            ?>
Blocks" class="groupWrapper<?php 
            if ($_smarty_tpl->tpl_vars['iaPositions']->value[$_smarty_tpl->tpl_vars['position']->value]['movable']) {
                ?>
 groupWrapper--movable<?php 
            }
            if ($_smarty_tpl->tpl_vars['iaPositions']->value[$_smarty_tpl->tpl_vars['position']->value]['hidden']) {
                ?>
 groupWrapper--hidden<?php 
            }
            ?>
"><?php 
        }
        ?>

<?php 
        $_smarty_tpl->tpl_vars['block'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['block']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['blocks']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['block']->key => $_smarty_tpl->tpl_vars['block']->value) {
            $_smarty_tpl->tpl_vars['block']->_loop = true;
            ?>
	<?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('ia_block', array('title' => $_smarty_tpl->tpl_vars['block']->value['title'], 'name' => $_smarty_tpl->tpl_vars['block']->value['name'], 'header' => $_smarty_tpl->tpl_vars['block']->value['header'], 'collapsible' => $_smarty_tpl->tpl_vars['block']->value['collapsible'], 'collapsed' => $_smarty_tpl->tpl_vars['block']->value['collapsed'], 'tpl' => $_smarty_tpl->tpl_vars['block']->value['tpl'], 'classname' => $_smarty_tpl->tpl_vars['block']->value['classname'], 'hidden' => $_smarty_tpl->tpl_vars['block']->value['hidden']));
            $_block_repeat = true;
            echo iaSmartyPlugins::ia_block(array('title' => $_smarty_tpl->tpl_vars['block']->value['title'], 'name' => $_smarty_tpl->tpl_vars['block']->value['name'], 'header' => $_smarty_tpl->tpl_vars['block']->value['header'], 'collapsible' => $_smarty_tpl->tpl_vars['block']->value['collapsible'], 'collapsed' => $_smarty_tpl->tpl_vars['block']->value['collapsed'], 'tpl' => $_smarty_tpl->tpl_vars['block']->value['tpl'], 'classname' => $_smarty_tpl->tpl_vars['block']->value['classname'], 'hidden' => $_smarty_tpl->tpl_vars['block']->value['hidden']), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

		<?php 
                echo iaSmartyPlugins::ia_block_view(array('block' => $_smarty_tpl->tpl_vars['block']->value), $_smarty_tpl);
                ?>

	<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo iaSmartyPlugins::ia_block(array('title' => $_smarty_tpl->tpl_vars['block']->value['title'], 'name' => $_smarty_tpl->tpl_vars['block']->value['name'], 'header' => $_smarty_tpl->tpl_vars['block']->value['header'], 'collapsible' => $_smarty_tpl->tpl_vars['block']->value['collapsible'], 'collapsed' => $_smarty_tpl->tpl_vars['block']->value['collapsed'], 'tpl' => $_smarty_tpl->tpl_vars['block']->value['tpl'], 'classname' => $_smarty_tpl->tpl_vars['block']->value['classname'], 'hidden' => $_smarty_tpl->tpl_vars['block']->value['hidden']), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

<?php 
        }
        ?>

<?php 
        if (isset($_smarty_tpl->tpl_vars['iaPositions']->value) && !$_smarty_tpl->tpl_vars['iaPositions']->value[$_smarty_tpl->tpl_vars['position']->value]['menu']) {
            ?>
</div><?php 
        }
    }
            function smarty_template_function_menu($_smarty_tpl, $params)
            {
                $saved_tpl_vars = $_smarty_tpl->tpl_vars;
                foreach ($_smarty_tpl->smarty->template_functions['menu']['parameter'] as $key => $value) {
                    $_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);
                }
                foreach ($params as $key => $value) {
                    $_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);
                }
                ?>
	<?php 
                if (isset($_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->tpl_vars['pid']->value])) {
                    ?>
		<ul class="<?php 
                    echo $_smarty_tpl->tpl_vars['class']->value;
                    if ($_smarty_tpl->tpl_vars['pid']->value) {
                        ?>
 menu_<?php 
                        echo $_smarty_tpl->tpl_vars['pid']->value;
                    }
                    ?>
">

			<?php 
                    $_smarty_tpl->tpl_vars['menu'] = new Smarty_Variable();
                    $_smarty_tpl->tpl_vars['menu']->_loop = false;
                    $_from = $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->tpl_vars['pid']->value];
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    $_smarty_tpl->tpl_vars['menu']->iteration = 0;
                    foreach ($_from as $_smarty_tpl->tpl_vars['menu']->key => $_smarty_tpl->tpl_vars['menu']->value) {
                        $_smarty_tpl->tpl_vars['menu']->_loop = true;
                        $_smarty_tpl->tpl_vars['menu']->iteration++;
                        ?>

				<?php 
                        if ('mainmenu' == $_smarty_tpl->tpl_vars['position']->value && $_smarty_tpl->tpl_vars['menu']->iteration > (($tmp = @$_smarty_tpl->tpl_vars['config']->value['max_top_menu_items']) === null || $tmp === '' ? 5 : $tmp) && $_smarty_tpl->tpl_vars['menu']->value['level'] < 1) {
                            $_smarty_tpl->_capture_stack[0][] = array($_smarty_tpl->tpl_vars['menu']->value['page_name'], null, 'dropdown');
                            ob_start();
                        }
                        ?>
				
				<li class="m_<?php 
                        echo $_smarty_tpl->tpl_vars['menu']->value['page_name'];
                        ?>

				    <?php 
                        if (isset($_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->tpl_vars['menu']->value['el_id']]) || isset($_smarty_tpl->tpl_vars['menu_children']->value)) {
                            ?>
 dropdown<?php 
                        }
                        ?>
				    <?php 
                        if ($_smarty_tpl->tpl_vars['menu']->value['active']) {
                            ?>
 active<?php 
                        }
                        ?>
				    <?php 
                        if ($_smarty_tpl->tpl_vars['menu']->value['level'] >= 1 && (isset($_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->tpl_vars['menu']->value['el_id']]) || isset($_smarty_tpl->tpl_vars['menu_children']->value))) {
                            ?>
 dropdown-submenu<?php 
                        }
                        ?>
				    <?php 
                        if ($_smarty_tpl->tpl_vars['menu']->value['level'] >= 0 && (isset($_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->tpl_vars['menu']->value['el_id']]) || isset($_smarty_tpl->tpl_vars['menu_children']->value)) && $_smarty_tpl->tpl_vars['position']->value == 'left') {
                            ?>
 dropdown-submenu<?php 
                        }
                        ?>
				    ">

					<a href="<?php 
                        if ($_smarty_tpl->tpl_vars['menu']->value['url']) {
                            echo $_smarty_tpl->tpl_vars['menu']->value['url'];
                        } else {
                            echo @constant('IA_SELF');
                            ?>
#<?php 
                        }
                        ?>
"
							<?php 
                        if ((isset($_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->tpl_vars['menu']->value['el_id']]) || isset($_smarty_tpl->tpl_vars['menu_children']->value)) && $_smarty_tpl->tpl_vars['menu']->value['level'] == 0) {
                            ?>
 class="dropdown-toggle" data-toggle="dropdown" data-target="#"<?php 
                        }
                        ?>
							<?php 
                        if ($_smarty_tpl->tpl_vars['menu']->value['nofollow']) {
                            ?>
 rel="nofollow"<?php 
                        }
                        ?>
							<?php 
                        if ($_smarty_tpl->tpl_vars['menu']->value['new_window']) {
                            ?>
 target="_blank"<?php 
                        }
                        ?>
					>
						<?php 
                        echo $_smarty_tpl->tpl_vars['menu']->value['text'];
                        if ((isset($_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->tpl_vars['menu']->value['el_id']]) || isset($_smarty_tpl->tpl_vars['menu_children']->value)) && $_smarty_tpl->tpl_vars['menu']->value['level'] == 0 && $_smarty_tpl->tpl_vars['position']->value != 'left') {
                            ?>
 <b class="caret"></b><?php 
                        }
                        ?>
					</a>
					<?php 
                        if (isset($_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->tpl_vars['menu']->value['el_id']])) {
                            ?>
						<?php 
                            if (in_array($_smarty_tpl->tpl_vars['position']->value, array('inventory', 'right', 'copyright'))) {
                                ?>
							<?php 
                                smarty_template_function_menu($_smarty_tpl, array('data' => $_smarty_tpl->tpl_vars['data']->value, 'pid' => $_smarty_tpl->tpl_vars['menu']->value['el_id'], 'class' => 'dropdown-menu pull-right'));
                                ?>

						<?php 
                            } else {
                                ?>
							<?php 
                                smarty_template_function_menu($_smarty_tpl, array('data' => $_smarty_tpl->tpl_vars['data']->value, 'pid' => $_smarty_tpl->tpl_vars['menu']->value['el_id'], 'class' => 'dropdown-menu'));
                                ?>

						<?php 
                            }
                            ?>
					<?php 
                        }
                        ?>
				</li>

				<?php 
                        if ('mainmenu' == $_smarty_tpl->tpl_vars['position']->value && $_smarty_tpl->tpl_vars['menu']->iteration > (($tmp = @$_smarty_tpl->tpl_vars['config']->value['max_top_menu_items']) === null || $tmp === '' ? 5 : $tmp) && $_smarty_tpl->tpl_vars['menu']->value['level'] < 1) {
                            list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                            if (!empty($_capture_buffer)) {
                                if (isset($_capture_assign)) {
                                    $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                                }
                                if (isset($_capture_append)) {
                                    $_smarty_tpl->append($_capture_append, array("{$_capture_buffer}" => ob_get_contents()), true);
                                }
                                Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
                            } else {
                                $_smarty_tpl->capture_error();
                            }
                        }
                        ?>

			<?php 
                    }
                    ?>

			<!-- MORE menu dropdown -->
			<?php 
                    if (isset($_smarty_tpl->tpl_vars['dropdown']->value) && $_smarty_tpl->tpl_vars['menu']->value['level'] < 1) {
                        ?>
				<li class="dropdown dropdown-more">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">
						<?php 
                        echo iaSmartyPlugins::lang(array('key' => 'more'), $_smarty_tpl);
                        ?>

						<b class="caret"></b>
					</a>
					
					<ul class="dropdown-menu pull-right" role="menu">
						<?php 
                        $_smarty_tpl->tpl_vars['menu'] = new Smarty_Variable();
                        $_smarty_tpl->tpl_vars['menu']->_loop = false;
                        $_from = $_smarty_tpl->tpl_vars['dropdown']->value;
                        if (!is_array($_from) && !is_object($_from)) {
                            settype($_from, 'array');
                        }
                        $_smarty_tpl->tpl_vars['menu']->iteration = 0;
                        foreach ($_from as $_smarty_tpl->tpl_vars['menu']->key => $_smarty_tpl->tpl_vars['menu']->value) {
                            $_smarty_tpl->tpl_vars['menu']->_loop = true;
                            $_smarty_tpl->tpl_vars['menu']->iteration++;
                            ?>
							<?php 
                            echo $_smarty_tpl->tpl_vars['menu']->value;
                            ?>

						<?php 
                        }
                        ?>
					</ul>
				</li>
			<?php 
                    }
                    ?>
		</ul>
	<?php 
                }
                $_smarty_tpl->tpl_vars = $saved_tpl_vars;
                foreach (Smarty::$global_tpl_vars as $key => $value) {
                    if (!isset($_smarty_tpl->tpl_vars[$key])) {
                        $_smarty_tpl->tpl_vars[$key] = $value;
                    }
                }
            }
    function content_56a7b12fe67c51_15849863($_smarty_tpl)
    {
        if (!is_callable('smarty_function_ia_menu')) {
            include '/vagrant/app/includes/smarty/intelli_plugins/function.ia_menu.php';
        }
        if (!is_callable('smarty_function_ia_hooker')) {
            include '/vagrant/app/includes/smarty/intelli_plugins/function.ia_hooker.php';
        }
        if ('mainmenu' == $_smarty_tpl->tpl_vars['position']->value) {
            ?>
	<?php 
            echo smarty_function_ia_menu(array('menus' => $_smarty_tpl->tpl_vars['menu']->value['contents'], 'class' => "nav nav-pills nav-mainmenu " . (string) $_smarty_tpl->tpl_vars['menu']->value['classname']), $_smarty_tpl);
            ?>

<?php 
        } elseif ('inventory' == $_smarty_tpl->tpl_vars['position']->value) {
            ?>
	<?php 
            echo smarty_function_ia_menu(array('menus' => $_smarty_tpl->tpl_vars['menu']->value['contents'], 'class' => "nav-inventory " . (string) $_smarty_tpl->tpl_vars['menu']->value['classname'], 'loginout' => true), $_smarty_tpl);
            ?>

<?php 
        } elseif ('account' == $_smarty_tpl->tpl_vars['position']->value) {
            ?>
	<?php 
            if ('account' == $_smarty_tpl->tpl_vars['menu']->value['name'] && $_smarty_tpl->tpl_vars['member']->value && $_smarty_tpl->tpl_vars['config']->value['members_enabled']) {
                ?>
		<div class="nav-account">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#">
				<span class="nav-account__avatar">
					<?php 
                if ($_smarty_tpl->tpl_vars['member']->value['avatar']) {
                    ?>
						<?php 
                    $_smarty_tpl->tpl_vars['avatar'] = new Smarty_variable(unserialize($_smarty_tpl->tpl_vars['member']->value['avatar']), null, 0);
                    ?>
						<?php 
                    if ($_smarty_tpl->tpl_vars['avatar']->value) {
                        ?>
							<?php 
                        echo iaSmartyPlugins::printImage(array('imgfile' => $_smarty_tpl->tpl_vars['avatar']->value['path'], 'width' => 30, 'height' => 30, 'title' => ($tmp = @$_smarty_tpl->tpl_vars['member']->value['fullname']) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['member']->value['username'] : $tmp), $_smarty_tpl);
                        ?>

						<?php 
                    } else {
                        ?>
							<img src="<?php 
                        echo $_smarty_tpl->tpl_vars['img']->value;
                        ?>
no-avatar.png" alt="<?php 
                        echo $_smarty_tpl->tpl_vars['member']->value['username'];
                        ?>
">
						<?php 
                    }
                    ?>
					<?php 
                } else {
                    ?>
						<img src="<?php 
                    echo $_smarty_tpl->tpl_vars['img']->value;
                    ?>
no-avatar.png" alt="<?php 
                    echo $_smarty_tpl->tpl_vars['member']->value['username'];
                    ?>
">
					<?php 
                }
                ?>
				</span>
				<span class="nav-account__name">
					<?php 
                echo ($tmp = @$_smarty_tpl->tpl_vars['member']->value['fullname']) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['member']->value['username'] : $tmp;
                ?>

				</span>
				<span class="caret"></span>
			</a>
			<ul class="nav-account__menu dropdown-menu">
				<?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('access', array('object' => 'admin_access'));
                $_block_repeat = true;
                echo iaSmartyPlugins::access(array('object' => 'admin_access'), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>

					<li><a rel="nofollow" href="<?php 
                    echo @constant('IA_ADMIN_URL');
                    ?>
" target="_blank" title="<?php 
                    echo iaSmartyPlugins::lang(array('key' => 'su_admin_dashboard'), $_smarty_tpl);
                    ?>
"><i class="icon-cog"></i> <?php 
                    echo iaSmartyPlugins::lang(array('key' => 'su_admin_dashboard'), $_smarty_tpl);
                    ?>
</a></li>
					<li class="divider"></li>
				<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo iaSmartyPlugins::access(array('object' => 'admin_access'), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>

				<li class="account-box">
					<?php 
                echo smarty_function_ia_hooker(array('name' => 'smartyFrontInsideAccountBox'), $_smarty_tpl);
                ?>

					<?php 
                echo smarty_function_ia_menu(array('menus' => $_smarty_tpl->tpl_vars['menu']->value['contents'], 'class' => 'nav nav-pills nav-stacked', 'loginout' => true), $_smarty_tpl);
                ?>

				</li>
			</ul>
		</div>
	<?php 
            } else {
                ?>
		<ul class="nav-account">
			<li><a href="<?php 
                echo @constant('IA_URL');
                ?>
login/"><?php 
                echo iaSmartyPlugins::lang(array('key' => 'su_login'), $_smarty_tpl);
                ?>
</a></li>
			<li><a class="btn-account" href="<?php 
                echo @constant('IA_URL');
                ?>
registration/"><?php 
                echo iaSmartyPlugins::lang(array('key' => 'su_signup'), $_smarty_tpl);
                ?>
</a></li>
		</ul>
	<?php 
            }
        } elseif (in_array($_smarty_tpl->tpl_vars['position']->value, array('left', 'right', 'user1', 'user2', 'top', 'footer1', 'footer2', 'footer3', 'footer4'))) {
            ?>
	<?php 
            if (!empty($_smarty_tpl->tpl_vars['menu']->value['contents'][0])) {
                ?>
		<?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('ia_block', array('title' => $_smarty_tpl->tpl_vars['menu']->value['title'], 'movable' => true, 'id' => $_smarty_tpl->tpl_vars['menu']->value['id'], 'name' => $_smarty_tpl->tpl_vars['menu']->value['name'], 'collapsible' => $_smarty_tpl->tpl_vars['menu']->value['collapsible'], 'classname' => $_smarty_tpl->tpl_vars['menu']->value['classname']));
                $_block_repeat = true;
                echo iaSmartyPlugins::ia_block(array('title' => $_smarty_tpl->tpl_vars['menu']->value['title'], 'movable' => true, 'id' => $_smarty_tpl->tpl_vars['menu']->value['id'], 'name' => $_smarty_tpl->tpl_vars['menu']->value['name'], 'collapsible' => $_smarty_tpl->tpl_vars['menu']->value['collapsible'], 'classname' => $_smarty_tpl->tpl_vars['menu']->value['classname']), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>

			<?php 
                    if ('account' == $_smarty_tpl->tpl_vars['menu']->value['name'] && $_smarty_tpl->tpl_vars['member']->value && $_smarty_tpl->tpl_vars['config']->value['members_enabled']) {
                        ?>
				<div class="account-panel">
					<div class="account-info">
						<?php 
                        if ($_smarty_tpl->tpl_vars['member']->value['avatar']) {
                            ?>
							<?php 
                            $_smarty_tpl->tpl_vars['avatar'] = new Smarty_variable(unserialize($_smarty_tpl->tpl_vars['member']->value['avatar']), null, 0);
                            ?>
							<?php 
                            if ($_smarty_tpl->tpl_vars['avatar']->value) {
                                ?>
								<?php 
                                echo iaSmartyPlugins::printImage(array('imgfile' => $_smarty_tpl->tpl_vars['avatar']->value['path'], 'width' => 100, 'height' => 100, 'title' => ($tmp = @$_smarty_tpl->tpl_vars['member']->value['fullname']) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['member']->value['username'] : $tmp, 'class' => 'img-circle'), $_smarty_tpl);
                                ?>

							<?php 
                            } else {
                                ?>
								<img src="<?php 
                                echo $_smarty_tpl->tpl_vars['img']->value;
                                ?>
no-avatar.png" class="img-circle" alt="<?php 
                                echo htmlspecialchars($_smarty_tpl->tpl_vars['member']->value['username'], ENT_QUOTES, 'UTF-8', true);
                                ?>
">
							<?php 
                            }
                            ?>
						<?php 
                        } else {
                            ?>
							<img src="<?php 
                            echo $_smarty_tpl->tpl_vars['img']->value;
                            ?>
no-avatar.png" class="img-circle" alt="<?php 
                            echo htmlspecialchars($_smarty_tpl->tpl_vars['member']->value['username'], ENT_QUOTES, 'UTF-8', true);
                            ?>
">
						<?php 
                        }
                        ?>

						<?php 
                        echo iaSmartyPlugins::lang(array('key' => 'welcome'), $_smarty_tpl);
                        ?>
, <?php 
                        echo htmlspecialchars(($tmp = @$_smarty_tpl->tpl_vars['member']->value['fullname']) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['member']->value['username'] : $tmp, ENT_QUOTES, 'UTF-8', true);
                        ?>

						<?php 
                        $_smarty_tpl->smarty->_tag_stack[] = array('access', array('object' => 'admin_access'));
                        $_block_repeat = true;
                        echo iaSmartyPlugins::access(array('object' => 'admin_access'), null, $_smarty_tpl, $_block_repeat);
                        while ($_block_repeat) {
                            ob_start();
                            ?>

							<a rel="nofollow" href="<?php 
                            echo @constant('IA_ADMIN_URL');
                            ?>
" target="_blank" title="<?php 
                            echo iaSmartyPlugins::lang(array('key' => 'su_admin_dashboard'), $_smarty_tpl);
                            ?>
"><i class="icon-cog"></i></a>
						<?php 
                            $_block_content = ob_get_clean();
                            $_block_repeat = false;
                            echo iaSmartyPlugins::access(array('object' => 'admin_access'), $_block_content, $_smarty_tpl, $_block_repeat);
                        }
                        array_pop($_smarty_tpl->smarty->_tag_stack);
                        ?>

					</div>
					<?php 
                        echo smarty_function_ia_hooker(array('name' => 'smartyFrontInsideAccountBox'), $_smarty_tpl);
                        ?>

				</div>
				<?php 
                        echo smarty_function_ia_menu(array('menus' => $_smarty_tpl->tpl_vars['menu']->value['contents'], 'class' => 'nav nav-pills nav-stacked', 'loginout' => true), $_smarty_tpl);
                        ?>

			<?php 
                    } elseif ('account' != $_smarty_tpl->tpl_vars['menu']->value['name']) {
                        ?>
				<?php 
                        echo smarty_function_ia_menu(array('menus' => $_smarty_tpl->tpl_vars['menu']->value['contents'], 'class' => "nav nav-pills nav-stacked " . (string) $_smarty_tpl->tpl_vars['menu']->value['classname']), $_smarty_tpl);
                        ?>

			<?php 
                    }
                    ?>
		<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo iaSmartyPlugins::ia_block(array('title' => $_smarty_tpl->tpl_vars['menu']->value['title'], 'movable' => true, 'id' => $_smarty_tpl->tpl_vars['menu']->value['id'], 'name' => $_smarty_tpl->tpl_vars['menu']->value['name'], 'collapsible' => $_smarty_tpl->tpl_vars['menu']->value['collapsible'], 'classname' => $_smarty_tpl->tpl_vars['menu']->value['classname']), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>

	<?php 
            }
        } elseif (in_array($_smarty_tpl->tpl_vars['position']->value, array('bottom', 'copyright'))) {
            ?>
	<?php 
            echo smarty_function_ia_menu(array('menus' => $_smarty_tpl->tpl_vars['menu']->value['contents'], 'class' => "nav nav-inline nav-footer " . (string) $_smarty_tpl->tpl_vars['menu']->value['classname']), $_smarty_tpl);
            ?>

<?php 
        } else {
            ?>
	<!--__ms_<?php 
            echo $_smarty_tpl->tpl_vars['menu']->value['id'];
            ?>
-->
	<?php 
            if ($_smarty_tpl->tpl_vars['menu']->value['header'] || isset($_smarty_tpl->tpl_vars['manageMode']->value)) {
                ?>
		<div class="menu_header <?php 
                echo $_smarty_tpl->tpl_vars['menu']->value['classname'];
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['menu']->value['title'];
                ?>
</div>
	<?php 
            } else {
                ?>
		<div class="menu <?php 
                echo $_smarty_tpl->tpl_vars['menu']->value['classname'];
                ?>
">
	<?php 
            }
            ?>

	<!--__ms_c_<?php 
            echo $_smarty_tpl->tpl_vars['menu']->value['id'];
            ?>
-->
	<?php 
            echo smarty_function_ia_menu(array('menus' => $_smarty_tpl->tpl_vars['menu']->value['contents'], 'class' => 'span'), $_smarty_tpl);
            ?>

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

	<?php 
            if ($_smarty_tpl->tpl_vars['menu']->value['header'] || isset($_smarty_tpl->tpl_vars['manageMode']->value)) {
                ?>
	<?php 
            } else {
                ?>
		</div>
	<?php 
            }
            ?>
	<!--__me_<?php 
            echo $_smarty_tpl->tpl_vars['menu']->value['id'];
            ?>
-->
<?php 
        }
    }
    function content_56a7b12fcdf6e5_24591226($_smarty_tpl)
    {
        if (!is_callable('smarty_function_ia_hooker')) {
            include '/vagrant/app/includes/smarty/intelli_plugins/function.ia_hooker.php';
        }
        if (!is_callable('smarty_modifier_date_format')) {
            include '/vagrant/app/includes/smarty/plugins/modifier.date_format.php';
        }
        if (!is_callable('smarty_function_randnum')) {
            include '/vagrant/app/includes/smarty/intelli_plugins/function.randnum.php';
        }
        ?>
<!DOCTYPE html>
<html lang="<?php 
        echo $_smarty_tpl->tpl_vars['core']->value['language']['iso'];
        ?>
" dir="<?php 
        echo $_smarty_tpl->tpl_vars['core']->value['language']['direction'];
        ?>
">
	<head>
		<?php 
        echo smarty_function_ia_hooker(array('name' => 'smartyFrontBeforeHeadSection'), $_smarty_tpl);
        ?>


		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
		<title><?php 
        echo iaSmartyPlugins::ia_print_title(array(), $_smarty_tpl);
        ?>
</title>
		<meta name="description" content="<?php 
        echo $_smarty_tpl->tpl_vars['core']->value['page']['meta-description'];
        ?>
">
		<meta name="keywords" content="<?php 
        echo $_smarty_tpl->tpl_vars['core']->value['page']['meta-keywords'];
        ?>
">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="generator" content="Subrion CMS <?php 
        echo $_smarty_tpl->tpl_vars['config']->value['version'];
        ?>
 - Open Source Content Management System">
		<meta name="robots" content="index">
		<meta name="robots" content="follow">
		<meta name="revisit-after" content="1 day">
		<base href="<?php 
        echo @constant('IA_URL');
        ?>
">

		<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
		<!--[if lt IE 9]>
			<script src="<?php 
        echo $_smarty_tpl->tpl_vars['core']->value['page']['nonProtocolUrl'];
        ?>
js/utils/shiv.js"></script>
		<![endif]-->

		<link rel="shortcut icon" href="<?php 
        echo $_smarty_tpl->tpl_vars['core']->value['page']['nonProtocolUrl'];
        ?>
favicon.ico">

		<?php 
        echo iaSmartyPlugins::ia_add_media(array('files' => 'jquery, subrion, bootstrap', 'order' => 0), $_smarty_tpl);
        ?>

		<?php 
        echo iaSmartyPlugins::ia_print_js(array('files' => '_IA_TPL_app', 'order' => 999), $_smarty_tpl);
        ?>


		<?php 
        echo smarty_function_ia_hooker(array('name' => 'smartyFrontAfterHeadSection'), $_smarty_tpl);
        ?>


		<?php 
        echo iaSmartyPlugins::ia_print_css(array('display' => 'on'), $_smarty_tpl);
        ?>


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

			intelli.pageName = '<?php 
            echo $_smarty_tpl->tpl_vars['core']->value['page']['name'];
            ?>
';

			<?php 
            $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['value']->_loop = false;
            $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
            $_from = $_smarty_tpl->tpl_vars['core']->value['customConfig'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value) {
                $_smarty_tpl->tpl_vars['value']->_loop = true;
                $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['value']->key;
                ?>
				intelli.config.<?php 
                echo $_smarty_tpl->tpl_vars['key']->value;
                ?>
 = '<?php 
                echo $_smarty_tpl->tpl_vars['value']->value;
                ?>
';
			<?php 
            }
            ?>
		<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo iaSmartyPlugins::ia_add_js(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


		<?php 
        switch ($_smarty_tpl->tpl_vars['config']->value['startup_font']) {
            case 'PT Sans':
                ?>
				<link href='//fonts.googleapis.com/css?family=PT+Sans:400,700,400italic<?php 
                if ($_smarty_tpl->tpl_vars['config']->value['startup_font_subset']) {
                    ?>
&subset=latin,cyrillic<?php 
                }
                ?>
' rel='stylesheet' type='text/css'>
				<style type="text/css">
					body, select, textarea { font-family: 'PT Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
				</style>
			<?php 
                break;
            case 'PT Serif':
                ?>
				<link href='//fonts.googleapis.com/css?family=PT+Serif:400,700,400italic<?php 
                if ($_smarty_tpl->tpl_vars['config']->value['startup_font_subset']) {
                    ?>
&subset=latin,cyrillic<?php 
                }
                ?>
' rel='stylesheet' type='text/css'>
				<style type="text/css">
					body, select, textarea { font-family: 'PT Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
				</style>
			<?php 
                break;
            case 'Roboto':
                ?>
				<link href='//fonts.googleapis.com/css?family=Roboto:400,700,400italic<?php 
                if ($_smarty_tpl->tpl_vars['config']->value['startup_font_subset']) {
                    ?>
&subset=latin,cyrillic<?php 
                }
                ?>
' rel='stylesheet' type='text/css'>
				<style type="text/css">
					body, select, textarea { font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
				</style>
		<?php 
        }
        ?>

		<?php 
        if ('rtl' == $_smarty_tpl->tpl_vars['core']->value['language']['direction']) {
            ?>
			<link rel="stylesheet" href="<?php 
            echo $_smarty_tpl->tpl_vars['core']->value['page']['nonProtocolUrl'];
            ?>
templates/<?php 
            echo $_smarty_tpl->tpl_vars['core']->value['config']['tmpl'];
            ?>
/css/iabootstrap.rtl.css">
		<?php 
        }
        ?>
	</head>

	<body class="page-<?php 
        echo $_smarty_tpl->tpl_vars['core']->value['page']['name'];
        ?>
">
		<header class="header"<?php 
        if ($_smarty_tpl->tpl_vars['config']->value['startup_website_bg']) {
            ?>
 style="background-image: url('<?php 
            echo @constant('IA_URL');
            ?>
uploads/<?php 
            echo $_smarty_tpl->tpl_vars['config']->value['startup_website_bg'];
            ?>
');"<?php 
        }
        ?>
>
			<div class="inventory">
				<div class="container">
					<form id="fast-search" method="post" action="<?php 
        echo @constant('IA_URL');
        ?>
search/" class="form-inline nav-search">
						<div class="control-group">
							<input type="text" name="q" placeholder="<?php 
        echo iaSmartyPlugins::lang(array('key' => 'search'), $_smarty_tpl);
        ?>
" class="span2">
							<button type="submit"><i class="icon-search"></i></button>
						</div>
					</form>
					
					<?php 
        echo iaSmartyPlugins::ia_blocks(array('block' => 'inventory'), $_smarty_tpl);
        ?>


					<?php 
        echo $_smarty_tpl->getSubTemplate('language-selector.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

				</div>
			</div>
			<nav class="navigation<?php 
        if ($_smarty_tpl->tpl_vars['config']->value['sticky_navbar']) {
            ?>
 navigation--sticky<?php 
        }
        ?>
">
				<div class="container">
					<a class="brand" href="<?php 
        echo @constant('IA_URL');
        ?>
">
						<?php 
        if (!empty($_smarty_tpl->tpl_vars['config']->value['site_logo'])) {
            ?>
							<img src="<?php 
            echo $_smarty_tpl->tpl_vars['core']->value['page']['nonProtocolUrl'];
            ?>
uploads/<?php 
            echo $_smarty_tpl->tpl_vars['config']->value['site_logo'];
            ?>
" alt="<?php 
            echo $_smarty_tpl->tpl_vars['config']->value['site'];
            ?>
">
						<?php 
        } else {
            ?>
							<img src="<?php 
            echo $_smarty_tpl->tpl_vars['img']->value;
            ?>
logo.png" alt="<?php 
            echo $_smarty_tpl->tpl_vars['config']->value['site'];
            ?>
">
						<?php 
        }
        ?>
					</a>

					<?php 
        if ($_smarty_tpl->tpl_vars['config']->value['startup_social']) {
            ?>
						<ul class="social">
							<?php 
            if ($_smarty_tpl->tpl_vars['config']->value['startup_social_t']) {
                ?>
<li><a href="<?php 
                echo $_smarty_tpl->tpl_vars['config']->value['startup_social_t'];
                ?>
" class="twitter"><i class="icon-twitter"></i></a></li><?php 
            }
            ?>
							<?php 
            if ($_smarty_tpl->tpl_vars['config']->value['startup_social_f']) {
                ?>
<li><a href="<?php 
                echo $_smarty_tpl->tpl_vars['config']->value['startup_social_f'];
                ?>
" class="facebook"><i class="icon-facebook"></i></a></li><?php 
            }
            ?>
							<?php 
            if ($_smarty_tpl->tpl_vars['config']->value['startup_social_g']) {
                ?>
<li><a href="<?php 
                echo $_smarty_tpl->tpl_vars['config']->value['startup_social_g'];
                ?>
" class="google-plus"><i class="icon-google-plus"></i></a></li><?php 
            }
            ?>
						</ul>
					<?php 
        }
        ?>

					<a href="#" class="nav-toggle" data-toggle="collapse" data-target=".nav-bar-collapse"><i class="icon-reorder"></i> <?php 
        echo iaSmartyPlugins::lang(array('key' => 'su_menu'), $_smarty_tpl);
        ?>
</a>
					
					<div class="nav-bar-collapse">
						<?php 
        echo iaSmartyPlugins::ia_blocks(array('block' => 'account'), $_smarty_tpl);
        ?>

					
						<?php 
        echo iaSmartyPlugins::ia_blocks(array('block' => 'mainmenu'), $_smarty_tpl);
        ?>

					</div>
				</div>
			</nav>
			
			<?php 
        if (isset($_smarty_tpl->tpl_vars['iaBlocks']->value['header'])) {
            ?>
				<div class="container">
					<?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'header'), $_smarty_tpl);
            ?>

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

		<?php 
        if (isset($_smarty_tpl->tpl_vars['iaBlocks']->value['header1']) || isset($_smarty_tpl->tpl_vars['iaBlocks']->value['header2']) || isset($_smarty_tpl->tpl_vars['iaBlocks']->value['header3']) || isset($_smarty_tpl->tpl_vars['iaBlocks']->value['header4'])) {
            ?>
			<div class="header-blocks">
				<div class="container">
					<div class="row">
						<div class="<?php 
            echo iaSmartyPlugins::width(array('section' => 'header', 'position' => 'header1'), $_smarty_tpl);
            ?>
"><?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'header1'), $_smarty_tpl);
            ?>
</div>
						<div class="<?php 
            echo iaSmartyPlugins::width(array('section' => 'header', 'position' => 'header2'), $_smarty_tpl);
            ?>
"><?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'header2'), $_smarty_tpl);
            ?>
</div>
						<div class="<?php 
            echo iaSmartyPlugins::width(array('section' => 'header', 'position' => 'header3'), $_smarty_tpl);
            ?>
"><?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'header3'), $_smarty_tpl);
            ?>
</div>
						<div class="<?php 
            echo iaSmartyPlugins::width(array('section' => 'header', 'position' => 'header4'), $_smarty_tpl);
            ?>
"><?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'header4'), $_smarty_tpl);
            ?>
</div>
					</div>
				</div>
			</div>
		<?php 
        }
        ?>

		<?php 
        echo smarty_function_ia_hooker(array('name' => 'smartyFrontBeforeBreadcrumb'), $_smarty_tpl);
        ?>


		<?php 
        echo $_smarty_tpl->getSubTemplate('breadcrumb.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>


		<?php 
        if (isset($_smarty_tpl->tpl_vars['iaBlocks']->value['verytop'])) {
            ?>
			<div class="verytop">
				<div class="container">
					<?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'verytop'), $_smarty_tpl);
            ?>

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

		<div class="main-content">
			<div class="container">
				<div class="row">

					<div class="<?php 
        echo iaSmartyPlugins::width(array('section' => 'content', 'position' => 'left'), $_smarty_tpl);
        ?>
">
						<?php 
        echo iaSmartyPlugins::ia_blocks(array('block' => 'left'), $_smarty_tpl);
        ?>

					</div>

					<div class="<?php 
        echo iaSmartyPlugins::width(array('section' => 'content', 'position' => 'center'), $_smarty_tpl);
        ?>
">
						<div class="content-wrap">

							<?php 
        echo iaSmartyPlugins::ia_blocks(array('block' => 'top'), $_smarty_tpl);
        ?>


							<h1 class="page-header"><?php 
        echo $_smarty_tpl->tpl_vars['core']->value['page']['title'];
        ?>
</h1>

							<?php 
        echo smarty_function_ia_hooker(array('name' => 'smartyFrontBeforeNotifications'), $_smarty_tpl);
        ?>

							<?php 
        echo $_smarty_tpl->getSubTemplate('notification.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>


							<?php 
        echo smarty_function_ia_hooker(array('name' => 'smartyFrontBeforeMainContent'), $_smarty_tpl);
        ?>


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


							<?php 
        echo smarty_function_ia_hooker(array('name' => 'smartyFrontAfterMainContent'), $_smarty_tpl);
        ?>


							<?php 
        echo iaSmartyPlugins::ia_blocks(array('block' => 'bottom'), $_smarty_tpl);
        ?>


							<?php 
        if (isset($_smarty_tpl->tpl_vars['iaBlocks']->value['user1']) || isset($_smarty_tpl->tpl_vars['iaBlocks']->value['user2'])) {
            ?>
								<div class="row-fluid">
									<div class="<?php 
            echo iaSmartyPlugins::width(array('section' => 'user-blocks', 'position' => 'user1'), $_smarty_tpl);
            ?>
"><?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'user1'), $_smarty_tpl);
            ?>
</div>
									<div class="<?php 
            echo iaSmartyPlugins::width(array('section' => 'user-blocks', 'position' => 'user2'), $_smarty_tpl);
            ?>
"><?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'user2'), $_smarty_tpl);
            ?>
</div>
								</div>
							<?php 
        }
        ?>
						</div>
					</div>

					<div class="<?php 
        echo iaSmartyPlugins::width(array('section' => 'content', 'position' => 'right'), $_smarty_tpl);
        ?>
">
						<?php 
        echo iaSmartyPlugins::ia_blocks(array('block' => 'right'), $_smarty_tpl);
        ?>

					</div>

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

		<?php 
        if (isset($_smarty_tpl->tpl_vars['iaBlocks']->value['verybottom'])) {
            ?>
			<div class="verybottom">
				<div class="container"><?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'verybottom'), $_smarty_tpl);
            ?>
</div>
			</div>
		<?php 
        }
        ?>

		<?php 
        if (isset($_smarty_tpl->tpl_vars['iaBlocks']->value['footer1']) || isset($_smarty_tpl->tpl_vars['iaBlocks']->value['footer2']) || isset($_smarty_tpl->tpl_vars['iaBlocks']->value['footer3']) || isset($_smarty_tpl->tpl_vars['iaBlocks']->value['footer4'])) {
            ?>
			<div class="footer-blocks">
				<div class="container">
					<div class="row">
						<div class="<?php 
            echo iaSmartyPlugins::width(array('section' => 'footer', 'position' => 'footer1'), $_smarty_tpl);
            ?>
"><?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'footer1'), $_smarty_tpl);
            ?>
</div>
						<div class="<?php 
            echo iaSmartyPlugins::width(array('section' => 'footer', 'position' => 'footer2'), $_smarty_tpl);
            ?>
"><?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'footer2'), $_smarty_tpl);
            ?>
</div>
						<div class="<?php 
            echo iaSmartyPlugins::width(array('section' => 'footer', 'position' => 'footer3'), $_smarty_tpl);
            ?>
"><?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'footer3'), $_smarty_tpl);
            ?>
</div>
						<div class="<?php 
            echo iaSmartyPlugins::width(array('section' => 'footer', 'position' => 'footer4'), $_smarty_tpl);
            ?>
"><?php 
            echo iaSmartyPlugins::ia_blocks(array('block' => 'footer4'), $_smarty_tpl);
            ?>
</div>
					</div>
				</div>
			</div>
		<?php 
        }
        ?>

		<footer class="footer">
			<div class="container">
				<?php 
        echo smarty_function_ia_hooker(array('name' => 'smartyFrontBeforeFooterLinks'), $_smarty_tpl);
        ?>


				<?php 
        if ($_smarty_tpl->tpl_vars['config']->value['startup_social']) {
            ?>
					<ul class="social social--dark">
						<?php 
            if ($_smarty_tpl->tpl_vars['config']->value['startup_social_t']) {
                ?>
<li><a href="<?php 
                echo $_smarty_tpl->tpl_vars['config']->value['startup_social_t'];
                ?>
" class="twitter"><i class="icon-twitter"></i></a></li><?php 
            }
            ?>
						<?php 
            if ($_smarty_tpl->tpl_vars['config']->value['startup_social_f']) {
                ?>
<li><a href="<?php 
                echo $_smarty_tpl->tpl_vars['config']->value['startup_social_f'];
                ?>
" class="facebook"><i class="icon-facebook"></i></a></li><?php 
            }
            ?>
						<?php 
            if ($_smarty_tpl->tpl_vars['config']->value['startup_social_g']) {
                ?>
<li><a href="<?php 
                echo $_smarty_tpl->tpl_vars['config']->value['startup_social_g'];
                ?>
" class="google-plus"><i class="icon-google-plus"></i></a></li><?php 
            }
            ?>
					</ul>
				<?php 
        }
        ?>

				<?php 
        echo iaSmartyPlugins::ia_blocks(array('block' => 'copyright'), $_smarty_tpl);
        ?>

				<p class="copyright">&copy; <?php 
        echo smarty_modifier_date_format($_SERVER['REQUEST_TIME'], '%Y');
        ?>
 <?php 
        echo iaSmartyPlugins::lang(array('key' => 'powered_by_subrion'), $_smarty_tpl);
        ?>
</p>

				<?php 
        echo smarty_function_ia_hooker(array('name' => 'smartyFrontAfterFooterLinks'), $_smarty_tpl);
        ?>

			</div>
		</footer>

		<!-- SYSTEM STUFF -->

		<?php 
        if ($_smarty_tpl->tpl_vars['config']->value['cron']) {
            ?>
			<div style="display: none;">
				<img src="<?php 
            echo @constant('IA_CLEAR_URL');
            ?>
cron/?<?php 
            echo smarty_function_randnum(array(), $_smarty_tpl);
            ?>
" width="1" height="1" alt="">
			</div>
		<?php 
        }
        ?>

		<?php 
        if (isset($_smarty_tpl->tpl_vars['manageMode']->value)) {
            ?>
			<?php 
            echo $_smarty_tpl->getSubTemplate('visual-mode.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
            ?>

		<?php 
        }
        ?>

		<?php 
        if (isset($_smarty_tpl->tpl_vars['previewMode']->value)) {
            ?>
			<p><?php 
            echo iaSmartyPlugins::lang(array('key' => 'youre_in_preview_mode'), $_smarty_tpl);
            ?>
</p>
		<?php 
        }
        ?>

		<?php 
        echo iaSmartyPlugins::ia_print_js(array('display' => 'on'), $_smarty_tpl);
        ?>


		<?php 
        echo smarty_function_ia_hooker(array('name' => 'smartyFrontFinalize'), $_smarty_tpl);
        ?>

	</body>
</html><?php 
    }