EliteConf
 All Data Structures Namespaces Files Functions Variables Pages
main.php
Go to the documentation of this file.
1 <?php /* @var $this Controller */ ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6  <meta name="language" content="en" />
7 
8  <!-- blueprint CSS framework -->
9  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
10  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
11  <!--[if lt IE 8]>
12  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
13  <![endif]-->
14 
15  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
16  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
17 
18  <title><?php echo CHtml::encode($this->pageTitle); ?></title>
19 </head>
20 
21 <body>
22 
23 <div class="container" id="page">
24 
25  <div id="header">
26  <div id="logo"><?php echo CHtml::encode(Yii::app()->name); ?></div>
27  </div><!-- header -->
28 
29  <div id="mainmenu">
30  <?php $this->widget('zii.widgets.CMenu',array(
31  'items'=>array(
32  array('label'=>'Home', 'url'=>array('/home/index'), 'visible'=>!Yii::app()->user->isGuest),
33  array('label'=>'Conferences', 'url'=>array('/conference/index'), 'visible'=>!Yii::app()->user->isGuest),
34  array('label'=>'Papers', 'url'=>array('/paper/index'), 'visible'=>!Yii::app()->user->isGuest),
35  array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about'), 'visible'=>!Yii::app()->user->isGuest),
36  array('label'=>'Contact', 'url'=>array('/site/contact'), 'visible'=>!Yii::app()->user->isGuest),
37  array('label'=>'Welcome to EliteConf Conference Management System', /*'url'=>array('/site/login'),*/ 'visible'=>Yii::app()->user->isGuest),
38  array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
39  ),
40  )); ?>
41  </div><!-- mainmenu -->
42  <?php if(isset($this->breadcrumbs)):?>
43  <?php /*$this->widget('zii.widgets.CBreadcrumbs', array(
44  'links'=>$this->breadcrumbs,
45  ));*/ ?><!-- breadcrumbs -->
46  <?php endif?>
47 
48  <?php echo $content; ?>
49 
50  <div class="clear"></div>
51 
52  <div id="footer">
53  Copyright &copy; <?php echo date('Y'); ?> by Hacked Hard.<br/>
54  All Rights Reserved.<br/>
55  <?php echo Yii::powered(); ?>
56  </div><!-- footer -->
57 
58 </div><!-- page -->
59 
60 </body>
61 </html>