mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
list_new : change to sql on members, more improvement on sql
This commit is contained in:
@@ -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()){
|
||||
|
Reference in New Issue
Block a user