2014-05-13 12:40:42 +02:00
|
|
|
<?php
|
|
|
|
/* @var $this SiteController */
|
|
|
|
|
|
|
|
$this->pageTitle=Yii::app()->name;
|
2014-05-13 18:25:37 +02:00
|
|
|
|
|
|
|
$this->breadcrumbs=
|
|
|
|
[
|
|
|
|
'Index'
|
|
|
|
];
|
2014-05-14 11:15:32 +02:00
|
|
|
|
|
|
|
$this->selectedNav = 'index';
|
|
|
|
|
2014-05-13 12:40:42 +02:00
|
|
|
?>
|
|
|
|
|
2014-05-13 18:25:37 +02:00
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
<!-- Main hero unit for a primary marketing message or call to action -->
|
|
|
|
<div class="hero-unit">
|
|
|
|
<h1>Hello, world!</h1>
|
2014-05-28 09:35:46 +02:00
|
|
|
Daily Program: <?php echo $program->Name; ?>
|
2014-05-13 18:25:37 +02:00
|
|
|
<p>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li>View file: <code><?php echo __FILE__; ?></code></li>
|
|
|
|
<li>Layout file: <code><?php echo $this->getLayoutFile('main'); ?></code></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p><a class="btn btn-primary btn-large">Learn more »</a></p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Example row of columns -->
|
|
|
|
<div class="row">
|
|
|
|
<div class="span4">
|
|
|
|
<h2>Heading YD: <?php echo YII_DEBUG ?></h2>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
$connection = Yii::app()->db;
|
|
|
|
|
2014-06-04 09:33:24 +02:00
|
|
|
$command=$connection->createCommand("SELECT * FROM {{Programs}}");
|
2014-05-13 18:25:37 +02:00
|
|
|
$command->execute(); // a non-query SQL statement execution
|
|
|
|
// or execute an SQL query and fetch the result set
|
|
|
|
$reader=$command->query();
|
|
|
|
|
|
|
|
// each $row is an array representing a row of data
|
|
|
|
$dbgtxt = "";
|
|
|
|
foreach($reader as $row)
|
|
|
|
{
|
|
|
|
$dbgtxt = $dbgtxt . print_r($row, true);
|
|
|
|
}
|
|
|
|
|
|
|
|
echo TbHtml::textArea('dbgtxt', $dbgtxt, array('rows' => 5));
|
|
|
|
?>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p><a class="btn" href="#">View details »</a></p>
|
|
|
|
</div>
|
|
|
|
<div class="span4">
|
|
|
|
<h2>Heading</h2>
|
|
|
|
|
|
|
|
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris
|
|
|
|
condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis
|
|
|
|
euismod. Donec sed odio dui. </p>
|
|
|
|
|
|
|
|
<p><a class="btn" href="#">View details »</a></p>
|
|
|
|
</div>
|
|
|
|
<div class="span4">
|
|
|
|
<h2>Heading</h2>
|
|
|
|
|
|
|
|
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula
|
|
|
|
porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut
|
|
|
|
fermentum massa justo sit amet risus.</p>
|
2014-05-13 12:40:42 +02:00
|
|
|
|
2014-05-13 18:25:37 +02:00
|
|
|
<p><a class="btn" href="#">View details »</a></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-05-13 12:40:42 +02:00
|
|
|
|
2014-06-04 13:33:57 +02:00
|
|
|
<?php echo MsHtml::collapsedHeader(new DateTime(), "Hello World"); ?>
|
2014-05-13 12:40:42 +02:00
|
|
|
|
2014-06-04 13:33:57 +02:00
|
|
|
<div class="well row collHeader">
|
|
|
|
<div class="collHeaderSpan-front">24.07.1999</div>
|
|
|
|
<div class="collHeaderSpan">Die neue Websiste ist online</div>
|
|
|
|
<div class="collHeaderSpan-drop"> <i class="icon-chevron-down" ></i> </div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="well row collHeader">
|
|
|
|
<div class="collHeaderSpan-front">24.07.1999</div>
|
|
|
|
<div class="collHeaderSpan">Die neue Websiste ist online</div>
|
|
|
|
<div class="collHeaderSpan-drop"> <i class="icon-chevron-down" ></i> </div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="well row collHeader">
|
|
|
|
<div class="collHeaderSpan-front">24.07.1999</div>
|
|
|
|
<div class="collHeaderSpan">Die neue Websiste ist online</div>
|
|
|
|
<div class="collHeaderSpan-drop"> <i class="icon-chevron-down" ></i> </div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="well row collHeader">
|
|
|
|
<div class="collHeaderSpan-front">24.07.1999</div>
|
|
|
|
<div class="collHeaderSpan">Die neue Websiste ist online</div>
|
|
|
|
<div class="collHeaderSpan-drop"> <i class="icon-chevron-down" ></i> </div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="well row collHeader">
|
|
|
|
<div class="collHeaderSpan-front">24.07.1999</div>
|
|
|
|
<div class="collHeaderSpan">Die neue Websiste ist online</div>
|
|
|
|
<div class="collHeaderSpan-drop"> <i class="icon-chevron-down" ></i> </div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="well row collHeader">
|
|
|
|
<div class="collHeaderSpan-front">24.07.1999</div>
|
|
|
|
<div class="collHeaderSpan">Die neue Websiste ist online</div>
|
|
|
|
<div class="collHeaderSpan-drop"> <i class="icon-chevron-down" ></i> </div>
|
|
|
|
</div>
|
2014-05-13 18:25:37 +02:00
|
|
|
</div>
|