3 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:lang=
"en" lang=
"en">
5 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
6 <meta name=
"language" content=
"en" />
8 <link rel=
"stylesheet" type=
"text/css" href=
"<?php echo Yii::app()->theme->baseUrl; ?>/css/styles.css" />
10 <title><?php echo CHtml::encode($this->
pageTitle); ?></title>
12 <?php Yii::app()->bootstrap->register(); ?>
17 <?php $this->widget(
'bootstrap.widgets.TbNavbar',array(
20 'class'=>
'bootstrap.widgets.TbMenu',
22 array(
'label'=>
'Home',
'url'=>array(
'/site/index')),
23 array(
'label'=>
'About',
'url'=>array(
'/site/page',
'view'=>
'about')),
24 array(
'label'=>
'Contact',
'url'=>array(
'/site/contact')),
25 array(
'label'=>
'Login',
'url'=>array(
'/site/login'),
'visible'=>Yii::app()->user->isGuest),
26 array(
'label'=>
'Logout ('.Yii::app()->user->name.
')',
'url'=>array(
'/site/logout'),
'visible'=>!Yii::app()->user->isGuest)
32 <div
class=
"container" id=
"page">
35 <?php $this->widget(
'bootstrap.widgets.TbBreadcrumbs', array(
40 <?php echo $content; ?>
42 <div
class=
"clear"></div>
45 Copyright © <?php echo date(
'Y'); ?> by My Company.<br/>
47 <?php echo Yii::powered(); ?>