UZ')) { exit('Access Denied'); } class table_dc_sell_log extends discuz_table { public function __construct() { $this->_table = 'dc_sell_log'; $this->_pk = 'id'; parent::__construct(); } public function fetch_by_pid($pid) { return ($pid = dintval($pid, true)) ? DB::fetch_All('SELECT * FROM '.DB::table($this->_table).' WHERE '.DB::field('pid', $pid)) : array(); } public function fetch_by_pcuid($pcuid,$ltime=0) { if(empty($pcuid)) return array(); if($ltime) $where = ' AND dateline>'.$ltime; return DB::fetch_all('SELECT * FROM '.DB::table($this->_table).' WHERE '.DB::implode($pcuid, ' AND ').$where); } public function fetch_by_pcid($pcid) { if(empty($pcid)) return array(); return DB::fetch_all('SELECT * FROM '.DB::table($this->_table).' WHERE '.DB::implode($pcid, ' AND ').' ORDER BY id DESC Limit 0,200'); } } ?>
18867| 60
|
[Arpad Miklos] 【Arpad Miklos】70多部资源 |
发表于 2019-11-30 16:17:50
|
显示全部楼层
| ||
505美分唯一网址Www.505meifen.com
|
||
发表于 2019-11-26 19:25:12
|
显示全部楼层
| ||
505美分唯一网址Www.505meifen.com
|
||
| |
505美分唯一网址Www.505meifen.com
|
|