START script
Om als je inlogt na de statestieken te gaan.
wie kan my er by helpen
zeg maar om door te schakelen
Om als je inlogt na de statestieken te gaan.
wie kan my er by helpen
PHP:
<?php include("header.php"); ?>
<font size=5 color=red>MAIN</font><br>
<?php
Print "<br>Welcome back, $stat[user]!";
?>
<br><br>New Players: <a href='help.php'>Learn the Basics!</a><br><br>Location of your Knock Out Link:
<?php
Print "<br><input type=text size=47 value=http://ghetto.woelmuis.nl/page.php?x=$stat[id]>";
?>
<br><div class="tiny">Knock out your friends for money!</div><br>
<?php
if ($stat[trap] == 'on') {
print "<table class='darkbox'><tr><td align='center'>Your knock out link is currently <b>set</b>. You can <u>only</u> knock out your friends when your link is set.</a><br><br><a href='start.php?action=trapoff'><font color='#CC0000'>Click here to disarm your link.</font></a></td></tr></table>";
}
if ($stat[trap] == 'off') {
print "<table class='darkbox'><tr><td align='center'>Your knock out link is currently <b>not set</b>. You can <u>only</u> knock out your friends when your link is set.</a><br><br><a href='start.php?action=trapon'><font color='#CC0000'>Click here to set your link.</font></a></td></tr></table>";
}
?>
<?php
if ($action == trapon) {
print "<b><font color=yellow>Now you can knock out your friends!</font></B><br><br>";
mysql_query("update players set trap='on' where id=$stat[id]");
}
if ($action == trapoff) {
print "<b>You turned <b>off</b> your link</B><br><br>";
mysql_query("update players set trap='off' where id=$stat[id]");
}
?>
<br><font color="#ffffff"><b><font size="+1"><a href=help.php>Learn How To Play</a></font></b></font></p>
<?php include("footer.php"); ?>