雙引號裏面傳入表名
$this->db->table_name=$this->db->db_tablepre."admin_role";
執行查詢
$admin_role_table=$this->db->select("",'*',"",$order);
其中select對應的參數如下
$this->select($where = '', $data = '*', $limit = '', $order = '', $group = '', $key='')
載入模板文件,admin_role是template下admin_role.tpl.php不需要跟上文件名後綴
include $this->admin_tpl("admin_role");