This commit is contained in:
Rob Pearce 2008-12-02 22:09:02 +00:00
parent 1c7fc8d1df
commit d89f4954ba
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ nethack.net - ratcatcher level screenshots
<script language="php">
for ($w = 1; $w <= 3; $w++) {
echo "<tr>\n";
echo "<th colspan=4>World %d</th>\n",$w;
printf("<th colspan=4>World %d</th>\n",$w);
echo "</tr>\n";
for ($l = 1; $l <= 20;) {
echo "<tr>\n";
@ -21,6 +21,7 @@ for ($w = 1; $w <= 3; $w++) {
echo "<center>\n";
printf("<img src=\"levels/level_%d_%d.png\">\n",$w,$l);
echo "<br>\n";
printf("<b>%d-%d </b>",$w,$l);
passthru("./getname.sh $w $l");
echo "</center>\n";
echo "</td>\n";