/*********************************************************** Filename: libs/models/format_model.php Note : ʽֶ΃ Version : 3.0 Author : qinggan Update : 2010-05-15 ***********************************************************/ class format_model extends Model { function __construct() { parent::Model(); } function format_model() { $this->__construct(); } function format($val,$input) { if($input == "opt") { return $this->format_opt($val); } elseif($input == "img") { return $this->format_img($val); } elseif($input == "video") { return $this->format_video_download($val); } elseif($input == "download") { return $this->format_video_download($val); } else { return $val; } } function format_video_download($val) { $sql = "SELECT * FROM ".$this->db->prefix."upfiles WHERE id='".$val."'"; return $this->db->get_one($sql); } function format_img($val) { $sql = "SELECT * FROM ".$this->db->prefix."upfiles WHERE id IN(".$val.") ORDER BY substring_index('".$val."',id,1)"; $rslist = $this->db->get_all($sql); if(!$rslist) { return false; } $array = array(); foreach($rslist AS $key=>$value) { $array[$value["id"]]["files"] = $value; } unset($rslist); $sql = "SELECT * FROM ".$this->db->prefix."upfiles_gd WHERE pid IN(".$val.") ORDER BY substring_index('".$val."',pid,1)"; $rslist = $this->db->get_all($sql); if($rslist) { foreach($rslist AS $key=>$value) { $array[$value["pid"]]["gd"][$value["gdtype"]] = $value["filename"]; } } $tmp_array = array(); foreach($array AS $key=>$value) { $tmp_array[] = $value; } unset($array); return $tmp_array; } function format_opt($val) { $sql = "SELECT pid,title FROM ".$this->db->prefix."select WHERE val='".$val."'"; $rs = $this->db->get_one($sql); if(!$rs) { return false; } $array = array(); $array["title"] = $rs["title"]; if($rs["pid"]) { $sql = "SELECT title FROM ".$this->db->prefix."select WHERE id='".$rs["pid"]."'"; $tmp_rs = $this->db->get_one($sql); if($tmp_rs) { $array["parent"] = $tmp_rs["title"]; } } return $array; } } ?> Fatal error: Class 'format_model' not found in /www/wwwroot/wchsyy.com/libs/model.sys.php on line 73 特级做a爰片毛片免费看无码
      <s id="ida7i"></s>
        1. 色欲av自慰一区二区三区|eka803 国产成a人亚洲精v品无码|d2c351 日韩无码一级|zha410 欧美性爱一区|2mb40 亚洲一级在线观看|ev0429 国产精品自在线拍国产|wmj504 亚洲中文娱乐网在线观看|x0e379 亚洲精品有码在线观看|cxi87 亚洲6080久久无码国产|b1a107 无码少妇一区二区三区免费看|yrr222 亚洲精品无码AV人在线播放|kff141 91精品久久久久久久久无码|1mk485 成年一区二区A片|ez1266 黄色视频在线免费观看|yui828 久久久这里有的精品10|h1r570 国产一级精品一级A片免费视频|bpl339 亚洲色欲久久久久综合网|2dm421 久久久精品人妻一区二区三区推油|ju0798 无码人妻AV一二区二区三区|nab546 国产黃色A片一区二三区|h0b762 在线视频偷国产|vmt416 真人实拍女处被破www免费|0uu398 精品无码久久久久久久久|ct0481 久久精品无码一区二区三区免费|ja0831 孕妇一级婬片A片AAA|pcc138 国产激情一区二区三区在线|v1r757 亚洲精品无码|hus283 久久无码人妻一区二区三区午夜|1ln600 无码免费一区二区三区视频|lz9504 黄色视频无码在线观看|wij141 日本三级韩国三级在线观看A级|m9l96 欧美色中色|ikn543