List.inc.php
<?php /**
* Created by PhpStorm. * User: Administrator * Date: 2016/2/14 * Time: 23:38 */
if (!defined('IN_DISCUZ')) {
exit('Access Denied');
} include_once DISCUZ_ROOT.'./source/plugin/xigua_re/common.php';
$page = max(1, intval(getgpc('page'))); $lpp = 80; $start_limit = ($page - 1) * $lpp; $ilist = C::t('#xigua_re#xgre_order')->fetch_user_by_postid($_GET['postid'], $start_limit, $lpp);
if(submitcheck('fetchimg', 1)){
$html = ; foreach ($ilist as $val) { $html .= "<img src=\"$val\" onerror='this.error=null;this.src=\"source/plugin/xigua_re/static/noavatar.gif\"' />"; } echo $html; exit;
}
$info = C::t('#xigua_re#xgre_order')->fetch_subject_by_postid($_GET['postid']);
$touser = getuserbyuid($info['touid']);
$count = C::t('#xigua_re#xgre_order')->fetch_usercount_by_postid($_GET['postid']);