28 <!-- <link rel=
"stylesheet" type=
"text/css" href=
"<?php //echo Yii::app()->theme->baseUrl; ?>/css/<?php //echo Yii::app()->config->get('style')?>.css" media=
"screen, projection" />-->
30 <link rel=
"stylesheet" type=
"text/css" href=
"<?php echo Yii::app()->theme->baseUrl; ?>/css/yii_style.css" media=
"screen, projection" />
31 <title><?php echo CHtml::encode($this->
pageTitle); ?></title>
36 <div
class=
"container">
39 <?php echo CHtml::link(CHtml::encode(Yii::app()->name), $this->createUrl(
'')) ?>
41 <div
class=
"description">
42 <small><?php echo Yii::app()->params[
'description']?></small>
45 <div
id=
"header_image">
47 <div
class=
"menu_container">
48 <?php $this->widget(
'Freshy2Menu',array(
50 array(
'label'=>
'Home',
'url'=>array(
'/site/index')),
51 array(
'label'=>
'About',
'url'=>array(
'/site/page',
'view'=>
'about')),
52 array(
'label'=>
'Contact',
'url'=>array(
'/site/contact')),
53 array(
'label'=>
'Login',
'url'=>array(
'/site/login'),
'visible'=>Yii::app()->user->isGuest),
54 array(
'label'=>
'Logout ('.Yii::app()->user->name.
')',
'url'=>array(
'/site/logout'),
'visible'=>!Yii::app()->user->isGuest)
57 </div><span
class=
"menu_end"></span>
59 </div><!-- header_image -->
60 </div><!-- container -->
62 <?php echo $content; ?>
64 <div
class=
"container">
65 <div
id=
"footer_content">
66 <div style=
"font-size: 75%;font-style: italic;">Copyright © <?php echo
'year'
67 <a href=
"http://www.yiiframework.com"><img title=
"Powered by Yii Framework" alt=
"Powered by Yii Framework" src=
"<?php echo Yii::app()->theme->baseUrl ?>/images/yii-powered.png"/></a><br/>
68 <a href=
"http://www.jide.fr"><img alt=
"design by jide" src=
"<?php echo Yii::app()->theme->baseUrl ?>/images/micro_jide.png"/></a>
69 </div><!-- footer_content -->
70 </div><!-- container -->