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

        <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">
            <!-- BEGIN TOP NAVIGATION BAR -->
            <div class="navbar-inner">
                <div class="container-fluid">
                    <!-- BEGIN LOGO -->
                    <a class="brand" href="index.html">
                        <img src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/img/logo.png" alt="logo" />
                    </a>
                    <!-- END LOGO -->
                    <!-- BEGIN RESPONSIVE MENU TOGGLER -->
                    <a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">
                        <img src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/img/menu-toggler.png" alt="" />
                    </a>          
                    <!-- END RESPONSIVE MENU TOGGLER -->            
                    <!-- BEGIN TOP NAVIGATION MENU -->              
                    <ul class="nav pull-right">
                        <!-- BEGIN NOTIFICATION DROPDOWN -->   
                        <li class="dropdown" id="header_notification_bar">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="icon-warning-sign"></i>
                                <span class="badge">6</span>
                            </a>
                            <ul class="dropdown-menu extended notification">
                                <li>
                                    <p>You have 14 new notifications</p>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="label label-success"><i class="icon-plus"></i></span>
                                        New user registered. 
                                        <span class="time">Just now</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="label label-important"><i class="icon-bolt"></i></span>
                                        Server #12 overloaded. 
                                        <span class="time">15 mins</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="label label-warning"><i class="icon-bell"></i></span>
                                        Server #2 not respoding.
                                        <span class="time">22 mins</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="label label-info"><i class="icon-bullhorn"></i></span>
                                        Application error.
                                        <span class="time">40 mins</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="label label-important"><i class="icon-bolt"></i></span>
                                        Database overloaded 68%. 
                                        <span class="time">2 hrs</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="label label-important"><i class="icon-bolt"></i></span>
                                        2 user IP blocked.
                                        <span class="time">5 hrs</span>
                                    </a>
                                </li>
                                <li class="external">
                                    <a href="#">See all notifications <i class="m-icon-swapright"></i></a>
                                </li>
                            </ul>
                        </li>
                        <!-- END NOTIFICATION DROPDOWN -->
                        <!-- BEGIN INBOX DROPDOWN -->
                        <li class="dropdown" id="header_inbox_bar">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="icon-envelope-alt"></i>
                                <span class="badge">5</span>
                            </a>
                            <ul class="dropdown-menu extended inbox">
                                <li>
                                    <p>You have 12 new messages</p>
                                </li>
                                <li>
                                    <a href="inbox.html?a=view">
                                        <span class="photo"><img src="./assets/img/avatar2.jpg" alt="" /></span>
                                        <span class="subject">
                                            <span class="from">Lisa Wong</span>
                                            <span class="time">Just Now</span>
                                        </span>
                                        <span class="message">
                                            Vivamus sed auctor nibh congue nibh. auctor nibh
                                            auctor nibh...
                                        </span>  
                                    </a>
                                </li>
                                <li>
                                    <a href="inbox.html?a=view">
                                        <span class="photo"><img src="./assets/img/avatar3.jpg" alt="" /></span>
                                        <span class="subject">
                                            <span class="from">Richard Doe</span>
                                            <span class="time">16 mins</span>
                                        </span>
                                        <span class="message">
                                            Vivamus sed congue nibh auctor nibh congue nibh. auctor nibh
                                            auctor nibh...
                                        </span>  
                                    </a>
                                </li>
                                <li>
                                    <a href="inbox.html?a=view">
                                        <span class="photo"><img src="./assets/img/avatar1.jpg" alt="" /></span>
                                        <span class="subject">
                                            <span class="from">Bob Nilson</span>
                                            <span class="time">2 hrs</span>
                                        </span>
                                        <span class="message">
                                            Vivamus sed nibh auctor nibh congue nibh. auctor nibh
                                            auctor nibh...
                                        </span>  
                                    </a>
                                </li>
                                <li class="external">
                                    <a href="inbox.html">See all messages <i class="m-icon-swapright"></i></a>
                                </li>
                            </ul>
                        </li>
                        <!-- END INBOX DROPDOWN -->
                        <!-- BEGIN TODO DROPDOWN -->
                        <li class="dropdown" id="header_task_bar">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="icon-tasks"></i>
                                <span class="badge">5</span>
                            </a>
                            <ul class="dropdown-menu extended tasks">
                                <li>
                                    <p>You have 12 pending tasks</p>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="task">
                                            <span class="desc">New release v1.2</span>
                                            <span class="percent">30%</span>
                                        </span>
                                        <span class="progress progress-success ">
                                            <span style="width: 30%;" class="bar"></span>
                                        </span>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="task">
                                            <span class="desc">Application deployment</span>
                                            <span class="percent">65%</span>
                                        </span>
                                        <span class="progress progress-danger progress-striped active">
                                            <span style="width: 65%;" class="bar"></span>
                                        </span>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="task">
                                            <span class="desc">Mobile app release</span>
                                            <span class="percent">98%</span>
                                        </span>
                                        <span class="progress progress-success">
                                            <span style="width: 98%;" class="bar"></span>
                                        </span>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="task">
                                            <span class="desc">Database migration</span>
                                            <span class="percent">10%</span>
                                        </span>
                                        <span class="progress progress-warning progress-striped">
                                            <span style="width: 10%;" class="bar"></span>
                                        </span>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="task">
                                            <span class="desc">Web server upgrade</span>
                                            <span class="percent">58%</span>
                                        </span>
                                        <span class="progress progress-info">
                                            <span style="width: 58%;" class="bar"></span>
                                        </span>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="task">
                                            <span class="desc">Mobile development</span>
                                            <span class="percent">85%</span>
                                        </span>
                                        <span class="progress progress-success">
                                            <span style="width: 85%;" class="bar"></span>
                                        </span>
                                    </a>
                                </li>
                                <li class="external">
                                    <a href="#">See all tasks <i class="m-icon-swapright"></i></a>
                                </li>
                            </ul>
                        </li>
                        <!-- END TODO DROPDOWN -->

                        <!-- BEGIN USER LOGIN DROPDOWN -->
                        <li class="dropdown user">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <img alt="" src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/img/avatar1_small.jpg" />
                                <span class="username"><?php echo CHtml::encode(Yii::app()->user->name); ?></span>
                                <i class="icon-angle-down"></i>
                            </a>
                            <ul class="dropdown-menu">
                                <li><?php echo CHtml::link(CHtml::tag('i', array('class' => 'icon-user'), '') . ' ' . Yii::t('factuges', 'Perfil'), Yii::app()->getModule('usuario')->urlPerfil); ?></li>
                                <li><a href="extra_profile.html"><i class="icon-user"></i> My Profile</a></li>
                                <li><a href="calendar.html"><i class="icon-calendar"></i> My Calendar</a></li>
                                <li><a href="inbox.html"><i class="icon-envelope"></i> My Inbox(3)</a></li>
                                <li><a href="#"><i class="icon-tasks"></i> My Tasks</a></li>
                                <li class="divider"></li>
                                <li><?php echo CHtml::link(Yii::t('factuges', 'Salir'), Yii::app()->getModule('usuario')->urlLogout); ?></li>
                            </ul>
                        </li>
                        <!-- END USER LOGIN DROPDOWN -->

                    </ul>
                    <!-- END TOP NAVIGATION MENU --> 
                </div>
            </div>
            <!-- END TOP NAVIGATION BAR -->
        </div>
        <!-- END HEADER -->
        <!-- BEGIN CONTAINER -->   
        <div class="page-container row-fluid">
            <!-- BEGIN SIDEBAR -->
            <div class="page-sidebar nav-collapse collapse">
                <!-- BEGIN SIDEBAR MENU -->         
                <ul>
                    <li>
                        <!-- BEGIN SIDEBAR TOGGLER BUTTON -->
                        <div class="sidebar-toggler hidden-phone"></div>
                        <!-- BEGIN SIDEBAR TOGGLER BUTTON -->
                    </li>
                    <li>
                        <!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->
                        <form class="sidebar-search">
                            <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>
                    <li class="start ">
                        <a href="index.html">
                            <i class="icon-home"></i> 
                            <span class="title">Dashboard</span>
                        </a>
                    </li>
                    <li class="active ">
                        <a href="javascript:;">
                            <i class="icon-cogs"></i> 
                            <span class="title">Layouts</span>
                            <span class="selected"></span>
                            <span class="arrow open"></span>
                        </a>
                        <ul class="sub-menu">
                            <li >
                                <a href="layout_horizontal_sidebar_menu.html">
                                    Horzontal & Sidebar Menu                     </a>
                            </li>
                            <li >
                                <a href="layout_horizontal_menu1.html">
                                    Horzontal Menu 1                    </a>
                            </li>
                            <li >
                                <a href="layout_horizontal_menu2.html">
                                    Horzontal Menu 2                    </a>
                            </li>
                            <li >
                                <a href="layout_promo.html">
                                    Promo Page                    </a>
                            </li>
                            <li >
                                <a href="layout_email.html">
                                    Email Templates                     </a>
                            </li>
                            <li >
                                <a href="layout_sidebar_closed.html">
                                    Sidebar Closed Page                    </a>
                            </li>
                            <li class="active">
                                <a href="layout_blank_page.html">
                                    Blank Page                    </a>
                            </li>
                            <li >
                                <a href="layout_full_width_page.html">
                                    Full Width Page                     </a>
                            </li>
                        </ul>
                    </li>
                    <li class="">
                        <a href="javascript:;">
                            <i class="icon-bookmark-empty"></i> 
                            <span class="title">UI Features</span>
                            <span class="arrow "></span>
                        </a>
                        <ul class="sub-menu">
                            <li >
                                <a href="ui_general.html">
                                    General                    </a>
                            </li>
                            <li >
                                <a href="ui_buttons.html">
                                    Buttons                    </a>
                            </li>
                            <li >
                                <a href="ui_tabs_accordions.html">
                                    Tabs & Accordions                   </a>
                            </li>
                            <li >
                                <a href="ui_jqueryui.html">
                                    jQuery UI Components                   </a>
                            </li>
                            <li >
                                <a href="ui_sliders.html">
                                    Sliders                    </a>
                            </li>
                            <li >
                                <a href="ui_tiles.html">
                                    Tiles                   </a>
                            </li>
                            <li >
                                <a href="ui_typography.html">
                                    Typography                    </a>
                            </li>
                            <li >
                                <a href="ui_tree.html">
                                    Tree View                     </a>
                            </li>
                            <li >
                                <a href="ui_nestable.html">
                                    Nestable List                    </a>
                            </li>
                        </ul>
                    </li>
                    <li class="">
                        <a href="javascript:;">
                            <i class="icon-table"></i> 
                            <span class="title">Form Stuff</span>
                            <span class="arrow "></span>
                        </a>
                        <ul class="sub-menu">
                            <li >
                                <a href="form_layout.html">
                                    Form Layouts                     </a>
                            </li>
                            <li >
                                <a href="form_samples.html">
                                    Advance Form Samples                   </a>
                            </li>
                            <li >
                                <a href="form_component.html">
                                    Form Components                     </a>
                            </li>
                            <li >
                                <a href="form_wizard.html">
                                    Form Wizard                   </a>
                            </li>
                            <li >
                                <a href="form_validation.html">
                                    Form Validation                     </a>
                            </li>
                            <li >
                                <a href="form_fileupload.html">
                                    Multiple File Upload                   </a>
                            </li>
                            <li >
                                <a href="form_dropzone.html">
                                    Dropzone File Upload                   </a>
                            </li>
                        </ul>
                    </li>
                    <li class="">
                        <a href="javascript:;">
                            <i class="icon-briefcase"></i> 
                            <span class="title">Pages</span>
                            <span class="arrow "></span>
                        </a>
                        <ul class="sub-menu">
                            <li >
                                <a href="page_blog.html">
                                    <i class="icon-comments"></i>
                                    Blog                    </a>
                            </li>
                            <li >
                                <a href="page_news.html">
                                    <i class="icon-coffee"></i>
                                    News                    </a>
                            </li>
                            <li >
                                <a href="page_calendar.html">
                                    <i class="icon-calendar"></i>
                                    Calendar                   </a>
                            </li>
                        </ul>
                    </li>
                    <li class="">
                        <a href="javascript:;">
                            <i class="icon-gift"></i> 
                            <span class="title">Extra</span>
                            <span class="arrow "></span>
                        </a>
                        <ul class="sub-menu">
                            <li >
                                <a href="inbox.html">
                                    User Inbox                    </a>
                            </li>
                            <li >
                                <a href="extra_profile.html">
                                    User Profile                     </a>
                            </li>
                            <li >
                                <a href="extra_faq.html">
                                    FAQ                     </a>
                            </li>
                            <li >
                                <a href="extra_search.html">
                                    Search Results                   </a>
                            </li>
                            <li >
                                <a href="extra_invoice.html">
                                    Invoice                    </a>
                            </li>
                            <li >
                                <a href="extra_pricing_table.html">
                                    Pricing Tables                   </a>
                            </li>
                            <li >
                                <a href="extra_image_manager.html">
                                    Image Manager                    </a>
                            </li>
                            <li >
                                <a href="extra_404.html">
                                    404 Page                   </a>
                            </li>
                            <li >
                                <a href="extra_500.html">
                                    500 Page                   </a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="active" href="javascript:;">
                            <i class="icon-briefcase"></i> 
                            <span class="title">3 Level Menu</span>
                            <span class="arrow "></span>
                        </a>
                        <ul class="sub-menu">
                            <li>
                                <a href="javascript:;">
                                    Item 1
                                    <span class="arrow"></span>
                                </a>
                                <ul class="sub-menu">
                                    <li><a href="#">Sample Link 1</a></li>
                                    <li><a href="#">Sample Link 2</a></li>
                                    <li><a href="#">Sample Link 3</a></li>
                                </ul>
                            </li>
                            <li>
                                <a href="javascript:;">
                                    Item 1
                                    <span class="arrow"></span>
                                </a>
                                <ul class="sub-menu">
                                    <li><a href="#">Sample Link 1</a></li>
                                    <li><a href="#">Sample Link 1</a></li>
                                    <li><a href="#">Sample Link 1</a></li>
                                </ul>
                            </li>
                            <li>
                                <a href="#">
                                    Item 3
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="javascript:;">
                            <i class="icon-folder-open"></i> 
                            <span class="title">4 Level Menu</span>
                            <span class="arrow "></span>
                        </a>
                        <ul class="sub-menu">
                            <li>
                                <a href="javascript:;">
                                    <i class="icon-cogs"></i> 
                                    Item 1
                                    <span class="arrow"></span>
                                </a>
                                <ul class="sub-menu">
                                    <li>
                                        <a href="javascript:;">
                                            <i class="icon-user"></i>
                                            Sample Link 1
                                            <span class="arrow"></span>
                                        </a>
                                        <ul class="sub-menu">
                                            <li><a href="#"><i class="icon-remove"></i> Sample Link 1</a></li>
                                            <li><a href="#"><i class="icon-pencil"></i> Sample Link 1</a></li>
                                            <li><a href="#"><i class="icon-edit"></i> Sample Link 1</a></li>
                                        </ul>
                                    </li>
                                    <li><a href="#"><i class="icon-user"></i>  Sample Link 1</a></li>
                                    <li><a href="#"><i class="icon-external-link"></i>  Sample Link 2</a></li>
                                    <li><a href="#"><i class="icon-bell"></i>  Sample Link 3</a></li>
                                </ul>
                            </li>
                            <li>
                                <a href="javascript:;">
                                    <i class="icon-globe"></i> 
                                    Item 2
                                    <span class="arrow"></span>
                                </a>
                                <ul class="sub-menu">
                                    <li><a href="#"><i class="icon-user"></i>  Sample Link 1</a></li>
                                    <li><a href="#"><i class="icon-external-link"></i>  Sample Link 1</a></li>
                                    <li><a href="#"><i class="icon-bell"></i>  Sample Link 1</a></li>
                                </ul>
                            </li>
                            <li>
                                <a href="#">
                                    <i class="icon-folder-open"></i>
                                    Item 3
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="">
                        <a href="javascript:;">
                            <i class="icon-th-list"></i> 
                            <span class="title">Data Tables</span>
                            <span class="arrow "></span>
                        </a>
                        <ul class="sub-menu">
                            <li >
                                <a href="table_basic.html">
                                    Basic Tables                     </a>
                            </li>
                            <li >
                                <a href="table_managed.html">
                                    Managed Tables                   </a>
                            </li>
                            <li >
                                <a href="table_editable.html">
                                    Editable Tables                     </a>
                            </li>
                        </ul>
                    </li>
                    <li class="">
                        <a href="javascript:;">
                            <i class="icon-th-list"></i> 
                            <span class="title">Portlets</span>
                            <span class="arrow "></span>
                        </a>
                        <ul class="sub-menu">
                            <li >
                                <a href="portlet_general.html">
                                    General Portlets                    </a>
                            </li>
                            <li >
                                <a href="portlet_draggable.html">
                                    Draggable Portlets                     </a>
                            </li>
                        </ul>
                    </li>
                    <li class="">
                        <a href="javascript:;">
                            <i class="icon-map-marker"></i> 
                            <span class="title">Maps</span>
                            <span class="arrow "></span>
                        </a>
                        <ul class="sub-menu">
                            <li >
                                <a href="maps_google.html">
                                    Google Maps                   </a>
                            </li>
                            <li >
                                <a href="maps_vector.html">
                                    Vector Maps                   </a>
                            </li>
                        </ul>
                    </li>
                    <li class="">
                        <a href="charts.html">
                            <i class="icon-bar-chart"></i> 
                            <span class="title">Visual Charts</span>
                        </a>
                    </li>
                    <li class="">
                        <a href="login.html">
                            <i class="icon-user"></i> 
                            <span class="title">Login Page</span>
                        </a>
                    </li>
                </ul>
                <!-- END SIDEBAR MENU -->
            </div>
            <!-- END SIDEBAR -->
            <!-- BEGIN PAGE -->
            <div class="page-content">
                <!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
                <div id="portlet-config" class="modal hide">
                    <div class="modal-header">
                        <button data-dismiss="modal" class="close" type="button"></button>
                        <h3>portlet Settings</h3>
                    </div>
                    <div class="modal-body">
                        <p>Here will be a configuration form</p>
                    </div>
                </div>
                <!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
                <!-- BEGIN PAGE CONTAINER-->
                <div class="container-fluid">
                    <!-- BEGIN PAGE HEADER-->
                    <div class="row-fluid">
                        <div class="span12">
                            <!-- BEGIN STYLE CUSTOMIZER -->
                            <div class="color-panel hidden-phone">
                                <div class="color-mode-icons icon-color"></div>
                                <div class="color-mode-icons icon-color-close"></div>
                                <div class="color-mode">
                                    <p>THEME COLOR</p>
                                    <ul class="inline">
                                        <li class="color-black current color-default" data-style="default"></li>
                                        <li class="color-blue" data-style="blue"></li>
                                        <li class="color-brown" data-style="brown"></li>
                                        <li class="color-purple" data-style="purple"></li>
                                        <li class="color-white color-light" data-style="light"></li>
                                    </ul>
                                    <label class="hidden-phone">
                                        <input type="checkbox" class="header" checked value="" />
                                        <span class="color-mode-label">Fixed Header</span>
                                    </label>                   
                                </div>
                            </div>
                            <!-- END BEGIN STYLE CUSTOMIZER --> 

                            <!-- BEGIN PAGE TITLE & BREADCRUMB-->        
                            <h3 class="page-title">
                                <?php echo CHtml::encode($this->pageTitle); ?> 
                                <small>blank page</small>
                            </h3>

                            <?php if (isset($this->breadcrumbs)): ?>
                                <?php
                                $this->widget('bootstrap.widgets.TbBreadcrumbs', array(
                                    'homeLink' => CHtml::tag('i', array('class' => 'icon-home'), '') . CHtml::link(Yii::t('factuges', 'Home'), array('/site/index')),
                                    'tagName' => 'ul',
                                    'separator' => CHtml::tag('i', array('class' => 'icon-angle-right'), ''),
                                    'links' => $this->breadcrumbs,
                                    'htmlOptions' => array('class' => ''),
                                ));
                                ?><!-- breadcrumbs -->
                            <?php endif ?>                  
                            <!-- END PAGE TITLE & BREADCRUMB-->
                        </div>
                    </div>
                    <!-- END PAGE HEADER-->
                    <!-- 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>


