clean code
This commit is contained in:
parent
11151c6365
commit
0803d6eac1
|
@ -11,7 +11,7 @@
|
|||
<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) : ?>
|
||||
|
@ -21,8 +21,6 @@
|
|||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div id="rightPanel">
|
||||
|
||||
<div class="search">
|
||||
<form action="" method="get">
|
||||
|
@ -34,19 +32,18 @@
|
|||
</form>
|
||||
</div><!-- search DIV -->
|
||||
|
||||
|
||||
<table>
|
||||
<tr style="color:#FFF;background:#0a3e68;line-height:30px;">
|
||||
<table><thead>
|
||||
<tr>
|
||||
<td width='600'>元数据标题</td>
|
||||
<td width='120'>负责编辑</td>
|
||||
<td width='120'>时间</td>
|
||||
<td width='180'>操作</td>
|
||||
</tr>
|
||||
</tr></thead>
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<?php $autoindex=0;?>
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<?php $autoindex++;?>
|
||||
<tr <?php if($autoindex%2 == 0) echo 'bgcolor="#CCCCCC"'; else echo 'bgcolor="#FFFFFF"'; ?>>
|
||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||
<td><a href="/data/<?php echo $item['uuid'];?>"><?= $item['title']?></a></td>
|
||||
<td><?php echo $item['realname'].'['.$item['username'].']'; ?></td>
|
||||
<td><?php echo date("Y-m-d H:i",strtotime($item['ts_accepted']));?></td>
|
||||
|
@ -59,7 +56,5 @@
|
|||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div style="width:50%;text-align:left;">
|
||||
<?= $this->paginator; ?></div>
|
||||
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
</div>
|
|
@ -8,11 +8,10 @@
|
|||
$this->breadcrumb('元数据评审');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
?>
|
||||
<div id="divContent">
|
||||
<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) : ?>
|
||||
|
@ -22,11 +21,9 @@
|
|||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div id="rightPanel">
|
||||
|
||||
<table>
|
||||
<tr style="color:#FFF;background:#0a3e68;line-height:30px;text-align:center;">
|
||||
<table><thead>
|
||||
<tr>
|
||||
<td width='80'>用户ID</td>
|
||||
<td width='100'>用户名</td>
|
||||
<td width='100'>姓名</td>
|
||||
|
@ -34,12 +31,12 @@
|
|||
<td width="100">联系电话</td>
|
||||
<td width="100">电子邮箱</td>
|
||||
<td width="100">操作</td>
|
||||
</tr>
|
||||
</tr></thead>
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<?php $autoindex=0;?>
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<?php $autoindex++;?>
|
||||
<tr <?php if($autoindex%2 == 0) echo 'bgcolor="#CCCCCC"'; else echo 'bgcolor="#FFFFFF"'; ?>>
|
||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||
<td><?php echo $item['id']; ?></td>
|
||||
<td><?php echo $item['username']; ?></td>
|
||||
<td><?php echo $item['realname']; ?></td>
|
||||
|
@ -51,8 +48,6 @@
|
|||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div style="width:50%;text-align:left;">
|
||||
<?= $this->paginator; ?></div>
|
||||
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue