Merge pull request #279 from Shadowss/master

Update admin panel to view images
This commit is contained in:
yi12345
2013-08-13 00:49:09 -07:00
23 changed files with 77 additions and 73 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ for($i = 0; $i < $loops + 1; $i++)
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result))
{
##mysql_query("INSERT INTO ".TB_PREFIX."banlist ".$row['id'].", ".$row['username'].", ".$reason.", ".$startts.", ".$endts.", ".$admin.", ".$active."");
mysql_query("INSERT INTO ".TB_PREFIX."banlist (`uid`, `name`, `reason`, `time`, `end`, `admin`, `active`) VALUES (".$row['id'].", '".$row['username']."' , '$reason', '$startts', '$endts', '$admin', '1')");
mysql_query("INSERT INTO ".TB_PREFIX."banlist ".$row['id'].", ".$row['username'].", ".$reason.", ".$startts.", ".$endts.", ".$admin.", ".$active."");
##mysql_query("INSERT INTO ".TB_PREFIX."banlist (`uid`, `name`, `reason`, `time`, `end`, `admin`, `active`) VALUES (".$row['id'].", '".$row['username']."' , '$reason', '$startts', '$endts', '$admin', '1')");
}
}
@@ -2,7 +2,7 @@
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename mainteneceBan.php ##
## Filename mainteneceResetGold.php ##
## Developed by: aggenkeech ##
## License: TravianX Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
@@ -2,7 +2,7 @@
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename mainteneceBan.php ##
## Filename mainteneceResetPlus.php ##
## Developed by: aggenkeech ##
## License: TravianX Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
@@ -2,7 +2,7 @@
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename mainteneceBan.php ##
## Filename mainteneceResetPlusBonus.php ##
## Developed by: aggenkeech ##
## License: TravianX Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
+1 -1
View File
@@ -41,7 +41,7 @@ for($i=1;$i<=$amt;$i++) {
$myFile = "../../../Templates/text.tpl";
$fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: templates/text.tpl");
$text = file_get_contents("../../../Templates/text_format.tpl");
$text = preg_replace("'%TEKST%'","World Wonder Construction Plans
$text = preg_replace("'%TEKST%'","World Wonder Construction Plans
Many moons ago the tribes of Travian were surprised by the unforeseen return of the Natars. This tribe from immemorial times surpassing all in wisdom, might and glory was about to trouble the free ones again. Thus they put all their efforts in preparing a last war against the Natars and vanquishing them forever. Many thought about the so-called 'Wonders of the World', a construction of many legends, as the only solution. It was told that it would render anyone invincible once completed. Ultimately making the constructors the rulers and conquerors of all known Travian.
+3 -3
View File
@@ -1,4 +1,4 @@
<?php
<?php################################################################################### -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- #### --------------------------------------------------------------------------- #### Filename admin.php #### Developed by: Dzoki #### License: TravianX Project #### Copyright: TravianX (c) 2010-2011. All rights reserved. #### ###################################################################################
session_start();
include("../GameEngine/Database.php");
include("../GameEngine/Admin/database.php");
@@ -48,13 +48,13 @@ if(conf){return true;}else{return false;}
<td class="menu">
<?php
if($funct->CheckLogin()){?>
<div id="lmidlc">
<a href="admin.php">ACP Home</a> <a href="<?php echo HOMEPAGE; ?>">Homepage</a> <a href="#"></a><a href="#"></a> <a href="?p=server_info">Server Info</a>
<a href="?p=online">Online users</a>
<a href="?p=search">Search</a>
<a href="?p=message">Msg/Rep</a>
<a href="?p=ban">Ban</a>
<a href="?p=config">Config</a>
<td class="menu">
<a href="?p=config_editor">Config Editor</a> <a href="#"></a><a href="#"></a><a href="#"></a>
<a href="?action=logout">Logout</a>
<?php }?>
</td>