• 密码登录
  • 手机登录
社交账号登录

文章列表时间戳调用如何判断当天文章加图片或样式

打开/extend/function.php文件,在里面添加下面代码:1.判断当天文章加图标/*自定义时间戳当天加图片函数文件,调用代码:{$field.add_time|diy_MyDate=###}*/ function diy_MyD...

2024-01-0253模板标签

标签:

文章排行调用如何按年月日来调用

需要写入的php函数,请在“网站根目录extend/function.php”文件内写入if (!function_exists(‘diy_archives_list‘)) { // 获取指定天数的文档列表 function d...

2024-01-0253模板标签

标签:

文章近6个月添加数量统计标签

{eyou:sql sql='SELECT count(aid) AS count FROM __PREFIX__archives WHERE status = 1 AND FROM_UNIXTIME(ADD_TIME) BETWE...

2024-01-0143模板标签

标签:

文章上周添加数量统计标签

{eyou:sql sql='SELECT count(aid) AS count FROM __PREFIX__archives WHERE status = 1 AND YEARWEEK(date_format(FROM_UNI...

2024-01-0136模板标签

标签:

文章本周添加数量统计标签

{eyou:sql sql='SELECT count(aid) AS count FROM __PREFIX__archives WHERE status = 1 AND YEARWEEK(date_format(FROM_UNI...

2024-01-0141模板标签

标签:

文章去年添加数量统计标签

{eyou:sql sql='SELECT count(aid) AS count FROM __PREFIX__archives WHERE status = 1 AND YEAR(FROM_UNIXTIME(ADD_TIME))...

2024-01-0138模板标签

标签:

文章今年添加数量统计标签

{eyou:sql sql='SELECT count(aid) AS count FROM __PREFIX__archives WHERE status = 1 AND YEAR(FROM_UNIXTIME(add_time))...

2024-01-0134模板标签

标签:

文章上季度添加数量统计标签

{eyou:sql sql='SELECT count(aid) AS count FROM __PREFIX__archives WHERE status = 1 AND QUARTER(FROM_UNIXTIME(add_tim...

2024-01-0141模板标签

标签:

文章本季度添加数量统计标签

{eyou:sql sql='SELECT count(aid) AS count FROM __PREFIX__archives WHERE status = 1 AND QUARTER(FROM_UNIXTIME(add_tim...

2024-01-0139模板标签

标签:

文章上个月添加数量统计标签

{eyou:sql sql='SELECT count(aid) AS count FROM __PREFIX__archives WHERE status = 1 AND PERIOD_DIFF( date_format( now...

2024-01-0142模板标签

标签: