2014-05-19 10:16:43 +02:00
|
|
|
<?php
|
|
|
|
/* @var $this ProgrammeController */
|
|
|
|
/* @var $dataProvider CActiveDataProvider */
|
|
|
|
?>
|
|
|
|
|
|
|
|
<?php
|
2014-05-23 11:22:34 +02:00
|
|
|
$this->breadcrumbs = array(
|
2014-05-19 10:35:32 +02:00
|
|
|
'Programme',
|
2014-05-19 10:16:43 +02:00
|
|
|
);
|
|
|
|
|
2014-05-23 11:22:34 +02:00
|
|
|
$this->menu = array(
|
|
|
|
array('label' => 'Create Programme', 'url' => array('create')),
|
|
|
|
array('label' => 'Manage Programme', 'url' => array('admin')),
|
2014-05-19 10:16:43 +02:00
|
|
|
);
|
|
|
|
?>
|
|
|
|
|
2014-05-23 11:22:34 +02:00
|
|
|
<div class="container">
|
|
|
|
<div class="span12">
|
|
|
|
<h1>My Prog's</h1>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<?php
|
|
|
|
|
|
|
|
foreach (Programme::model()->findAll() as $record) {
|
|
|
|
echo "<div class='well'>";
|
|
|
|
echo nl2br(print_r($record->attributes, true));
|
|
|
|
echo "</div>";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-05-19 10:16:43 +02:00
|
|
|
|