修改了排序条件

This commit is contained in:
Li Jianxuan 2011-10-19 09:35:18 +00:00
parent 4813adb4e8
commit c697ed5363
2 changed files with 4 additions and 0 deletions

View File

@ -894,6 +894,7 @@ class Admin_ReviewController extends Zend_Controller_Action
left join metadata md on md.uuid=r.uuid
left join users u on u.id=r.userid
$wheresql
order by r.ts_created desc
";
$rs = $this->db->query($sql);
$rows = $rs->fetchAll();

View File

@ -50,6 +50,9 @@
<td><a href="/data/<?php echo $item['uuid'];?>"><?php echo $item['title']; ?></a>
<br />评审时间: <?php echo date("Y-m-d H:i",strtotime($item['ts_created'])); ?>  是否为受邀专家:<?php
if($item['is_expert']==false)echo "否";else echo "是";
?>  <?php
if(time()-strtotime($item['ts_created'])<1800)
{echo '<strong style="color:red">New!</strong>';}
?></td>
<td><?php echo $item['realname'];?></td>
<td><a href="/admin/review/comments/ac/view/id/<?php echo $item['id']?>">查看详细</a></td>