westdc-zf1/application/admin/views/scripts/data/feature.phtml

42 lines
1.5 KiB
PHTML
Raw Permalink Normal View History

2009-03-06 03:20:46 +00:00
<?php
$this->headTitle($this->config->title->site);
$this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
$this->breadcrumb('特色推荐管理</a>');
$this->breadcrumb()->setSeparator(' > ');
?>
2014-07-23 08:38:32 +00:00
<div class="hidden-sm hidden-xs col-md-2">
2009-03-06 03:20:46 +00:00
<?= $this->partial('data/left.phtml'); ?>
</div>
2014-07-23 08:38:32 +00:00
<div class="col-md-10 col-sm-12">
2009-03-06 03:20:46 +00:00
<?php if ($this->msg or $this->messages) :?>
2014-07-23 08:38:32 +00:00
<div id="message" class="alert alert-info">
2009-03-06 03:20:46 +00:00
<?php if ($this->msg) : ?>
<p><?php echo $this->msg; ?></p>
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
<p><?php echo $msg; ?></p>
<?php endforeach;endif; ?>
</div>
<?php endif; ?>
<?= $this->paginator; ?><a href="/admin/data/feature/add/1">添加新的特色数据集</a>
<?php if (count($this->paginator)): ?>
<div id="feature">
<?php foreach ($this->paginator as $item): ?>
<ul>
<img src="<?= $item['imgurl']; ?>" />
<li><?= $item['title']; ?>[创建时间:<?= date('Y-m-d',strtotime($item['ts_created'])); ?></li>
<li>详细地址:<?= $item['detailurl']; ?></li>
<li>操作:
<a href="/admin/data/feature/edit/<?= $item['id']; ?>">编辑</a>
<a href="/admin/data/feature/delete/<?= $item['id']; ?>">删除</a>
</li>
<li><?= $item['description']; ?></li>
</ul>
<?php endforeach; ?>
</div>
<?php endif; ?>
</div>