<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <meta name="google" content="notranslate" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
        <title><?=__($system->getPageTitle()); ?></title>

        <!-- jQuery -->		
        <script type="text/javascript" language="javascript" src="modules/jsc/jquery/jquery.min.js"></script>
        <!-- JQDT  -->
        <style type="text/css" title="currentStyle">
            @import "modules/jsc/dt3/css/jquery.dataTables_themeroller.css";
            @import "modules/jsc/dt3/css/jquery.dataTables.ub.css";
        </style>

        <!-- jQuery UI -->
        <link type="text/css" href="modules/jsc/jui3/jquery-ui.css" rel="stylesheet" />
        <script type="text/javascript" language="javascript" src="modules/jsc/jui3/jquery-ui.min.js"></script>


        <!-- JQDT  -->
        <style type="text/css" title="currentStyle">
            @import "modules/jsc/dt3/css/jquery.dataTables_themeroller.css";
            @import "modules/jsc/dt3/css/jquery.dataTables.ub.css";
        </style>
        <script type="text/javascript" src="modules/jsc/dt3/datatables.min.js"></script>

        <!-- timepicker -->
        <script type="text/javascript" src="modules/jsc/timepick/jquery.timepicker.min.js"></script>
        <link rel="stylesheet" type="text/css" href="modules/jsc/timepick/jquery.timepicker.css" />


        <!-- Base styles -->
        <link href="<?=$system->getSkinPath(); ?>ubilling.css" rel="stylesheet" />
        <link href="<?=$system->getSkinPath(); ?>void.css" rel="stylesheet" />
        <script src="modules/jsc/sorttable.js" language="javascript"></script>
    </head>
    <body>
        <div class="logo">
            <?=$system->renderLogo(); ?>
        </div>
        <div class="navigation">
            <ul class="nav">
                <?=$system->renderMenu(false); ?> 

                <?php 
                if ($system->getAuthEnabled()) {
                if ($system->getLoggedInState()) {
                print(wf_tag('li').wf_link('?forceLogout=true',wf_img('skins/poweroff.png').' '.__('Log out'))).wf_tag('li',true);
                }
                }
                ?>
            </ul>     
        </div>

        <div class="content">
            <?=$contentContainer ?>
        </div>

        <div class="footer">
            <?php
            // Page generation time end
            $mtime = explode(' ', microtime());
            $totaltime = $mtime[0] + $mtime[1] - $starttime;
            print(__('GT:') . round($totaltime, 4));
            print(' QC: ' . $query_counter);
            ?> 
            <? if (XHPROF) { print($xhprof_link); } ?> 
            <? if (defined('SQL_DEBUG')) { print(web_SqlDebugIconShow()); }?>
        </div>



    </body>
</html>