mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-11 15:16:08 +00:00
update install and email activation + add friends inviting system
This commit is contained in:
@@ -138,6 +138,12 @@
|
||||
$dbarray = mysql_fetch_array($result);
|
||||
return $dbarray[$field];
|
||||
}
|
||||
|
||||
function getInvitedUser($uid) {
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "users where invited = $uid order by regtime desc";
|
||||
$result = mysql_query($q, $this->connection);
|
||||
return $this->mysql_fetch_all($result);
|
||||
}
|
||||
|
||||
function getVrefField($ref, $field){
|
||||
$q = "SELECT $field FROM " . TB_PREFIX . "vdata where wref = '$ref'";
|
||||
|
||||
Reference in New Issue
Block a user