{
echo "Can't find you in the database, please check the url.<br />\n";
echo "perhaps the game has been canceled, check by login in <a href=\"$INDEX\">here</a>.";
{
echo "Can't find you in the database, please check the url.<br />\n";
echo "perhaps the game has been canceled, check by login in <a href=\"$INDEX\">here</a>.";
$myname = DB_get_name('hash',$me);
/* check if game really is old enough to be canceled */
$myname = DB_get_name('hash',$me);
/* check if game really is old enough to be canceled */
if(time()-strtotime($r[0]) > 60*60*24*30) /* = 1 month */
{
$message = "Hello, \n\n".
"Game ".DB_format_gameid($gameid).
" has been canceled since nothing happend for a while and $myname requested it.\n";
if(time()-strtotime($r[0]) > 60*60*24*30) /* = 1 month */
{
$message = "Hello, \n\n".
"Game ".DB_format_gameid($gameid).
" has been canceled since nothing happend for a while and $myname requested it.\n";
echo "<p style=\"background-color:red\";>Game ".DB_format_gameid($gameid).
" has been canceled.<br /><br /></p>";
}
echo "<p style=\"background-color:red\";>Game ".DB_format_gameid($gameid).
" has been canceled.<br /><br /></p>";
}