Exemple #1
0
 public static function query_user($uid = 0)
 {
     if (empty($_SESSION['admin:uid'])) {
         return 0;
     }
     if (!is_numeric($uid)) {
         return 3;
     }
     $query = "select * from `tk_tripuser` where id = '" . $_SESSION['admin:uid'] . "';";
     $result = dbconn::defdb_getRow($query);
 }