ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯系官方銷售客服

1835022288

028-61286886

投訴 解決中 / 官方已回 標題地址總點擊數本日點擊本周點擊本月點擊年點擊量更新時間自定 7 0
迅睿CMS版本:4.3.12 #標題
{hits module=news num=10}
標題:{$t.title}
地址:{$t.url}
總點擊數:{$t.hits}
本日點擊:{$t.day_hits}  
本周點擊:{$t.week_hits}  
本月點擊:{$t.month_hits}  
年點擊量: {$t.year_hits}
更新時間:{$t.updatetime}
自定義更新時間:{dr_date($t._updatetime, 'Y-m-d')}
欄目名稱:{dr_cat_value('news', $t.catid, 'name')}
欄目URL:{dr_cat_value('news',$t.catid, 'url')}
{/hits}

幫助文件中這個關于點擊的數據都出不來,謝謝

解決方案
  • {hits module=news num=10}
    標題:{$t.title}
    地址:{$t.url}
    總點擊數:{$t.hits}
    本日點擊:{$t.day_hits}  
    本周點擊:{$t.week_hits}  
    本月點擊:{$t.month_hits}  
    年點擊量: {$t.year_hits}
    更新時間:{$t.updatetime}
    自定義更新時間:{dr_date($t._updatetime, 'Y-m-d')}
    欄目名稱:{dr_cat_value('news', $t.catid, 'name')}
    欄目URL:{dr_cat_value('news',$t.catid, 'url')}
    {/hits} {$debug}

    看看提示什么debug



  • 顯示的結果是這樣



  • 回復迅睿框架創始人

    SQL: SELECT `xr_1_fang`.*,`xr_1_fang_hits`.`hits`,`xr_1_fang_hits`.`day_hits`,`xr_1_fang_hits`.`week_hits`,`xr_1_fang_hits`.`month_hits`,`xr_1_fang_hits`.`year_hits`,`xr_1_fang_hits`.`day_time`,`xr_1_fang_hits`.`week_time`,`xr_1_fang_hits`.`month_time`,`xr_1_fang_hits`.`year_time` FROM `xr_1_fang` LEFT JOIN `xr_1_fang_hits` ON `xr_1_fang`.`id`=`xr_1_fang_hits`.`id` WHERE `xr_1_fang`.`status` = 9 ORDER BY `xr_1_fang_hits`.`hits` DESC LIMIT 10開發模式:已關閉數據緩存:未設置總記錄數:2分頁功能:未開啟可用字段:id、catid、title、thumb、keywords、description、hits、uid、author、status、url、link_id、tableid、inputip、inputtime、updatetime、displayorder、day_hits、week_hits、month_hits、year_hits、day_time、week_time、month_time、year_time、_inputtime、_updatetime
  • 后來用了module標簽了 {module module=fang order=hits }{module}

  • 這個debug表明標簽是對了的,可以判斷是你的表xr_1_fang_hits,沒有數據,你可以在phpmyadmin工具里面看看這個表