/*********************************************************** 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. 精品午夜无码一区二区在线观看|jjf135 精品深夜av无码一区二区|s4e168 91精品久久人人妻人人做人人爱|gjh711 欧美精品人妻AⅤ在线视频|2ds78 久久99精品久久久久久野外|bs2784 国产v片在线播放免费|kfd687 A级毛片无码免费久久真人|duf690 久久毛片免费看一区二区三区|f2f140 国产精品久久久久久无码|vip590 亚洲欧洲精品无码AV毛片|33a744 国产精品自在线拍国产|lbi430 免费无码黄片|3jy563 亚洲精品国产精品麻豆99|kc3271 久久久久人妻精品一区二区|ojs12 午夜无码一区二区三区app|h1o16 黄色网站18禁|jei423 欧洲免费vps一级毛片|1vy684 国产一级婬片高清AA片免费|me1654 国产AV无码专区国产乱码DVD|iyf764 久久久久毛片无码|lcd507 欧美色中色|a2i741 无套人妻被强中出久久|vov696 尤物18国精品午夜福利视频|2ae566 亚洲欧美在线视频|bw2186 欧美一级婬片a久久精品|nei46 爽 好舒服 快无码免费视频|w2d408 中国一级婬片A片免费播放高清|ety535 久久久久久精品国产欧美|0qx205 欧美成人精品第一区二区三区|ql1952 色欲天天婬色婬香WWW夜色|oho8 人妻激情偷乱视频一区二区三区|e1l727 日韩a人无码亚洲成a无码|mbh241