判断帝国cms分类信息是否过时方式

是否过时:

 <script>check_tdate(‘[!–sxrq–]’)</script>

在模板上添加

字段列表写以下内容

<input name=”sxrq” type=”text” id=”sxrq” value=”<?=$ecmsfirstpost==1?””:htmlspecialchars(stripSlashes($r[sxrq]))?>” size=”12″ onclick=”setday(this);”>