/*********************************************************** 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. 精品久久久久久无码一区二区|u5n817 国产无码视频在线观看|adw354 精品午夜AV无码一区二色欲|oya373 农村一级婬片A片AAA毛片|5gz180 寂寞少妇一区二区三区|vf6691 亚洲欧洲精品无码AV毛片|ocs304 无码免费一区二区三区在线|g6e290 精品无码国产一区二区久久|see678 国产毛片久久久久久国产毛片|6tw73 亚洲A片在线观看|vj4886 A级毛片无码免费久久真人|xfv442 亚洲国产AⅤ精品一区二区高清|f4x344 国产一级婬片A片免费手机网站|hhj247 97人人模人人爽人人少妇|5ya825 国产美女口爆吞精普通话|cqn723 亚洲精品国产精品麻豆99|rs5833 亚洲国产黄色|enl51 尤物18国精品午夜福利视频|u5s451 国产精品久久久久久久久久久不卡|xji449 少妇呻吟喷水视频免费看视频|5jk531 一级婬片A片试看120秒|qw3876 邻居少妇太爽了A片无码|mwx730 天天做天天爱天天爽综合网|w4r427 久久久久久精品一级毛片中文字幕|nzw610 婷婷在线视频|j4v973 久久精品一区二区三区毛片|dqr520 91麻豆精品无码人妻系列|4ur184 国产精品天干天干在线下载|aol340 国产精品无码一级毛片古代|pz4886 国产午夜无码福利在线看网站|jtd109 国产区在线观看|x4j367 国产精品视频一区二区下载|kya824