mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-12 15:46:06 +00:00
improves by songeriux + minor changes by me
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
<h1>Player profile</h1>
|
||||
<p>No player found</p>
|
||||
<?php
|
||||
header("Location: dorf1.php");
|
||||
@@ -10,6 +10,7 @@
|
||||
#################################################################################
|
||||
|
||||
$ranking->procRankReq($_GET);
|
||||
$_GET['uid'] = preg_replace("/[^0-9]/","",$_GET['uid']);
|
||||
$displayarray = $database->getUserArray($_GET['uid'],1);
|
||||
|
||||
|
||||
@@ -124,7 +125,7 @@ include("menu2.tpl");
|
||||
<td colspan="2" class="empty"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php if($_GET['uid'] == $session->uid) {
|
||||
<?php if(preg_replace("/[^0-9]/","",$_GET['uid']) == $session->uid) {
|
||||
if($session->sit == 0){
|
||||
echo "<td colspan=\"2\"> <a href=\"spieler.php?s=1\">» Change profile</a></td>";
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user