/*********************************************************** 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. 一区二区三区A片免费|ix729 国精品人妻无码一区二区三区三|pw8950 亚洲少妇无码|wnq379 国精品人妻无码一区二区三区三|q8m755 久久久久久精品国产欧美|yja16 99re久久这里只有精品|8nk494 日本三级做a全过程在线观看|rh8586 在线欧美精品视频一区二区三区|exv578 亚洲精品无码AV人在线播放|t6x910 一级A婬片试看5O分钟|ftv942 在线免费a|6qw422 久久99人妻免费精品一区|hwc627 97人妻夜夜人妻夜夜爽一区二区|7vy38 国产区在线观看|na74 国产精品香蕉在线观看|ng798 欧美日韩大尺码免费专区|lah124 欧美午夜免费A片一区二区|c7e781 欧美色就是色|ueh764 欧美精品福利|7ry652 天堂AV无码一区二区三在线播放|bs7282 8090午夜永久一级A片毛|ich275 黑人无码AV黑人天堂无码AV|p6q274 老司机精品视频|tjq380 国产无码a片|6uc503 人妻无码中文专区久久五月婷|ly6524 国产情趣视频一区二区三区|qef746 午夜无码福利视频|i6h115 高清无码亚洲|d6m60 一级毛片大学生九九精品视频|qce667 久久久人妻精品人妻一区二区三区|6cg482 亚洲一级在线观看|ja7962 99精品热这里只有精品|ctw923