<!--{eval $uid = $_GET['uid']}--> <!--{eval $favorite = DB::fetch_all('SELECT `title` FROM '.DB::table('home_favorite').' WHERE `uid` ='.$uid.'');}--> <!--{eval $reply = DB::fetch_all('SELECT * FROM '.DB::table('forum_post').' WHERE `authorid` ='.$uid.'')}--> <!--{eval $perpage = 14;//页数}--> <!--{eval $card = DB::fetch_all('SELECT `subject` FROM '.DB::table('forum_thread').' WHERE `authorid` ='.$uid.'');}--> <!--{eval $curpage = empty ( $_GET['page'] ) ? 1 : intval ( $_GET['page'] );//获取当前页代码}--> <!--{eval $start = ($curpage-1)*$perpage;//获取起始数据}--> <!--{eval $askscount = count($card);}--> <!--{eval //如果有数据$start,$perpage $que = DB::fetch_all("select * from dis_forum_thread where authorid=$uid order by dateline limit $start,$perpage;");//根据tid正序排序,limit起始到显示 }--> <!--{eval $multi = multi($askscount, $perpage, $curpage, "home.php?mod=space&uid=$uid&do=thread&view=me");}-->
discuz 数据分页
猜你喜欢
转载自blog.csdn.net/qq_41467799/article/details/83755725
今日推荐
周排行