Source

Uva Searchengines / protected / views / layouts / main.php

Full commit
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="language" content="en" />

    <!-- blueprint CSS framework -->
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/screen.css" media="screen, projection" />
<!--    <link rel="stylesheet" type="text/css" href="--><?php //echo Yii::app()->theme->baseUrl; ?><!--/css/print.css" media="print" />-->
    <!--[if lt IE 8]>
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/ie.css" media="screen, projection" />
    <![endif]-->

    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/main.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/form.css" />

    <title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

<div class="container" id="page">
    <div id="header">
        <div id="logo"></div>
    </div>

    <div id="mainmenu">
        <?php $this->widget('zii.widgets.CMenu', array(
        'items' => array(
            array('label' => 'Home', 'url' => array('/site/index')),
            array('label' => 'Artikelen', 'url' => array('/article/index'), 'active' => $this->id == 'article'),
            array('label' => 'Woorden', 'url' => array('/word/index'), 'active' => $this->id == 'word'),
            array('label' => 'Zoeken', 'url' => array('/search/search')),
        ),
    )); ?>
    </div>
    <div id="content">
        <?php echo $content; ?>
    </div>
    <div class="clear"></div>
    <div id="footer">

        (Time: <?php echo sprintf('%0.5f', Yii::getLogger()->getExecutionTime()); ?>s,
        Memory: <?php echo number_format(Yii::getLogger()->getMemoryUsage() / 1024); ?>KB) <br>
        <?php echo Yii::powered(); ?>
    </div>

</div>

</body>
</html>