<title>Animal Crossing - Item Listing</title>
<center>
<h1>Item list</h1>
This item list contains every item currently known.
<p>
<?php if(!$glitch){ ?><a href="?glitch=1">With glitches</a><?php } ?>
<?php if($glitch){ ?><a href="?glitch=0">Without glitches</a><?php } ?>
<table width=90% bgcolor="#CECECE">
<tr bgcolor="#EAEAEA">
<td width=25%>
<b>Item number (dec)</b>
</td>
<td width=25%>
<b>Item number (hex)</b>
</td>
<td>
<b>Description</b>
</td>
</tr>
<?
include "itemlist.php";
if($glitch)include "glitchlist.php";
ksort($itemlist);
reset($itemlist);
while (list($key, $val) = each($itemlist))
{
echo "<tr bgcolor='#FFFFFF'><td>$key</td><td>0x".str_pad( dechex( $key ),4 ,"0",STR_PAD_LEFT)."</td><td>$val</td></tr>\n";
}
?>
</table>
</center>