<?php
-/*
- * config
- */
-
-$host = "http://doko.nubati.net/database/index.php";
-$wiki = "http://wiki.nubati.net/index.php?title=EmailDoko";
-$debug = 1;
-
-$last=-2;
-
-/*
- * end config
- */
-
-
-/* helper function */
function mymail($To,$Subject,$message)
{
global $debug;
{
echo "<div class=\"info\">";
echo " is someone playing solo, etc?";
- echo "</div>";
+ echo "</div>\n";
return;
}
function display_news()
{
global $wiki;
- echo "<div class=\"bug\"> ".
- "Please hit shift+reload.<br /><hr />".
- "New Database backend, lost a few features on the way.<br /><hr />".
- "If you find more bugs, please list them in the <a href=\"".$wiki.
- "\">wiki</a>.</div>\n";
+ echo "<div class=\"bug\">\n".
+ " Please hit <strong>shift+reload</strong>.<br /><hr />\n".
+ " added local time display, let me know what you think<br /><hr />\n".
+ " If you find more bugs, please list them in the <a href=\"".$wiki.
+ "\">wiki</a>.\n</div>\n";
return;
}
case '-8':
$zone = "America/Vancouver";
break;
+ case '13':
+ $zone = "Pacific/Auckland";
+ break;
default:
$zone = "Europe/London";
}
return $zone;
}
+function output_form_for_new_game()
+{
+?>
+ <p>Please add 4 names, please make sure that the names are correct! </p>
+ <form action="index.php" method="post">
+ Name: <input name="PlayerA" type="text" size="10" maxlength="20" />
+ Name: <input name="PlayerB" type="text" size="10" maxlength="20" />
+ Name: <input name="PlayerC" type="text" size="10" maxlength="20" />
+ Name: <input name="PlayerD" type="text" size="10" maxlength="20" />
+
+ <input type="submit" value="start game" />
+ </form>
+<?php
+}
+
?>
\ No newline at end of file