You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
$findkey = mysql_query("SELECT * FROM activation WHERE `key`='".$_GET['key']."'") or die(mysql_error());
if(mysql_num_rows($findkey) == "1")
{
$key = mysql_fetch_assoc($findkey);
echo("<center>The account, ".$key['username']." has now been activated. You may now start playing immediately.<br /><a href='index.php'>Login Here</a></center>");
$deletekey = mysql_query("DELETE FROM activation WHERE `key`='".$_GET['key']."'") or die(mysql_error());
$activatechar = mysql_query("UPDATE characters SET activated='Yes' WHERE username='".$key['username']."'");
}
else
{
echo("<center>This Activation Key cannot be found. Please follow the link sent to your email address.</center>");
}
}
else
{
echo("<center>Cannot find Activation Key. Please follow the link sent to your email address.</center>");