/*********************************************************** 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. 最新国产精品精品视频|oi0799 日韩精品无码人成视频手机|mds57 国产乱老熟视频乱老熟女|m0f885 国产男女乱婬真高清免费视频软作|mzn156 日韩欧美黄片|0nc624 亚洲精品v欧美精品v日韩精品|uv0593 青娱乐盛宴国产|vrb625 久久亚洲色一区二区三区|t0z450 黄片一区二区三区|ovm995 国产在线拍揄自揄视精品|1ye602 精品无码一区二区久久久99|xrq957 精品久久人人妻人人做精品|9lr837 国产a在亚洲线播放|9ks769 国产无码一区|zq9980 亚洲Aⅴ无码一区二区三区性色|kxf827 日本一区视频|l9z603 久久无码精品一级A片|fuz512 久久99精品久久久久久野外|9ju653 日本免费播放器|up0120 漂亮人妻被黑人久久精品动画|vmq605 亚洲毛片久久久久久久|s0x963 日韩精品A片一区二区三区|sjs54 亚洲国产精品久久人人爱|0vs398 国产一级A片免费看高清|qh8202 精品无码A片一区二区|jm8994 极品性荡少妇一区二区|phr357 13小箩利洗澡无码视频网站免费|z8e914 亚洲Aⅴ无码一区二区三区性色|fsx874 欧美成人精品第一区二区三区|9rz58 免费一级A片毛毛片在线播放99|zs912 欧美人妻一区二区三区不卡|bsw263 日韩欧美a片|z9h716