<?php
/**
 * [UQcms System] Copyright uqcms.com
 * QQ: 2200631718
 * Author: gj.name
 * This is NOT a freeware
*/
defined('IN_UQ') or exit('Access Denied'); class company_mod extends module { function index(){ $query = $this->db->query("select * from ".table('company_base')); while($row = $this->db->fetch_array($query)){ $data[] = $row; } return $data; } function get_one($uid){ return $this->db->get_one("select * from ".table('company')." where uid = ".$uid); } }