diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2014-06-13 14:36:48 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2014-06-13 14:36:48 +0200 |
| commit | 7aa1cf12bba6c9417a0d881748d9b6156db253c7 (patch) | |
| tree | 59bed6cfa605d9748f96d5bdd024b16568eca068 | |
| parent | 1605cc08545606471973f6be130afca015bb35fe (diff) | |
Bilder
| -rw-r--r-- | images/div/Altstadt_Nacht.JPG | bin | 0 -> 114284 bytes | |||
| -rw-r--r-- | protected/views/veranstaltung/stages.php | 32 |
2 files changed, 32 insertions, 0 deletions
diff --git a/images/div/Altstadt_Nacht.JPG b/images/div/Altstadt_Nacht.JPG Binary files differnew file mode 100644 index 0000000..aa7798f --- /dev/null +++ b/images/div/Altstadt_Nacht.JPG 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, + ) +); ?> |
