westdc-zf1/application/admin/views/scripts/review/index.phtml

62 lines
1.9 KiB
PHTML
Raw Normal View History

<?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('元数据评审');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="leftPanel">
<?= $this->partial('review/left.phtml'); ?>
</div>
<div id="rightPanel">
<?php if ($this->msg or $this->messages) :?>
<div id="message">
<?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; ?>
2011-10-08 01:56:09 +00:00
最近十条元数据
2011-10-12 14:27:02 +00:00
<table><thead>
<tr>
2011-10-08 01:56:09 +00:00
<td width='500'>元数据标题</td>
<td width='150'>管理员</td>
<td width='150'>状态</td>
2011-10-12 14:27:02 +00:00
</tr></thead>
2011-10-08 01:56:09 +00:00
<?php if (count($this->queue)): ?>
<?php $autoindex=0;?>
<?php foreach ($this->queue as $item): ?>
<?php $autoindex++;?>
2011-10-12 14:27:02 +00:00
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
2011-10-08 01:56:09 +00:00
<td><?= $item['title']?></td>
<td><?php echo $item['realname'].'['.$item['username'].']';?></td>
<td><?php echo $item['status'];?></td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</table>
<br />
我管理的最近十条元数据
2011-10-12 14:27:02 +00:00
<table><thead>
<tr>
2011-10-08 01:56:09 +00:00
<td width='500'>元数据标题</td>
<td width='150'>状态</td>
2011-10-12 14:27:02 +00:00
</tr></thead>
2011-10-08 01:56:09 +00:00
<?php if (count($this->queue)): ?>
<?php $autoindex=0;?>
<?php foreach ($this->queue as $item): ?>
<?php $autoindex++;?>
2011-10-12 14:27:02 +00:00
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
2011-10-08 01:56:09 +00:00
<td><?= $item['title']?></td>
<td><?php echo $item['status'];?></td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</table>
2011-09-23 08:09:13 +00:00
</div>