This commit is contained in:
unknown
2012-07-07 19:43:09 +03:00
parent a1b42b60ff
commit b9a50c28cb
22 changed files with 48 additions and 155 deletions
-1
View File
@@ -4008,7 +4008,6 @@ $crannyimg = "<img src=\"".GP_LOCATE."img/g/g23.gif\" height=\"20\" width=\"15\"
$database->setclimberrankpop($session['id'], $totalpoints+1);
$database->updateoldrank($session['id'], $oldrank);
}
$database->updateoldrank($session['id'], $oldrank);
}
}
$alliance = $database->getARanking();
+5 -7
View File
@@ -227,14 +227,12 @@ if(isset($_GET['o'])) {
?>
<div id="side_info">
</br></br><div id="side_info">
<?php
include ("Templates/quest.tpl");
include ("Templates/news.tpl");
include ("Templates/multivillage.tpl");
include ("Templates/links.tpl");
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/links.tpl");
?>
</div>
<div class="clear"></div>
+5 -7
View File
@@ -295,14 +295,12 @@ $invite_permission = $database->getAlliancePermission($session->uid, "opt4", 0);
?>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include ("Templates/quest.tpl");
include ("Templates/news.tpl");
include ("Templates/multivillage.tpl");
include ("Templates/links.tpl");
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/links.tpl");
?>
</div>
<div class="clear"></div>
+2 -2
View File
@@ -59,11 +59,11 @@ if($session->access == BANNED){
include("Admin/Templates/ban_msg.tpl");
?>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
+2 -2
View File
@@ -125,11 +125,11 @@ if($_GET['aid']!=0){
?>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
+2 -2
View File
@@ -352,11 +352,11 @@ header("Location: dorf1.php");
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
+2 -2
View File
@@ -435,11 +435,11 @@ if($_POST['password'] != ""){
</form>
<?php } ?>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
+5 -7
View File
@@ -315,14 +315,12 @@
}
?>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include ("Templates/quest.tpl");
include ("Templates/news.tpl");
include ("Templates/multivillage.tpl");
include ("Templates/links.tpl");
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/links.tpl");
?>
</div>
<div class="clear"></div>
+2 -2
View File
@@ -86,11 +86,11 @@ if($building->NewBuilding) {
}
?>
</div>
<div id="side_info">
</br></br></br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
+2 -2
View File
@@ -77,11 +77,11 @@ if($building->NewBuilding) {
}
?>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
+2 -2
View File
@@ -87,10 +87,10 @@ if($session->plus){
?>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/quest.tpl");
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/links.tpl");
?>
</div>
+1 -1
View File
@@ -23,7 +23,7 @@ header("Location: install/");
include ("GameEngine/config.php");
/*
if($_SERVER['HTTP_HOST'] != 'YOUR_DOMAIN')
if($_SERVER['HTTP_HOST'] != '.SERVER.')
{
header('location: '.SERVER.'');
exit;
+2 -2
View File
@@ -82,11 +82,11 @@ else {
include("Templates/Map/mapview.tpl");
}
?>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
+1 -1
View File
@@ -62,7 +62,7 @@ $start = $generator->pageLoadTimeStart();
<p>If other people use this computer too, you should delete your cookies for your own safety:<br /><a href="login.php?del_cookie">&raquo; delete cookies</a></p>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/news.tpl");
?>
+2 -2
View File
@@ -140,11 +140,11 @@ else {
}
?>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
-100
View File
@@ -1,100 +0,0 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename oasis_populate.php ##
## Developed by: mauroalt ##
## License: TravianX Project ##
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
## ##
#################################################################################
include_once ("GameEngine/Account.php");
mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS);
mysql_select_db(SQL_DB);
if($session->access==ADMIN){
//controllo
if(isset($_GET['giveout'])){
$database->populateOasisUnitsLow();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><?php echo SERVER_NAME ?></title>
<link REL="shortcut icon" HREF="favicon.ico"/>
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0ac36" type="text/javascript"></script>
<script src="unx.js?0ac36" type="text/javascript"></script>
<script src="new.js?0ac36" type="text/javascript"></script>
<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" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
<link href='".GP_LOCATE."travian.css?e21d2' rel='stylesheet' type='text/css' />
<link href='".GP_LOCATE."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
} else {
echo "
<link href='".$session->gpack."travian.css?e21d2' rel='stylesheet' type='text/css' />
<link href='".$session->gpack."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
}
?>
<script type="text/javascript">
window.addEvent('domready', start);
</script>
</head>
<body class="v35 ie ie8">
<div class="wrapper">
<img style="filter:chroma();" src="img/x.gif" id="msfilter" alt="" />
<div id="dynamic_header">
</div>
<?php include("Templates/header.tpl"); ?>
<div id="mid">
<?php include("Templates/menu.tpl"); ?>
<div id="content" class="login">
<?php
if(isset($_GET['giveout'])){?>
<h1><br/>Populated Oasis</h1><br />
Done!<br />
<?php
} else{ ?><h1><br/>Populated Oasis</h1><br />
Click <a href="?giveout">here</a>, to populate oasis <br/>WARNING: Loading next page can take some time!
<?php } ?></div>
<div id="side_info" class="outgame">
</div>
<div class="clear"></div>
</div>
<div class="footer-stopper outgame"></div>
<div class="clear"></div>
<?php include("Templates/footer.tpl"); ?>
<div id="ce"></div>
</body>
</html>
<?php mysql_close();
}else{
header("Location: dorf1.php");
}?>
+2 -2
View File
@@ -124,11 +124,11 @@ $mailer->sendInvite($_POST['mail'],$session->uid,$_POST['text']);
}
?>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
+2 -2
View File
@@ -63,11 +63,11 @@ if(isset($_GET['newdid'])) {
<div id="content" class="village2">
<?php include("Templates/rules.tpl"); ?>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
+2 -2
View File
@@ -153,11 +153,11 @@ else if (isset($_GET['s'])) {
?>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
+2 -2
View File
@@ -136,11 +136,11 @@ else {
</table>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
+2 -2
View File
@@ -133,11 +133,11 @@ if(count($target) > 0) {
<p class="btn"><input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" /></p>
</form>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/multivillage.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
?>
</div>
+3 -3
View File
@@ -1144,12 +1144,12 @@ d17/x3f8m6l++P5/85njqecf6NH/s8/0/wHeyCdEnMVhkQAAAABJRU5ErkJggg==" align="right"
<br /><br />
<center><a href="dorf1.php">&raquo; Continue</a></center>
</div>
<div id="side_info">
</br></br><div id="side_info">
<?php
include("Templates/quest.tpl");
include("Templates/multivillage.tpl");
include("Templates/links.tpl");
include("Templates/quest.tpl");
include("Templates/news.tpl");
include("Templates/links.tpl");
?>
</div>
<div class="clear"></div>