");
echo("Alt: $old
");
echo("LetzterWebVote: {$row['lastwebvote']}
");
}
if ($old < $d) {
$sql = "UPDATE accounts SET lastwebvote='$dt',gems=gems+1 WHERE acctid=$id";
db_query($sql);
$sql = "INSERT INTO debuglog VALUES(0,now(),$id,0,'gained 1 gem for topwebgames')";
db_query($sql);
if ($_POST['test']) {
echo("erledigt.
");
}
} else {
if ($_POST['test']) {
echo("Schon gewählt.
");
}
}
?>