打开/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模板标签
{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模板标签