mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-14 07:11:02 +00:00
Update Units.php
This commit is contained in:
@@ -669,6 +669,16 @@ if($session->access != BANNED){
|
|||||||
}else{
|
}else{
|
||||||
header("Location: banned.php");
|
header("Location: banned.php");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function getOasisEnforceArray($id, $mode=0) {
|
||||||
|
if (!$mode) {
|
||||||
|
$q = "SELECT e.*,o.conqured FROM ".TB_PREFIX."enforcement as e LEFT JOIN ".TB_PREFIX."odata as o ON e.vref=o.wref where e.id = $id";
|
||||||
|
}else{
|
||||||
|
$q = "SELECT e.*,o.conqured FROM ".TB_PREFIX."enforcement as e LEFT JOIN ".TB_PREFIX."odata as o ON e.from=o.wref where e.id =$id";
|
||||||
|
}
|
||||||
|
$result = mysql_query($q, $this->connection);
|
||||||
|
return mysql_fetch_assoc($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function Settlers($post) {
|
public function Settlers($post) {
|
||||||
|
|||||||
Reference in New Issue
Block a user