<?php /* @var $this Controller */ ?>
<!DOCTYPE html>
    <!--[if IE 8]> <html lang="<?php echo Yii::app()->language; ?>" class="ie8"> <![endif]-->
    <!--[if IE 9]> <html lang="<?php echo Yii::app()->language; ?>" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="<?php echo Yii::app()->language; ?>"> <!--<![endif]-->

    <!-- BEGIN HEAD -->
    <head>
        <meta charset="utf-8" />
        <title><?php echo CHtml::encode($this->pageTitle); ?></title>   

        <!-- BEGIN GLOBAL MANDATORY STYLES -->
        <?php Yii::app()->bootstrap->registerAllCss(); ?>

        <link href="<?php echo Yii::app()->theme->baseUrl; ?>/assets/plugins/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo Yii::app()->theme->baseUrl; ?>/assets/css/style-metro.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo Yii::app()->theme->baseUrl; ?>/assets/css/style.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo Yii::app()->theme->baseUrl; ?>/assets/css/style-responsive.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo Yii::app()->theme->baseUrl; ?>/assets/css/themes/default.css" rel="stylesheet" type="text/css" id="style_color"/>
        <link href="<?php echo Yii::app()->theme->baseUrl; ?>/assets/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
        <!-- END GLOBAL MANDATORY STYLES -->

        <!-- BEGIN PAGE LEVEL STYLES -->
        <link href="<?php echo Yii::app()->theme->baseUrl; ?>/assets/css/pages/error.css" rel="stylesheet" type="text/css"/>
        <!-- END PAGE LEVEL STYLES -->
        <link rel="shortcut icon" href="<?php echo Yii::app()->theme->baseUrl; ?>/assets/favicon.ico" />
    </head>

    <!-- BEGIN BODY -->
    <body class="fixed-top">

        <!-- BEGIN HEADER -->
        <div class="header navbar navbar-inverse navbar-fixed-top">
        </div>
        <!-- END HEADER -->
        <!-- BEGIN CONTAINER -->   
        <div class="page-container row-fluid full-width-page">
            <!-- BEGIN EMPTY PAGE SIDEBAR -->
            <div class="page-sidebar nav-collapse collapse">
                <ul>
                    <li>
                        <!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->
                        <form class="sidebar-search visible-phone visible-tablet">
                            <div class="input-box">
                                <a href="javascript:;" class="remove"></a>
                                <input type="text" placeholder="Search..." />            
                                <input type="button" class="submit" value=" " />
                            </div>
                        </form>
                        <!-- END RESPONSIVE QUICK SEARCH FORM -->
                    </li>
                </ul>
            </div>
            <!-- END EMPTY PAGE SIDEBAR -->
            <!-- BEGIN PAGE -->
            <div class="page-content">
                <!-- BEGIN PAGE CONTAINER-->
                <div class="container-fluid">                    
                    <!-- BEGIN PAGE CONTENT-->
                    <div class="row-fluid">
                        <div class="span12">
                            <?php echo $content; ?>
                        </div>
                    </div>
                    <!-- END PAGE CONTENT-->
                </div>
                <!-- END PAGE CONTAINER--> 
            </div>
            <!-- END PAGE -->    
        </div>
        <!-- END CONTAINER -->
        <!-- BEGIN FOOTER -->
        <div class="footer">
            2013 &copy; Metronic by keenthemes.
            <div class="span pull-right">
                <span class="go-top"><i class="icon-angle-up"></i></span>
            </div>
        </div>
        <!-- END FOOTER -->        


        <!-- BEGIN CORE PLUGINS -->
        <?php Yii::app()->clientScript->coreScriptPosition = CClientScript::POS_END; ?>
        <?php Yii::app()->clientScript->registerCoreScript('jquery'); ?>
        <?php Yii::app()->clientScript->registerCoreScript('jquery.ui'); ?>
        <?php Yii::app()->bootstrap->registerCoreScripts(); ?>

        <!--[if lt IE 9]>
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/plugins/excanvas.js"></script>
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/plugins/respond.js"></script>  
        <![endif]-->

        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/plugins/breakpoints/breakpoints.js" type="text/javascript"></script>  

        <!-- IMPORTANT! jquery.slimscroll.min.js depends on jquery-ui-1.10.1.custom.min.js --> 
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/plugins/jquery.blockui.js" type="text/javascript"></script>  
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/plugins/jquery.cookie.js" type="text/javascript"></script>
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/plugins/uniform/jquery.uniform.min.js" type="text/javascript" ></script> 
        <!-- END CORE PLUGINS -->

        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/scripts/app.js"></script>      
        <script>
            jQuery(document).ready(function() {
                App.init();
            });
        </script>
        <!-- END JAVASCRIPTS -->
    </body>
    <!-- END BODY -->
</html>


