|
01.11.2009, 01:40
В блоке, найдите:
PHP код:
$result = $db->sql_query("SELECT pid, title FROM ".$prefix."_pages WHERE active='1' ORDER BY pid DESC LIMIT 0,10");
и замените на:
PHP код:
$result = $db->sql_query("SELECT pid, title FROM ".$prefix."_pages WHERE active='1' ORDER BY RAND() LIMIT 0,10");
|
|