smarty 使用php函数

strtotime() time()
<{if strtotime($activity.start_time) gt time()}>
    <a href="?action=del&id=<{$activity.activity_id}>">删除</a>      
<{else}>
    &nbsp;&nbsp;
<{/if}>

 

posted on 2018-01-22 10:22  薇薇123456  阅读(85)  评论(0编辑  收藏  举报

导航