<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <meta name="google" content="notranslate" />
        <link rel="apple-touch-icon" sizes="76x76" href="<?=$system->getSkinPath(); ?>assets/img/apple-icon.png">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>
            <?=__($system->getPageTitle()); ?>
        </title>
        
        <!-- CSS Files -->
         <!-- Bootstrap core CSS -->
        <link href="<?=$system->getSkinPath(); ?>css/bootstrap.css" rel="stylesheet">
        
        <!-- Ubilling custom styles -->
        <link href="<?=$system->getSkinPath(); ?>assets/css/ubilling.css" rel="stylesheet" />
        <script src="<?=$system->getSkinPath(); ?>assets/js/core/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>
        <script type="text/javascript" src="modules/jsc/dt3/datatables.min.js"></script>
        <script src="modules/jsc/sorttable.js" language="javascript"></script>
    </head>

    <body class="">
        <div class="wrapper ">
            <div class="navbar-nav bd-navbar-nav flex-row" >
                <header class="navbar navbar-expand navbar-light bg-light flex-column flex-md-row bd-navbar">
                    <a class="navbar-brand" href="index.php"><?=__($system->getPageTitle()); ?></a>
                </header>
                
                    <ul class="nav">
                        <?=$system->renderMenu(); ?> 
                        
                        <?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>
            <div class="main-panel">
                <div class="content bd-masthead">
                            <?=$contentContainer ?>
                </div>
                <footer class="footer footer-black  footer-white ">
                    <div class="container-fluid">
                        <div class="row">
                            <nav class="footer-nav">
                                <?php
                                if ($system->isLocaleSwitchable()) {
                                 print(YalfLangSwitch::render());
                                }
                                ?>
                                <div style="float:left;"> </div>
                            </nav>
                            <div class="credits ml-auto">
                                <span class="copyright">
                                    <?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()); }?>
                                </span>
                            </div>
                        </div>
                    </div>
                </footer>
            </div>
        </div>

        <!-- JUI -->
        <link type="text/css" href="modules/jsc/jui/css/smoothness/jquery-ui-1.8.23.custom.css" rel="stylesheet" />
        <script type="text/javascript" language="javascript" src="modules/jsc/jui/js/jquery-ui-1.8.23.custom.min.js"></script>
    </body>

</html>