/*********************************************************** 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. 久久久久久一级毛片免费|bj3494 一级做a爰片久久毛片A片|kvo579 一级做a爰片AA|x3n49 一级A片一级毛片一级亚洲一级|yht202 无码精品人妻一区二区三区网站|3rv757 黄片一区二区三区|vo3102 欧美性爱一区二区|mby151 精品国产污污免费网站入口|q2t595 欧洲无码精品a区无人区|bt2487 欧美午夜一级艳片欧美精品|ypk964 麻豆精品无码久久久久久久久|d2b147 国产福利在线观看|hzf23 双腿高潮抽搐喷白浆视频|2xb423 精品久久久久久毛片|uj2487 中文字幕无码亚洲无限码|etw343 国产做a爰片久久毛片A片|x2e127 欧洲精品99毛片免费高清观看|gtf630 久久久久久亚洲精品专区|3tv226 久久久久久亚洲麻豆精品无码|eg1403 色欲色欲国产精品WWW|kzg179 无码精品A片一区二区|y1c22 漂亮人妻被黑人久久精品动画|hae651 少妇高潮视频|rkn925 亚洲国产精品久久久久性色AV|1wa276 男人j进女人j免费视频在线观看|qg179 美女午夜福利视频|euy950 精品久久久久久久久无码|o2p553 欧美午夜福利|zon727 97人人模人人爽人人少妇|2gi743 天天一区二区日本电影三级|ct2352 亚洲一区视频在线观看|pbj943 国内性无码播放视频|z0a101