<?php defined('MW_PATH') || exit('No direct script access allowed');

/**
 * This file is part of the MailWizz EMA application.
 * 
 * @package MailWizz EMA
 * @author Serban George Cristian <cristian.serban@mailwizz.com> 
 * @link http://www.mailwizz.com/
 * @copyright 2013-2014 MailWizz EMA (http://www.mailwizz.com)
 * @license http://www.mailwizz.com/license/
 * @since 1.0
 */
 
?>

<!DOCTYPE html>
<html>
    <head>
        <meta charset="<?php echo Yii::app()->charset;?>">
        <title><?php echo CHtml::encode($pageMetaTitle);?></title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="<?php echo CHtml::encode($pageMetaDescription);?>">
    </head>

  <body>
    
    <nav class="navbar header-nav-bar" role="navigation">
        <div class="navbar-header">
            <a href="<?php echo $this->createUrl('site/index');?>" class="navbar-brand"><?php echo CHtml::encode(Yii::app()->options->get('system.common.site_name'));?> <small><?php echo CHtml::encode(Yii::app()->options->get('system.common.site_tagline'));?></small></a>
        </div>
        <ul class="nav navbar-nav">
            <li class="<?php echo strpos($this->route, 'articles') === 0 ? 'active':'';?>"><a href="<?php echo $this->createUrl('articles/index');?>" title="Articles">Articles</a></li>
        </ul>
        <ul class="nav navbar-nav pull-right">
            <li><a href="<?php echo Yii::app()->apps->getAppUrl('customer');?>" title="Customers area">Customers area</a></li>
        </ul>
        <div class="clearfix"><!-- --></div>
    </nav>
    
    <div class="row-fluid wrapper">
        <div class="top"><!-- --></div>
        <div class="main">
            <div class="hide-under-top">
                <div class="col-lg-1"></div>
                <div class="col-lg-10">
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <div class="page-content">
                                <div id="notify-container">
                                    <?php echo Yii::app()->notify->show();?>
                                </div>
                                <?php echo $content;?>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-1"></div>
            </div>
            <div class="clearfix"><!-- --></div>
        </div>
    </div>
    

  </body>
</html>