主頁類別改為無限

This commit is contained in:
Wayne 2023-07-11 11:24:51 +08:00
parent 1e4c46dc0a
commit 340142cf06

View File

@ -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);