mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-03 00:47:19 +00:00
feat: Admin page titles update to reflect subpages
This commit is contained in:
@@ -15,7 +15,6 @@ error_reporting(E_ALL ^ E_NOTICE);
|
||||
$id = $_GET['uid'];
|
||||
if(isset($id))
|
||||
{
|
||||
$user = $database->getUserArray($id,1);
|
||||
$varray = $database->getProfileVillages($id);
|
||||
$varmedal = $database->getProfileMedal($id); ?>
|
||||
|
||||
|
||||
@@ -14,8 +14,6 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
|
||||
$id = $_GET['did'];
|
||||
if(isset($id))
|
||||
{
|
||||
$village = $database->getVillage($id);
|
||||
$user = $database->getUserArray($village['owner'],1);
|
||||
$abtech = $database->getABTech($id); // Armory/blacksmith level
|
||||
$units = $database->getUnit($village['wref']);
|
||||
$coor = $database->getCoor($village['wref']);
|
||||
|
||||
@@ -14,8 +14,6 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
|
||||
$id = $_GET['did'];
|
||||
if(isset($id))
|
||||
{
|
||||
$village = $database->getVillage($id);
|
||||
$user = $database->getUserArray($village['owner'],1);
|
||||
$units = $database->getUnit($village['wref']);
|
||||
$coor = $database->getCoor($village['wref']);
|
||||
$tribe = $user['tribe'];
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
include_once("../GameEngine/Ranking.php");
|
||||
if($_GET['uid'])
|
||||
{
|
||||
$user = $database->getUserArray($_GET['uid'],1);
|
||||
$varray = $database->getProfileVillages($_GET['uid']);
|
||||
if($user)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,6 @@ if (!isset($_SESSION)) {
|
||||
}
|
||||
if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!");
|
||||
$id = $_GET['uid'];
|
||||
$user = $database->getUserArray($id,1);
|
||||
$dur=$user['protect']-time();
|
||||
$protect=0;
|
||||
if($dur>43200) {
|
||||
|
||||
@@ -12,7 +12,6 @@ if(isset($_GET['uid'])){
|
||||
$id = (int) $_GET['uid'];
|
||||
include_once("../GameEngine/Data/hero_full.php");
|
||||
include_once("../GameEngine/Units.php");
|
||||
$user = $database->getUserArray($id,1);
|
||||
$result = mysqli_query($GLOBALS["link"], "SELECT * FROM " . TB_PREFIX . "hero WHERE `uid` = ".$id);
|
||||
$hero_info = mysqli_fetch_array($result);
|
||||
$hero = $units->Hero($id,1);
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
$id = $_GET['uid'];
|
||||
$uid = $_GET['uid'];
|
||||
$user = $database->getUserArray($id,1);
|
||||
if(isset($id))
|
||||
{
|
||||
?>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
$id = $_GET['uid'];
|
||||
$uid = $_GET['uid'];
|
||||
$user = $database->getUserArray($id,1);
|
||||
if(isset($id))
|
||||
{
|
||||
?>
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
$id = $_GET['did'];
|
||||
if(isset($id))
|
||||
{
|
||||
$village = $database->getVillage($id);
|
||||
$user = $database->getUserArray($village['owner'],1);
|
||||
$coor = $database->getCoor($village['wref']);
|
||||
//$varray = $database->getProfileVillages($village['owner']);
|
||||
//$type = $database->getVillageType($village['wref']);
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
$id = $_GET['uid'];
|
||||
$uid = $_GET['uid'];
|
||||
$user = $database->getUserArray($id,1);
|
||||
if(isset($id))
|
||||
{
|
||||
?>
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
$id = $_GET['uid'];
|
||||
if(isset($id))
|
||||
{
|
||||
$user = $database->getUserArray($id,1);
|
||||
$varray = $database->getProfileVillages($id);
|
||||
$varmedal = $database->getProfileMedal($id); ?>
|
||||
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
#################################################################################
|
||||
|
||||
$id = $_GET['did'];
|
||||
$village = $database->getVillage($id);
|
||||
$user = $database->getUserArray($village['owner'],1);
|
||||
$coor = $database->getCoor($village['wref']);
|
||||
$varray = $database->getProfileVillages($village['owner']);
|
||||
$type = $database->getVillageType($village['wref']);
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
$id = $_GET['uid'];
|
||||
$uid = $_GET['uid'];
|
||||
$user = $database->getUserArray($id,1);
|
||||
if(isset($id))
|
||||
{
|
||||
?>
|
||||
|
||||
@@ -14,8 +14,6 @@ if(isset($id))
|
||||
{
|
||||
include_once("../GameEngine/Ranking.php");
|
||||
$varmedal = $database->getProfileMedal($id);
|
||||
$displayarray = $database->getUserArray($id,1);
|
||||
$user=$displayarray;
|
||||
$profiel="".$user['desc1']."".md5('skJkev3')."".$user['desc2']."";
|
||||
$separator="../";
|
||||
require("../Templates/Profile/medal.php");
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
$id = (int) $_GET['uid'];
|
||||
if(isset($id))
|
||||
{
|
||||
$player = mysqli_fetch_assoc(mysqli_query($GLOBALS["link"], "SELECT * FROM ".TB_PREFIX."users WHERE id = $id"));
|
||||
?>
|
||||
<table cellpadding="1" cellspacing="1" id="member">
|
||||
<thead>
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
$id = (int) $_GET['uid'];
|
||||
if(isset($id))
|
||||
{
|
||||
$player = mysqli_fetch_assoc(mysqli_query($GLOBALS["link"], "SELECT * FROM ".TB_PREFIX."users WHERE id = $id"));
|
||||
?>
|
||||
<table cellpadding="1" cellspacing="1" id="member">
|
||||
<thead>
|
||||
|
||||
@@ -15,8 +15,6 @@ error_reporting(0);
|
||||
$id = $_GET['did'];
|
||||
if(isset($id))
|
||||
{
|
||||
$village = $database->getVillage($id);
|
||||
$user = $database->getUserArray($village['owner'],1);
|
||||
$coor = $database->getCoor($village['wref']);
|
||||
$varray = $database->getProfileVillages($village['owner']);
|
||||
$type = $database->getVillageType($village['wref']);
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
$id = $_GET['did'];
|
||||
if(isset($id))
|
||||
{
|
||||
$village = $database->getVillage($id);
|
||||
?>
|
||||
<br /><br />
|
||||
<table id="profile">
|
||||
|
||||
Reference in New Issue
Block a user