<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="google" content="notranslate" />
        <title> <?=__($system->getPageTitle()); ?></title>

        <!-- Bootstrap CSS -->
        <link rel="stylesheet" href="<?=$system->getSkinPath(); ?>css/bootstrap.min.css"> 

        <!-- Main css -->
        <link rel="stylesheet" href="<?=$system->getSkinPath(); ?>css/style.css">

        <!-- Animate CSS -->
        <link rel="stylesheet" href="<?=$system->getSkinPath(); ?>css/animate.css">

        <!-- Font Awesome Icons CSS -->
        <link rel="stylesheet" href="<?=$system->getSkinPath(); ?>css/font-awesome.min.css">

        <!-- Magnific-popup CSS -->
        <link rel="stylesheet" href="<?=$system->getSkinPath(); ?>css/magnific-popup.css">

        <!-- Google Fonts Link -->
        <link href="https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900" rel="stylesheet" type="text/css">
        <link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700,900" rel="stylesheet" type="text/css">
        <!-- 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>


        <!-- PRE LOADER -->

        <div class="preloader">
            <div class="sk-spinner sk-spinner-pulse"></div>
        </div>



        <!-- Navigation Section -->

        <div class="navbar navbar-default navbar-static-top">
            <div class="container">

                <div class="navbar-header">
                    <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="icon icon-bar"></span>
                        <span class="icon icon-bar"></span>
                        <span class="icon icon-bar"></span>
                    </button>
                    <a href="index.php" class="navbar-brand"><?=__($system->getPageTitle()); ?></a>
                </div>

                <div class="collapse navbar-collapse">
                    <ul class="nav navbar-nav navbar-right">
                        <?=$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>





        <section id="content">
            <div class="container">
                <?=$contentContainer ?>
            </div>
        </section>




        <!-- Footer Section -->

        <footer>
            <div class="container">
                <div class="row">

                    <div class="col-md-12 col-sm-12">
                        <div class="footer-copyright">
                            <?php
                            if ($system->isLocaleSwitchable()) {
                            print(YalfLangSwitch::render());
                            }
                            ?>
                            <p class="small">
                                <?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()); }?>
                            </p>
                        </div>
                    </div>

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


        <!-- Back top -->

        <a href="#" class="go-top"><i class="fa fa-angle-up"></i></a>


        <!-- SCRIPTS -->

        <script src="<?=$system->getSkinPath(); ?>js/jquery.js"></script>
        <script src="<?=$system->getSkinPath(); ?>js/bootstrap.min.js"></script>
        <script src="<?=$system->getSkinPath(); ?>js/wow.min.js"></script>
        <script src="<?=$system->getSkinPath(); ?>js/isotope.js"></script>
        <script src="<?=$system->getSkinPath(); ?>js/imagesloaded.min.js"></script>
        <script src="<?=$system->getSkinPath(); ?>js/jquery.magnific-popup.min.js"></script>
        <script src="<?=$system->getSkinPath(); ?>js/magnific-popup-options.js"></script>
        <script src="<?=$system->getSkinPath(); ?>js/custom.js"></script>

        <!-- 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>
