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">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
5 <meta name=
"language" content=
"en" />
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" />
11 <link rel=
"stylesheet" type=
"text/css" href=
"<?php echo Yii::app()->theme->baseUrl; ?>/css/ie.css" media=
"screen, projection" />
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" />
17 <title><?php echo CHtml::encode($this->
pageTitle); ?></title>
22 <div
class=
"container" id=
"page">
25 <div
id=
"logo"><?php echo CHtml::encode(Yii::app()->name); ?></div>
29 <?php $this->widget(
'zii.widgets.CMenu',array(
31 array(
'label'=>
'Home',
'url'=>array(
'/site/index')),
32 array(
'label'=>
'About',
'url'=>array(
'/site/page',
'view'=>
'about')),
33 array(
'label'=>
'Contact',
'url'=>array(
'/site/contact')),
34 array(
'label'=>
'Login',
'url'=>array(
'/site/login'),
'visible'=>Yii::app()->user->isGuest),
35 array(
'label'=>
'Logout ('.Yii::app()->user->name.
')',
'url'=>array(
'/site/logout'),
'visible'=>!Yii::app()->user->isGuest)
38 </div><!-- mainmenu -->
40 <?php $this->widget(
'zii.widgets.CBreadcrumbs', array(
44 <?php echo $content; ?>
47 Copyright © <?php echo date(
'Y'); ?> by My Company.<br/>
48 All Rights Reserved.<br/>
49 <?php echo Yii::powered(); ?>