帝国CMS列表页面list.var分别调用时间显示个性时间日期方法
帝国CMS列表页面list.var分别调用时间显示个性时间日期
$newstime=$r[newstime];$time1=format_datetime($newstime,"d");$time2=format_datetime($newstime,"Y-m");$listtemp='<li><a href="[!--titleurl--]" title="[!--title--]" class="item-title">[!--title--]</a><div class="intro-text">[!--smalltext--]...</div><time class="pub-date" datetime="[!--newstime--]" itemprop="datePublished" title="[!--newstime--]"><i class="fa fa-clock-o"></i>'.$time2.'-'.$time1.'</time></li>';
上一篇:帝国cms 列表内容模板(list.var)如果smalltext字段为空则调用其他字段内容
下一篇:帝国cms结合控制变量实现结合项筛选功能带首字母筛选的方法推荐
调用时间
DedeCMS 核心类TypeLink.class.p
织梦cms系统TAG标签和分页伪静态
织梦cms列表页/内容页调用当前文
dedecms会员中心常用信息输出
dede搜索结果页支持article、sql
织梦cms批量取消审核文档的实现
织梦dedecms wap手机门户站点首
织梦dedecms在模板页面中实现会
织梦导航不显示外部链接栏目,修
织梦dedecms使用Mysql8.0无法登