用sql調(diào)用
12小時(shí):
<?=$empire->gettotal("select count(*) as total from phome_ecms_表 where newstime>UNIX_TIMESTAMP()-24*3600")?>
6小時(shí):
<?=$empire->gettotal("select count(*) as total from phome_ecms_表 where newstime>UNIX_TIMESTAMP()-6*3600")?>
新聞熱點(diǎn)
疑難解答
圖片精選