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

WBOY
Release: 2016-06-13 12:47:14
Original
1027 people have browsed it

一段代码求解
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');
?>

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template