Warning: include_once(): open_basedir restriction in effect. File(/www/wwwroot/rixin.info/www/wp-content/plugins/wp-super-cache/wp-cache-phase1.php) is not within the allowed path(s): (/www/wwwroot/www.rixin.info/:/tmp/) in /www/wwwroot/www.rixin.info/www/wp-content/advanced-cache.php on line 22

Warning: include_once(/www/wwwroot/rixin.info/www/wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: Operation not permitted in /www/wwwroot/www.rixin.info/www/wp-content/advanced-cache.php on line 22

Warning: include_once(): Failed opening '/www/wwwroot/rixin.info/www/wp-content/plugins/wp-super-cache/wp-cache-phase1.php' for inclusion (include_path='.:') in /www/wwwroot/www.rixin.info/www/wp-content/advanced-cache.php on line 22

Warning: include(): open_basedir restriction in effect. File(/www/wwwroot/rixin.info/www/wp-content/plugins/wp-super-cache/wp-cache-base.php) is not within the allowed path(s): (/www/wwwroot/www.rixin.info/:/tmp/) in /www/wwwroot/www.rixin.info/www/wp-content/plugins/wp-super-cache/wp-cache.php on line 95

Warning: include(/www/wwwroot/rixin.info/www/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: Operation not permitted in /www/wwwroot/www.rixin.info/www/wp-content/plugins/wp-super-cache/wp-cache.php on line 95

Warning: include(): Failed opening '/www/wwwroot/rixin.info/www/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='.:') in /www/wwwroot/www.rixin.info/www/wp-content/plugins/wp-super-cache/wp-cache.php on line 95

Warning: include_once(): open_basedir restriction in effect. File(/www/wwwroot/rixin.info/www/wp-content/plugins/wp-super-cache/ossdl-cdn.php) is not within the allowed path(s): (/www/wwwroot/www.rixin.info/:/tmp/) in /www/wwwroot/www.rixin.info/www/wp-content/plugins/wp-super-cache/wp-cache.php on line 118

Warning: include_once(/www/wwwroot/rixin.info/www/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: Operation not permitted in /www/wwwroot/www.rixin.info/www/wp-content/plugins/wp-super-cache/wp-cache.php on line 118

Warning: include_once(): Failed opening '/www/wwwroot/rixin.info/www/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='.:') in /www/wwwroot/www.rixin.info/www/wp-content/plugins/wp-super-cache/wp-cache.php on line 118
zblogphp调用本周热门、本月热门、本年热门文章的方法|网站建设

zblogphp调用本周热门、本月热门、本年热门文章的方法

ZblogPHP是可以自定义时间来调用本周热门、本月热门、本年热门文章的。这个代码是从橙色阳光的主题里面八出来的,经过橙色阳光的同意分享出来,希望可以帮助到有需要的人。

            {php}
                $stime = time();
                $ytime = 90*24*60*60;
                $ztime = $stime-$ytime;
                $order = array('log_ViewNums'=>'DESC');
                $where = array(array('=','log_Status','0'),array('>','log_PostTime',$ztime));
                $array = $zbp->GetArticleList(array('*'),$where,$order,array(8),'');
            {/php}
            {foreach $array as $cmslist}

<li><a href="{$cmslist.Url}" title="{$cmslist.Title}">{$cmslist.Title}</a></li>

            {/foreach}

zblogphp调用本周热门、本月热门、本年热门文章的方法:等您坐沙发呢!

发表评论

表情
还能输入210个字