function content_55dc75a39cbe97_59829241($_smarty_tpl)
    {
        fn_preload_lang_vars(array('choose_your_country'));
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['containers']->value['top_panel']) {
            ?>
<div class="tygh-top-panel clearfix">
    <?php 
            echo $_smarty_tpl->tpl_vars['containers']->value['top_panel'];
            ?>

</div>
<?php 
        }
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['containers']->value['header']) {
            ?>
<div class="tygh-header clearfix">
    <?php 
            echo $_smarty_tpl->tpl_vars['containers']->value['header'];
            ?>

</div>
<?php 
        }
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['containers']->value['content']) {
            ?>
<div class="tygh-content clearfix">
    <?php 
            echo $_smarty_tpl->tpl_vars['containers']->value['content'];
            ?>

</div>
<?php 
        }
        ?>


<?php 
        if ($_smarty_tpl->tpl_vars['containers']->value['footer']) {
            ?>
<div class="tygh-footer clearfix" id="tygh_footer">
    <?php 
            echo $_smarty_tpl->tpl_vars['containers']->value['footer'];
            ?>

</div>
<?php 
        }
        ?>

<?php 
        if (fn_allowed_for("ULTIMATE")) {
            ?>
    
    <?php 
            if ($_smarty_tpl->tpl_vars['show_entry_page']->value) {
                ?>
        <div id="entry_page"></div>
            <?php 
                echo '<script';
                ?>
 type="text/javascript">
                $('#entry_page').ceDialog('open', <?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['ldelim']->value, ENT_QUOTES, 'UTF-8');
                ?>
href: fn_url('companies.entry_page'), resizable: false, title: '<?php 
                echo $_smarty_tpl->__("choose_your_country");
                ?>
', width: 325, height: 420, dialogClass: 'entry-page'<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['rdelim']->value, ENT_QUOTES, 'UTF-8');
                ?>
);
            <?php 
                echo '</script';
                ?>
>
    <?php 
            }
        }
        ?>

<?php 
        if (fn_check_meta_redirect($_REQUEST['meta_redirect_url'])) {
            ?>
    <meta http-equiv="refresh" content="1;url=<?php 
            echo htmlspecialchars(fn_url(fn_check_meta_redirect($_REQUEST['meta_redirect_url'])), ENT_QUOTES, 'UTF-8');
            ?>
" />
<?php 
        }
    }
    function content_55db8bda2e3f00_05794897($_smarty_tpl)
    {
        if (!is_callable('smarty_block_hook')) {
            include '/var/www/html/market/app/functions/smarty_plugins/block.hook.php';
        }
        fn_preload_lang_vars(array('admin_panel'));
        ?>
<!DOCTYPE html>
<html lang="en">

<head>
<title><?php 
        if ($_smarty_tpl->tpl_vars['page_title']->value) {
            echo htmlspecialchars($_smarty_tpl->tpl_vars['page_title']->value, ENT_QUOTES, 'UTF-8');
        } else {
            if ($_smarty_tpl->tpl_vars['navigation']->value['selected_tab']) {
                echo $_smarty_tpl->__($_smarty_tpl->tpl_vars['navigation']->value['selected_tab']);
                if ($_smarty_tpl->tpl_vars['navigation']->value['subsection']) {
                    ?>
 :: <?php 
                    echo $_smarty_tpl->__($_smarty_tpl->tpl_vars['navigation']->value['subsection']);
                }
                ?>
 - <?php 
            }
            echo $_smarty_tpl->__("admin_panel");
        }
        ?>
</title>
<meta name="viewport" content="width=1240,maximum-scale=1.0" />
<link href="<?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['images_dir']->value, ENT_QUOTES, 'UTF-8');
        ?>
/favicon.ico" rel="shortcut icon" type="image/x-icon" >
<?php 
        echo $_smarty_tpl->getSubTemplate("common/styles.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

<?php 
        if (defined("DEVELOPMENT") && @constant('DEVELOPMENT') == true) {
            echo '<script';
            ?>
 type="text/javascript" data-no-defer>
window.jsErrors = [];
window.onerror = function(errorMessage) {
    document.write('<div data-ca-debug="1" style="border: 2px solid red; margin: 2px;">' + errorMessage + '</div>');
}
<?php 
            echo '</script';
            ?>
>
<?php 
        }
        ?>
</head>
<?php 
        echo $_smarty_tpl->getSubTemplate("buttons/helpers.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

<!--[if lte IE 8 ]><body class="ie8"><![endif]-->
<!--[if lte IE 9 ]><body class="ie9"><![endif]-->
<!--[if !IE]><!--><body><!--<![endif]-->
    <?php 
        echo $_smarty_tpl->getSubTemplate("common/loading_box.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

    <?php 
        if (defined("THEMES_PANEL")) {
            ?>
        <?php 
            echo $_smarty_tpl->getSubTemplate("demo_theme_selector.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
            ?>

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

    <?php 
        $_smarty_tpl->tpl_vars["content"] = new Smarty_variable($_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['content_tpl']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0));
        ?>


    <div id="main_column<?php 
        if (!$_smarty_tpl->tpl_vars['auth']->value['user_id'] || $_smarty_tpl->tpl_vars['view_mode']->value == 'simple') {
            ?>
_login<?php 
        }
        ?>
" class="main-wrap">
    <?php 
        if ($_smarty_tpl->tpl_vars['view_mode']->value != "simple") {
            ?>
        <div class="admin-content">

            <div id="header" class="header">
                <?php 
            echo $_smarty_tpl->getSubTemplate("menu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
            ?>

            <!--header--></div>

            <div class="admin-content-wrap">
                <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('hook', array('name' => "index:main_content"));
            $_block_repeat = true;
            echo smarty_block_hook(array('name' => "index:main_content"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_hook(array('name' => "index:main_content"), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

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

                <?php 
            echo ($tmp = @$_smarty_tpl->tpl_vars['stats']->value) === null || $tmp === '' ? '' : $tmp;
            ?>

            </div>

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

    <?php 
        }
        ?>

    <!--main_column<?php 
        if (!$_smarty_tpl->tpl_vars['auth']->value['user_id'] || $_smarty_tpl->tpl_vars['view_mode']->value == 'simple') {
            ?>
_login<?php 
        }
        ?>
--></div>

    <?php 
        echo $_smarty_tpl->getSubTemplate("common/comet.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>


    <?php 
        if (fn_check_meta_redirect($_REQUEST['meta_redirect_url'])) {
            ?>
        <meta http-equiv="refresh" content="1;url=<?php 
            echo htmlspecialchars(fn_url(fn_check_meta_redirect($_REQUEST['meta_redirect_url'])), ENT_QUOTES, 'UTF-8');
            ?>
" />
    <?php 
        }
        ?>

    <?php 
        if ($_smarty_tpl->tpl_vars['auth']->value['user_id'] && (!$_smarty_tpl->tpl_vars['runtime']->value['company_id'] || $_smarty_tpl->tpl_vars['runtime']->value['simple_ultimate'])) {
            ?>
        <?php 
            echo $_smarty_tpl->getSubTemplate("views/settings/store_mode.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('show' => $_smarty_tpl->tpl_vars['show_sm_dialog']->value), 0);
            ?>

    <?php 
        }
        ?>

    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('hook', array('name' => "index:after_content"));
        $_block_repeat = true;
        echo smarty_block_hook(array('name' => "index:after_content"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_hook(array('name' => "index:after_content"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


    <?php 
        echo $_smarty_tpl->getSubTemplate("common/scripts.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

</body>
</html>
<?php 
    }
    function content_55ccdf85938756_91608872($_smarty_tpl)
    {
        if (!is_callable('smarty_block_hook')) {
            include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/block.hook.php';
        }
        fn_preload_lang_vars(array('admin_panel'));
        ?>
<!DOCTYPE html>
<html lang="en">

<head>
<title><?php 
        if ($_smarty_tpl->tpl_vars['page_title']->value) {
            echo htmlspecialchars($_smarty_tpl->tpl_vars['page_title']->value, ENT_QUOTES, 'UTF-8');
        } else {
            if ($_smarty_tpl->tpl_vars['navigation']->value['selected_tab']) {
                echo $_smarty_tpl->__($_smarty_tpl->tpl_vars['navigation']->value['selected_tab']);
                if ($_smarty_tpl->tpl_vars['navigation']->value['subsection']) {
                    ?>
 :: <?php 
                    echo $_smarty_tpl->__($_smarty_tpl->tpl_vars['navigation']->value['subsection']);
                }
                ?>
 - <?php 
            }
            echo $_smarty_tpl->__("admin_panel");
        }
        ?>
</title>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=1240,maximum-scale=1.0" />
<link href="<?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['images_dir']->value, ENT_QUOTES, 'UTF-8');
        ?>
/favicon.ico" rel="shortcut icon">
<?php 
        echo $_smarty_tpl->getSubTemplate("common/styles.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

<?php 
        echo $_smarty_tpl->getSubTemplate("common/scripts.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

</head>
<?php 
        echo $_smarty_tpl->getSubTemplate("buttons/helpers.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

<!--[if lte IE 8 ]><body class="ie8"><![endif]-->
<!--[if lte IE 9 ]><body class="ie9"><![endif]-->
<!--[if !IE]><!--><body><!--<![endif]-->     
    <?php 
        echo $_smarty_tpl->getSubTemplate("common/loading_box.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

    <?php 
        if (defined("THEMES_PANEL")) {
            ?>
        <?php 
            echo $_smarty_tpl->getSubTemplate("demo_theme_selector.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
            ?>

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

    <?php 
        $_smarty_tpl->tpl_vars["content"] = new Smarty_variable($_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['content_tpl']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0));
        ?>


    <div id="main_column<?php 
        if (!$_smarty_tpl->tpl_vars['auth']->value['user_id'] || $_smarty_tpl->tpl_vars['view_mode']->value == 'simple') {
            ?>
_login<?php 
        }
        ?>
" class="main-wrap">
    <?php 
        if ($_smarty_tpl->tpl_vars['view_mode']->value != "simple") {
            ?>
        <div class="admin-content">

            <div id="header" class="header">
                <?php 
            echo $_smarty_tpl->getSubTemplate("menu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
            ?>

            <!--header--></div>

            <div class="admin-content-wrap">
                <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('hook', array('name' => "index:main_content"));
            $_block_repeat = true;
            echo smarty_block_hook(array('name' => "index:main_content"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_hook(array('name' => "index:main_content"), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

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

                <?php 
            echo ($tmp = @$_smarty_tpl->tpl_vars['stats']->value) === null || $tmp === '' ? '' : $tmp;
            ?>

            </div>

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

    <?php 
        }
        ?>
    
    <!--main_column<?php 
        if (!$_smarty_tpl->tpl_vars['auth']->value['user_id'] || $_smarty_tpl->tpl_vars['view_mode']->value == 'simple') {
            ?>
_login<?php 
        }
        ?>
--></div>
    
    <?php 
        if ($_smarty_tpl->tpl_vars['runtime']->value['customization_mode']['translation']) {
            ?>
        <?php 
            echo $_smarty_tpl->getSubTemplate("common/translate_box.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
            ?>

    <?php 
        }
        ?>

    <?php 
        echo $_smarty_tpl->getSubTemplate("common/comet.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>


    <?php 
        if (fn_check_meta_redirect($_REQUEST['meta_redirect_url'])) {
            ?>
        <meta http-equiv="refresh" content="1;url=<?php 
            echo htmlspecialchars(fn_url(fn_check_meta_redirect($_REQUEST['meta_redirect_url'])), ENT_QUOTES, 'UTF-8');
            ?>
" />
    <?php 
        }
        ?>

    <?php 
        if ($_smarty_tpl->tpl_vars['auth']->value['user_id'] && (!$_smarty_tpl->tpl_vars['runtime']->value['company_id'] || $_smarty_tpl->tpl_vars['runtime']->value['simple_ultimate'])) {
            ?>
        <?php 
            echo $_smarty_tpl->getSubTemplate("views/settings/store_mode.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('show' => $_smarty_tpl->tpl_vars['show_sm_dialog']->value), 0);
            ?>

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