Home >Backend Development >PHP Tutorial >一段代码求解,该怎么处理

一段代码求解,该怎么处理

WBOY
WBOYOriginal
2016-06-13 11:23:581010browse

一段代码求解
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
$page=$_GET['page']?$_GET['page']:0;
$perpage = 30;

$start = ($page-1)*$perpage;

$mpurl= 'home.php?mod=auction&ac=inauction';
$perpages = array($perpage => ' selected');
$auclist=C::t('auction_inauctions')->fetch_all_by_sql('status=1 AND uid='.$_G['uid'].' AND ovtime>'.strtotime(date("Y-m-d H:i:s")),'ORDER BY inputtime desc',$start,$perpage);

$count=C::t('auction_inauctions')->fetch_all_by_sql('status=1 AND uid='.$_G['uid'].' AND ovtime$multipage = multi($count, $perpage, $page, $mpurl);
include template('home/auction_inauctions');
?>

请高手讲解下以上代码,能逐行讲解最好了,谢谢!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn