展会内容页增加统计离展会开展的时间天数 为何不显示? 列表页可以显示
<?php $lasted_day =(strtotime(timetodate($t[fromtime], 3))-strtotime(date('Y-m-d')))/3600/24;?>
{if $lasted_day>0}<br /><font color="#003278">离开展还有 {$lasted_day} 天</font>{/if}
点击 64回答 8
2022-03-26 09:39
管理员帮看看!展会内容页增加统计离展会开展的时间天数![]() ![]()
展会内容页增加统计离展会开展的时间天数 为何不显示? 列表页可以显示
<?php $lasted_day =(strtotime(timetodate($t[fromtime], 3))-strtotime(date('Y-m-d')))/3600/24;?> {if $lasted_day>0}<br /><font color="#003278">离开展还有 {$lasted_day} 天</font>{/if} |