/*********************************************************** 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片在线观看亚洲|ybm724 亚洲一区二区三区无码网站|6cv584 久久久精品人妻一区二区三区李|io6781 欧美午夜一级艳片欧美精品|wgo795 亚洲无码网站|gtv375 色欲av免费一区二区三区|t6p300 黄色无码视频在线观看|jop951 亚洲综合无码|4ql838 一级片免费网站|hp5491 欧美一级日韩一级亚洲一级VA|maq600 538在线精品视频|v5r604 免费人妻AⅤ无码专区久久综合|htt886 欧美午夜一区二区福利视频|5cl153 99视频在线中文字幕|ob546 精品人妻一区二区三区四区在线|nay183 性色av免费毛片一区二区三区|i5s527 国产精品无码一区二区三区毛片|bll67 99精品人妻少妇一区二区|bmk278 久久精品综合|4ce635 国产精品自在线拍国产|kvs550 久久无码人妻一区二区三区午夜|4sr314 人妻精品久久久久中文字幕网站|jx4937 亚洲第一精品911|fqn206 亚洲中文娱乐网在线观看|h4n199 久久久久久精品一级毛片中文字幕|say945 97精品人妻无码专区在线视频区|4rq670 99精品热这里只有精品|ks4424 国产一级a做作爱片免费|wef619 亚洲精品无码午夜福利理伦片|q5x892 无码人妻aⅴ一区 二区 三区|hrs115 高清无码亚洲|3dd172 日韩精品无码人成视频手机|3xu93