EliteConf
 All Data Structures Namespaces Files Functions Variables Pages
main.php
Go to the documentation of this file.
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 <head>
4  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5  <meta name="language" content="en" />
6 
7  <!-- blueprint CSS framework -->
8  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/screen.css" media="screen, projection" />
9  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/print.css" media="print" />
10  <!--[if lt IE 8]>
11  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/ie.css" media="screen, projection" />
12  <![endif]-->
13 
14  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/main.css" />
15  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/form.css" />
16  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/buttons.css" />
17  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/icons.css" />
18  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/tables.css" />
19 
20  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/mbmenu.css" />
21  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/mbmenu_iestyles.css" />
22 
23 
24  <title><?php echo CHtml::encode($this->pageTitle); ?></title>
25 </head>
26 
27 <body>
28 
29 <div class="container" id="page">
30  <div id="topnav">
31  <div class="topnav_text"><a href='#'>Home</a> | <a href='#'>My Account</a> | <a href='#'>Settings</a> | <a href='#'>Logout</a> </div>
32  </div>
33  <div id="header">
34  <div id="logo"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/logo.png"></img><?php //echo CHtml::encode(Yii::app()->name); ?></div>
35  </div><!-- header -->
36  <!--
37 <?php /*$this->widget('application.extensions.mbmenu.MbMenu',array(
38  'items'=>array(
39  array('label'=>'Dashboard', 'url'=>array('/site/index'),'itemOptions'=>array('class'=>'test')),
40  array('label'=>'Theme Pages',
41  'items'=>array(
42  array('label'=>'Graphs & Charts', 'url'=>array('/site/page', 'view'=>'graphs'),'itemOptions'=>array('class'=>'icon_chart')),
43  array('label'=>'Form Elements', 'url'=>array('/site/page', 'view'=>'forms')),
44  array('label'=>'Interface Elements', 'url'=>array('/site/page', 'view'=>'interface')),
45  array('label'=>'Error Pages', 'url'=>array('/site/page', 'view'=>'Demo 404 page')),
46  array('label'=>'Calendar', 'url'=>array('/site/page', 'view'=>'calendar')),
47  array('label'=>'Buttons & Icons', 'url'=>array('/site/page', 'view'=>'buttons_and_icons')),
48  ),
49  ),
50  array('label'=>'Gii Generated Module',
51  'items'=>array(
52  array('label'=>'Items', 'url'=>array('/theme/index')),
53  array('label'=>'Create Item', 'url'=>array('/theme/create')),
54  array('label'=>'Manage Items', 'url'=>array('/theme/admin')),
55  ),
56  ),
57  array('label'=>'Contact', 'url'=>array('/site/contact')),
58  array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
59  array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest),
60  ),
61  )); */?> --->
62  <div id="mainmenu">
63 
64  <?php $this->widget('zii.widgets.CMenu',array(
65  'items'=>array(
66  array('label'=>'Dashboard', 'url'=>array('/site/index')),
67  array('label'=>'Graphs', 'url'=>array('/site/page', 'view'=>'graphs'),'itemOptions'=>array('class'=>'icon_chart')),
68  array('label'=>'Form', 'url'=>array('/site/page', 'view'=>'forms')),
69  array('label'=>'Interface', 'url'=>array('/site/page', 'view'=>'interface')),
70  array('label'=>'Buttons & Icons', 'url'=>array('/site/page', 'view'=>'buttons_and_icons')),
71  array('label'=>'Error Pages', 'url'=>array('/site/page', 'view'=>'Demo 404 page')),
72  ),
73  )); ?>
74  </div> <!--mainmenu -->
75  <?php if(isset($this->breadcrumbs)):?>
76  <?php $this->widget('zii.widgets.CBreadcrumbs', array(
77  'links'=>$this->breadcrumbs,
78  )); ?><!-- breadcrumbs -->
79  <?php endif?>
80 
81  <?php echo $content; ?>
82 
83  <div id="footer">
84  Copyright &copy; <?php echo date('Y'); ?> by webapplicationthemes.com<br/>
85  All Rights Reserved.<br/>
86  <?php echo Yii::powered(); ?>
87  </div><!-- footer -->
88 
89 </div><!-- page -->
90 
91 </body>
92 </html>