add time display in the data list

This commit is contained in:
Li Jianxuan 2013-04-26 07:23:56 +00:00
parent 733a3c934b
commit 4c41d4ebe8
1 changed files with 44 additions and 43 deletions

View File

@ -32,6 +32,7 @@ $this->headScript()->appendFile('/js/jquery.masonry.min.js');
<div class="data_content clear"> <div class="data_content clear">
<div class="thumb box-shadow"><img src="/service/thumb/uuid/<?php echo $md['uuid'];?>" /></div> <div class="thumb box-shadow"><img src="/service/thumb/uuid/<?php echo $md['uuid'];?>" /></div>
<div class="description"><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></div> <div class="description"><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></div>
<div class="description">时间范围:<?= $md['timebegin'] ?> - <?= $md['timeend'] ?></div>
</div> </div>
</li> </li>
<?php endforeach;endif; ?> <?php endforeach;endif; ?>