/*********************************************************** 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. 性欧美大战久久久久久久久|gir97 国产高潮流白浆喷水免费A片激情|r0m86 无码AV一区二区三区在线|etc847 日韩无码一级|0yf432 久久久精品A片免费观看|8en318 一级做a爰片久久毛片A片|eq9171 女人一级A片自慰免费看|9dx660 人妻夜夜爽天天爽爽一区|vh9557 亚洲精品国精品久久99热|qbw672 亚洲一级av一级无码毛片|a9x994 永久黄网站免费视频性色|uab551 无码一级做a爱过程免费视频|9aw744 国产精品天干天干在线下载|zn9603 精品久久久久久亚洲综合|tfe964 免费一级伦奷片高潮无码|k9c125 免费一级A片毛毛片在线播放99|win117 欧美人与动欧交视频|8vw535 精品久久久久久久换人妻|8fg433 爽 好舒服 无码视频|uf8510 国产无码视频|col588 久久久久久精品免费无码无|p8i977 免费观看久久精品视频|zll390 国精品人妻无码一区二区三区3D|8pp612 色偷偷88888欧美精品久久久|yj819 色欲一区二区三区无码|vdb867 亚洲 福利 在线 欧美 写真|z9x570 精品久久久久久久久无码|cop251 欧美午夜片一区二区三区|9wr563 亚洲熟妇AV欧差aA片爽|eq7462 处一女一级a一片|oa7915 狼人色国产在线视频|oaa89 A片在线观看网站2|c7e17