List.inc.php

笑笑讨论 | 贡献2022年11月22日 (二) 00:56的版本 (创建页面,内容为“<?php * * Created by PhpStorm. * User: Administrator * Date: 2016/2/14 * Time: 23:38: if (!defined('IN_DISCUZ')) { exit('Access Denied'); } include_once...”
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

<?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']);