improves by songeriux + minor changes by me

This commit is contained in:
unknown
2012-06-13 17:16:58 +03:00
parent f5087e1ccc
commit c7e6faebc4
23 changed files with 110 additions and 90 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
<h1>Player profile</h1>
<p>No player found</p>
<?php
header("Location: dorf1.php");
+2 -1
View File
@@ -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\">&raquo; Change profile</a></td>";
}else{