Added DB Access + Error page
This commit is contained in:
9
demos/blog/protected/views/post/index.php
Normal file
9
demos/blog/protected/views/post/index.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php if(!empty($_GET['tag'])): ?>
|
||||
<h1>Posts Tagged with <i><?php echo CHtml::encode($_GET['tag']); ?></i></h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $this->widget('zii.widgets.CListView', array(
|
||||
'dataProvider'=>$dataProvider,
|
||||
'itemView'=>'_view',
|
||||
'template'=>"{items}\n{pager}",
|
||||
)); ?>
|
||||
Reference in New Issue
Block a user