mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-30 23:27:14 +00:00
Normalize Line Endings
Added a gitattributes file to normalize line endings.
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
# Auto detect text files and perform LF normalization
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
|
||||||
|
# Files which should be always normalized
|
||||||
|
*.php text
|
||||||
|
*.js text
|
||||||
|
*.css text
|
||||||
|
*.htaccess text
|
||||||
|
*.tpl text
|
||||||
|
*.html text
|
||||||
|
|
||||||
|
# Binaries
|
||||||
|
*.png binary
|
||||||
|
*.jpg binary
|
||||||
|
*.ico binary
|
||||||
|
*.gif binary
|
||||||
|
*.zip binary
|
||||||
+108
-108
@@ -1,108 +1,108 @@
|
|||||||
<?php
|
<?php
|
||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Filename admin.php ##
|
## Filename admin.php ##
|
||||||
## Developed by: Dzoki ##
|
## Developed by: Dzoki ##
|
||||||
## License: TravianX Project ##
|
## License: TravianX Project ##
|
||||||
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
|
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
session_start();
|
session_start();
|
||||||
include("../GameEngine/Database.php");
|
include("../GameEngine/Database.php");
|
||||||
include("../GameEngine/Admin/database.php");
|
include("../GameEngine/Admin/database.php");
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<link REL="shortcut icon" HREF="favicon.ico"/>
|
<link REL="shortcut icon" HREF="favicon.ico"/>
|
||||||
<title>Admin Control Panel - TravianX</title>
|
<title>Admin Control Panel - TravianX</title>
|
||||||
<link rel=stylesheet type="text/css" href="../img/admin/admin.css">
|
<link rel=stylesheet type="text/css" href="../img/admin/admin.css">
|
||||||
<link rel=stylesheet type="text/css" href="../img/admin/acp.css">
|
<link rel=stylesheet type="text/css" href="../img/admin/acp.css">
|
||||||
<link rel=stylesheet type="text/css" href="../img/../img.css">
|
<link rel=stylesheet type="text/css" href="../img/../img.css">
|
||||||
<script src="mt-full.js?423cb" type="text/javascript"></script>
|
<script src="mt-full.js?423cb" type="text/javascript"></script>
|
||||||
<script src="ajax.js" type="text/javascript"></script>
|
<script src="ajax.js" type="text/javascript"></script>
|
||||||
|
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||||
<meta http-equiv="imagetoolbar" content="no">
|
<meta http-equiv="imagetoolbar" content="no">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<script language="javascript">
|
<script language="javascript">
|
||||||
function aktiv() {this.srcElement.className='fl1'; }
|
function aktiv() {this.srcElement.className='fl1'; }
|
||||||
function inaktiv() {event.srcElement.className='fl2'; }
|
function inaktiv() {event.srcElement.className='fl2'; }
|
||||||
|
|
||||||
function del(e,id){
|
function del(e,id){
|
||||||
if(e == 'did'){ var conf = confirm('Dou you really want delete village id '+id+'?'); }
|
if(e == 'did'){ var conf = confirm('Dou you really want delete village id '+id+'?'); }
|
||||||
if(e == 'unban'){ var conf = confirm('Dou you really want unban player '+id+'?'); }
|
if(e == 'unban'){ var conf = confirm('Dou you really want unban player '+id+'?'); }
|
||||||
if(e == 'stopDel'){ var conf = confirm('Dou you really want stop deleting user '+id+'?'); }
|
if(e == 'stopDel'){ var conf = confirm('Dou you really want stop deleting user '+id+'?'); }
|
||||||
if(conf){return true;}else{return false;}
|
if(conf){return true;}else{return false;}
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="ltop1">
|
<div id="ltop1">
|
||||||
<div style="position:relative; width:231px; height:100px; float:left;">
|
<div style="position:relative; width:231px; height:100px; float:left;">
|
||||||
<img src="../img/x.gif" width="1" height="1">
|
<img src="../img/x.gif" width="1" height="1">
|
||||||
</div>
|
</div>
|
||||||
<img class="fl2" src="../img/admin/x1.gif" width="70" height="100" border="0" onmouseover="this.className='fl1'" onmouseout="this.className='fl2'"><img class="fl2" src="../img/admin/x2.gif" width="70" height="100" border="0" onmouseover="this.className='fl1'" onmouseout="this.className='fl2'"><img class="fl2" src="../img/admin/x3.gif" width="70" height="100" border="0" onmouseover="this.className='fl1'" onmouseout="this.className='fl2'"><img class="fl2" src="../img/admin/x4.gif" width="70" height="100" border="0" onmouseover="this.className='fl1'" onmouseout="this.className='fl2'"><img class="fl2" src="../img/admin/x5.gif" width="70" height="100" border="0" onmouseover="this.className='fl1'" onmouseout="this.className='fl2'"></div>
|
<img class="fl2" src="../img/admin/x1.gif" width="70" height="100" border="0" onmouseover="this.className='fl1'" onmouseout="this.className='fl2'"><img class="fl2" src="../img/admin/x2.gif" width="70" height="100" border="0" onmouseover="this.className='fl1'" onmouseout="this.className='fl2'"><img class="fl2" src="../img/admin/x3.gif" width="70" height="100" border="0" onmouseover="this.className='fl1'" onmouseout="this.className='fl2'"><img class="fl2" src="../img/admin/x4.gif" width="70" height="100" border="0" onmouseover="this.className='fl1'" onmouseout="this.className='fl2'"><img class="fl2" src="../img/admin/x5.gif" width="70" height="100" border="0" onmouseover="this.className='fl1'" onmouseout="this.className='fl2'"></div>
|
||||||
|
|
||||||
<div id="lmidall">
|
<div id="lmidall">
|
||||||
<div id="lmidlc">
|
<div id="lmidlc">
|
||||||
<div id="lleft">
|
<div id="lleft">
|
||||||
<a href="index.php"><img src="../img/en/a/travian0.gif" class="logo_plus" width="116" height="60" border="0"></a>
|
<a href="index.php"><img src="../img/en/a/travian0.gif" class="logo_plus" width="116" height="60" border="0"></a>
|
||||||
|
|
||||||
<table id="navi_table" cellspacing="0" cellpadding="0">
|
<table id="navi_table" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="menu">
|
<td class="menu">
|
||||||
<?php
|
<?php
|
||||||
if($funct->CheckLogin()){?>
|
if($funct->CheckLogin()){?>
|
||||||
<a href="admin.php">ACP Home</a>
|
<a href="admin.php">ACP Home</a>
|
||||||
|
|
||||||
<a href="<?php echo HOMEPAGE; ?>">Homepage</a>
|
<a href="<?php echo HOMEPAGE; ?>">Homepage</a>
|
||||||
|
|
||||||
<a href="#"></a><a href="#"></a>
|
<a href="#"></a><a href="#"></a>
|
||||||
|
|
||||||
<a href="?p=server_info">Server Info</a>
|
<a href="?p=server_info">Server Info</a>
|
||||||
<a href="?p=online">Online users</a>
|
<a href="?p=online">Online users</a>
|
||||||
<a href="?p=search">Search</a>
|
<a href="?p=search">Search</a>
|
||||||
<a href="?p=message">Msg/Rep</a>
|
<a href="?p=message">Msg/Rep</a>
|
||||||
<a href="?p=ban">Ban</a>
|
<a href="?p=ban">Ban</a>
|
||||||
<a href="?p=config">Config</a>
|
<a href="?p=config">Config</a>
|
||||||
<a href="?p=config_editor">Config Editor</a>
|
<a href="?p=config_editor">Config Editor</a>
|
||||||
|
|
||||||
<a href="#"></a><a href="#"></a><a href="#"></a>
|
<a href="#"></a><a href="#"></a><a href="#"></a>
|
||||||
<a href="?action=logout">Logout</a>
|
<a href="?action=logout">Logout</a>
|
||||||
<?php }?>
|
<?php }?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table></div>
|
</table></div>
|
||||||
<div id="lmid1">
|
<div id="lmid1">
|
||||||
<div id="lmid3">
|
<div id="lmid3">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if($funct->CheckLogin()){
|
if($funct->CheckLogin()){
|
||||||
if($_POST or $_GET){
|
if($_POST or $_GET){
|
||||||
if($_GET['p'] and $_GET['p']!="search"){
|
if($_GET['p'] and $_GET['p']!="search"){
|
||||||
$filename = '../Templates/Admin/'.$_GET['p'].'.tpl';
|
$filename = '../Templates/Admin/'.$_GET['p'].'.tpl';
|
||||||
if(file_exists($filename)){
|
if(file_exists($filename)){
|
||||||
include($filename);
|
include($filename);
|
||||||
}else{
|
}else{
|
||||||
include('../Templates/Admin/404.tpl');
|
include('../Templates/Admin/404.tpl');
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
include('../Templates/Admin/search.tpl');
|
include('../Templates/Admin/search.tpl');
|
||||||
}
|
}
|
||||||
if($_POST['p'] and $_POST['s']){
|
if($_POST['p'] and $_POST['s']){
|
||||||
$filename = '../Templates/Admin/results_'.$_POST['p'].'.tpl';
|
$filename = '../Templates/Admin/results_'.$_POST['p'].'.tpl';
|
||||||
if(file_exists($filename)){
|
if(file_exists($filename)){
|
||||||
include($filename);
|
include($filename);
|
||||||
}else{
|
}else{
|
||||||
include('../Templates/Admin/404.tpl');
|
include('../Templates/Admin/404.tpl');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
include('../Templates/Admin/home.tpl');
|
include('../Templates/Admin/home.tpl');
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<h5><img src="img/en/t2/newsbox3.gif" alt="newsbox 3"></h5>
|
<h5><img src="img/en/t2/newsbox3.gif" alt="newsbox 3"></h5>
|
||||||
<div class="news">
|
<div class="news">
|
||||||
<b><center>TravianX</center></b>
|
<b><center>TravianX</center></b>
|
||||||
</div>
|
</div>
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
<div id="textmenu">
|
<div id="textmenu">
|
||||||
|
<a href="dorf3.php" class="<?php if(!isset($_GET['s'])){echo 'selected';}?>">Overview</a>
|
||||||
<a href="dorf3.php" class="<?php if(!isset($_GET['s'])){echo 'selected';}?>">Overview</a>
|
| <a href="dorf3.php?s=2" class="<?php if($_GET['s'] == 2){echo 'selected';}?>">Resources</a>
|
||||||
|
| <a href="dorf3.php?s=3" class="<?php if($_GET['s'] == 3){echo 'selected';}?>">Warehouse</a>
|
||||||
| <a href="dorf3.php?s=2" class="<?php if($_GET['s'] == 2){echo 'selected';}?>">Resources</a>
|
| <a href="dorf3.php?s=4" class="<?php if($_GET['s'] == 4){echo 'selected';}?>">CP</a>
|
||||||
|
| <a href="dorf3.php?s=5" class="<?php if($_GET['s'] == 5){echo 'selected';}?>">Troops</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
|
/*
|
||||||
|
*------------------------------------------------------------------------------
|
||||||
/*
|
* LANG is used to define the language-specific images and settings.
|
||||||
|
*
|
||||||
*------------------------------------------------------------------------------
|
* Contains:
|
||||||
|
* width, height, background-image, background-repeat, background-position
|
||||||
* LANG is used to define the language-specific images and settings.
|
*------------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
*
|
|
||||||
|
@import "../../modules/new_layout_ltr.css";
|
||||||
* Contains:
|
|
||||||
|
/* --- Colors ------------------------- */
|
||||||
* width, height, background-image, background-repeat, background-position
|
@import "../../modules/new_colors.css";
|
||||||
|
|
||||||
*------------------------------------------------------------------------------
|
/* --- Icons, Images and Backgrounds ---------- */
|
||||||
|
@import "../../modules/new_images.css";
|
||||||
|
|||||||
@@ -1,58 +1,58 @@
|
|||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
|
.wrapper {background: transparent url(../images/header_background.jpg) repeat-x left top;}
|
||||||
|
|
||||||
.wrapper {background: transparent url(../images/header_background.jpg) repeat-x left top;}
|
div#footer {background: #F1F1F1 url(../images/footer_background.gif) repeat-x center top;}
|
||||||
|
|
||||||
|
div#footer div#mfoot {background: transparent url(../images/footer_logo.gif) no-repeat 0px 21px;}
|
||||||
|
|
||||||
div#footer {background: #F1F1F1 url(../images/footer_background.gif) repeat-x center top;}
|
div#dynamic_header,
|
||||||
|
body.mod1 div#dynamic_header,
|
||||||
|
body.mod3 div#dynamic_header {background: transparent url(../images/artwork1-ltr.jpg) no-repeat center top;}
|
||||||
|
|
||||||
div#footer div#mfoot {background: transparent url(../images/footer_logo.gif) no-repeat 0px 21px;}
|
body.mod2 div#dynamic_header {background: transparent url(../images/artwork2-ltr.jpg) no-repeat center top;}
|
||||||
|
|
||||||
|
div#header {background-image: none;}
|
||||||
|
|
||||||
div#dynamic_header,
|
div#side_navi {background: transparent url(../images/shadow-a-ltr.png) no-repeat right top; margin-top: 30px;}
|
||||||
|
div#side_navi a:hover {background: transparent url(../images/menu-bg-ltr.gif) no-repeat left top;}
|
||||||
body.mod1 div#dynamic_header,
|
|
||||||
|
body.v35 a#n1 img {background-image: url(../images/n1-ltr.gif);}
|
||||||
body.mod3 div#dynamic_header {background: transparent url(../images/artwork1-ltr.jpg) no-repeat center top;}
|
body.v35 a#n2 img {background-image: url(../images/n2-ltr.gif);}
|
||||||
|
body.v35 a#n3 img {background-image: url(../images/n3-ltr.gif);}
|
||||||
|
body.v35 a#n4 img {background-image: url(../images/n4-ltr.gif);}
|
||||||
|
body.v35 div.i1 {background-image:url(../images/m1-ltr.gif);} /* beide */
|
||||||
body.mod2 div#dynamic_header {background: transparent url(../images/artwork2-ltr.jpg) no-repeat center top;}
|
body.v35 div.i2 {background-image:url(../images/m2-ltr.gif);} /* IGM */
|
||||||
|
body.v35 div.i3 {background-image:url(../images/m3-ltr.gif);} /* Report */
|
||||||
|
body.v35 div.i4 {background-image:url(../images/m4-ltr.gif);} /* none */
|
||||||
|
|
||||||
div#header {background-image: none;}
|
|
||||||
|
div#mtop a#plus {background: transparent url(../images/plus_bg.gif) repeat-x 0 0px; margin-left:135px;}
|
||||||
|
div#mtop a#plus span.plus_text {
|
||||||
|
display: block;
|
||||||
div#side_navi {background: transparent url(../images/shadow-a-ltr.png) no-repeat right top; margin-top: 30px;}
|
background: transparent url(../images/plus_start-ltr.gif) no-repeat left top;
|
||||||
|
height: 29px;
|
||||||
div#side_navi a:hover {background: transparent url(../images/menu-bg-ltr.gif) no-repeat left top;}
|
padding: 6px 14px;
|
||||||
|
float:left;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
body.v35 a#n1 img {background-image: url(../images/n1-ltr.gif);}
|
div#mtop a#plus span span {display: inline; cursor: pointer;}
|
||||||
|
div#mtop a#plus {display: block; font-size: 13px; height: 40px; margin-top:16px; position: relative;}
|
||||||
body.v35 a#n2 img {background-image: url(../images/n2-ltr.gif);}
|
img#btn_plus {
|
||||||
|
background-position: left top;
|
||||||
body.v35 a#n3 img {background-image: url(../images/n3-ltr.gif);}
|
background-repeat: no-repeat;
|
||||||
|
height: 29px;
|
||||||
body.v35 a#n4 img {background-image: url(../images/n4-ltr.gif);}
|
width: 36px;
|
||||||
|
float:left;
|
||||||
body.v35 div.i1 {background-image:url(../images/m1-ltr.gif);} /* beide */
|
}
|
||||||
|
#plus img.active {background-image: url(../images/plus_active-ltr.gif);}
|
||||||
body.v35 div.i2 {background-image:url(../images/m2-ltr.gif);} /* IGM */
|
#plus img.inactive {background-image: url(../images/plus_inactive-ltr.gif);}
|
||||||
|
|
||||||
body.v35 div.i3 {background-image:url(../images/m3-ltr.gif);} /* Report */
|
|
||||||
|
|
||||||
body.v35 div.i4 {background-image:url(../images/m4-ltr.gif);} /* none */
|
div#side_info,
|
||||||
|
body.mod1 div#side_info,
|
||||||
|
body.mod2 div#side_info,
|
||||||
|
body.mod3 div#side_info {background: transparent url(../images/shadow-b-ltr.png) no-repeat left top;}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,189 +1,189 @@
|
|||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
|
/* --- Scrollbarantiwackler --- */
|
||||||
|
body {overflow-y:scroll;}
|
||||||
/* --- Scrollbarantiwackler --- */
|
|
||||||
|
body.manual {overflow-y: hidden; }
|
||||||
body {overflow-y:scroll;}
|
|
||||||
|
|
||||||
|
/* Layout */
|
||||||
|
html, body {height: 100%;}
|
||||||
body.manual {overflow-y: hidden; }
|
.wrapper {height: auto !important; /* Important Regel für moderne Browser */ height: 100%; /* Mindesthöhe für den IE */ min-height: 100%; position: relative;}
|
||||||
|
|
||||||
|
.ie6 .wrapper {text-align: center;} /* IE6 Hack damit das alles zentriert wird */
|
||||||
|
.ie6 .wrapper * {text-align: left;} /* IE6 Hack im Content rückgängig machgen */
|
||||||
|
|
||||||
|
/* --- Table Row Highlight --- */
|
||||||
/* Layout */
|
table.row_table_data tr.hlight td {background-color: #fffaf0;}
|
||||||
|
table.row_table_data tr.marked td {background-color: #fff8dc;}
|
||||||
html, body {height: 100%;}
|
|
||||||
|
/* Body */
|
||||||
.wrapper {height: auto !important; /* Important Regel für moderne Browser */ height: 100%; /* Mindesthöhe für den IE */ min-height: 100%; position: relative;}
|
body {background-color: #FFFFFF;}
|
||||||
|
body.manual {background-image: none;}
|
||||||
|
|
||||||
|
|
||||||
.ie6 .wrapper {text-align: center;} /* IE6 Hack damit das alles zentriert wird */
|
div.popup3 {
|
||||||
|
left: 50%;
|
||||||
.ie6 .wrapper * {text-align: left;} /* IE6 Hack im Content rückgängig machgen */
|
top:170px;
|
||||||
|
margin-left: -285px;
|
||||||
|
}
|
||||||
|
#ce {
|
||||||
/* --- Table Row Highlight --- */
|
width: 100%;
|
||||||
|
height: 0;
|
||||||
table.row_table_data tr.hlight td {background-color: #fffaf0;}
|
}
|
||||||
|
|
||||||
table.row_table_data tr.marked td {background-color: #fff8dc;}
|
/* --- Main Header --- */
|
||||||
|
body.mod1 div#dynamic_header div.dyn1,
|
||||||
|
body.mod1 div#dynamic_header div.dyn2,
|
||||||
|
body.mod2 div#dynamic_header div.dyn1,
|
||||||
/* Body */
|
body.mod2 div#dynamic_header div.dyn2,
|
||||||
|
body.mod3 div#dynamic_header div.dyn1,
|
||||||
body {background-color: #FFFFFF;}
|
body.mod3 div#dynamic_header div.dyn2 {display: none;}
|
||||||
|
|
||||||
body.manual {background-image: none;}
|
body.mod2 div#dynamic_header {
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.mod2 div#dynamic_header #ad_iframe{
|
||||||
|
left: 50%;
|
||||||
div.popup3 {
|
margin-left: -303px;
|
||||||
|
}
|
||||||
left: 50%;
|
|
||||||
|
div#dynamic_header,
|
||||||
top:170px;
|
body.mod1 div#dynamic_header,
|
||||||
|
body.mod2 div#dynamic_header,
|
||||||
margin-left: -285px;
|
body.mod3 div#dynamic_header { height: 100px;}
|
||||||
|
|
||||||
}
|
/* Header Menu */
|
||||||
|
div#header {height: 72px;}
|
||||||
#ce {
|
div#mtop,
|
||||||
|
body.mod1 div#mtop,
|
||||||
width: 100%;
|
body.mod2 div#mtop,
|
||||||
|
body.mod3 div#mtop {height: 72px; left: 50%; margin-left: -241px; z-index: 2; width: 700px;}
|
||||||
height: 0;
|
a#n1 img, a#n2 img, a#n3 img, a#n4 img, div#n5 {height: 72px;}
|
||||||
|
div#mtop div#n5 .reports {float: left;}
|
||||||
}
|
div#mtop div#n5 .messages {float: right;}
|
||||||
|
|
||||||
|
|
||||||
|
a#logo {display: none;}
|
||||||
/* --- Main Header --- */
|
|
||||||
|
/* World Status Peace, Day Night */
|
||||||
body.mod1 div#dynamic_header div.dyn1,
|
img.day, img.night, div.peace {left: 12px; top: -89px;}
|
||||||
|
div.peace {left: 12px; top: -98px;}
|
||||||
body.mod1 div#dynamic_header div.dyn2,
|
|
||||||
|
/* Exe Time */
|
||||||
body.mod2 div#dynamic_header div.dyn1,
|
div#stime {display: inline; height: 0; left: 0; top: 0; width: 0;}
|
||||||
|
div#ltime,
|
||||||
body.mod2 div#dynamic_header div.dyn2,
|
body.mod1 div#ltime,
|
||||||
|
body.mod2 div#ltime,
|
||||||
body.mod3 div#dynamic_header div.dyn1,
|
body.mod3 div#ltime {min-width: 980px; left: 0; top: 111px; width: 100%; z-index: 1;}
|
||||||
|
div#ltime div#ltimeWrap {margin: 0 auto 0 auto; width: 905px; position: relative;}
|
||||||
body.mod3 div#dynamic_header div.dyn2 {display: none;}
|
div#ltime div.devEvents {position: absolute; bottom: -25px; left: 0px;}
|
||||||
|
|
||||||
|
/* Ressources */
|
||||||
|
div#res,
|
||||||
body.mod2 div#dynamic_header {
|
body.mod1 div#res,
|
||||||
|
body.mod2 div#res,
|
||||||
height: 100px;
|
body.mod3 div#res {left: 0; min-width: 980px; top: 175px; width: 100%; z-index: 2;}
|
||||||
|
div#resWrap {left: 50%; margin-left: -335px; position: relative; width: 552px;}
|
||||||
}
|
div#res table {background-color: transparent;}
|
||||||
|
div#res table td {background-color: transparent;}
|
||||||
|
|
||||||
|
/* Content */
|
||||||
body.mod2 div#dynamic_header #ad_iframe{
|
div#mid {background-image: none; float: none; height: auto; margin: 0 auto; width: 980px;}
|
||||||
|
div#content,
|
||||||
left: 50%;
|
body.mod1 div#content,
|
||||||
|
body.mod2 div#content,
|
||||||
margin-left: -303px;
|
body.mod3 div#content {height: auto !important; /* Important Regel für moderne Browser */ /* Mindesthöhe für den IE */ min-height: 450px;}
|
||||||
|
|
||||||
}
|
.ie6div#content {padding-bottom: 5px;}
|
||||||
|
/* Content Menu */
|
||||||
|
div#side_navi {height: auto !important; /* Important Regel für moderne Browser */ height: 453px; /* Mindesthöhe für den IE */ min-height: 453px; width: 155px;}
|
||||||
|
|
||||||
div#dynamic_header,
|
|
||||||
|
/* Content Villages & Links */
|
||||||
body.mod1 div#dynamic_header,
|
div#side_info,
|
||||||
|
body.mod1 div#side_info,
|
||||||
body.mod2 div#dynamic_header,
|
body.mod2 div#side_info,
|
||||||
|
body.mod3 div#side_info { height: auto !important; /* Important Regel für moderne Browser */ height: 453px; /* Mindesthöhe für den IE */ margin-left: 0; min-height: 453px; padding-left: 16px; width: 257px; z-index: 3;}
|
||||||
body.mod3 div#dynamic_header { height: 100px;}
|
div#side_info td.dot {
|
||||||
|
width: 8px;
|
||||||
|
|
||||||
|
}
|
||||||
/* Header Menu */
|
div#side_info td.link {
|
||||||
|
padding-right: 0px;
|
||||||
div#header {height: 72px;}
|
white-space: normal;
|
||||||
|
line-height: 18px;
|
||||||
div#mtop,
|
}
|
||||||
|
div#side_info td {
|
||||||
body.mod1 div#mtop,
|
vertical-align: top;
|
||||||
|
}
|
||||||
body.mod2 div#mtop,
|
|
||||||
|
/* Footer */
|
||||||
body.mod3 div#mtop {height: 72px; left: 50%; margin-left: -241px; z-index: 2; width: 700px;}
|
.footer-stopper {float: left; margin-bottom: 100px;} /* Stoppt den Footer beim nach obenschieben */
|
||||||
|
.ie6 .footer-stopper, .ie7 .footer-stopper {height: 100px;} /* IE 6 und IE7 Hack damit Footer nicht über dem Content steht */
|
||||||
a#n1 img, a#n2 img, a#n3 img, a#n4 img, div#n5 {height: 72px;}
|
div#footer {bottom: 0px; height: 90px; left: 0; margin-top: 90px; min-width: 980px; position: absolute; right: 0;
|
||||||
|
font-size: 11px; line-height: 19px;
|
||||||
div#mtop div#n5 .reports {float: left;}
|
}
|
||||||
|
div#footer div#mfoot {height: 28px; margin: 0 auto; width: 905px;}
|
||||||
div#mtop div#n5 .messages {float: right;}
|
div#footer div.footer-menu {color: #797979; text-align: right;}
|
||||||
|
div#footer div#mfoot {text-align: right;}
|
||||||
|
div#footer div#mfoot a, div#footer div#mfoot a:visited, div#footer div#mfoot a:active {color: #797979;}
|
||||||
|
div#footer div#mfoot div.copyright {text-align: right; font-size: 11px;}
|
||||||
|
|
||||||
|
/* Footer Menu */
|
||||||
a#logo {display: none;}
|
div#footer ul.menu {list-style-type: none; margin: 0; padding: 0; position: absolute; top: 31px;}
|
||||||
|
div#footer ul.menu.menu2 {right: 210px;}
|
||||||
|
div#footer ul.menu li {float: left; margin: 0 5px;}
|
||||||
|
div#footer ul.menu li a {color: #797979; margin: 0 3px;}
|
||||||
/* World Status Peace, Day Night */
|
div#footer ul.menu li.copyright {direction: ltr;}
|
||||||
|
|
||||||
img.day, img.night, div.peace {left: 12px; top: -89px;}
|
|
||||||
|
div#side_info table td {
|
||||||
div.peace {left: 12px; top: -98px;}
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#guide1 {
|
||||||
/* Exe Time */
|
position: fixed;
|
||||||
|
width: 0;
|
||||||
div#stime {display: inline; height: 0; left: 0; top: 0; width: 0;}
|
border-left: 1px dashed red;
|
||||||
|
height: 100%;
|
||||||
div#ltime,
|
left: 50%;
|
||||||
|
margin-left: -480px;
|
||||||
body.mod1 div#ltime,
|
z-index: 9999;
|
||||||
|
}
|
||||||
body.mod2 div#ltime,
|
|
||||||
|
#guide2 {
|
||||||
body.mod3 div#ltime {min-width: 980px; left: 0; top: 111px; width: 100%; z-index: 1;}
|
position: fixed;
|
||||||
|
width: 0;
|
||||||
div#ltime div#ltimeWrap {margin: 0 auto 0 auto; width: 905px; position: relative;}
|
border-left: 1px dashed red;
|
||||||
|
height: 100%;
|
||||||
div#ltime div.devEvents {position: absolute; bottom: -25px; left: 0px;}
|
left: 50%;
|
||||||
|
margin-left: -336px;
|
||||||
|
z-index: 9999;
|
||||||
|
}
|
||||||
/* Ressources */
|
|
||||||
|
#guide3 {
|
||||||
div#res,
|
position: fixed;
|
||||||
|
width: 0;
|
||||||
body.mod1 div#res,
|
border-right: 1px dashed red;
|
||||||
|
height: 100%;
|
||||||
body.mod2 div#res,
|
right: 50%;
|
||||||
|
margin-right: -218px;
|
||||||
body.mod3 div#res {left: 0; min-width: 980px; top: 175px; width: 100%; z-index: 2;}
|
z-index: 9999;
|
||||||
|
}
|
||||||
div#resWrap {left: 50%; margin-left: -335px; position: relative; width: 552px;}
|
|
||||||
|
#guide4 {
|
||||||
div#res table {background-color: transparent;}
|
position: fixed;
|
||||||
|
width: 0;
|
||||||
div#res table td {background-color: transparent;}
|
border-right: 1px dashed red;
|
||||||
|
height: 100%;
|
||||||
|
right: 50%;
|
||||||
|
margin-right: -480px;
|
||||||
/* Content */
|
z-index: 9999;
|
||||||
|
}
|
||||||
div#mid {background-image: none; float: none; height: auto; margin: 0 auto; width: 980px;}
|
|
||||||
|
div.player p.btn, div.login p.btn {
|
||||||
div#content,
|
text-align: center;
|
||||||
|
}
|
||||||
body.mod1 div#content,
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
|
/* Travian 3.6 Redesign Grafikpack */
|
||||||
|
/* Version 1.05 */
|
||||||
/* Travian 3.6 Redesign Grafikpack */
|
|
||||||
|
|
||||||
/* Version 1.05 */
|
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
|
/*
|
||||||
|
*------------------------------------------------------------------------------
|
||||||
/*
|
* LANG is used to define the language-specific images and settings.
|
||||||
|
*
|
||||||
*------------------------------------------------------------------------------
|
* Contains:
|
||||||
|
* width, height, background-image, background-repeat, background-position
|
||||||
* LANG is used to define the language-specific images and settings.
|
*------------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
*
|
|
||||||
|
@import "../../modules/new_layout_ltr.css";
|
||||||
* Contains:
|
|
||||||
|
/* --- Colors ------------------------- */
|
||||||
* width, height, background-image, background-repeat, background-position
|
@import "../../modules/new_colors.css";
|
||||||
|
|
||||||
*------------------------------------------------------------------------------
|
/* --- Icons, Images and Backgrounds ---------- */
|
||||||
|
@import "../../modules/new_images.css";
|
||||||
|
|||||||
@@ -1,58 +1,58 @@
|
|||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
|
.wrapper {background: transparent url(../images/header_background.jpg) repeat-x left top;}
|
||||||
|
|
||||||
.wrapper {background: transparent url(../images/header_background.jpg) repeat-x left top;}
|
div#footer {background: #F1F1F1 url(../images/footer_background.gif) repeat-x center top;}
|
||||||
|
|
||||||
|
div#footer div#mfoot {background: transparent url(../images/footer_logo.gif) no-repeat 0px 21px;}
|
||||||
|
|
||||||
div#footer {background: #F1F1F1 url(../images/footer_background.gif) repeat-x center top;}
|
div#dynamic_header,
|
||||||
|
body.mod1 div#dynamic_header,
|
||||||
|
body.mod3 div#dynamic_header {background: transparent url(../images/artwork1-ltr.jpg) no-repeat center top;}
|
||||||
|
|
||||||
div#footer div#mfoot {background: transparent url(../images/footer_logo.gif) no-repeat 0px 21px;}
|
body.mod2 div#dynamic_header {background: transparent url(../images/artwork2-ltr.jpg) no-repeat center top;}
|
||||||
|
|
||||||
|
div#header {background-image: none;}
|
||||||
|
|
||||||
div#dynamic_header,
|
div#side_navi {background: transparent url(../images/shadow-a-ltr.png) no-repeat right top; margin-top: 30px;}
|
||||||
|
div#side_navi a:hover {background: transparent url(../images/menu-bg-ltr.gif) no-repeat left top;}
|
||||||
body.mod1 div#dynamic_header,
|
|
||||||
|
body.v35 a#n1 img {background-image: url(../images/n1-ltr.gif);}
|
||||||
body.mod3 div#dynamic_header {background: transparent url(../images/artwork1-ltr.jpg) no-repeat center top;}
|
body.v35 a#n2 img {background-image: url(../images/n2-ltr.gif);}
|
||||||
|
body.v35 a#n3 img {background-image: url(../images/n3-ltr.gif);}
|
||||||
|
body.v35 a#n4 img {background-image: url(../images/n4-ltr.gif);}
|
||||||
|
body.v35 div.i1 {background-image:url(../images/m1-ltr.gif);} /* beide */
|
||||||
body.mod2 div#dynamic_header {background: transparent url(../images/artwork2-ltr.jpg) no-repeat center top;}
|
body.v35 div.i2 {background-image:url(../images/m2-ltr.gif);} /* IGM */
|
||||||
|
body.v35 div.i3 {background-image:url(../images/m3-ltr.gif);} /* Report */
|
||||||
|
body.v35 div.i4 {background-image:url(../images/m4-ltr.gif);} /* none */
|
||||||
|
|
||||||
div#header {background-image: none;}
|
|
||||||
|
div#mtop a#plus {background: transparent url(../images/plus_bg.gif) repeat-x 0 0px; margin-left:135px;}
|
||||||
|
div#mtop a#plus span.plus_text {
|
||||||
|
display: block;
|
||||||
div#side_navi {background: transparent url(../images/shadow-a-ltr.png) no-repeat right top; margin-top: 30px;}
|
background: transparent url(../images/plus_start-ltr.gif) no-repeat left top;
|
||||||
|
height: 29px;
|
||||||
div#side_navi a:hover {background: transparent url(../images/menu-bg-ltr.gif) no-repeat left top;}
|
padding: 6px 14px;
|
||||||
|
float:left;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
body.v35 a#n1 img {background-image: url(../images/n1-ltr.gif);}
|
div#mtop a#plus span span {display: inline; cursor: pointer;}
|
||||||
|
div#mtop a#plus {display: block; font-size: 13px; height: 40px; margin-top:16px; position: relative;}
|
||||||
body.v35 a#n2 img {background-image: url(../images/n2-ltr.gif);}
|
img#btn_plus {
|
||||||
|
background-position: left top;
|
||||||
body.v35 a#n3 img {background-image: url(../images/n3-ltr.gif);}
|
background-repeat: no-repeat;
|
||||||
|
height: 29px;
|
||||||
body.v35 a#n4 img {background-image: url(../images/n4-ltr.gif);}
|
width: 36px;
|
||||||
|
float:left;
|
||||||
body.v35 div.i1 {background-image:url(../images/m1-ltr.gif);} /* beide */
|
}
|
||||||
|
#plus img.active {background-image: url(../images/plus_active-ltr.gif);}
|
||||||
body.v35 div.i2 {background-image:url(../images/m2-ltr.gif);} /* IGM */
|
#plus img.inactive {background-image: url(../images/plus_inactive-ltr.gif);}
|
||||||
|
|
||||||
body.v35 div.i3 {background-image:url(../images/m3-ltr.gif);} /* Report */
|
|
||||||
|
|
||||||
body.v35 div.i4 {background-image:url(../images/m4-ltr.gif);} /* none */
|
div#side_info,
|
||||||
|
body.mod1 div#side_info,
|
||||||
|
body.mod2 div#side_info,
|
||||||
|
body.mod3 div#side_info {background: transparent url(../images/shadow-b-ltr.png) no-repeat left top;}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,189 +1,189 @@
|
|||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
|
/* --- Scrollbarantiwackler --- */
|
||||||
|
body {overflow-y:scroll;}
|
||||||
/* --- Scrollbarantiwackler --- */
|
|
||||||
|
body.manual {overflow-y: hidden; }
|
||||||
body {overflow-y:scroll;}
|
|
||||||
|
|
||||||
|
/* Layout */
|
||||||
|
html, body {height: 100%;}
|
||||||
body.manual {overflow-y: hidden; }
|
.wrapper {height: auto !important; /* Important Regel für moderne Browser */ height: 100%; /* Mindesthöhe für den IE */ min-height: 100%; position: relative;}
|
||||||
|
|
||||||
|
.ie6 .wrapper {text-align: center;} /* IE6 Hack damit das alles zentriert wird */
|
||||||
|
.ie6 .wrapper * {text-align: left;} /* IE6 Hack im Content rückgängig machgen */
|
||||||
|
|
||||||
|
/* --- Table Row Highlight --- */
|
||||||
/* Layout */
|
table.row_table_data tr.hlight td {background-color: #fffaf0;}
|
||||||
|
table.row_table_data tr.marked td {background-color: #fff8dc;}
|
||||||
html, body {height: 100%;}
|
|
||||||
|
/* Body */
|
||||||
.wrapper {height: auto !important; /* Important Regel für moderne Browser */ height: 100%; /* Mindesthöhe für den IE */ min-height: 100%; position: relative;}
|
body {background-color: #FFFFFF;}
|
||||||
|
body.manual {background-image: none;}
|
||||||
|
|
||||||
|
|
||||||
.ie6 .wrapper {text-align: center;} /* IE6 Hack damit das alles zentriert wird */
|
div.popup3 {
|
||||||
|
left: 50%;
|
||||||
.ie6 .wrapper * {text-align: left;} /* IE6 Hack im Content rückgängig machgen */
|
top:170px;
|
||||||
|
margin-left: -285px;
|
||||||
|
}
|
||||||
|
#ce {
|
||||||
/* --- Table Row Highlight --- */
|
width: 100%;
|
||||||
|
height: 0;
|
||||||
table.row_table_data tr.hlight td {background-color: #fffaf0;}
|
}
|
||||||
|
|
||||||
table.row_table_data tr.marked td {background-color: #fff8dc;}
|
/* --- Main Header --- */
|
||||||
|
body.mod1 div#dynamic_header div.dyn1,
|
||||||
|
body.mod1 div#dynamic_header div.dyn2,
|
||||||
|
body.mod2 div#dynamic_header div.dyn1,
|
||||||
/* Body */
|
body.mod2 div#dynamic_header div.dyn2,
|
||||||
|
body.mod3 div#dynamic_header div.dyn1,
|
||||||
body {background-color: #FFFFFF;}
|
body.mod3 div#dynamic_header div.dyn2 {display: none;}
|
||||||
|
|
||||||
body.manual {background-image: none;}
|
body.mod2 div#dynamic_header {
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.mod2 div#dynamic_header #ad_iframe{
|
||||||
|
left: 50%;
|
||||||
div.popup3 {
|
margin-left: -303px;
|
||||||
|
}
|
||||||
left: 50%;
|
|
||||||
|
div#dynamic_header,
|
||||||
top:170px;
|
body.mod1 div#dynamic_header,
|
||||||
|
body.mod2 div#dynamic_header,
|
||||||
margin-left: -285px;
|
body.mod3 div#dynamic_header { height: 100px;}
|
||||||
|
|
||||||
}
|
/* Header Menu */
|
||||||
|
div#header {height: 72px;}
|
||||||
#ce {
|
div#mtop,
|
||||||
|
body.mod1 div#mtop,
|
||||||
width: 100%;
|
body.mod2 div#mtop,
|
||||||
|
body.mod3 div#mtop {height: 72px; left: 50%; margin-left: -241px; z-index: 2; width: 700px;}
|
||||||
height: 0;
|
a#n1 img, a#n2 img, a#n3 img, a#n4 img, div#n5 {height: 72px;}
|
||||||
|
div#mtop div#n5 .reports {float: left;}
|
||||||
}
|
div#mtop div#n5 .messages {float: right;}
|
||||||
|
|
||||||
|
|
||||||
|
a#logo {display: none;}
|
||||||
/* --- Main Header --- */
|
|
||||||
|
/* World Status Peace, Day Night */
|
||||||
body.mod1 div#dynamic_header div.dyn1,
|
img.day, img.night, div.peace {left: 12px; top: -89px;}
|
||||||
|
div.peace {left: 12px; top: -98px;}
|
||||||
body.mod1 div#dynamic_header div.dyn2,
|
|
||||||
|
/* Exe Time */
|
||||||
body.mod2 div#dynamic_header div.dyn1,
|
div#stime {display: inline; height: 0; left: 0; top: 0; width: 0;}
|
||||||
|
div#ltime,
|
||||||
body.mod2 div#dynamic_header div.dyn2,
|
body.mod1 div#ltime,
|
||||||
|
body.mod2 div#ltime,
|
||||||
body.mod3 div#dynamic_header div.dyn1,
|
body.mod3 div#ltime {min-width: 980px; left: 0; top: 111px; width: 100%; z-index: 1;}
|
||||||
|
div#ltime div#ltimeWrap {margin: 0 auto 0 auto; width: 905px; position: relative;}
|
||||||
body.mod3 div#dynamic_header div.dyn2 {display: none;}
|
div#ltime div.devEvents {position: absolute; bottom: -25px; left: 0px;}
|
||||||
|
|
||||||
|
/* Ressources */
|
||||||
|
div#res,
|
||||||
body.mod2 div#dynamic_header {
|
body.mod1 div#res,
|
||||||
|
body.mod2 div#res,
|
||||||
height: 100px;
|
body.mod3 div#res {left: 0; min-width: 980px; top: 175px; width: 100%; z-index: 2;}
|
||||||
|
div#resWrap {left: 50%; margin-left: -335px; position: relative; width: 552px;}
|
||||||
}
|
div#res table {background-color: transparent;}
|
||||||
|
div#res table td {background-color: transparent;}
|
||||||
|
|
||||||
|
/* Content */
|
||||||
body.mod2 div#dynamic_header #ad_iframe{
|
div#mid {background-image: none; float: none; height: auto; margin: 0 auto; width: 980px;}
|
||||||
|
div#content,
|
||||||
left: 50%;
|
body.mod1 div#content,
|
||||||
|
body.mod2 div#content,
|
||||||
margin-left: -303px;
|
body.mod3 div#content {height: auto !important; /* Important Regel für moderne Browser */ /* Mindesthöhe für den IE */ min-height: 450px;}
|
||||||
|
|
||||||
}
|
.ie6div#content {padding-bottom: 5px;}
|
||||||
|
/* Content Menu */
|
||||||
|
div#side_navi {height: auto !important; /* Important Regel für moderne Browser */ height: 453px; /* Mindesthöhe für den IE */ min-height: 453px; width: 155px;}
|
||||||
|
|
||||||
div#dynamic_header,
|
|
||||||
|
/* Content Villages & Links */
|
||||||
body.mod1 div#dynamic_header,
|
div#side_info,
|
||||||
|
body.mod1 div#side_info,
|
||||||
body.mod2 div#dynamic_header,
|
body.mod2 div#side_info,
|
||||||
|
body.mod3 div#side_info { height: auto !important; /* Important Regel für moderne Browser */ height: 453px; /* Mindesthöhe für den IE */ margin-left: 0; min-height: 453px; padding-left: 16px; width: 257px; z-index: 3;}
|
||||||
body.mod3 div#dynamic_header { height: 100px;}
|
div#side_info td.dot {
|
||||||
|
width: 8px;
|
||||||
|
|
||||||
|
}
|
||||||
/* Header Menu */
|
div#side_info td.link {
|
||||||
|
padding-right: 0px;
|
||||||
div#header {height: 72px;}
|
white-space: normal;
|
||||||
|
line-height: 18px;
|
||||||
div#mtop,
|
}
|
||||||
|
div#side_info td {
|
||||||
body.mod1 div#mtop,
|
vertical-align: top;
|
||||||
|
}
|
||||||
body.mod2 div#mtop,
|
|
||||||
|
/* Footer */
|
||||||
body.mod3 div#mtop {height: 72px; left: 50%; margin-left: -241px; z-index: 2; width: 700px;}
|
.footer-stopper {float: left; margin-bottom: 100px;} /* Stoppt den Footer beim nach obenschieben */
|
||||||
|
.ie6 .footer-stopper, .ie7 .footer-stopper {height: 100px;} /* IE 6 und IE7 Hack damit Footer nicht über dem Content steht */
|
||||||
a#n1 img, a#n2 img, a#n3 img, a#n4 img, div#n5 {height: 72px;}
|
div#footer {bottom: 0px; height: 90px; left: 0; margin-top: 90px; min-width: 980px; position: absolute; right: 0;
|
||||||
|
font-size: 11px; line-height: 19px;
|
||||||
div#mtop div#n5 .reports {float: left;}
|
}
|
||||||
|
div#footer div#mfoot {height: 28px; margin: 0 auto; width: 905px;}
|
||||||
div#mtop div#n5 .messages {float: right;}
|
div#footer div.footer-menu {color: #797979; text-align: right;}
|
||||||
|
div#footer div#mfoot {text-align: right;}
|
||||||
|
div#footer div#mfoot a, div#footer div#mfoot a:visited, div#footer div#mfoot a:active {color: #797979;}
|
||||||
|
div#footer div#mfoot div.copyright {text-align: right; font-size: 11px;}
|
||||||
|
|
||||||
|
/* Footer Menu */
|
||||||
a#logo {display: none;}
|
div#footer ul.menu {list-style-type: none; margin: 0; padding: 0; position: absolute; top: 31px;}
|
||||||
|
div#footer ul.menu.menu2 {right: 210px;}
|
||||||
|
div#footer ul.menu li {float: left; margin: 0 5px;}
|
||||||
|
div#footer ul.menu li a {color: #797979; margin: 0 3px;}
|
||||||
/* World Status Peace, Day Night */
|
div#footer ul.menu li.copyright {direction: ltr;}
|
||||||
|
|
||||||
img.day, img.night, div.peace {left: 12px; top: -89px;}
|
|
||||||
|
div#side_info table td {
|
||||||
div.peace {left: 12px; top: -98px;}
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#guide1 {
|
||||||
/* Exe Time */
|
position: fixed;
|
||||||
|
width: 0;
|
||||||
div#stime {display: inline; height: 0; left: 0; top: 0; width: 0;}
|
border-left: 1px dashed red;
|
||||||
|
height: 100%;
|
||||||
div#ltime,
|
left: 50%;
|
||||||
|
margin-left: -480px;
|
||||||
body.mod1 div#ltime,
|
z-index: 9999;
|
||||||
|
}
|
||||||
body.mod2 div#ltime,
|
|
||||||
|
#guide2 {
|
||||||
body.mod3 div#ltime {min-width: 980px; left: 0; top: 111px; width: 100%; z-index: 1;}
|
position: fixed;
|
||||||
|
width: 0;
|
||||||
div#ltime div#ltimeWrap {margin: 0 auto 0 auto; width: 905px; position: relative;}
|
border-left: 1px dashed red;
|
||||||
|
height: 100%;
|
||||||
div#ltime div.devEvents {position: absolute; bottom: -25px; left: 0px;}
|
left: 50%;
|
||||||
|
margin-left: -336px;
|
||||||
|
z-index: 9999;
|
||||||
|
}
|
||||||
/* Ressources */
|
|
||||||
|
#guide3 {
|
||||||
div#res,
|
position: fixed;
|
||||||
|
width: 0;
|
||||||
body.mod1 div#res,
|
border-right: 1px dashed red;
|
||||||
|
height: 100%;
|
||||||
body.mod2 div#res,
|
right: 50%;
|
||||||
|
margin-right: -218px;
|
||||||
body.mod3 div#res {left: 0; min-width: 980px; top: 175px; width: 100%; z-index: 2;}
|
z-index: 9999;
|
||||||
|
}
|
||||||
div#resWrap {left: 50%; margin-left: -335px; position: relative; width: 552px;}
|
|
||||||
|
#guide4 {
|
||||||
div#res table {background-color: transparent;}
|
position: fixed;
|
||||||
|
width: 0;
|
||||||
div#res table td {background-color: transparent;}
|
border-right: 1px dashed red;
|
||||||
|
height: 100%;
|
||||||
|
right: 50%;
|
||||||
|
margin-right: -480px;
|
||||||
/* Content */
|
z-index: 9999;
|
||||||
|
}
|
||||||
div#mid {background-image: none; float: none; height: auto; margin: 0 auto; width: 980px;}
|
|
||||||
|
div.player p.btn, div.login p.btn {
|
||||||
div#content,
|
text-align: center;
|
||||||
|
}
|
||||||
body.mod1 div#content,
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
|
/* Travian 3.6 Redesign Grafikpack */
|
||||||
|
/* Version 1.05 */
|
||||||
/* Travian 3.6 Redesign Grafikpack */
|
|
||||||
|
|
||||||
/* Version 1.05 */
|
|
||||||
|
|||||||
+178
-178
@@ -1,179 +1,179 @@
|
|||||||
<?php
|
<?php
|
||||||
|
#################################################################################
|
||||||
#################################################################################
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## Filename sysmsg.php ##
|
||||||
## Filename sysmsg.php ##
|
## Developed by: Dixie ##
|
||||||
## Developed by: Dixie ##
|
## License: TravianX Project ##
|
||||||
## License: TravianX Project ##
|
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
|
||||||
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
|
## ##
|
||||||
## ##
|
#################################################################################
|
||||||
#################################################################################
|
|
||||||
|
include_once("GameEngine/Account.php");
|
||||||
|
$max_per_pass = 1000;
|
||||||
include_once("GameEngine/Account.php");
|
mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS);
|
||||||
|
mysql_select_db(SQL_DB);
|
||||||
$max_per_pass = 1000;
|
if (mysql_num_rows(mysql_query("SELECT id FROM ".TB_PREFIX."users WHERE access = 9 AND id = ".$session->uid)) != '1') die("Hacking attempt!");
|
||||||
|
|
||||||
|
if(isset($_GET['del'])){
|
||||||
|
$query="SELECT * FROM ".TB_PREFIX."users ORDER BY id + 0 DESC";
|
||||||
|
$result=mysql_query($query) or die (mysql_error());
|
||||||
|
for ($i=0; $row=mysql_fetch_row($result); $i++) {
|
||||||
|
$updateattquery = mysql_query("UPDATE ".TB_PREFIX."users SET ok = '0' WHERE id = '".$row[0]."'")
|
||||||
|
or die(mysql_error());
|
||||||
}
|
}
|
||||||
mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS);
|
}
|
||||||
|
|
||||||
mysql_select_db(SQL_DB);
|
if (@$_POST['submit'] == "Send")
|
||||||
|
{
|
||||||
if (mysql_num_rows(mysql_query("SELECT id FROM ".TB_PREFIX."users WHERE access = 9 AND id = ".$session->uid)) != '1') die("Hacking attempt!");
|
unset ($_SESSION['m_message']);
|
||||||
|
$_SESSION['m_message'] = $_POST['message'];
|
||||||
|
$NextStep = true;
|
||||||
|
}
|
||||||
if(isset($_GET['del'])){
|
|
||||||
|
|
||||||
$query="SELECT * FROM ".TB_PREFIX."users ORDER BY id + 0 DESC";
|
if (@isset($_POST['confirm']))
|
||||||
|
{
|
||||||
$result=mysql_query($query) or die (mysql_error());
|
if ($_POST['confirm'] == 'No' ) $Interupt = true;
|
||||||
|
if ($_POST['confirm'] == 'Yes'){
|
||||||
for ($i=0; $row=mysql_fetch_row($result); $i++) {
|
|
||||||
|
if(file_exists("Templates/text.tpl")) {
|
||||||
$updateattquery = mysql_query("UPDATE ".TB_PREFIX."users SET ok = '0' WHERE id = '".$row[0]."'")
|
|
||||||
|
$myFile = "Templates/text.tpl";
|
||||||
or die(mysql_error());
|
$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%'",$_SESSION['m_message'] ,$text);
|
||||||
|
fwrite($fh, $text);
|
||||||
}
|
|
||||||
|
$query="SELECT * FROM ".TB_PREFIX."users ORDER BY id + 0 DESC";
|
||||||
|
$result=mysql_query($query) or die (mysql_error());
|
||||||
if (@$_POST['submit'] == "Send")
|
for ($i=0; $row=mysql_fetch_row($result); $i++) {
|
||||||
|
$updateattquery = mysql_query("UPDATE ".TB_PREFIX."users SET ok = '1' WHERE id = '".$row[0]."'")
|
||||||
{
|
or die(mysql_error());
|
||||||
|
}
|
||||||
unset ($_SESSION['m_message']);
|
$done = true;
|
||||||
|
} else { die("<br/><br/><br/>wrong"); }
|
||||||
$_SESSION['m_message'] = $_POST['message'];
|
}}
|
||||||
|
|
||||||
$NextStep = true;
|
?>
|
||||||
|
<!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" />
|
||||||
if (@isset($_POST['confirm']))
|
<meta http-equiv="expires" content="0" />
|
||||||
|
<meta http-equiv="imagetoolbar" content="no" />
|
||||||
{
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
if ($_POST['confirm'] == 'No' ) $Interupt = true;
|
<script src="mt-full.js?0ac36" type="text/javascript"></script>
|
||||||
|
<script src="unx.js?0ac36" type="text/javascript"></script>
|
||||||
if ($_POST['confirm'] == 'Yes'){
|
<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(file_exists("Templates/text.tpl")) {
|
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' />";
|
||||||
$myFile = "Templates/text.tpl";
|
} else {
|
||||||
|
echo "
|
||||||
$fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: templates/text.tpl");
|
<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' />";
|
||||||
$text = file_get_contents("Templates/text_format.tpl");
|
}
|
||||||
|
?>
|
||||||
$text = preg_replace("'%TEKST%'",$_SESSION['m_message'] ,$text);
|
<script type="text/javascript">
|
||||||
|
|
||||||
fwrite($fh, $text);
|
window.addEvent('domready', start);
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<?php
|
||||||
$query="SELECT * FROM ".TB_PREFIX."users ORDER BY id + 0 DESC";
|
if($session->gpack == null || GP_ENABLE == false) {
|
||||||
|
echo "
|
||||||
$result=mysql_query($query) or die (mysql_error());
|
<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' />";
|
||||||
for ($i=0; $row=mysql_fetch_row($result); $i++) {
|
} else {
|
||||||
|
echo "
|
||||||
$updateattquery = mysql_query("UPDATE ".TB_PREFIX."users SET ok = '1' WHERE id = '".$row[0]."'")
|
<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' />";
|
||||||
or die(mysql_error());
|
}
|
||||||
|
?>
|
||||||
}
|
<script type="text/javascript">
|
||||||
|
window.addEvent('domready', start);
|
||||||
$done = true;
|
</script>
|
||||||
|
</head>
|
||||||
} else { die("<br/><br/><br/>wrong"); }
|
|
||||||
|
|
||||||
}}
|
<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"); ?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<div id="mid">
|
||||||
|
<?php include("Templates/menu.tpl"); ?>
|
||||||
<html>
|
|
||||||
|
<div id="content" class="login">
|
||||||
<head>
|
<?php if (@!$NextStep && @!$NextStep2 && @!$done){?>
|
||||||
|
<form method="POST" action="sysmsg.php" name="myform" id="myform">
|
||||||
<title><?php echo SERVER_NAME ?></title>
|
<table cellspacing="1" cellpadding="1" class="tbg" style="background-color:#C0C0C0; border: 0px solid #C0C0C0; font-size: 10pt;">
|
||||||
|
<tbody>
|
||||||
<link REL="shortcut icon" HREF="favicon.ico"/>
|
<tr>
|
||||||
|
<td class="rbg" style="font-size: 10pt; text-align:center;">System Message</td>
|
||||||
<meta http-equiv="cache-control" content="max-age=0" />
|
</tr>
|
||||||
|
<tr>
|
||||||
<meta http-equiv="pragma" content="no-cache" />
|
<td style="font-size: 10pt; text-align:center;">Text BBCode:<br><b>[b] txt [/b]</b> - <i>[i] txt [/i]</i> - <u>[u] txt [/u]</u> <br />
|
||||||
|
<textarea class="fm" name="message" cols="60" rows="23"></textarea></td>
|
||||||
<meta http-equiv="expires" content="0" />
|
</tr>
|
||||||
|
<tr>
|
||||||
<meta http-equiv="imagetoolbar" content="no" />
|
<td style="text-align:center;">All fields required</td>
|
||||||
|
</tr>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
<tr>
|
||||||
|
<td style="text-align:center;">
|
||||||
|
<input type="submit" value="Send" name="submit" /> </td>
|
||||||
|
</tr>
|
||||||
<script src="mt-full.js?0ac36" type="text/javascript"></script>
|
</tbody>
|
||||||
|
</table>
|
||||||
<script src="unx.js?0ac36" type="text/javascript"></script>
|
</form>
|
||||||
|
<a href="sysmsg.php?del">Delete old System Message</a>
|
||||||
<script src="new.js?0ac36" type="text/javascript"></script>
|
<?php }elseif (@$NextStep){?>
|
||||||
|
<form method="POST" action="sysmsg.php">
|
||||||
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7c" rel="stylesheet" type="text/css" />
|
<table cellspacing="1" cellpadding="2" class="tbg">
|
||||||
|
<tbody>
|
||||||
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css" />
|
<tr>
|
||||||
|
<td class="rbg" colspan="2">Confirmation</td>
|
||||||
<?php
|
</tr>
|
||||||
|
<tr>
|
||||||
if($session->gpack == null || GP_ENABLE == false) {
|
<td style="text-align: left; width: 200px;">Do you really want to send System Message?</td>
|
||||||
|
<td style="text-align: left;">
|
||||||
echo "
|
<input type="submit" style="width: 240px;" class="fm" name="confirm" value="Yes">
|
||||||
|
<input type="submit" style="width: 240px;" class="fm" name="confirm" value="No"></td>
|
||||||
<link href='".GP_LOCATE."travian.css?e21d2' rel='stylesheet' type='text/css' />
|
</tr>
|
||||||
|
</tbody>
|
||||||
<link href='".GP_LOCATE."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
|
</table>
|
||||||
|
</form>
|
||||||
} else {
|
Example: (BBCode doesn't work over here!)
|
||||||
|
<?php
|
||||||
echo "
|
$txt=$_SESSION['m_message'];
|
||||||
|
$txt = preg_replace("/\[b\]/is",'<b>', $txt);
|
||||||
<link href='".$session->gpack."travian.css?e21d2' rel='stylesheet' type='text/css' />
|
$txt = preg_replace("/\[\/b\]/is",'</b>', $txt);
|
||||||
|
$txt = preg_replace("/\[i\]/is",'<i>', $txt);
|
||||||
<link href='".$session->gpack."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
|
$txt = preg_replace("/\[\/i\]/is",'</i>', $txt);
|
||||||
|
$txt = preg_replace("/\[u\]/is",'<u>', $txt);
|
||||||
}
|
$txt = preg_replace("/\[\/u\]/is",'</u>', $txt);
|
||||||
|
echo ($txt);
|
||||||
?>
|
|
||||||
|
}elseif (@$Interupt){?>
|
||||||
<script type="text/javascript">
|
<b><?php echo MASS_ABORT; ?></b>
|
||||||
|
|
||||||
|
<?php }elseif (@$done){?>
|
||||||
|
System Message was sent
|
||||||
window.addEvent('domready', start);
|
<?php }else{die("Something is wrong");}?>
|
||||||
|
</div>
|
||||||
</script>
|
<div id="side_info" class="outgame">
|
||||||
|
</div>
|
||||||
</head>
|
|
||||||
|
<div class="clear"></div>
|
||||||
<?php
|
</div>
|
||||||
|
|
||||||
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' />";
|
|
||||||
|
|||||||
Reference in New Issue
Block a user