mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
list_new : change to sql on members, more improvement on sql
This commit is contained in:
parent
5f3fe3fee6
commit
699641651a
@ -11,11 +11,11 @@ if (!defined('e107_INIT')) { exit; }
|
||||
}else{
|
||||
$qry = " ";
|
||||
}
|
||||
$qry .= " user_ban='0' ORDER BY user_join DESC LIMIT 0,".intval($arr[7]);
|
||||
$qry .= " user_ban=0 ORDER BY user_join DESC LIMIT 0,".intval($arr[7]);
|
||||
|
||||
$bullet = $this -> getBullet($arr[6], $mode);
|
||||
|
||||
if(!$sql -> db_Select("user", "*", $qry)){
|
||||
if(!$sql -> db_Select("user", "user_id,user_name,user_join", $qry)){
|
||||
$LIST_DATA = LIST_MEMBER_2;
|
||||
}else{
|
||||
while($row = $sql -> db_Fetch()){
|
||||
|
Loading…
x
Reference in New Issue
Block a user