Mercurial > hg > batmud > maputils
diff www/info.php @ 1140:3bb8253db932
New website layout and some minor improvements.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 08 Jul 2011 02:17:22 +0300 |
parents | 3dc58d67b7b4 |
children | 52550f58cee5 |
line wrap: on
line diff
--- a/www/info.php Fri Jul 08 02:17:00 2011 +0300 +++ b/www/info.php Fri Jul 08 02:17:22 2011 +0300 @@ -5,8 +5,10 @@ /* Page start */ printPageHeader($pageTitle." - Wizards of the Realm"); -//echo "<div><b>DEVELOPMENT VERSION</b></div>"; + +require "menu.inc.php"; ?> +<div id="contents"> <h1>Wizards of the Realm</h1> <div class="attnbox"> @@ -23,6 +25,7 @@ <b>Notice #3</b>: It is certainly possible, that some of this information is incorrect. Sorry for that. Please report to <? burl("Ggr") ?>, if you have Knowledge(tm). </div> +<hr /> <div style="text-align: center;"> <table style="background: black;"> <tr> @@ -30,7 +33,6 @@ <td style="background: #744">No wizard information entry.</td> </tr> </table> - [<a href="<? echo $pageIndex ?>">Back to main page</a>]<br /> </div> <? @@ -78,8 +80,8 @@ if (count($data) > 0) { usort($data, "wizardSort"); - echo "<h3><a name=\"".strtolower($alpha)."\"></a>".$alpha."</h3>\n"; - echo "<table class=\"loc\" width=\"95%\">\n"; + echo "<h3><a name=\"".$alpha."\"></a>".$alpha."</h3>\n"; + echo "<table class=\"loc\">\n"; $n = 0; foreach ($data as $wizard) { @@ -112,9 +114,20 @@ } echo "<p><b>".$totalWiz."</b> wizards.</p>\n"; + + /* Print out the alpha link index + */ + echo "<div id=\"extrabox\">\n". + " <div style=\"font-size: 12pt; padding: 5pt;\">\n"; + foreach ($alphaTable as $alpha => $alphaLocs) { + echo " <a href=\"#".$alpha."\">".$alpha."</a> \n"; + } + echo "\n </div>\n". + "</div>\n"; } else { echo "<p><b>No wizards known!</b></p>\n"; } ?> +</div> </body> </html>