Mercurial > hg > batmud > alchtool
changeset 3:c99ef0e7f8db
Cleanups.
author | ccr@tnsp.org |
---|---|
date | Sat, 18 Dec 2010 16:38:35 +0200 |
parents | aca6e52b682e |
children | 78d82d18ce7f |
files | index.php |
diffstat | 1 files changed, 21 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/index.php Sat Dec 18 16:35:38 2010 +0200 +++ b/index.php Sat Dec 18 16:38:35 2010 +0200 @@ -1,14 +1,13 @@ <?php -$tick=array_sum(explode(" ",microtime())); - +$tick = array_sum(explode(" ", microtime())); ?> -<HTML> -<HEAD> -<TITLE>alch tools</TITLE> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<html> + <head> + <title>alch tools</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="alch.css" title="compact" rel="stylesheet" type="text/css"> - </HEAD> -<BODY> + </head> +<body> <?php $minerals=array("void", @@ -91,6 +90,7 @@ "tail", "tendril", "wing"); + $herbs=array( array("void","void"), array("apple","wormwood"), array("barberry","yarrow"), @@ -521,20 +521,21 @@ ?> <br> Change index key to [<a href="?org=1">organs</a>] [<a href="?min=1">minerals</a>] [<a href="?herb=1">herbs</a>] -<br><br> -<table border=1 cellspacing=1> -<tr><th colspan=2 class="noframe">Legend</th></tr> -<tr><td> </td><th class="noframe">Not researched yet</th></tr> -<tr><td class="no">-</td><th class="noframe">No match</th></tr> -<tr><td class="nomark">-</td><th class="noframe">Marked to no potion by another no match.</th></tr> -<tr><td class="noclose">-</td><th class="noframe">2 materials match, marked as no potion by another no match.</th></tr> -<tr><td class="close">?</td><th class="noframe">2 materials match</th></tr> -<tr><td class="accept">!</td><th class="noframe">Accepted potion</th></tr> -<tr><td class="pair"> </td><th class="noframe">Known to be possible potion by other attempts</th></tr> +<br> +<br> +<table border="1" cellspacing="1"> + <tr><th colspan="2" class="noframe">Legend</th></tr> + <tr><td> </td><th class="noframe">Not researched yet</th></tr> + <tr><td class="no">-</td><th class="noframe">No match</th></tr> + <tr><td class="nomark">-</td><th class="noframe">Marked to no potion by another no match.</th></tr> + <tr><td class="noclose">-</td><th class="noframe">2 materials match, marked as no potion by another no match.</th></tr> + <tr><td class="close">?</td><th class="noframe">2 materials match</th></tr> + <tr><td class="accept">!</td><th class="noframe">Accepted potion</th></tr> + <tr><td class="pair"> </td><th class="noframe">Known to be possible potion by other attempts</th></tr> </table> <?php -$tock=array_sum(explode(" ",microtime())); +$tock = array_sum(explode(" ",microtime())); echo "Page took " . round(($tock - $tick),2) . " seconds to process.<br>"; ?> </body> -</html> \ No newline at end of file +</html>