fix spieler.php + multivillage.tpl and fix player register time

This commit is contained in:
unknown
2012-04-04 19:14:32 +03:00
parent 3d49190031
commit 6ef77feda0
6 changed files with 33 additions and 11 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
function register($username, $password, $email, $tribe, $locate, $act) {
$time = time();
$timep = (time() + PROTECTION);
$q = "INSERT INTO " . TB_PREFIX . "users (username,password,access,email,timestamp,tribe,location,act,protect) VALUES ('$username', '$password', " . USER . ", '$email', $time, $tribe, $locate, '$act', $timep)";
$q = "INSERT INTO " . TB_PREFIX . "users (username,password,access,email,timestamp,tribe,location,act,protect,regtime) VALUES ('$username', '$password', " . USER . ", '$email', $time, $tribe, $locate, '$act', $timep, $time)";
if(mysql_query($q, $this->connection)) {
return mysql_insert_id($this->connection);
} else {