添加服务记录说明

This commit is contained in:
wlx 2011-11-26 11:04:39 +00:00
parent b431fa7f10
commit 02a03b911a
1 changed files with 8 additions and 3 deletions

View File

@ -257,14 +257,19 @@ endforeach;
<ul id="searchlist"> <ul id="searchlist">
</ul> </ul>
</div> </div>
<div id="service"> <div id="service">
<?php if ($this->downhistory) : ?>
<p>最近10条服务记录如下</p>
<ol start="1"> <ol start="1">
<?php <?php
foreach($this->downhistory as $v){ foreach($this->downhistory as $v){
echo '<li>'.date("Y-m-d H:i",strtotime($v->ts_created))." ".$v->unit." ".$v->realname.'</li>'; echo '<li>'.date("Y-m-d",strtotime($v->ts_created))." ".$v->unit." ".$v->realname.'</li>';
} }
?> ?>
</ol> </ol>
<?php else : ?>
暂时没有服务记录,欢迎您下载使用!
<?php endif; ?>
</div> </div>
<div id="recommend"> <div id="recommend">
<p>申请了本条数据的用户,通常他们还申请了:</p> <p>申请了本条数据的用户,通常他们还申请了:</p>