function content_55d7307fd228c7_22349487($_smarty_tpl)
    {
        if (!is_callable('smarty_block_notes')) {
            include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/block.notes.php';
        }
        fn_preload_lang_vars(array('notice', 'notice', 'export_cron_hint', 'notice', 'name', 'export_by_cron', 'status', 'server', 'ftp', 'local_export', 'export_to_server', 'upload_to_ftp', 'edit', 'no_data', 'select_fields_to_edit', 'add_datafeed', 'data_feeds'));
        $_smarty_tpl->smarty->_tag_stack[] = array('notes', array('title' => __("notice")));
        $_block_repeat = true;
        echo smarty_block_notes(array('title' => __("notice")), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <p><?php 
            echo $_smarty_tpl->__("export_cron_hint");
            ?>
:<br />
        <span>php /path/to/cart/<?php 
            echo htmlspecialchars(fn_url('', "A", "rel"), ENT_QUOTES, 'UTF-8');
            ?>
 --dispatch=exim.cron_export --cron_password=<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['addons']->value['data_feeds']['cron_password'], ENT_QUOTES, 'UTF-8');
            ?>
</span>
    </p>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_notes(array('title' => __("notice")), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


<?php 
        $_smarty_tpl->_capture_stack[0][] = array("mainbox", null, null);
        ob_start();
        ?>

<form action="<?php 
        echo htmlspecialchars(fn_url(''), ENT_QUOTES, 'UTF-8');
        ?>
" method="post" name="manage_datafeeds_form">

<?php 
        if ($_smarty_tpl->tpl_vars['datafeeds']->value) {
            ?>
<table class="table sortable table-middle">
<thead>
    <tr>
        <th width="5%" class="left"><?php 
            echo $_smarty_tpl->getSubTemplate("common/check_items.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
            ?>
</th>
        <th width="30%" nowrap="nowrap"><?php 
            echo $_smarty_tpl->__("name");
            ?>
</th>
        <th width="30%" nowrap="nowrap"><?php 
            echo $_smarty_tpl->__("export_by_cron");
            ?>
</th>
        <th width="20%" nowrap="nowrap">&nbsp;</th>
        <th width="15%" nowrap="nowrap" class="right"><?php 
            echo $_smarty_tpl->__("status");
            ?>
</th>
    </tr>
</thead>
<?php 
            $_smarty_tpl->tpl_vars['datafeed'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['datafeed']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['datafeeds']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['datafeed']->key => $_smarty_tpl->tpl_vars['datafeed']->value) {
                $_smarty_tpl->tpl_vars['datafeed']->_loop = true;
                ?>
<tr class="cm-row-status-<?php 
                echo htmlspecialchars(mb_strtolower($_smarty_tpl->tpl_vars['datafeed']->value['status'], 'UTF-8'), ENT_QUOTES, 'UTF-8');
                ?>
">
    <td class="left">
        <input type="checkbox" name="datafeed_ids[]" value="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['datafeed']->value['datafeed_id'], ENT_QUOTES, 'UTF-8');
                ?>
" class="checkbox cm-item" />
    </td>
    
    <td>
        <a href="<?php 
                echo htmlspecialchars(fn_url("data_feeds.update?datafeed_id=" . (string) $_smarty_tpl->tpl_vars['datafeed']->value['datafeed_id']), ENT_QUOTES, 'UTF-8');
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['datafeed']->value['datafeed_name'], ENT_QUOTES, 'UTF-8');
                ?>
</a>
    </td>

    <td class="nowrap">
        <select name="datafeed_data[<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['datafeed']->value['datafeed_id'], ENT_QUOTES, 'UTF-8');
                ?>
][export_location]">
            <option value=""> -- </option>
            <option value="S" <?php 
                if ($_smarty_tpl->tpl_vars['datafeed']->value['export_location'] == "S") {
                    ?>
selected="selected"<?php 
                }
                ?>
><?php 
                echo $_smarty_tpl->__("server");
                ?>
</option>
            <option value="F" <?php 
                if ($_smarty_tpl->tpl_vars['datafeed']->value['export_location'] == "F") {
                    ?>
selected="selected"<?php 
                }
                ?>
><?php 
                echo $_smarty_tpl->__("ftp");
                ?>
</option>
        </select>
    </td>
    
    <td class="nowrap">
        <?php 
                $_smarty_tpl->_capture_stack[0][] = array("tools_list", null, null);
                ob_start();
                ?>
            <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'class' => "cm-confirm cm-ajax cm-comet", 'text' => __("local_export"), 'href' => "exim.export_datafeed?datafeed_ids[]=" . (string) $_smarty_tpl->tpl_vars['datafeed']->value['datafeed_id'] . "&location=L"));
                ?>
</li>
            <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'class' => "cm-confirm cm-ajax cm-comet", 'text' => __("export_to_server"), 'href' => "exim.export_datafeed?datafeed_ids[]=" . (string) $_smarty_tpl->tpl_vars['datafeed']->value['datafeed_id'] . "&location=S"));
                ?>
</li>
            <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'class' => "cm-confirm cm-ajax cm-comet", 'text' => __("upload_to_ftp"), 'href' => "exim.export_datafeed?datafeed_ids[]=" . (string) $_smarty_tpl->tpl_vars['datafeed']->value['datafeed_id'] . "&location=F"));
                ?>
</li>
            <li class="divider"></li>
            <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("edit"), 'href' => "data_feeds.update?datafeed_id=" . (string) $_smarty_tpl->tpl_vars['datafeed']->value['datafeed_id']));
                ?>
</li>
        <?php 
                list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                if (!empty($_capture_buffer)) {
                    if (isset($_capture_assign)) {
                        $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                    }
                    if (isset($_capture_append)) {
                        $_smarty_tpl->append($_capture_append, ob_get_contents());
                    }
                    Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
                } else {
                    $_smarty_tpl->capture_error();
                }
                ?>
        <div class="hidden-tools">
            <?php 
                smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
                ?>

        </div>
    </td>
    
    <td class="right">
        <?php 
                echo $_smarty_tpl->getSubTemplate("common/select_popup.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('id' => $_smarty_tpl->tpl_vars['datafeed']->value['datafeed_id'], 'status' => $_smarty_tpl->tpl_vars['datafeed']->value['status'], 'hidden' => false, 'object_id_name' => "datafeed_id", 'table' => "data_feeds"), 0);
                ?>

    </td>
    
</tr>
<?php 
            }
            ?>
</table>
<?php 
        } else {
            ?>
    <p class="no-items"><?php 
            echo $_smarty_tpl->__("no_data");
            ?>
</p>
<?php 
        }
        ?>

<?php 
        $_smarty_tpl->_capture_stack[0][] = array("buttons", null, null);
        ob_start();
        ?>
    <?php 
        if ($_smarty_tpl->tpl_vars['datafeeds']->value) {
            ?>
        <?php 
            $_smarty_tpl->_capture_stack[0][] = array("tools_list", null, null);
            ob_start();
            ?>
            <li><?php 
            smarty_template_function_btn($_smarty_tpl, array('type' => "delete_selected", 'dispatch' => "dispatch[data_feeds.m_delete]", 'form' => "manage_datafeeds_form"));
            ?>
</li>
            <li><?php 
            echo $_smarty_tpl->getSubTemplate("common/popupbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('id' => "select_fields_to_edit", 'text' => __("select_fields_to_edit"), 'content' => Smarty::$_smarty_vars['capture']['select_fields_to_edit']), 0);
            ?>
</li>
        <?php 
            list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
            if (!empty($_capture_buffer)) {
                if (isset($_capture_assign)) {
                    $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                }
                if (isset($_capture_append)) {
                    $_smarty_tpl->append($_capture_append, ob_get_contents());
                }
                Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
            } else {
                $_smarty_tpl->capture_error();
            }
            ?>
        <?php 
            smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
            ?>


        <?php 
            echo $_smarty_tpl->getSubTemplate("buttons/save.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('but_name' => "dispatch[data_feeds.m_update]", 'but_role' => "submit-link", 'but_target_form' => "manage_datafeeds_form"), 0);
            ?>

    <?php 
        }
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>

<?php 
        $_smarty_tpl->_capture_stack[0][] = array("adv_buttons", null, null);
        ob_start();
        ?>
    <?php 
        ob_start();
        echo $_smarty_tpl->__("add_datafeed");
        $_tmp1 = ob_get_clean();
        echo $_smarty_tpl->getSubTemplate("common/tools.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('tool_href' => "data_feeds.add", 'prefix' => "bottom", 'title' => $_tmp1, 'hide_tools' => true, 'icon' => "icon-plus"), 0);
        ?>

<?php 
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>
        
</form>

<?php 
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        echo $_smarty_tpl->getSubTemplate("common/mainbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => __("data_feeds"), 'content' => Smarty::$_smarty_vars['capture']['mainbox'], 'tools' => Smarty::$_smarty_vars['capture']['tools'], 'select_languages' => true, 'buttons' => Smarty::$_smarty_vars['capture']['buttons'], 'adv_buttons' => Smarty::$_smarty_vars['capture']['adv_buttons']), 0);
        ?>

<?php 
    }
    function content_55ccdf868db1b1_55689818($_smarty_tpl)
    {
        if (!is_callable('smarty_block_hook')) {
            include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/block.hook.php';
        }
        if (!is_callable('smarty_block_notes')) {
            include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/block.notes.php';
        }
        fn_preload_lang_vars(array('choose_action', 'notes', 'language'));
        if (defined("THEMES_PANEL")) {
            ?>
    <?php 
            $_smarty_tpl->tpl_vars['sticky_scroll'] = new Smarty_variable(5, null, 0);
            ?>
    <?php 
            $_smarty_tpl->tpl_vars['sticky_padding'] = new Smarty_variable(73, null, 0);
        } else {
            ?>
    <?php 
            $_smarty_tpl->tpl_vars['sticky_scroll'] = new Smarty_variable(41, null, 0);
            ?>
    <?php 
            $_smarty_tpl->tpl_vars['sticky_padding'] = new Smarty_variable(37, null, 0);
        }
        ?>

<?php 
        if (!$_smarty_tpl->tpl_vars['sidebar_position']->value) {
            ?>
    <?php 
            $_smarty_tpl->tpl_vars['sidebar_position'] = new Smarty_variable("right", null, 0);
        }
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['anchor']->value) {
            ?>
<a name="<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['anchor']->value, ENT_QUOTES, 'UTF-8');
            ?>
"></a>
<?php 
        }
        ?>

<script type="text/javascript">
// Init ajax callback (rebuild)
var menu_content = <?php 
        echo ($tmp = @htmlspecialchars_decode($_smarty_tpl->tpl_vars['data']->value, ENT_QUOTES)) === null || $tmp === '' ? "''" : $tmp;
        ?>
;
</script>

<!-- Actions -->
<div class="actions cm-sticky-scroll" id="actions_panel" data-ce-top="<?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['sticky_scroll']->value, ENT_QUOTES, 'UTF-8');
        ?>
" data-ce-padding="<?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['sticky_padding']->value, ENT_QUOTES, 'UTF-8');
        ?>
">
    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('hook', array('name' => "index:actions"));
        $_block_repeat = true;
        echo smarty_block_hook(array('name' => "index:actions"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <?php 
            if (!$_smarty_tpl->tpl_vars['no_sidebar']->value) {
                ?>
        <div class="btn-bar-left pull-left">
            <div class="pull-left"><?php 
                echo $_smarty_tpl->getSubTemplate("common/last_viewed_items.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
                ?>
</div>
        </div>
    <?php 
            }
            ?>
    <div class="title pull-left">
        <h2 title="<?php 
            echo htmlspecialchars(preg_replace('!\\s+!u', ' ', preg_replace('!<[^>]*?>!', ' ', ($tmp = @$_smarty_tpl->tpl_vars['title_alt']->value) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['title']->value : $tmp)), ENT_QUOTES, 'UTF-8');
            ?>
"><?php 
            echo ($tmp = @$_smarty_tpl->tpl_vars['title']->value) === null || $tmp === '' ? "&nbsp;" : $tmp;
            ?>
</h2>
    </div>
    <div class="<?php 
            if (isset($_smarty_tpl->tpl_vars['main_buttons_meta']->value)) {
                echo htmlspecialchars($_smarty_tpl->tpl_vars['main_buttons_meta']->value, ENT_QUOTES, 'UTF-8');
            } else {
                ?>
btn-bar btn-toolbar<?php 
            }
            ?>
 dropleft pull-right" <?php 
            if ($_smarty_tpl->tpl_vars['content_id']->value) {
                ?>
id="tools_<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['content_id']->value, ENT_QUOTES, 'UTF-8');
                ?>
_buttons"<?php 
            }
            ?>
>
        
        <?php 
            if ($_smarty_tpl->tpl_vars['adv_buttons']->value) {
                ?>
        <div class="adv-buttons" <?php 
                if ($_smarty_tpl->tpl_vars['content_id']->value) {
                    ?>
id="tools_<?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['content_id']->value, ENT_QUOTES, 'UTF-8');
                    ?>
_adv_buttons"<?php 
                }
                ?>
>
        <?php 
                echo $_smarty_tpl->tpl_vars['adv_buttons']->value;
                ?>

        <?php 
                if ($_smarty_tpl->tpl_vars['content_id']->value) {
                    ?>
<!--tools_<?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['content_id']->value, ENT_QUOTES, 'UTF-8');
                    ?>
_adv_buttons--><?php 
                }
                ?>
</div>
        <?php 
            }
            ?>
        
        <?php 
            if ($_smarty_tpl->tpl_vars['navigation']->value['dynamic']['actions']) {
                ?>
            <?php 
                $_smarty_tpl->_capture_stack[0][] = array("tools_list", null, null);
                ob_start();
                ?>
                <?php 
                $_smarty_tpl->tpl_vars['m'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['m']->_loop = false;
                $_smarty_tpl->tpl_vars['title'] = new Smarty_Variable();
                $_from = $_smarty_tpl->tpl_vars['navigation']->value['dynamic']['actions'];
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['m']->key => $_smarty_tpl->tpl_vars['m']->value) {
                    $_smarty_tpl->tpl_vars['m']->_loop = true;
                    $_smarty_tpl->tpl_vars['title']->value = $_smarty_tpl->tpl_vars['m']->key;
                    ?>
                    <li><a href="<?php 
                    echo htmlspecialchars(fn_url($_smarty_tpl->tpl_vars['m']->value['href']), ENT_QUOTES, 'UTF-8');
                    ?>
" class="<?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['m']->value['meta'], ENT_QUOTES, 'UTF-8');
                    ?>
" target="<?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['m']->value['target'], ENT_QUOTES, 'UTF-8');
                    ?>
"><?php 
                    echo $_smarty_tpl->__($_smarty_tpl->tpl_vars['title']->value);
                    ?>
</a></li>
                <?php 
                }
                ?>
            <?php 
                list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                if (!empty($_capture_buffer)) {
                    if (isset($_capture_assign)) {
                        $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                    }
                    if (isset($_capture_append)) {
                        $_smarty_tpl->append($_capture_append, ob_get_contents());
                    }
                    Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
                } else {
                    $_smarty_tpl->capture_error();
                }
                ?>
            <?php 
                echo $_smarty_tpl->getSubTemplate("common/tools.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('hide_actions' => true, 'tools_list' => Smarty::$_smarty_vars['capture']['tools_list'], 'link_text' => __("choose_action")), 0);
                ?>

        <?php 
            }
            ?>

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

    <?php 
            if ($_smarty_tpl->tpl_vars['content_id']->value) {
                ?>
<!--tools_<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['content_id']->value, ENT_QUOTES, 'UTF-8');
                ?>
_buttons--><?php 
            }
            ?>
</div>
    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_hook(array('name' => "index:actions"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

</div>

<?php 
        $_smarty_tpl->_capture_stack[0][] = array("sidebar_content", "sidebar_content", null);
        ob_start();
        ?>
    <?php 
        if ($_smarty_tpl->tpl_vars['navigation']->value && $_smarty_tpl->tpl_vars['navigation']->value['dynamic']['sections']) {
            ?>
        <div class="sidebar-row">
            <ul class="nav nav-list">
                <?php 
            $_smarty_tpl->tpl_vars['m'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['m']->_loop = false;
            $_smarty_tpl->tpl_vars["s_id"] = new Smarty_Variable();
            $_from = $_smarty_tpl->tpl_vars['navigation']->value['dynamic']['sections'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['m']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['m']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['m']->key => $_smarty_tpl->tpl_vars['m']->value) {
                $_smarty_tpl->tpl_vars['m']->_loop = true;
                $_smarty_tpl->tpl_vars["s_id"]->value = $_smarty_tpl->tpl_vars['m']->key;
                $_smarty_tpl->tpl_vars['m']->iteration++;
                $_smarty_tpl->tpl_vars['m']->last = $_smarty_tpl->tpl_vars['m']->iteration === $_smarty_tpl->tpl_vars['m']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']["first_level"]['last'] = $_smarty_tpl->tpl_vars['m']->last;
                ?>
                    <?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('hook', array('name' => "index:dynamic_menu_item"));
                $_block_repeat = true;
                echo smarty_block_hook(array('name' => "index:dynamic_menu_item"), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>

                        <?php 
                    if ($_smarty_tpl->tpl_vars['m']->value['type'] == "divider") {
                        ?>
                            <li class="divider"></li>
                            <?php 
                    } else {
                        ?>
                            <li class="<?php 
                        if ($_smarty_tpl->tpl_vars['m']->value['js'] == true) {
                            ?>
cm-js<?php 
                        }
                        if ($_smarty_tpl->getVariable('smarty')->value['foreach']['first_level']['last']) {
                            ?>
 last-item<?php 
                        }
                        if ($_smarty_tpl->tpl_vars['navigation']->value['dynamic']['active_section'] == $_smarty_tpl->tpl_vars['s_id']->value) {
                            ?>
 active<?php 
                        }
                        ?>
"><a href="<?php 
                        echo htmlspecialchars(fn_url($_smarty_tpl->tpl_vars['m']->value['href']), ENT_QUOTES, 'UTF-8');
                        ?>
"><?php 
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['m']->value['title'], ENT_QUOTES, 'UTF-8');
                        ?>
</a></li>
                        <?php 
                    }
                    ?>
                    <?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo smarty_block_hook(array('name' => "index:dynamic_menu_item"), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>

                <?php 
            }
            ?>
            </ul>
        </div>
    <hr>
    <?php 
        }
        ?>
    <?php 
        echo $_smarty_tpl->tpl_vars['sidebar']->value;
        ?>


    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('notes', array('assign' => "notes"));
        $_block_repeat = true;
        echo smarty_block_notes(array('assign' => "notes"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_notes(array('assign' => "notes"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

    <?php 
        if ($_smarty_tpl->tpl_vars['notes']->value) {
            ?>
        <?php 
            $_smarty_tpl->tpl_vars["note"] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars["note"]->_loop = false;
            $_smarty_tpl->tpl_vars["title"] = new Smarty_Variable();
            $_from = $_smarty_tpl->tpl_vars['notes']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars["note"]->key => $_smarty_tpl->tpl_vars["note"]->value) {
                $_smarty_tpl->tpl_vars["note"]->_loop = true;
                $_smarty_tpl->tpl_vars["title"]->value = $_smarty_tpl->tpl_vars["note"]->key;
                ?>
            <?php 
                $_smarty_tpl->_capture_stack[0][] = array("note_title", null, null);
                ob_start();
                ?>
                <?php 
                if ($_smarty_tpl->tpl_vars['title']->value == "_note_") {
                    echo $_smarty_tpl->__("notes");
                } else {
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['title']->value, ENT_QUOTES, 'UTF-8');
                }
                ?>
            <?php 
                list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                if (!empty($_capture_buffer)) {
                    if (isset($_capture_assign)) {
                        $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                    }
                    if (isset($_capture_append)) {
                        $_smarty_tpl->append($_capture_append, ob_get_contents());
                    }
                    Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
                } else {
                    $_smarty_tpl->capture_error();
                }
                ?>
            <?php 
                echo $_smarty_tpl->getSubTemplate("common/sidebox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('content' => $_smarty_tpl->tpl_vars['note']->value, 'title' => Smarty::$_smarty_vars['capture']['note_title']), 0);
                ?>

        <?php 
            }
            ?>
    <?php 
        }
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>

<!-- Sidebar left -->
<?php 
        if (!$_smarty_tpl->tpl_vars['no_sidebar']->value && trim($_smarty_tpl->tpl_vars['sidebar_content']->value) != '' && $_smarty_tpl->tpl_vars['sidebar_position']->value == "left") {
            ?>
<div class="sidebar sidebar-left" id="elm_sidebar">
    <div class="sidebar-wrapper">
    <?php 
            echo $_smarty_tpl->tpl_vars['sidebar_content']->value;
            ?>

    </div>
<!--elm_sidebar left--></div>
<?php 
        }
        ?>


<!--Content-->
<div class="content<?php 
        if ($_smarty_tpl->tpl_vars['no_sidebar']->value) {
            ?>
 content-no-sidebar<?php 
        }
        if (trim($_smarty_tpl->tpl_vars['sidebar_content']->value) == '') {
            ?>
 no-sidebar<?php 
        }
        ?>
 <?php 
        if (fn_allowed_for("ULTIMATE")) {
            ?>
ufa<?php 
        }
        ?>
" <?php 
        if ($_smarty_tpl->tpl_vars['box_id']->value) {
            ?>
id="<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['box_id']->value, ENT_QUOTES, 'UTF-8');
            ?>
"<?php 
        }
        ?>
>
    <div class="content-wrap">

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

        <?php 
            if ($_smarty_tpl->tpl_vars['select_languages']->value && sizeof($_smarty_tpl->tpl_vars['languages']->value) > 1) {
                ?>
            <div class="language-wrap">
                <h6 class="muted"><?php 
                echo $_smarty_tpl->__("language");
                ?>
:</h6>
                <?php 
                if (!fn_allowed_for("ULTIMATE:FREE")) {
                    ?>
                    <?php 
                    echo $_smarty_tpl->getSubTemplate("common/select_object.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('style' => "graphic", 'link_tpl' => fn_link_attach($_smarty_tpl->tpl_vars['config']->value['current_url'], "descr_sl="), 'items' => $_smarty_tpl->tpl_vars['languages']->value, 'selected_id' => @constant('DESCR_SL'), 'key_name' => "name", 'suffix' => "content", 'display_icons' => true), 0);
                    ?>

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

        <?php 
            if ($_smarty_tpl->tpl_vars['tools']->value) {
                echo $_smarty_tpl->tpl_vars['tools']->value;
            }
            ?>

        <?php 
            if ($_smarty_tpl->tpl_vars['title_extra']->value) {
                ?>
<div class="title">-&nbsp;</div>
            <?php 
                echo $_smarty_tpl->tpl_vars['title_extra']->value;
                ?>

        <?php 
            }
            ?>

        <?php 
            if (trim($_smarty_tpl->tpl_vars['extra_tools']->value)) {
                ?>
            <div class="extra-tools">
                <?php 
                echo $_smarty_tpl->tpl_vars['extra_tools']->value;
                ?>

            </div>
        <?php 
            }
            ?>
    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_hook(array('name' => "index:content_top"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


    <?php 
        if ($_smarty_tpl->tpl_vars['content_id']->value) {
            ?>
<div id="content_<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['content_id']->value, ENT_QUOTES, 'UTF-8');
            ?>
"><?php 
        }
        ?>
        <?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['content']->value) === null || $tmp === '' ? "&nbsp;" : $tmp;
        ?>

    <?php 
        if ($_smarty_tpl->tpl_vars['content_id']->value) {
            ?>
<!--content_<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['content_id']->value, ENT_QUOTES, 'UTF-8');
            ?>
--></div><?php 
        }
        ?>

    <?php 
        if ($_smarty_tpl->tpl_vars['box_id']->value) {
            ?>
<!--<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['box_id']->value, ENT_QUOTES, 'UTF-8');
            ?>
--><?php 
        }
        ?>
</div>
</div>

<!--/Content-->


<!-- Sidebar -->
<?php 
        if (!$_smarty_tpl->tpl_vars['no_sidebar']->value && trim($_smarty_tpl->tpl_vars['sidebar_content']->value) != '' && $_smarty_tpl->tpl_vars['sidebar_position']->value == "right") {
            ?>
<div class="sidebar" id="elm_sidebar">
    <div class="sidebar-wrapper">
    <?php 
            echo $_smarty_tpl->tpl_vars['sidebar_content']->value;
            ?>

    </div>
<!--elm_sidebar--></div>
<?php 
        }
        ?>



<script type="text/javascript">
    var ajax_callback_data = menu_content;
</script><?php 
    }
    function content_55e3e07812bbf1_53486277($_smarty_tpl)
    {
        if (!is_callable('smarty_block_notes')) {
            include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/block.notes.php';
        }
        if (!is_callable('smarty_block_hook')) {
            include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/block.hook.php';
        }
        fn_preload_lang_vars(array('name', 'position_short', 'type', 'graphic_banner', 'text_banner', 'image', 'description', 'open_in_new_window', 'url', 'creation_date', 'banner_details_notes', 'banners.new_banner', 'banners.editing_banner'));
        if ($_smarty_tpl->tpl_vars['banner']->value) {
            ?>
    <?php 
            $_smarty_tpl->tpl_vars["id"] = new Smarty_variable($_smarty_tpl->tpl_vars['banner']->value['banner_id'], null, 0);
        } else {
            ?>
    <?php 
            $_smarty_tpl->tpl_vars["id"] = new Smarty_variable(0, null, 0);
        }
        ?>

<?php 
        $_smarty_tpl->tpl_vars["allow_save"] = new Smarty_variable(fn_allow_save_object($_smarty_tpl->tpl_vars['banner']->value, "banners"), null, 0);
        ?>



<?php 
        $_smarty_tpl->tpl_vars["b_type"] = new Smarty_variable(($tmp = @$_smarty_tpl->tpl_vars['banner']->value['type']) === null || $tmp === '' ? "G" : $tmp, null, 0);
        ?>

<?php 
        $_smarty_tpl->_capture_stack[0][] = array("mainbox", null, null);
        ob_start();
        ?>

<form action="<?php 
        echo htmlspecialchars(fn_url(''), ENT_QUOTES, 'UTF-8');
        ?>
" method="post" class="form-horizontal form-edit  <?php 
        if (!$_smarty_tpl->tpl_vars['allow_save']->value) {
            ?>
 cm-hide-inputs<?php 
        }
        ?>
" name="banners_form" enctype="multipart/form-data">
<input type="hidden" class="cm-no-hide-input" name="fake" value="1" />
<input type="hidden" class="cm-no-hide-input" name="banner_id" value="<?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8');
        ?>
" />

<?php 
        $_smarty_tpl->_capture_stack[0][] = array("tabsbox", null, null);
        ob_start();
        ?>
<div id="content_general">
    <div class="control-group">
        <label for="elm_banner_name" class="control-label cm-required"><?php 
        echo $_smarty_tpl->__("name");
        ?>
</label>
        <div class="controls">
        <input type="text" name="banner_data[banner]" id="elm_banner_name" value="<?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['banner']->value['banner'], ENT_QUOTES, 'UTF-8');
        ?>
" size="25" class="input-large" /></div>
    </div>

    <?php 
        if (fn_allowed_for("ULTIMATE")) {
            ?>
        <?php 
            echo $_smarty_tpl->getSubTemplate("views/companies/components/company_field.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('name' => "banner_data[company_id]", 'id' => "banner_data_company_id", 'selected' => $_smarty_tpl->tpl_vars['banner']->value['company_id']), 0);
            ?>

    <?php 
        }
        ?>

    <div class="control-group">
        <label for="elm_banner_position" class="control-label"><?php 
        echo $_smarty_tpl->__("position_short");
        ?>
</label>
        <div class="controls">
            <input type="text" name="banner_data[position]" id="elm_banner_position" value="<?php 
        echo htmlspecialchars(($tmp = @$_smarty_tpl->tpl_vars['banner']->value['position']) === null || $tmp === '' ? "0" : $tmp, ENT_QUOTES, 'UTF-8');
        ?>
" size="3"/>
        </div>
    </div>

    <div class="control-group">
        <label for="elm_banner_type" class="control-label cm-required"><?php 
        echo $_smarty_tpl->__("type");
        ?>
</label>
        <div class="controls">
        <select name="banner_data[type]" id="elm_banner_type" onchange="Tygh.$('#banner_graphic').toggle();  Tygh.$('#banner_text').toggle(); Tygh.$('#banner_url').toggle();  Tygh.$('#banner_target').toggle();">
            <option <?php 
        if ($_smarty_tpl->tpl_vars['banner']->value['type'] == "G") {
            ?>
selected="selected"<?php 
        }
        ?>
 value="G"><?php 
        echo $_smarty_tpl->__("graphic_banner");
        ?>

            <option <?php 
        if ($_smarty_tpl->tpl_vars['banner']->value['type'] == "T") {
            ?>
selected="selected"<?php 
        }
        ?>
 value="T"><?php 
        echo $_smarty_tpl->__("text_banner");
        ?>

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

    <div class="control-group <?php 
        if ($_smarty_tpl->tpl_vars['b_type']->value != "G") {
            ?>
hidden<?php 
        }
        ?>
" id="banner_graphic">
        <label class="control-label"><?php 
        echo $_smarty_tpl->__("image");
        ?>
</label>
        <div class="controls">
            <?php 
        echo $_smarty_tpl->getSubTemplate("common/attach_images.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('image_name' => "banners_main", 'image_object_type' => "promo", 'image_pair' => $_smarty_tpl->tpl_vars['banner']->value['main_pair'], 'image_object_id' => $_smarty_tpl->tpl_vars['id']->value, 'no_detailed' => true, 'hide_titles' => true), 0);
        ?>

        </div>
    </div>

    <div class="control-group <?php 
        if ($_smarty_tpl->tpl_vars['b_type']->value == "G") {
            ?>
hidden<?php 
        }
        ?>
" id="banner_text">
        <label class="control-label" for="elm_banner_description"><?php 
        echo $_smarty_tpl->__("description");
        ?>
:</label>
        <div class="controls">
            <textarea id="elm_banner_description" name="banner_data[description]" cols="35" rows="8" class="cm-wysiwyg input-large"><?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['banner']->value['description'], ENT_QUOTES, 'UTF-8');
        ?>
</textarea>
        </div>
    </div>

    <div class="control-group <?php 
        if ($_smarty_tpl->tpl_vars['b_type']->value == "T") {
            ?>
hidden<?php 
        }
        ?>
" id="banner_target">
        <label class="control-label" for="elm_banner_target"><?php 
        echo $_smarty_tpl->__("open_in_new_window");
        ?>
</label>
        <div class="controls">
        <input type="hidden" name="banner_data[target]" value="T" />
        <input type="checkbox" name="banner_data[target]" id="elm_banner_target" value="B" <?php 
        if ($_smarty_tpl->tpl_vars['banner']->value['target'] == "B") {
            ?>
checked="checked"<?php 
        }
        ?>
 />
        </div>
    </div>

    <div class="control-group <?php 
        if ($_smarty_tpl->tpl_vars['b_type']->value == "T") {
            ?>
hidden<?php 
        }
        ?>
" id="banner_url">
        <label class="control-label" for="elm_banner_url"><?php 
        echo $_smarty_tpl->__("url");
        ?>
:</label>
        <div class="controls">
            <input type="text" name="banner_data[url]" id="elm_banner_url" value="<?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['banner']->value['url'], ENT_QUOTES, 'UTF-8');
        ?>
" size="25" class="input-large" />
        </div>
    </div>

    <div class="control-group">
        <label class="control-label" for="elm_banner_timestamp_<?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8');
        ?>
"><?php 
        echo $_smarty_tpl->__("creation_date");
        ?>
</label>
        <div class="controls">
        <?php 
        echo $_smarty_tpl->getSubTemplate("common/calendar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('date_id' => "elm_banner_timestamp_" . (string) $_smarty_tpl->tpl_vars['id']->value, 'date_name' => "banner_data[timestamp]", 'date_val' => ($tmp = @$_smarty_tpl->tpl_vars['banner']->value['timestamp']) === null || $tmp === '' ? @constant('TIME') : $tmp, 'start_year' => $_smarty_tpl->tpl_vars['settings']->value['Company']['company_start_year']), 0);
        ?>

        </div>
    </div>

    <?php 
        echo $_smarty_tpl->getSubTemplate("views/localizations/components/select.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('data_name' => "banner_data[localization]", 'data_from' => $_smarty_tpl->tpl_vars['banner']->value['localization']), 0);
        ?>


    <?php 
        echo $_smarty_tpl->getSubTemplate("common/select_status.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('input_name' => "banner_data[status]", 'id' => "elm_banner_status", 'obj_id' => $_smarty_tpl->tpl_vars['id']->value, 'obj' => $_smarty_tpl->tpl_vars['banner']->value, 'hidden' => true), 0);
        ?>

</div>
<?php 
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        echo $_smarty_tpl->getSubTemplate("common/tabsbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('content' => Smarty::$_smarty_vars['capture']['tabsbox'], 'active_tab' => $_REQUEST['selected_section'], 'track' => true), 0);
        ?>


<?php 
        $_smarty_tpl->_capture_stack[0][] = array("buttons", null, null);
        ob_start();
        ?>
    <?php 
        if (!$_smarty_tpl->tpl_vars['id']->value) {
            ?>
        <?php 
            echo $_smarty_tpl->getSubTemplate("buttons/save_cancel.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('but_role' => "submit-link", 'but_target_form' => "banners_form", 'but_name' => "dispatch[banners.update]"), 0);
            ?>

    <?php 
        } else {
            ?>
        <?php 
            if (fn_allowed_for("ULTIMATE") && !$_smarty_tpl->tpl_vars['allow_save']->value) {
                ?>
            <?php 
                $_smarty_tpl->tpl_vars["hide_first_button"] = new Smarty_variable(true, null, 0);
                ?>
            <?php 
                $_smarty_tpl->tpl_vars["hide_second_button"] = new Smarty_variable(true, null, 0);
                ?>
        <?php 
            }
            ?>
        <?php 
            echo $_smarty_tpl->getSubTemplate("buttons/save_cancel.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('but_name' => "dispatch[banners.update]", 'but_role' => "submit-link", 'but_target_form' => "banners_form", 'hide_first_button' => $_smarty_tpl->tpl_vars['hide_first_button']->value, 'hide_second_button' => $_smarty_tpl->tpl_vars['hide_second_button']->value, 'save' => $_smarty_tpl->tpl_vars['id']->value), 0);
            ?>

    <?php 
        }
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>
    
</form>

<?php 
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>

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

    <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('hook', array('name' => "banners:update_notes"));
            $_block_repeat = true;
            echo smarty_block_hook(array('name' => "banners:update_notes"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

    <?php 
                echo $_smarty_tpl->__("banner_details_notes", array("[layouts_href]" => fn_url('block_manager.manage')));
                ?>

    <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_hook(array('name' => "banners:update_notes"), $_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_notes(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


<?php 
        if (!$_smarty_tpl->tpl_vars['id']->value) {
            ?>
    <?php 
            $_smarty_tpl->tpl_vars["title"] = new Smarty_variable($_smarty_tpl->__("banners.new_banner"), null, 0);
        } else {
            ?>
    <?php 
            ob_start();
            echo $_smarty_tpl->__("banners.editing_banner");
            $_tmp1 = ob_get_clean();
            $_smarty_tpl->tpl_vars["title"] = new Smarty_variable($_tmp1 . ": " . (string) $_smarty_tpl->tpl_vars['banner']->value['banner'], null, 0);
        }
        echo $_smarty_tpl->getSubTemplate("common/mainbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => $_smarty_tpl->tpl_vars['title']->value, 'content' => Smarty::$_smarty_vars['capture']['mainbox'], 'buttons' => Smarty::$_smarty_vars['capture']['buttons'], 'select_languages' => true), 0);
        ?>



<?php 
    }