westdc-zf1/application/default/views/scripts/water/feature.phtml

20 lines
759 B
PHTML

<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle('特色推荐');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/feature.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('特色推荐');
$this->breadcrumb()->setSeparator(' > ');
$auth = Zend_Auth::getInstance();
?>
<?php foreach ($this->feature as $f) { ?>
<div class="item">
<img src="<?= $f['imgurl']; ?>" alt="<?= $f['imgtext']; ?>"/>
<h2><?= $f['title'];?></h2>
<div class="description"><?= $f['description']; ?></div>
<div class="more"><a href="<?= $f['detailurl'];?>">详细</a></div>
</div>
<?php } ?>