/*********************************************************** 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. 永久黄网站免费视频性色|eru689 A片免费看久久久久久看|2oq382 无码aⅴ精品一区二区三区浪潮|fz2931 亚洲黄片无码|tnr728 国产一级毛片视频无码|d2w480 少妇高潮太爽了免费观看|aqv796 久久精品无码一区二区日韩Av|2fb581 欧美午夜一级艳片欧美精品|yqy283 天堂AV无码一区二区三区|cu3510 日本免费一级婬片A级真实视频|kze574 国产福利在线观看|c3o59 免费无码A片一区二区三区视色|nfj79 亚洲精品无码AⅤ777777|1ye557 亚洲欧美一区二区综合精品|if1689 久久久久亚洲精品中文字幕天堂|ctx759 国产一级a做作爱片免费|a1p724 国产欧美在线观看不卡|cwj394 超碰免费在线观看|2gs784 亚洲A片在线观看|zsz130 亚洲午夜福利AV一区二区无码|2it703 国产精品一区二区在线观看|oeh322 欧美午夜福利|qn2367 亚洲AV永久无码精品|hcj288 国产色欲一区二区精品久久呦|b0j940 免费午夜无码18网站|gbi359 久久久久亚洲精品中文字幕|0ks430 国产精品久久国产精品99无码|fv1267 国内性无码播放视频|xou981 免费一级A片毛毛片在线播放99|w1f751 国产黃色A片精品|pgq634 无码人妻AⅤ一区二区三区|1zi628 无码人妻一区二区三区精品视频|yr1125