Access Denied");} class plugin_model extends Model { function __construct() { parent::Model(); } function plugin_model() { $this->__construct(); } //取得符合条件的插件信息 function get_all($string="") { if(!$string) { return false; } $sql = "SELECT * FROM ".$this->db->prefix."plugins WHERE status='1' AND hooks LIKE '%".$string."%' ORDER BY taxis ASC,id DESC"; return $this->db->get_all($sql); } }