mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-17 18:16:09 +00:00
update install and email activation + add friends inviting system
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<div style="margin-top: 50px;">
|
||||
<center>
|
||||
<h1>404 - File not found</h1>
|
||||
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br />
|
||||
<img src="../../<?php echo GP_LOCATE; ?>img/misc/404.gif" title="Not Found" alt="Not Found"><br />
|
||||
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
|
||||
<p>This system is not complete yet. So the page probably does not exist.</p><br>
|
||||
</center>
|
||||
|
||||
@@ -19,7 +19,7 @@ if(isset($id))
|
||||
$varray = $database->getProfileVillages($id);
|
||||
$varmedal = $database->getProfileMedal($id); ?>
|
||||
|
||||
<link href="../gpack/travian_default/lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<style type="text/css">
|
||||
input.dynamic_img, img.dynamic_img
|
||||
{
|
||||
@@ -29,7 +29,7 @@ if(isset($id))
|
||||
input#btn_send
|
||||
{
|
||||
width: 97px;
|
||||
background-image: url(../gpack/travian_default/lang/en/b/send.gif);
|
||||
background-image: url(../<?php echo GP_LOCATE; ?>lang/en/b/send.gif);
|
||||
}
|
||||
div.messages div#write_content #heading input
|
||||
{
|
||||
@@ -43,12 +43,12 @@ if(isset($id))
|
||||
<div id="content" class="messages">
|
||||
<div id="read_head" class="msg_head"></div>
|
||||
<div id="read_content" class="msg_content">
|
||||
<img src="../../gpack/travian_default/lang/en/msg/block_bg24b.gif" id="label" class="read" alt="">
|
||||
<img src="../../<?php echo GP_LOCATE; ?>lang/en/msg/block_bg24b.gif" id="label" class="read" alt="">
|
||||
|
||||
<div id="heading">
|
||||
<input type="hidden" name="uid" value="<?php echo $id; ?>">
|
||||
<div><a href="admin.php?p=player&uid=<?php echo $user['id']; ?>"><?php echo $user['username']; ?></a></div>
|
||||
<div><input type="text" value="Message From Admin" name="topic" id="subject" value="" maxlength="35" style="background-image: url('../gpack/travian_default/img/msg/underline.gif'); background-position: left -2px; background-repeat: repeat-x; outline: none; border: medium none; width: 267px; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px;"></div>
|
||||
<div><input type="text" value="Message From Admin" name="topic" id="subject" value="" maxlength="35" style="background-image: url('../<?php echo GP_LOCATE; ?>img/msg/underline.gif'); background-position: left -2px; background-repeat: repeat-x; outline: none; border: medium none; width: 267px; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px;"></div>
|
||||
</div>
|
||||
<div id="time">
|
||||
<div><?php echo date('d.m.y'); ?></div>
|
||||
@@ -57,7 +57,7 @@ if(isset($id))
|
||||
<div class="clear"></div>
|
||||
<div class="line"></div>
|
||||
<div class="message" style="margin-top: 10px;">
|
||||
<textarea id="message" name="message" style="background-image: url('../gpack/travian_default/img/msg/underline.gif'); background-repeat: repeat; font-size: 12px; border: medium none; height: 258px; line-height: 16px; width: 412px; font-family: Verdana,Arial,Helvetica,sans-serif;">Message Here</textarea>
|
||||
<textarea id="message" name="message" style="background-image: url('../<?php echo GP_LOCATE; ?>img/msg/underline.gif'); background-repeat: repeat; font-size: 12px; border: medium none; height: 258px; line-height: 16px; width: 412px; font-family: Verdana,Arial,Helvetica,sans-serif;">Message Here</textarea>
|
||||
</div>
|
||||
<p class="btn">
|
||||
<input type="image" value="submit" name="s1" id="btn_send" class="dynamic_img clicked" src="../img/admin/x.gif" alt="send" tabindex="4;">
|
||||
|
||||
@@ -65,11 +65,11 @@ error_reporting(0);
|
||||
<tr>
|
||||
<td><a href=\"?p=player&uid=".$uid."\">".$active[$i]['username']." [".$active[$i]['access']."]</a></td>
|
||||
<td>".date("H:i:s",$active[$i]['timestamp'])."</td>
|
||||
<td><img src=\"../../gpack/travian_default/img/u/".$img."9.gif\" title=\"$tribe\" alt=\"$tribe\"></td>
|
||||
<td><img src=\"../../<?php echo GP_LOCATE; ?>img/u/".$img."9.gif\" title=\"$tribe\" alt=\"$tribe\"></td>
|
||||
<td>".$totalpop."</td>
|
||||
<td>".count($varray)."</td>
|
||||
<td><img src=\"../img/admin/gold.gif\" class=\"gold\" alt=\"Gold\" title=\"This user has: ".$active[$i]['gold']." gold\"/> ".$active[$i]['gold']."</td>
|
||||
<td><img src=\"../gpack/travian_default/img/a/online1.gif\"></td>
|
||||
<td><img src=\"../<?php echo GP_LOCATE; ?>img/a/online1.gif\"></td>
|
||||
</tr>";
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -190,104 +190,104 @@ if(isset($id))
|
||||
else if($user['tribe'] == 4){ ?>
|
||||
</tr></thead><tbody>
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/31.gif"></img> <?php echo U31; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/31.gif"></img> <?php echo U31; ?></td>
|
||||
<td class="addTroops"><input class="addTroops" name="u31" id="u31" value="<?php echo $units['u31']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u31']; ?></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/32.gif"></img> <?php echo U32; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/32.gif"></img> <?php echo U32; ?></td>
|
||||
<td><input class="addTroops" name="u32" id="u32" value="<?php echo $units['u32']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u32']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/33.gif"></img> <?php echo U33; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/33.gif"></img> <?php echo U33; ?></td>
|
||||
<td><input class="addTroops" name="u33" id="u33" value="<?php echo $units['u33']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u33']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/34.gif"></img> <?php echo U34; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/34.gif"></img> <?php echo U34; ?></td>
|
||||
<td><input class="addTroops" name="u34" id="u34" value="<?php echo $units['u34']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u34']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/35.gif"></img> <?php echo U35; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/35.gif"></img> <?php echo U35; ?></td>
|
||||
<td><input class="addTroops" name="u35" id="u35" value="<?php echo $units['u35']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u35']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/36.gif"></img> <?php echo U36; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/36.gif"></img> <?php echo U36; ?></td>
|
||||
<td><input class="addTroops" name="u36" id="u36" value="<?php echo $units['u36']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u36']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/37.gif"></img> <?php echo U37; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/37.gif"></img> <?php echo U37; ?></td>
|
||||
<td><input class="addTroops" name="u37" id="u37" value="<?php echo $units['u37']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u37']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/38.gif"></img> <?php echo U38; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/38.gif"></img> <?php echo U38; ?></td>
|
||||
<td><input class="addTroops" name="u38" id="u38" value="<?php echo $units['u38']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u38']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/39.gif"></img> <?php echo U39; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/39.gif"></img> <?php echo U39; ?></td>
|
||||
<td><input class="addTroops" name="u39" id="u39" value="<?php echo $units['u39']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u39']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/40.gif"></img> <?php echo U40; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/40.gif"></img> <?php echo U40; ?></td>
|
||||
<td><input class="addTroops" name="u40" id="u40" value="<?php echo $units['u40']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u40']; ?></td>
|
||||
</tr>
|
||||
<?php }
|
||||
else if($user['tribe'] == 5){ ?>
|
||||
</tr></thead><tbody>
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/41.gif"></img> <?php echo U41; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/41.gif"></img> <?php echo U41; ?></td>
|
||||
<td class="addTroops"><input class="addTroops" name="u41" id="u41" value="<?php echo $units['u41']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u41']; ?></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/42.gif"></img> <?php echo U42; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/42.gif"></img> <?php echo U42; ?></td>
|
||||
<td><input class="addTroops" name="u42" id="u42" value="<?php echo $units['u42']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u42']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/43.gif"></img> <?php echo U43; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/43.gif"></img> <?php echo U43; ?></td>
|
||||
<td><input class="addTroops" name="u43" id="u43" value="<?php echo $units['u43']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u43']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/44.gif"></img> <?php echo U44; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/44.gif"></img> <?php echo U44; ?></td>
|
||||
<td><input class="addTroops" name="u44" id="u44" value="<?php echo $units['u44']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u44']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/45.gif"></img> <?php echo U45; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/45.gif"></img> <?php echo U45; ?></td>
|
||||
<td><input class="addTroops" name="u45" id="u45" value="<?php echo $units['u45']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u45']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/46.gif"></img> <?php echo U46; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/46.gif"></img> <?php echo U46; ?></td>
|
||||
<td><input class="addTroops" name="u46" id="u46" value="<?php echo $units['u46']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u46']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/47.gif"></img> <?php echo U47; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/47.gif"></img> <?php echo U47; ?></td>
|
||||
<td><input class="addTroops" name="u47" id="u47" value="<?php echo $units['u47']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u47']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/48.gif"></img> <?php echo U48; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/48.gif"></img> <?php echo U48; ?></td>
|
||||
<td><input class="addTroops" name="u48" id="u48" value="<?php echo $units['u48']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u48']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/49.gif"></img> <?php echo U49; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/49.gif"></img> <?php echo U49; ?></td>
|
||||
<td><input class="addTroops" name="u49" id="u49" value="<?php echo $units['u49']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u49']; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="addTroops"><img src="../gpack/travian_default/img/u/50.gif"></img> <?php echo U50; ?></td>
|
||||
<td class="addTroops"><img src="../<?php echo GP_LOCATE; ?>img/u/50.gif"></img> <?php echo U50; ?></td>
|
||||
<td><input class="addTroops" name="u50" id="u50" value="<?php echo $units['u50']; ?>" maxlength="10"> <font color="#bcbcbc" size="1">Currently: <b><?php echo $units['u50']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
@@ -271,8 +271,8 @@ if($_GET['aid'])
|
||||
if($row['type'] == 1) { $type = 'Confederation Pact'; }
|
||||
if($row['type'] == 2) { $type = 'Non Agression Pact'; }
|
||||
if($row['type'] == 3) { $type = 'Declaration of War'; }
|
||||
if($row['accepted'] == 0) { $accepted = "<img src=\"../../gpack/travian_default/img/a/del.gif\">"; }
|
||||
if($row['accepted'] ==1) { $accepted = "<img src=\"../../gpack/travian_default/img/a/acc.gif\">"; }
|
||||
if($row['accepted'] == 0) { $accepted = "<img src=\"../../<?php echo GP_LOCATE; ?>img/a/del.gif\">"; }
|
||||
if($row['accepted'] ==1) { $accepted = "<img src=\"../../<?php echo GP_LOCATE; ?>img/a/acc.gif\">"; }
|
||||
|
||||
$ally = mysql_fetch_assoc(mysql_query("SELECT * FROM ".TB_PREFIX."alidata WHERE id = ".$row['alli2'].""));
|
||||
echo '
|
||||
@@ -306,8 +306,8 @@ if($_GET['aid'])
|
||||
if($row['type'] == 1) { $type = 'Confederation Pact'; }
|
||||
if($row['type'] == 2) { $type = 'Non Agression Pact'; }
|
||||
if($row['type'] == 3) { $type = 'Declaration of War'; }
|
||||
if($row['accepted'] == 0) { $accepted = "<img src=\"../../gpack/travian_default/img/a/del.gif\">"; }
|
||||
if($row['accepted'] ==1) { $accepted = "<img src=\"../../gpack/travian_default/img/a/acc.gif\">"; }
|
||||
if($row['accepted'] == 0) { $accepted = "<img src=\"../../<?php echo GP_LOCATE; ?>img/a/del.gif\">"; }
|
||||
if($row['accepted'] ==1) { $accepted = "<img src=\"../../<?php echo GP_LOCATE; ?>img/a/acc.gif\">"; }
|
||||
|
||||
$ally = mysql_fetch_assoc(mysql_query("SELECT * FROM ".TB_PREFIX."alidata WHERE id = ".$row['alli1'].""));
|
||||
echo '
|
||||
@@ -342,8 +342,8 @@ if($_GET['aid'])
|
||||
if($row['type'] == 1) { $type = 'Confederation Pact'; }
|
||||
if($row['type'] == 2) { $type = 'Non Agression Pact'; }
|
||||
if($row['type'] == 3) { $type = 'Declaration of War'; }
|
||||
if($row['accepted'] == 0) { $accepted = "<img src=\"../../gpack/travian_default/img/a/del.gif\">"; }
|
||||
if($row['accepted'] == 1) { $accepted = "<img src=\"../../gpack/travian_default/img/a/acc.gif\">"; }
|
||||
if($row['accepted'] == 0) { $accepted = "<img src=\"../../<?php echo GP_LOCATE; ?>img/a/del.gif\">"; }
|
||||
if($row['accepted'] == 1) { $accepted = "<img src=\"../../<?php echo GP_LOCATE; ?>img/a/acc.gif\">"; }
|
||||
|
||||
$ally1 = mysql_fetch_assoc(mysql_query("SELECT * FROM ".TB_PREFIX."alidata WHERE id = ".$row['alli1'].""));
|
||||
$ally2 = mysql_fetch_assoc(mysql_query("SELECT * FROM ".TB_PREFIX."alidata WHERE id = ".$row['alli2'].""));
|
||||
@@ -351,7 +351,7 @@ if($_GET['aid'])
|
||||
<tr>
|
||||
<td><a href="admin.php?p=alliance&aid='.$row['alli1'].'">'.$ally1['tag'].'</a> & <a href="admin.php?p=alliance&aid='.$row['alli2'].'">'.$ally2['tag'].'</a></td>
|
||||
<td>'.$type.'</td>
|
||||
<td><img src="../../gpack/travian_default/img/a/acc.gif"></td>
|
||||
<td><img src="../../<?php echo GP_LOCATE; ?>img/a/acc.gif"></td>
|
||||
</tr>';
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -48,9 +48,9 @@
|
||||
<td>$rank</td>
|
||||
<td>$week</td>
|
||||
<td>$points</td>
|
||||
<td><img src=\"../gpack/travian_default/img/t/".$medal['img'].".jpg\"></td>
|
||||
<td><img src=\"../<?php echo GP_LOCATE; ?>img/t/".$medal['img'].".jpg\"></td>
|
||||
<td>
|
||||
<input type=\"image\" name=\"medalid\" value=\"".$medal['id']."\" style=\"background-image: url('../gpack/travian_default/img/a/del.gif'); height: 12px; width: 12px;\" src=\"../gpack/travian_default/img/a/x.gif\">
|
||||
<input type=\"image\" name=\"medalid\" value=\"".$medal['id']."\" style=\"background-image: url('../<?php echo GP_LOCATE; ?>img/a/del.gif'); height: 12px; width: 12px;\" src=\"../<?php echo GP_LOCATE; ?>img/a/x.gif\">
|
||||
</td>
|
||||
</tr>";
|
||||
}
|
||||
@@ -80,7 +80,7 @@
|
||||
<form action="../GameEngine/Admin/Mods/delallymedalbyaid.php" method="POST">
|
||||
<input type="hidden" name="admid" id="admid" value="<?php echo $_SESSION['id']; ?>">
|
||||
<input type="hidden" name="aid" value="<?php echo $_GET['aid']; ?>">
|
||||
<input type="image" name="allyid" value="<?php echo $id; ?>" style="background-image: url('../gpack/travian_default/img/a/del.gif'); height: 12px; width: 12px;" src="../gpack/travian_default/img/a/x.gif">
|
||||
<input type="image" name="allyid" value="<?php echo $id; ?>" style="background-image: url('../<?php echo GP_LOCATE; ?>img/a/del.gif'); height: 12px; width: 12px;" src="../<?php echo GP_LOCATE; ?>img/a/x.gif">
|
||||
</form>
|
||||
</td>
|
||||
</tbody>
|
||||
|
||||
@@ -80,7 +80,7 @@ $nummedals = mysql_num_rows($sql);
|
||||
echo "<tr>
|
||||
<td>$newweek</td>
|
||||
<td>$tot</td>
|
||||
<td><input type=\"image\" name=\"deleteweek\" value=\"".$newweek."\" style=\"background-image: url('../gpack/travian_default/img/a/del.gif'); height: 12px; width: 12px;\" src=\"../gpack/travian_default/img/a/x.gif\"></td>";
|
||||
<td><input type=\"image\" name=\"deleteweek\" value=\"".$newweek."\" style=\"background-image: url('../<?php echo GP_LOCATE; ?>img/a/del.gif'); height: 12px; width: 12px;\" src=\"../<?php echo GP_LOCATE; ?>img/a/x.gif\"></td>";
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
@@ -139,7 +139,7 @@ $nummedals = mysql_num_rows($sql);
|
||||
<tr>
|
||||
<td>$i</td>
|
||||
<td>[#$bb]</td>
|
||||
<td><img src=\"../../gpack/travian_default/img/t/".$row['img'].".jpg\"></td>
|
||||
<td><img src=\"../../<?php echo GP_LOCATE; ?>img/t/".$row['img'].".jpg\"></td>
|
||||
<td>$alliance</td>
|
||||
<td>$rank</td>
|
||||
<td>$week</td>
|
||||
|
||||
@@ -80,7 +80,7 @@ $nummedals = mysql_num_rows($sql);
|
||||
$sql = mysql_query("SELECT * FROM ".TB_PREFIX."medal WHERE week = $newweek");
|
||||
$tot = mysql_num_rows($sql);
|
||||
|
||||
echo "<tr><td>$newweek</td><td>$tot</td><td><input type=\"image\" name=\"medalweek\" value=\"".$newweek."\" style=\"background-image: url('../gpack/travian_default/img/a/del.gif'); height: 12px; width: 12px;\" src=\"../gpack/travian_default/img/a/x.gif\"></td>";
|
||||
echo "<tr><td>$newweek</td><td>$tot</td><td><input type=\"image\" name=\"medalweek\" value=\"".$newweek."\" style=\"background-image: url('../<?php echo GP_LOCATE; ?>img/a/del.gif'); height: 12px; width: 12px;\" src=\"../<?php echo GP_LOCATE; ?>img/a/x.gif\"></td>";
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
@@ -152,7 +152,7 @@ $nummedals = mysql_num_rows($sql);
|
||||
<tr>
|
||||
<td>$i</td>
|
||||
<td>[#$bb]</td>
|
||||
<td><img src=\"../../gpack/travian_default/img/t/".$row['img'].".jpg\"></td>
|
||||
<td><img src=\"../../<?php echo GP_LOCATE; ?>img/t/".$row['img'].".jpg\"></td>
|
||||
<td>$player</td>
|
||||
<td>$rank</td>
|
||||
<td>$week</td>
|
||||
|
||||
@@ -19,7 +19,7 @@ $fdata = $database->getResourceLevel($village['wref']);
|
||||
if(isset($id))
|
||||
{
|
||||
include("search2.tpl"); ?>
|
||||
<link href="../gpack/travian_default/lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<form action="../GameEngine/Admin/Mods/editResources.php" method="POST">
|
||||
<input type="hidden" name="admid" id="admid" value="<?php echo $_SESSION['id']; ?>">
|
||||
<input type="hidden" name="did" id="did" value="<?php echo $_GET['did']; ?>">
|
||||
|
||||
@@ -19,7 +19,7 @@ $fdata = $database->getResourceLevel($village['wref']);
|
||||
if(isset($id))
|
||||
{
|
||||
include("search2.tpl"); ?>
|
||||
<link href="../gpack/travian_default/lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<form action="../GameEngine/Admin/Mods/editBuildings.php" method="POST">
|
||||
<input type="hidden" name="admid" id="admid" value="<?php echo $_SESSION['id']; ?>">
|
||||
<input type="hidden" name="id" value="<?php echo $_GET['did']; ?>" />
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<img src="../img/admin/admin.gif" width="468" height="60" border="0">
|
||||
</div>
|
||||
|
||||
<img src="../gpack/travian_default/lang/en/t1/login.gif">
|
||||
<img src="../<?php echo GP_LOCATE; ?>lang/en/t1/login.gif">
|
||||
|
||||
<form method="post" action="admin.php">
|
||||
<input type="hidden" name="action" value="login">
|
||||
@@ -48,5 +48,5 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
<img align="right" src="../gpack/travian_default/img/new/background_plus.png" width="500">
|
||||
<img align="right" src="../<?php echo GP_LOCATE; ?>img/new/background_plus.png" width="500">
|
||||
</form>
|
||||
@@ -12,7 +12,7 @@
|
||||
<style>
|
||||
.del {width:12px; height:12px; background-image: url(img/admin/icon/del.gif);}
|
||||
</style>
|
||||
<link href="../gpack/travian_default/lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<table id="member" style="width:225px">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
$msg = $database->getMessage($_GET['nid'],3);;
|
||||
if($msg)
|
||||
{ ?>
|
||||
<link href="../gpack/travian_default/lang/en/lang.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<link href="../gpack/travian_default/lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<link href="../gpack/travian_default/travian.css?e21d2" rel="stylesheet" type="text/css">
|
||||
<link href="../gpack/travian_default/lang/en/lang.css?e21d2" rel="stylesheet" type="text/css">
|
||||
<link href="../<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<link href="../<?php echo GP_LOCATE; ?>travian.css?e21d2" rel="stylesheet" type="text/css">
|
||||
<link href="../<?php echo GP_LOCATE; ?>lang/en/lang.css?e21d2" rel="stylesheet" type="text/css">
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<td>Give how much Gold?</td>
|
||||
<td>
|
||||
<input class="give_gold" name="gold" value="0">
|
||||
<input type="image" src="../gpack/travian_default/img/new/tick.png" value="submit">
|
||||
<input type="image" src="../<?php echo GP_LOCATE; ?>img/new/tick.png" value="submit">
|
||||
<a href="admin.php?p=player&uid=<?php echo $id; ?>"><img src="../img/admin/del.gif" title="Cancel"></a></td>
|
||||
</tr>
|
||||
</form><?php
|
||||
@@ -118,7 +118,7 @@
|
||||
{
|
||||
$tsdiffact = $datetime - $now;
|
||||
$timetoecho = $timeformat->getTimeFormat($tsdiffact);
|
||||
echo '<img src="../gpack/travian_default/img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['protect']+3600*2).'">';
|
||||
echo '<img src="../<?php echo GP_LOCATE; ?>img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['protect']+3600*2).'">';
|
||||
echo "<font color=\"blue\"> $timetoecho</font>";
|
||||
}
|
||||
}
|
||||
@@ -172,7 +172,7 @@
|
||||
<td>Add how many CP?</td>
|
||||
<td>
|
||||
<input class="give_gold" name="cp" value="0">
|
||||
<input type="image" src="../gpack/travian_default/img/new/tick.png" value="submit">
|
||||
<input type="image" src="../<?php echo GP_LOCATE; ?>img/new/tick.png" value="submit">
|
||||
<a href="admin.php?p=player&uid=<?php echo $id; ?>"><img src="../img/admin/del.gif" title="Cancel"></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -53,9 +53,9 @@
|
||||
<td>$rank</td>
|
||||
<td>$week</td>
|
||||
<td>$points</td>
|
||||
<td><img src=\"../gpack/travian_default/img/t/".$medal['img'].".jpg\"></td>
|
||||
<td><img src=\"../<?php echo GP_LOCATE; ?>img/t/".$medal['img'].".jpg\"></td>
|
||||
<td>
|
||||
<input type=\"image\" name=\"medalid\" value=\"".$medal['id']."\" style=\"background-image: url('../gpack/travian_default/img/a/del.gif'); height: 12px; width: 12px;\" src=\"../gpack/travian_default/img/a/x.gif\">
|
||||
<input type=\"image\" name=\"medalid\" value=\"".$medal['id']."\" style=\"background-image: url('../<?php echo GP_LOCATE; ?>img/a/del.gif'); height: 12px; width: 12px;\" src=\"../<?php echo GP_LOCATE; ?>img/a/x.gif\">
|
||||
</td>
|
||||
</tr>";
|
||||
}
|
||||
@@ -84,7 +84,7 @@
|
||||
<td>
|
||||
<form action="../GameEngine/Admin/Mods/deletemedalbyuser.php" method="POST">
|
||||
<input type="hidden" name="admid" id="admid" value="<?php echo $_SESSION['id']; ?>">
|
||||
<input type="image" name="userid" value="<?php echo $id; ?>" style="background-image: url('../gpack/travian_default/img/a/del.gif'); height: 12px; width: 12px;" src="../gpack/travian_default/img/a/x.gif">
|
||||
<input type="image" name="userid" value="<?php echo $id; ?>" style="background-image: url('../<?php echo GP_LOCATE; ?>img/a/del.gif'); height: 12px; width: 12px;" src="../<?php echo GP_LOCATE; ?>img/a/x.gif">
|
||||
</form>
|
||||
</td>
|
||||
</tbody>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{
|
||||
$tsdiffact = $datetime - $now;
|
||||
$timetoecho = $timeformat->getTimeFormat($tsdiffact);
|
||||
echo '<img src="../gpack/travian_default/img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['plus']+3600*2).'">';
|
||||
echo '<img src="../<?php echo GP_LOCATE; ?>img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['plus']+3600*2).'">';
|
||||
echo "<font color=\"blue\"> $timetoecho</font>";
|
||||
}
|
||||
}
|
||||
@@ -56,7 +56,7 @@
|
||||
{
|
||||
$tsdiffact = $datetime - $now;
|
||||
$timetoecho = $timeformat->getTimeFormat($tsdiffact);
|
||||
echo '<img src="../gpack/travian_default/img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['b1']+3600*2).'">';
|
||||
echo '<img src="../<?php echo GP_LOCATE; ?>img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['b1']+3600*2).'">';
|
||||
echo "<font color=\"blue\"> $timetoecho</font>";
|
||||
}
|
||||
}
|
||||
@@ -93,7 +93,7 @@
|
||||
{
|
||||
$tsdiffact = $datetime - $now;
|
||||
$timetoecho = $timeformat->getTimeFormat($tsdiffact);
|
||||
echo '<img src="../gpack/travian_default/img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['b2']+3600*2).'">';
|
||||
echo '<img src="../<?php echo GP_LOCATE; ?>img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['b2']+3600*2).'">';
|
||||
echo "<font color=\"blue\"> $timetoecho</font>";
|
||||
}
|
||||
}
|
||||
@@ -131,7 +131,7 @@
|
||||
{
|
||||
$tsdiffact = $datetime - $now;
|
||||
$timetoecho = $timeformat->getTimeFormat($tsdiffact);
|
||||
echo '<img src="../gpack/travian_default/img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['b3']+3600*2).'">';
|
||||
echo '<img src="../<?php echo GP_LOCATE; ?>img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['b3']+3600*2).'">';
|
||||
echo "<font color=\"blue\"> $timetoecho</font>";
|
||||
}
|
||||
}
|
||||
@@ -169,7 +169,7 @@
|
||||
{
|
||||
$tsdiffact = $datetime - $now;
|
||||
$timetoecho = $timeformat->getTimeFormat($tsdiffact);
|
||||
echo '<img src="../gpack/travian_default/img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['b4']+3600*2).'">';
|
||||
echo '<img src="../<?php echo GP_LOCATE; ?>img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['b4']+3600*2).'">';
|
||||
echo "<font color=\"blue\"> $timetoecho</font>";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ $result = $admin->search_village($_POST['s']);
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="5" style="background-image: url(../../gpack/travian_default/img/f/c4.gif);">
|
||||
<td colspan="5" style="background-image: url(../../<?php echo GP_LOCATE; ?>img/f/c4.gif);">
|
||||
<center>
|
||||
<font color="red">'.count($result).'</font> Villages Found "<font color="red">'.$_POST['s'].'</font>"
|
||||
</center>
|
||||
@@ -79,7 +79,7 @@ $result = $admin->search_village($_POST['s']);
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="5" style="background-image: url(../../gpack/travian_default/img/f/c4.gif);">
|
||||
<td colspan="5" style="background-image: url(../../<?php echo GP_LOCATE; ?>img/f/c4.gif);">
|
||||
<center>
|
||||
<font color="#9F9F90">No Villages Called</font> <font color="red">'.$_POST['s'].'</font>
|
||||
</center>
|
||||
|
||||
@@ -100,7 +100,7 @@ $users = mysql_num_rows(mysql_query("SELECT SQL_CACHE * FROM ".TB_PREFIX."users"
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><img src="../../gpack/travian_default/img/a/gold.gif" alt="Gold" title="Gold"> Gold</td>
|
||||
<td><img src="../../<?php echo GP_LOCATE; ?>img/a/gold.gif" alt="Gold" title="Gold"> Gold</td>
|
||||
<td><?php $gold = mysql_query("SELECT SUM(gold) AS sumofgold FROM ".TB_PREFIX."users"); $getgold=mysql_fetch_assoc($gold); echo $getgold['sumofgold']; ?></td>
|
||||
<td><?php $gold = mysql_query("SELECT SUM(gold) AS sumofgold FROM ".TB_PREFIX."users"); $getgold=mysql_fetch_assoc($gold); echo round($getgold['sumofgold'] / $users);?></td>
|
||||
</tr>
|
||||
@@ -115,7 +115,7 @@ $users = mysql_num_rows(mysql_query("SELECT SQL_CACHE * FROM ".TB_PREFIX."users"
|
||||
<?php
|
||||
for($i=1; $i<11; $i++)
|
||||
{
|
||||
echo '<td class="on"><img src="../../gpack/travian_default/img/u/'.$i.'.gif"></td>';
|
||||
echo '<td class="on"><img src="../../<?php echo GP_LOCATE; ?>img/u/'.$i.'.gif"></td>';
|
||||
}
|
||||
echo '</thead><tbody>';
|
||||
for($i=1; $i<11; $i++)
|
||||
@@ -128,7 +128,7 @@ $users = mysql_num_rows(mysql_query("SELECT SQL_CACHE * FROM ".TB_PREFIX."users"
|
||||
echo "</tr>";
|
||||
for($i=11; $i<21; $i++)
|
||||
{
|
||||
echo '<td class="on"><img src="../../gpack/travian_default/img/u/'.$i.'.gif"></td>';
|
||||
echo '<td class="on"><img src="../../<?php echo GP_LOCATE; ?>img/u/'.$i.'.gif"></td>';
|
||||
}
|
||||
echo '</thead><tbody>';
|
||||
for($i=11; $i<21; $i++)
|
||||
@@ -141,7 +141,7 @@ $users = mysql_num_rows(mysql_query("SELECT SQL_CACHE * FROM ".TB_PREFIX."users"
|
||||
echo "</tr>";
|
||||
for($i=21; $i<31; $i++)
|
||||
{
|
||||
echo '<td class="on"><img src="../../gpack/travian_default/img/u/'.$i.'.gif"></td>';
|
||||
echo '<td class="on"><img src="../../<?php echo GP_LOCATE; ?>img/u/'.$i.'.gif"></td>';
|
||||
}
|
||||
echo '</thead><tbody>';
|
||||
for($i=21; $i<31; $i++)
|
||||
@@ -154,7 +154,7 @@ $users = mysql_num_rows(mysql_query("SELECT SQL_CACHE * FROM ".TB_PREFIX."users"
|
||||
echo "</tr>";
|
||||
for($i=31; $i<41; $i++)
|
||||
{
|
||||
echo '<td class="on"><img src="../../gpack/travian_default/img/u/'.$i.'.gif"></td>';
|
||||
echo '<td class="on"><img src="../../<?php echo GP_LOCATE; ?>img/u/'.$i.'.gif"></td>';
|
||||
}
|
||||
echo '</thead><tbody>';
|
||||
for($i=31; $i<41; $i++)
|
||||
@@ -167,7 +167,7 @@ $users = mysql_num_rows(mysql_query("SELECT SQL_CACHE * FROM ".TB_PREFIX."users"
|
||||
echo "</tr>";
|
||||
for($i=41; $i<51; $i++)
|
||||
{
|
||||
echo '<td class="on"><img src="../../gpack/travian_default/img/u/'.$i.'.gif"></td>';
|
||||
echo '<td class="on"><img src="../../<?php echo GP_LOCATE; ?>img/u/'.$i.'.gif"></td>';
|
||||
}
|
||||
echo '</thead><tbody>';
|
||||
for($i=41; $i<51; $i++)
|
||||
|
||||
+20
-20
@@ -207,16 +207,16 @@
|
||||
echo '
|
||||
</tr></thead><tbody>
|
||||
<tr>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/31.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/32.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/33.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/34.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/35.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/36.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/37.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/38.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/39.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/40.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/31.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/32.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/33.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/34.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/35.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/36.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/37.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/38.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/39.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/40.gif"></img></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><center />'.$u31.'</td>
|
||||
@@ -237,16 +237,16 @@
|
||||
echo '
|
||||
</tr></thead><tbody>
|
||||
<tr>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/41.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/42.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/43.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/44.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/45.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/46.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/47.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/48.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/49.gif"></img></td>
|
||||
<td><center /><img src="../gpack/travian_default/img/u/50.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/41.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/42.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/43.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/44.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/45.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/46.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/47.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/48.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/49.gif"></img></td>
|
||||
<td><center /><img src="../<?php echo GP_LOCATE; ?>img/u/50.gif"></img></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ if(isset($id))
|
||||
<style>
|
||||
.del {width:12px; height:12px; background-image: url(img/admin/icon/del.gif);}
|
||||
</style>
|
||||
<link href="../gpack/travian_default/lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css">
|
||||
<br />
|
||||
|
||||
<table id="profile" cellpadding="1" cellspacing="1" >
|
||||
|
||||
Reference in New Issue
Block a user