主頁類別改為無限
This commit is contained in:
parent
1e4c46dc0a
commit
340142cf06
@ -148,7 +148,7 @@ function get_rand5_portals($type=1)
|
|||||||
$sql = 'SELECT * ' .
|
$sql = 'SELECT * ' .
|
||||||
' FROM ' . $GLOBALS['ecs']->table('portal') .
|
' FROM ' . $GLOBALS['ecs']->table('portal') .
|
||||||
' WHERE type = '. $type .
|
' WHERE type = '. $type .
|
||||||
' ORDER BY rand() LIMIT 7';
|
' ORDER BY rand()';
|
||||||
|
|
||||||
$portals_res = $GLOBALS['db']->getAll($sql);
|
$portals_res = $GLOBALS['db']->getAll($sql);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user