Как сделать что бы выводился полный список страничек(1.2.3.4.5.6.7.8.9), а не (1.2.3.4.5>) Вот сам код: PHP: ## Выбор странички function menu () { $s = $GLOBALS["s"]; $ert = $GLOBALS["ert"]; $delen = $GLOBALS["delen"]; //$x = $GLOBALS["x"]; $c = $GLOBALS["c"]; $book = $GLOBALS["book"]; $bas = $GLOBALS["bas"]; $m = $GLOBALS["m"]; $strok=""; if (!empty($s[3])) if ($s[3] <> 100) $strok=$s[3]."@"; print("<br><span class=\"page\">"); if (!$ert=="0") { $qww=($ert-1)*$delen+1; print ("<a href=\"$bas[0]-$book-1-$strok.htm\"> <<</a>"); print("<a href=\"$bas[0]-$book-$qww-$strok.htm\"> <</a>"); } $x=($ert+1)*$delen+1; if ($x>$c) $x=$c; for($i=$ert*$delen+1; $i <= $x; $i++) { if ($m==$i) print("<font color=red><a href=\"/\"> $i</a></font>"); else print("<a href=\"$bas[0]-$book-$i-$strok.htm\"> $i</a>"); } if (ceil($c/$delen)-1<>$ert) { $qww=($ert+1)*$delen+1; print "<a href=\"$bas[0]-$book-$qww-$strok.htm\"> ></a>"; print "<a href=\"$bas[0]-$book-$c-$strok.htm\"> >></a>"; } print("<a href=\"$bas[0]-$book-1-50.htm\"> :50</a>"); print("<a href=\"$bas[0]-$book-1-150.htm\"> :150</a>"); print("<a href=\"$bas[0]-$book-1-200.htm\"> :200</a>"); print("<a href=\"$bas[0]-$book-1-300.htm\"> :300</a>"); print("<a href=\"$bas[0]-$book-1-400.htm\"> :400</a>"); print("</span>"); } [/code]
Что-то мне подсказывает, что для получения переменных он эсплодит REQUEST_URI, следовательно, глобалс тут не при чем.