18 行
无行尾
398 B
PHP
18 行
无行尾
398 B
PHP
<?php
|
|
|
|
class Clublog_model extends CI_Model {
|
|
|
|
function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
function get_clublog_auth_info($username) {
|
|
$this->db->select('user_name, user_clublog_name, user_clublog_password, user_clublog_callsign');
|
|
$this->db->where('user_name', $username);
|
|
$query = $this->db->get($this->config->item('auth_table'));
|
|
return $row = $query->row_array();
|
|
}
|
|
}
|
|
|
|
?>
|