/*********************************************************** 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. 亚洲一级黄色|tb3991 真人实拍女处被破www免费|iwx583 一级性爱视频|q3s486 av少妇无码一区二区三区|yrp165 精品久久久久久久换人妻|4qd849 在线观看国产黄A片免费网站免费|sjm868 国产色欲一区二区精品久久呦|4im357 欧美日本免费一级a一片|yl2221 亚洲V日韩V无码一区二区|gru916 日韩精品无码一级毛片免费蜜臀|r2e110 国产美女被遭强高潮免费网站|i2n364 欧美特黄网站免费一二三区|hpw708 久久精品a亚洲国产v高清不卡|2tx851 99这里只有精品|ye3727 免费A片国产毛无码A片|ame313 熟妇人妻精品一区二区视频小视频|a3y148 黄色av网站在线观看|xor577 亚洲少妇无码|3ks459 欧产日产国产精品精品|rg1274 亚洲精品综合|arv943 av少妇无码一区二区三区|o1h618 一级做a爰片久久毛片无码电影|nek873 久久久久人妻一区精品色欧美|1fl883 亚洲成AV人黄网站在线观看|2ty658 一级做a爰片久久毛片A片同性|oe2919 色欲天天婬色婬香综合网完整|gbf148 久久久久一级国产免费|e2b86 久久久久一级国产免费|rhp928 国产美女口爆吞精普通话|2bf431 国产激情一区二区三区在线|ev2319 A级毛片无码免费久久真人软件|qhj61 日韩精品一区二区三区色欲AV|d0v541