summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--images/div/Altstadt_Nacht.JPGbin0 -> 114284 bytes
-rw-r--r--protected/views/veranstaltung/stages.php32
2 files changed, 32 insertions, 0 deletions
diff --git a/images/div/Altstadt_Nacht.JPG b/images/div/Altstadt_Nacht.JPG
new file mode 100644
index 0000000..aa7798f
--- /dev/null
+++ b/images/div/Altstadt_Nacht.JPG
Binary files differ
diff --git a/protected/views/veranstaltung/stages.php b/protected/views/veranstaltung/stages.php
new file mode 100644
index 0000000..7c57b2a
--- /dev/null
+++ b/protected/views/veranstaltung/stages.php
@@ -0,0 +1,32 @@
+<?php
+$this->breadcrumbs=array(
+ 'Veranstaltungen',
+);
+$this->pageTitle = 'Veranstaltungen - ' . Yii::app()->name;
+
+$this->menu=array(
+ array('label'=>'Jetzt auf dem Fest', 'url'=>array('now')),
+ //array('label'=>'Veranstaltung suchen', 'url'=>array('search')),
+);?>
+
+<h3>Veranstaltungen</h3>
+<?php
+$dataProvider=new CActiveDataProvider('Standort', array(
+ 'criteria'=>array(
+ 'condition'=>"published=1 AND (type = 'Bühne' OR (type = 'Stand' AND id in (SELECT distinct standort_id FROM veranstaltungen)))",
+ //'with'=>array('veranstaltungen'),
+ ),
+ 'pagination'=>array(
+ 'pageSize'=>20,
+ ),
+));
+ /*$this->widget('zii.widgets.CListView', array(
+ 'dataProvider'=>$dataProvider,
+ 'itemView'=>'_short', // refers to the partial view named '_post'
+ ));
+ */
+ $this->widget('zii.widgets.grid.CGridView', array(
+ 'id'=>'veranstaltung-grid',
+ 'dataProvider'=>$dataProvider,
+ )
+); ?>