<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <?php
        echo $view['actions']->render(
                $view['router']->generate('setReferers', array(), true)
        );
        echo $view['actions']->render(
                $view['router']->generate('setHeader', array(), true)
        );
        ?>
        <meta name="author" content="Tran Doan San" />
        <meta name="robots" content="index,follow" />
        <meta name="email" content="congcongsocial@gmail.com" />
        <meta name="mobile" content="0984218695" />
        <link href="<?php echo $view->escape('/assetic/css/bootstrap.min.css'); ?>" rel="stylesheet" />
        <link href="<?php echo $view->escape('/assetic/css/styles.css'); ?>" rel="stylesheet" />
        <link href="<?php echo $view->escape('/assetic/fonts/fontawesome.css'); ?>" rel="stylesheet" />
        <link href="<?php echo $view->escape('/assetic/css/preloader.css'); ?>" rel="stylesheet" type="text/css" />
        <!--[if lt IE 9]>
        <script src="<?php echo $view->escape('/assetic/js/html5shiv.js'); ?>"></script>
        <script src="<?php echo $view->escape('/assetic/js/respond.min.js'); ?>"></script>
        <![endif]-->
        <script src="<?php echo $view->escape('/assetic/js/jquery-1.11.1.min.js'); ?>"></script>
        <script src="<?php echo $view->escape('/editor/ckeditor.js'); ?>"></script>
        <script src="<?php echo $view->escape('/assetic/js/jquery.preloader.js'); ?>" type="text/javascript"></script>	
    </head>
    <body>
        <div id="overlay" style="display: none;"><div class="col-sm-12 col-lg-12 main" style="margin-top: 20px;"><button id="loadingIcon" class="btn btn-default btn-lg" style="margin: auto; display: inherit; background: none; border: none;"><i class="fa fa-ge fa-spin fa-5x" style="color:#FFF"></i></button></div></div>
        <nav class="navbar navbar-inverse" role="navigation">
            <div class="container-fluid container">
                <?php
                echo $view['actions']->render(
                        $view['router']->generate('setLogo', array(), true)
                );
                ?>
                <div class="navbar-header">
                    <!--<a class="navbar-brand" href="#"><span></span></a>-->
                    <?php
                    echo $view['actions']->render(
                            $view['router']->generate('_topMenu', array(), true)
                    );
                    ?> 
                    <?php
                    echo $view['actions']->render(
                            $view['router']->generate('userMenu', array(), true)
                    );
                    ?>
                </div>
            </div><!-- /.container-fluid -->
        </nav>
        <?php $view['slots']->output('_content'); ?>
        <div class="col-sm-12 col-lg-12 main bggg" id="footerContents">
            <div class="container" style="padding-top: 15px; color: #999;">
                <div class="col-lg-3">
                    <?php
                    echo $view['actions']->render(
                            $view['router']->generate('setLang', array(), true)
                    );
                    ?>
                </div>
                <div class="col-lg-3">
                    <?php
                    echo $view['actions']->render(
                            $view['router']->generate('popular', array(), true)
                    );
                    ?>
                </div>
                <?php
                echo $view['actions']->render(
                        $view['router']->generate('footerHelp', array(), true)
                );
                ?>
            </div>
        </div>	<!--/.main-->
        <div class="col-sm-12 col-lg-12 main" id="copyRight">
            <div class="container" style="color: #999;">
                <div class="col-lg-12" style=" margin: 20px 0px;">
                    <?php
                    echo $view['actions']->render(
                            $view['router']->generate('copyRight', array(), true)
                    );
                    ?>
                </div>
            </div>
        </div>	<!--/.main-->
        <script src="<?php echo $view->escape('/assetic/js/bootstrap.min.js'); ?>"></script>
        <script>
            (function(i, s, o, g, r, a, m) {
                i['GoogleAnalyticsObject'] = r;
                i[r] = i[r] || function() {
                    (i[r].q = i[r].q || []).push(arguments)
                }, i[r].l = 1 * new Date();
                a = s.createElement(o),
                        m = s.getElementsByTagName(o)[0];
                a.async = 1;
                a.src = g;
                m.parentNode.insertBefore(a, m)
            })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

            ga('create', 'UA-55911511-5', 'auto');
            ga('send', 'pageview');

        </script>
    </body>
</html>