mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-10 21:31:01 +00:00
big update (fix sitters, peace system, fix some problems of hero...)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<div id="textmenu">
|
||||
<a href="spieler.php?uid=<?php if(isset($_GET['uid'])) { echo $_GET['uid']; } else { echo $session->uid; } ?>" <?php if(isset($_GET['uid'])) { echo "class=\"selected\""; } ?>>Overview</a>
|
||||
| <span class=none><b>Profile</b></span>
|
||||
| <span class=none><b>Preferences</b></span>
|
||||
| <span class=none><b>Account</b></span>
|
||||
<?php
|
||||
if(GP_ENABLE) {
|
||||
?>
|
||||
| <span class=none><b>Graphic pack</b></span>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
@@ -27,8 +27,15 @@ foreach($varray as $vil) {
|
||||
?>
|
||||
<h1>Player profile</h1>
|
||||
|
||||
<?php
|
||||
if($_GET['uid'] == $session->uid) { include("menu.tpl"); } ?>
|
||||
<?php
|
||||
if($_GET['uid'] == $session->uid) {
|
||||
if($session->sit == 0){
|
||||
include("menu.tpl");
|
||||
}else{
|
||||
include("menu2.tpl");
|
||||
}
|
||||
}
|
||||
?>
|
||||
<table id="profile" cellpadding="1" cellspacing="1" >
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -118,7 +125,11 @@ if($_GET['uid'] == $session->uid) { include("menu.tpl"); } ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php if($_GET['uid'] == $session->uid) {
|
||||
if($session->sit == 0){
|
||||
echo "<td colspan=\"2\"> <a href=\"spieler.php?s=1\">» Change profile</a></td>";
|
||||
}else{
|
||||
echo "<td colspan=\"2\"> <span class=none><b>» Change profile</b></span></td>";
|
||||
}
|
||||
} else {
|
||||
echo "<td colspan=\"2\"> <a href=\"nachrichten.php?t=1&id=".$_GET['uid']."\">» Write message</a></td>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user