/*********************************************************** 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. 小13女利自慰网站WWW|9zb419 国产精品无码v在线观看|tmw983 无码AV一区二区三区在线|0id76 樱花草视频在线观看www中文|0lx302 国产免费人AA片片A片|ix0952 中文无码AV人妻久久系列蜜臀|fjt899 中文字幕无码亚洲无限码|c0n355 亚洲福利电影|ork588 国产精品扒开腿做爽爽爽的视频|0pj970 日韩AV免费在线观看|wb0360 亚洲精品免费|mpd794 亚洲精品456在线播放|w1i818 免费久久人人爽人人爽av|zgv935 A片黄片免费看|9tn87 免费在线观看黄片|ek9791 无码aⅴ精品一区二区三区浪潮|bb9906 91人人妻人人爱免费A片|szl865 欧洲亚洲精品免费二区|s9w428 久久精品无码一区二区日韩Av|qte86 韩国一级婬片A片AAA网站|9hw386 精品久久久久久久无码久中文字幕|ii0166 国产色爽免费无码视频|krz148 精品一区二区三区免费毛片爱|n0n716 亚洲一级女婬片A片AAA毛间|gkj882 黑人无码AV黑人天堂无码AV|8pv49 最近免费高清视频观看日本|vq8824 久久久久久精品免费无码无|ouj611 天天做天天添无码区亚洲|m8i811 精品亚洲成a人无码成a在线观看|ahr274 久久一级婬片A片AAA毛片A级|bfr574 香港一级婬片A片免费播放口|l9x331 国产精品v欧美精品v日韩|ioc89