mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-04 11:54:25 +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
|
||||
#################################################################################
|
||||
## -= 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");
|
||||
?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<link REL="shortcut icon" HREF="favicon.ico"/>
|
||||
<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/acp.css">
|
||||
<link rel=stylesheet type="text/css" href="../img/../img.css">
|
||||
<script src="mt-full.js?423cb" 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="imagetoolbar" content="no">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script language="javascript">
|
||||
function aktiv() {this.srcElement.className='fl1'; }
|
||||
function inaktiv() {event.srcElement.className='fl2'; }
|
||||
|
||||
function del(e,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 == 'stopDel'){ var conf = confirm('Dou you really want stop deleting user '+id+'?'); }
|
||||
if(conf){return true;}else{return false;}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<div id="ltop1">
|
||||
<div style="position:relative; width:231px; height:100px; float:left;">
|
||||
<img src="../img/x.gif" width="1" height="1">
|
||||
</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="lmidlc">
|
||||
<div id="lleft">
|
||||
<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">
|
||||
<tr>
|
||||
<td class="menu">
|
||||
<?php
|
||||
if($funct->CheckLogin()){?>
|
||||
<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>
|
||||
<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>
|
||||
</tr>
|
||||
</table></div>
|
||||
<div id="lmid1">
|
||||
<div id="lmid3">
|
||||
|
||||
<?php
|
||||
|
||||
if($funct->CheckLogin()){
|
||||
if($_POST or $_GET){
|
||||
if($_GET['p'] and $_GET['p']!="search"){
|
||||
$filename = '../Templates/Admin/'.$_GET['p'].'.tpl';
|
||||
if(file_exists($filename)){
|
||||
include($filename);
|
||||
}else{
|
||||
include('../Templates/Admin/404.tpl');
|
||||
}
|
||||
}else{
|
||||
include('../Templates/Admin/search.tpl');
|
||||
}
|
||||
if($_POST['p'] and $_POST['s']){
|
||||
$filename = '../Templates/Admin/results_'.$_POST['p'].'.tpl';
|
||||
if(file_exists($filename)){
|
||||
include($filename);
|
||||
}else{
|
||||
include('../Templates/Admin/404.tpl');
|
||||
}
|
||||
}
|
||||
}else{
|
||||
include('../Templates/Admin/home.tpl');
|
||||
}
|
||||
}else{
|
||||
<?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");
|
||||
?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<link REL="shortcut icon" HREF="favicon.ico"/>
|
||||
<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/acp.css">
|
||||
<link rel=stylesheet type="text/css" href="../img/../img.css">
|
||||
<script src="mt-full.js?423cb" 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="imagetoolbar" content="no">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script language="javascript">
|
||||
function aktiv() {this.srcElement.className='fl1'; }
|
||||
function inaktiv() {event.srcElement.className='fl2'; }
|
||||
|
||||
function del(e,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 == 'stopDel'){ var conf = confirm('Dou you really want stop deleting user '+id+'?'); }
|
||||
if(conf){return true;}else{return false;}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<div id="ltop1">
|
||||
<div style="position:relative; width:231px; height:100px; float:left;">
|
||||
<img src="../img/x.gif" width="1" height="1">
|
||||
</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="lmidlc">
|
||||
<div id="lleft">
|
||||
<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">
|
||||
<tr>
|
||||
<td class="menu">
|
||||
<?php
|
||||
if($funct->CheckLogin()){?>
|
||||
<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>
|
||||
<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>
|
||||
</tr>
|
||||
</table></div>
|
||||
<div id="lmid1">
|
||||
<div id="lmid3">
|
||||
|
||||
<?php
|
||||
|
||||
if($funct->CheckLogin()){
|
||||
if($_POST or $_GET){
|
||||
if($_GET['p'] and $_GET['p']!="search"){
|
||||
$filename = '../Templates/Admin/'.$_GET['p'].'.tpl';
|
||||
if(file_exists($filename)){
|
||||
include($filename);
|
||||
}else{
|
||||
include('../Templates/Admin/404.tpl');
|
||||
}
|
||||
}else{
|
||||
include('../Templates/Admin/search.tpl');
|
||||
}
|
||||
if($_POST['p'] and $_POST['s']){
|
||||
$filename = '../Templates/Admin/results_'.$_POST['p'].'.tpl';
|
||||
if(file_exists($filename)){
|
||||
include($filename);
|
||||
}else{
|
||||
include('../Templates/Admin/404.tpl');
|
||||
}
|
||||
}
|
||||
}else{
|
||||
include('../Templates/Admin/home.tpl');
|
||||
}
|
||||
}else{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<h5><img src="img/en/t2/newsbox3.gif" alt="newsbox 3"></h5>
|
||||
<div class="news">
|
||||
<b><center>TravianX</center></b>
|
||||
<h5><img src="img/en/t2/newsbox3.gif" alt="newsbox 3"></h5>
|
||||
<div class="news">
|
||||
<b><center>TravianX</center></b>
|
||||
</div>
|
||||
@@ -1,7 +1,7 @@
|
||||
<div id="textmenu">
|
||||
|
||||
<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>
|
||||
|
||||
<div id="textmenu">
|
||||
<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=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>
|
||||
@@ -1,18 +1,18 @@
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
*------------------------------------------------------------------------------
|
||||
|
||||
* LANG is used to define the language-specific images and settings.
|
||||
|
||||
*
|
||||
|
||||
* Contains:
|
||||
|
||||
* width, height, background-image, background-repeat, background-position
|
||||
|
||||
*------------------------------------------------------------------------------
|
||||
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
/*
|
||||
*------------------------------------------------------------------------------
|
||||
* LANG is used to define the language-specific images and settings.
|
||||
*
|
||||
* Contains:
|
||||
* width, height, background-image, background-repeat, background-position
|
||||
*------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@import "../../modules/new_layout_ltr.css";
|
||||
|
||||
/* --- Colors ------------------------- */
|
||||
@import "../../modules/new_colors.css";
|
||||
|
||||
/* --- Icons, Images and Backgrounds ---------- */
|
||||
@import "../../modules/new_images.css";
|
||||
|
||||
@@ -1,58 +1,58 @@
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
|
||||
|
||||
.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#dynamic_header,
|
||||
|
||||
body.mod1 div#dynamic_header,
|
||||
|
||||
body.mod3 div#dynamic_header {background: transparent url(../images/artwork1-ltr.jpg) no-repeat center top;}
|
||||
|
||||
|
||||
|
||||
body.mod2 div#dynamic_header {background: transparent url(../images/artwork2-ltr.jpg) no-repeat center top;}
|
||||
|
||||
|
||||
|
||||
div#header {background-image: none;}
|
||||
|
||||
|
||||
|
||||
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.v35 a#n1 img {background-image: url(../images/n1-ltr.gif);}
|
||||
|
||||
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.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 */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
.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#dynamic_header,
|
||||
body.mod1 div#dynamic_header,
|
||||
body.mod3 div#dynamic_header {background: transparent url(../images/artwork1-ltr.jpg) no-repeat center top;}
|
||||
|
||||
body.mod2 div#dynamic_header {background: transparent url(../images/artwork2-ltr.jpg) no-repeat center top;}
|
||||
|
||||
div#header {background-image: none;}
|
||||
|
||||
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.v35 a#n1 img {background-image: url(../images/n1-ltr.gif);}
|
||||
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.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#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;
|
||||
background: transparent url(../images/plus_start-ltr.gif) no-repeat left top;
|
||||
height: 29px;
|
||||
padding: 6px 14px;
|
||||
float:left;
|
||||
cursor: pointer;
|
||||
}
|
||||
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;}
|
||||
img#btn_plus {
|
||||
background-position: left top;
|
||||
background-repeat: no-repeat;
|
||||
height: 29px;
|
||||
width: 36px;
|
||||
float:left;
|
||||
}
|
||||
#plus img.active {background-image: url(../images/plus_active-ltr.gif);}
|
||||
#plus img.inactive {background-image: url(../images/plus_inactive-ltr.gif);}
|
||||
|
||||
|
||||
|
||||
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";
|
||||
|
||||
|
||||
|
||||
/* --- Scrollbarantiwackler --- */
|
||||
|
||||
body {overflow-y:scroll;}
|
||||
|
||||
|
||||
|
||||
body.manual {overflow-y: hidden; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Layout */
|
||||
|
||||
html, body {height: 100%;}
|
||||
|
||||
.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 --- */
|
||||
|
||||
table.row_table_data tr.hlight td {background-color: #fffaf0;}
|
||||
|
||||
table.row_table_data tr.marked td {background-color: #fff8dc;}
|
||||
|
||||
|
||||
|
||||
/* Body */
|
||||
|
||||
body {background-color: #FFFFFF;}
|
||||
|
||||
body.manual {background-image: none;}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
div.popup3 {
|
||||
|
||||
left: 50%;
|
||||
|
||||
top:170px;
|
||||
|
||||
margin-left: -285px;
|
||||
|
||||
}
|
||||
|
||||
#ce {
|
||||
|
||||
width: 100%;
|
||||
|
||||
height: 0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* --- Main Header --- */
|
||||
|
||||
body.mod1 div#dynamic_header div.dyn1,
|
||||
|
||||
body.mod1 div#dynamic_header div.dyn2,
|
||||
|
||||
body.mod2 div#dynamic_header div.dyn1,
|
||||
|
||||
body.mod2 div#dynamic_header div.dyn2,
|
||||
|
||||
body.mod3 div#dynamic_header div.dyn1,
|
||||
|
||||
body.mod3 div#dynamic_header div.dyn2 {display: none;}
|
||||
|
||||
|
||||
|
||||
body.mod2 div#dynamic_header {
|
||||
|
||||
height: 100px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
body.mod2 div#dynamic_header #ad_iframe{
|
||||
|
||||
left: 50%;
|
||||
|
||||
margin-left: -303px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
div#dynamic_header,
|
||||
|
||||
body.mod1 div#dynamic_header,
|
||||
|
||||
body.mod2 div#dynamic_header,
|
||||
|
||||
body.mod3 div#dynamic_header { height: 100px;}
|
||||
|
||||
|
||||
|
||||
/* Header Menu */
|
||||
|
||||
div#header {height: 72px;}
|
||||
|
||||
div#mtop,
|
||||
|
||||
body.mod1 div#mtop,
|
||||
|
||||
body.mod2 div#mtop,
|
||||
|
||||
body.mod3 div#mtop {height: 72px; left: 50%; margin-left: -241px; z-index: 2; width: 700px;}
|
||||
|
||||
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;}
|
||||
|
||||
|
||||
|
||||
/* World Status Peace, Day Night */
|
||||
|
||||
img.day, img.night, div.peace {left: 12px; top: -89px;}
|
||||
|
||||
div.peace {left: 12px; top: -98px;}
|
||||
|
||||
|
||||
|
||||
/* Exe Time */
|
||||
|
||||
div#stime {display: inline; height: 0; left: 0; top: 0; width: 0;}
|
||||
|
||||
div#ltime,
|
||||
|
||||
body.mod1 div#ltime,
|
||||
|
||||
body.mod2 div#ltime,
|
||||
|
||||
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;}
|
||||
|
||||
div#ltime div.devEvents {position: absolute; bottom: -25px; left: 0px;}
|
||||
|
||||
|
||||
|
||||
/* Ressources */
|
||||
|
||||
div#res,
|
||||
|
||||
body.mod1 div#res,
|
||||
|
||||
body.mod2 div#res,
|
||||
|
||||
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 */
|
||||
|
||||
div#mid {background-image: none; float: none; height: auto; margin: 0 auto; width: 980px;}
|
||||
|
||||
div#content,
|
||||
|
||||
body.mod1 div#content,
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
/* --- Scrollbarantiwackler --- */
|
||||
body {overflow-y:scroll;}
|
||||
|
||||
body.manual {overflow-y: hidden; }
|
||||
|
||||
|
||||
/* Layout */
|
||||
html, body {height: 100%;}
|
||||
.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 --- */
|
||||
table.row_table_data tr.hlight td {background-color: #fffaf0;}
|
||||
table.row_table_data tr.marked td {background-color: #fff8dc;}
|
||||
|
||||
/* Body */
|
||||
body {background-color: #FFFFFF;}
|
||||
body.manual {background-image: none;}
|
||||
|
||||
|
||||
div.popup3 {
|
||||
left: 50%;
|
||||
top:170px;
|
||||
margin-left: -285px;
|
||||
}
|
||||
#ce {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/* --- Main Header --- */
|
||||
body.mod1 div#dynamic_header div.dyn1,
|
||||
body.mod1 div#dynamic_header div.dyn2,
|
||||
body.mod2 div#dynamic_header div.dyn1,
|
||||
body.mod2 div#dynamic_header div.dyn2,
|
||||
body.mod3 div#dynamic_header div.dyn1,
|
||||
body.mod3 div#dynamic_header div.dyn2 {display: none;}
|
||||
|
||||
body.mod2 div#dynamic_header {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
body.mod2 div#dynamic_header #ad_iframe{
|
||||
left: 50%;
|
||||
margin-left: -303px;
|
||||
}
|
||||
|
||||
div#dynamic_header,
|
||||
body.mod1 div#dynamic_header,
|
||||
body.mod2 div#dynamic_header,
|
||||
body.mod3 div#dynamic_header { height: 100px;}
|
||||
|
||||
/* Header Menu */
|
||||
div#header {height: 72px;}
|
||||
div#mtop,
|
||||
body.mod1 div#mtop,
|
||||
body.mod2 div#mtop,
|
||||
body.mod3 div#mtop {height: 72px; left: 50%; margin-left: -241px; z-index: 2; width: 700px;}
|
||||
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;}
|
||||
|
||||
/* World Status Peace, Day Night */
|
||||
img.day, img.night, div.peace {left: 12px; top: -89px;}
|
||||
div.peace {left: 12px; top: -98px;}
|
||||
|
||||
/* Exe Time */
|
||||
div#stime {display: inline; height: 0; left: 0; top: 0; width: 0;}
|
||||
div#ltime,
|
||||
body.mod1 div#ltime,
|
||||
body.mod2 div#ltime,
|
||||
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;}
|
||||
div#ltime div.devEvents {position: absolute; bottom: -25px; left: 0px;}
|
||||
|
||||
/* Ressources */
|
||||
div#res,
|
||||
body.mod1 div#res,
|
||||
body.mod2 div#res,
|
||||
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 */
|
||||
div#mid {background-image: none; float: none; height: auto; margin: 0 auto; width: 980px;}
|
||||
div#content,
|
||||
body.mod1 div#content,
|
||||
body.mod2 div#content,
|
||||
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;}
|
||||
|
||||
|
||||
/* Content Villages & Links */
|
||||
div#side_info,
|
||||
body.mod1 div#side_info,
|
||||
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;}
|
||||
div#side_info td.dot {
|
||||
width: 8px;
|
||||
|
||||
}
|
||||
div#side_info td.link {
|
||||
padding-right: 0px;
|
||||
white-space: normal;
|
||||
line-height: 18px;
|
||||
}
|
||||
div#side_info td {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.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 */
|
||||
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#footer div#mfoot {height: 28px; margin: 0 auto; width: 905px;}
|
||||
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 */
|
||||
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;}
|
||||
div#footer ul.menu li.copyright {direction: ltr;}
|
||||
|
||||
|
||||
div#side_info table td {
|
||||
|
||||
}
|
||||
|
||||
#guide1 {
|
||||
position: fixed;
|
||||
width: 0;
|
||||
border-left: 1px dashed red;
|
||||
height: 100%;
|
||||
left: 50%;
|
||||
margin-left: -480px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
#guide2 {
|
||||
position: fixed;
|
||||
width: 0;
|
||||
border-left: 1px dashed red;
|
||||
height: 100%;
|
||||
left: 50%;
|
||||
margin-left: -336px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
#guide3 {
|
||||
position: fixed;
|
||||
width: 0;
|
||||
border-right: 1px dashed red;
|
||||
height: 100%;
|
||||
right: 50%;
|
||||
margin-right: -218px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
#guide4 {
|
||||
position: fixed;
|
||||
width: 0;
|
||||
border-right: 1px dashed red;
|
||||
height: 100%;
|
||||
right: 50%;
|
||||
margin-right: -480px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
div.player p.btn, div.login p.btn {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
|
||||
|
||||
/* Travian 3.6 Redesign Grafikpack */
|
||||
|
||||
/* Version 1.05 */
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
/* Travian 3.6 Redesign Grafikpack */
|
||||
/* Version 1.05 */
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
*------------------------------------------------------------------------------
|
||||
|
||||
* LANG is used to define the language-specific images and settings.
|
||||
|
||||
*
|
||||
|
||||
* Contains:
|
||||
|
||||
* width, height, background-image, background-repeat, background-position
|
||||
|
||||
*------------------------------------------------------------------------------
|
||||
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
/*
|
||||
*------------------------------------------------------------------------------
|
||||
* LANG is used to define the language-specific images and settings.
|
||||
*
|
||||
* Contains:
|
||||
* width, height, background-image, background-repeat, background-position
|
||||
*------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@import "../../modules/new_layout_ltr.css";
|
||||
|
||||
/* --- Colors ------------------------- */
|
||||
@import "../../modules/new_colors.css";
|
||||
|
||||
/* --- Icons, Images and Backgrounds ---------- */
|
||||
@import "../../modules/new_images.css";
|
||||
|
||||
@@ -1,58 +1,58 @@
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
|
||||
|
||||
.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#dynamic_header,
|
||||
|
||||
body.mod1 div#dynamic_header,
|
||||
|
||||
body.mod3 div#dynamic_header {background: transparent url(../images/artwork1-ltr.jpg) no-repeat center top;}
|
||||
|
||||
|
||||
|
||||
body.mod2 div#dynamic_header {background: transparent url(../images/artwork2-ltr.jpg) no-repeat center top;}
|
||||
|
||||
|
||||
|
||||
div#header {background-image: none;}
|
||||
|
||||
|
||||
|
||||
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.v35 a#n1 img {background-image: url(../images/n1-ltr.gif);}
|
||||
|
||||
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.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 */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
.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#dynamic_header,
|
||||
body.mod1 div#dynamic_header,
|
||||
body.mod3 div#dynamic_header {background: transparent url(../images/artwork1-ltr.jpg) no-repeat center top;}
|
||||
|
||||
body.mod2 div#dynamic_header {background: transparent url(../images/artwork2-ltr.jpg) no-repeat center top;}
|
||||
|
||||
div#header {background-image: none;}
|
||||
|
||||
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.v35 a#n1 img {background-image: url(../images/n1-ltr.gif);}
|
||||
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.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#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;
|
||||
background: transparent url(../images/plus_start-ltr.gif) no-repeat left top;
|
||||
height: 29px;
|
||||
padding: 6px 14px;
|
||||
float:left;
|
||||
cursor: pointer;
|
||||
}
|
||||
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;}
|
||||
img#btn_plus {
|
||||
background-position: left top;
|
||||
background-repeat: no-repeat;
|
||||
height: 29px;
|
||||
width: 36px;
|
||||
float:left;
|
||||
}
|
||||
#plus img.active {background-image: url(../images/plus_active-ltr.gif);}
|
||||
#plus img.inactive {background-image: url(../images/plus_inactive-ltr.gif);}
|
||||
|
||||
|
||||
|
||||
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";
|
||||
|
||||
|
||||
|
||||
/* --- Scrollbarantiwackler --- */
|
||||
|
||||
body {overflow-y:scroll;}
|
||||
|
||||
|
||||
|
||||
body.manual {overflow-y: hidden; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Layout */
|
||||
|
||||
html, body {height: 100%;}
|
||||
|
||||
.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 --- */
|
||||
|
||||
table.row_table_data tr.hlight td {background-color: #fffaf0;}
|
||||
|
||||
table.row_table_data tr.marked td {background-color: #fff8dc;}
|
||||
|
||||
|
||||
|
||||
/* Body */
|
||||
|
||||
body {background-color: #FFFFFF;}
|
||||
|
||||
body.manual {background-image: none;}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
div.popup3 {
|
||||
|
||||
left: 50%;
|
||||
|
||||
top:170px;
|
||||
|
||||
margin-left: -285px;
|
||||
|
||||
}
|
||||
|
||||
#ce {
|
||||
|
||||
width: 100%;
|
||||
|
||||
height: 0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* --- Main Header --- */
|
||||
|
||||
body.mod1 div#dynamic_header div.dyn1,
|
||||
|
||||
body.mod1 div#dynamic_header div.dyn2,
|
||||
|
||||
body.mod2 div#dynamic_header div.dyn1,
|
||||
|
||||
body.mod2 div#dynamic_header div.dyn2,
|
||||
|
||||
body.mod3 div#dynamic_header div.dyn1,
|
||||
|
||||
body.mod3 div#dynamic_header div.dyn2 {display: none;}
|
||||
|
||||
|
||||
|
||||
body.mod2 div#dynamic_header {
|
||||
|
||||
height: 100px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
body.mod2 div#dynamic_header #ad_iframe{
|
||||
|
||||
left: 50%;
|
||||
|
||||
margin-left: -303px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
div#dynamic_header,
|
||||
|
||||
body.mod1 div#dynamic_header,
|
||||
|
||||
body.mod2 div#dynamic_header,
|
||||
|
||||
body.mod3 div#dynamic_header { height: 100px;}
|
||||
|
||||
|
||||
|
||||
/* Header Menu */
|
||||
|
||||
div#header {height: 72px;}
|
||||
|
||||
div#mtop,
|
||||
|
||||
body.mod1 div#mtop,
|
||||
|
||||
body.mod2 div#mtop,
|
||||
|
||||
body.mod3 div#mtop {height: 72px; left: 50%; margin-left: -241px; z-index: 2; width: 700px;}
|
||||
|
||||
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;}
|
||||
|
||||
|
||||
|
||||
/* World Status Peace, Day Night */
|
||||
|
||||
img.day, img.night, div.peace {left: 12px; top: -89px;}
|
||||
|
||||
div.peace {left: 12px; top: -98px;}
|
||||
|
||||
|
||||
|
||||
/* Exe Time */
|
||||
|
||||
div#stime {display: inline; height: 0; left: 0; top: 0; width: 0;}
|
||||
|
||||
div#ltime,
|
||||
|
||||
body.mod1 div#ltime,
|
||||
|
||||
body.mod2 div#ltime,
|
||||
|
||||
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;}
|
||||
|
||||
div#ltime div.devEvents {position: absolute; bottom: -25px; left: 0px;}
|
||||
|
||||
|
||||
|
||||
/* Ressources */
|
||||
|
||||
div#res,
|
||||
|
||||
body.mod1 div#res,
|
||||
|
||||
body.mod2 div#res,
|
||||
|
||||
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 */
|
||||
|
||||
div#mid {background-image: none; float: none; height: auto; margin: 0 auto; width: 980px;}
|
||||
|
||||
div#content,
|
||||
|
||||
body.mod1 div#content,
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
/* --- Scrollbarantiwackler --- */
|
||||
body {overflow-y:scroll;}
|
||||
|
||||
body.manual {overflow-y: hidden; }
|
||||
|
||||
|
||||
/* Layout */
|
||||
html, body {height: 100%;}
|
||||
.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 --- */
|
||||
table.row_table_data tr.hlight td {background-color: #fffaf0;}
|
||||
table.row_table_data tr.marked td {background-color: #fff8dc;}
|
||||
|
||||
/* Body */
|
||||
body {background-color: #FFFFFF;}
|
||||
body.manual {background-image: none;}
|
||||
|
||||
|
||||
div.popup3 {
|
||||
left: 50%;
|
||||
top:170px;
|
||||
margin-left: -285px;
|
||||
}
|
||||
#ce {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/* --- Main Header --- */
|
||||
body.mod1 div#dynamic_header div.dyn1,
|
||||
body.mod1 div#dynamic_header div.dyn2,
|
||||
body.mod2 div#dynamic_header div.dyn1,
|
||||
body.mod2 div#dynamic_header div.dyn2,
|
||||
body.mod3 div#dynamic_header div.dyn1,
|
||||
body.mod3 div#dynamic_header div.dyn2 {display: none;}
|
||||
|
||||
body.mod2 div#dynamic_header {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
body.mod2 div#dynamic_header #ad_iframe{
|
||||
left: 50%;
|
||||
margin-left: -303px;
|
||||
}
|
||||
|
||||
div#dynamic_header,
|
||||
body.mod1 div#dynamic_header,
|
||||
body.mod2 div#dynamic_header,
|
||||
body.mod3 div#dynamic_header { height: 100px;}
|
||||
|
||||
/* Header Menu */
|
||||
div#header {height: 72px;}
|
||||
div#mtop,
|
||||
body.mod1 div#mtop,
|
||||
body.mod2 div#mtop,
|
||||
body.mod3 div#mtop {height: 72px; left: 50%; margin-left: -241px; z-index: 2; width: 700px;}
|
||||
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;}
|
||||
|
||||
/* World Status Peace, Day Night */
|
||||
img.day, img.night, div.peace {left: 12px; top: -89px;}
|
||||
div.peace {left: 12px; top: -98px;}
|
||||
|
||||
/* Exe Time */
|
||||
div#stime {display: inline; height: 0; left: 0; top: 0; width: 0;}
|
||||
div#ltime,
|
||||
body.mod1 div#ltime,
|
||||
body.mod2 div#ltime,
|
||||
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;}
|
||||
div#ltime div.devEvents {position: absolute; bottom: -25px; left: 0px;}
|
||||
|
||||
/* Ressources */
|
||||
div#res,
|
||||
body.mod1 div#res,
|
||||
body.mod2 div#res,
|
||||
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 */
|
||||
div#mid {background-image: none; float: none; height: auto; margin: 0 auto; width: 980px;}
|
||||
div#content,
|
||||
body.mod1 div#content,
|
||||
body.mod2 div#content,
|
||||
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;}
|
||||
|
||||
|
||||
/* Content Villages & Links */
|
||||
div#side_info,
|
||||
body.mod1 div#side_info,
|
||||
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;}
|
||||
div#side_info td.dot {
|
||||
width: 8px;
|
||||
|
||||
}
|
||||
div#side_info td.link {
|
||||
padding-right: 0px;
|
||||
white-space: normal;
|
||||
line-height: 18px;
|
||||
}
|
||||
div#side_info td {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.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 */
|
||||
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#footer div#mfoot {height: 28px; margin: 0 auto; width: 905px;}
|
||||
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 */
|
||||
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;}
|
||||
div#footer ul.menu li.copyright {direction: ltr;}
|
||||
|
||||
|
||||
div#side_info table td {
|
||||
|
||||
}
|
||||
|
||||
#guide1 {
|
||||
position: fixed;
|
||||
width: 0;
|
||||
border-left: 1px dashed red;
|
||||
height: 100%;
|
||||
left: 50%;
|
||||
margin-left: -480px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
#guide2 {
|
||||
position: fixed;
|
||||
width: 0;
|
||||
border-left: 1px dashed red;
|
||||
height: 100%;
|
||||
left: 50%;
|
||||
margin-left: -336px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
#guide3 {
|
||||
position: fixed;
|
||||
width: 0;
|
||||
border-right: 1px dashed red;
|
||||
height: 100%;
|
||||
right: 50%;
|
||||
margin-right: -218px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
#guide4 {
|
||||
position: fixed;
|
||||
width: 0;
|
||||
border-right: 1px dashed red;
|
||||
height: 100%;
|
||||
right: 50%;
|
||||
margin-right: -480px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
div.player p.btn, div.login p.btn {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
|
||||
|
||||
/* Travian 3.6 Redesign Grafikpack */
|
||||
|
||||
/* Version 1.05 */
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
/* Travian 3.6 Redesign Grafikpack */
|
||||
/* Version 1.05 */
|
||||
|
||||
|
||||
|
||||
|
||||
+178
-178
@@ -1,179 +1,179 @@
|
||||
<?php
|
||||
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename sysmsg.php ##
|
||||
## Developed by: Dixie ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
|
||||
## ##
|
||||
#################################################################################
|
||||
|
||||
|
||||
include_once("GameEngine/Account.php");
|
||||
|
||||
$max_per_pass = 1000;
|
||||
<?php
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename sysmsg.php ##
|
||||
## Developed by: Dixie ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
|
||||
## ##
|
||||
#################################################################################
|
||||
|
||||
include_once("GameEngine/Account.php");
|
||||
$max_per_pass = 1000;
|
||||
mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS);
|
||||
mysql_select_db(SQL_DB);
|
||||
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 (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());
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
if (@$_POST['submit'] == "Send")
|
||||
|
||||
{
|
||||
|
||||
unset ($_SESSION['m_message']);
|
||||
|
||||
$_SESSION['m_message'] = $_POST['message'];
|
||||
|
||||
$NextStep = true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (@isset($_POST['confirm']))
|
||||
|
||||
{
|
||||
|
||||
if ($_POST['confirm'] == 'No' ) $Interupt = true;
|
||||
|
||||
if ($_POST['confirm'] == 'Yes'){
|
||||
|
||||
|
||||
|
||||
if(file_exists("Templates/text.tpl")) {
|
||||
|
||||
|
||||
|
||||
$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%'",$_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());
|
||||
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
$done = true;
|
||||
|
||||
} else { die("<br/><br/><br/>wrong"); }
|
||||
|
||||
}}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<!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>
|
||||
|
||||
<?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' />";
|
||||
}
|
||||
|
||||
if (@$_POST['submit'] == "Send")
|
||||
{
|
||||
unset ($_SESSION['m_message']);
|
||||
$_SESSION['m_message'] = $_POST['message'];
|
||||
$NextStep = true;
|
||||
}
|
||||
|
||||
|
||||
if (@isset($_POST['confirm']))
|
||||
{
|
||||
if ($_POST['confirm'] == 'No' ) $Interupt = true;
|
||||
if ($_POST['confirm'] == 'Yes'){
|
||||
|
||||
if(file_exists("Templates/text.tpl")) {
|
||||
|
||||
$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%'",$_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());
|
||||
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());
|
||||
}
|
||||
$done = true;
|
||||
} else { die("<br/><br/><br/>wrong"); }
|
||||
}}
|
||||
|
||||
?>
|
||||
<!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>
|
||||
<?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 (@!$NextStep && @!$NextStep2 && @!$done){?>
|
||||
<form method="POST" action="sysmsg.php" name="myform" id="myform">
|
||||
<table cellspacing="1" cellpadding="1" class="tbg" style="background-color:#C0C0C0; border: 0px solid #C0C0C0; font-size: 10pt;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="rbg" style="font-size: 10pt; text-align:center;">System Message</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">All fields required</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">
|
||||
<input type="submit" value="Send" name="submit" /> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<a href="sysmsg.php?del">Delete old System Message</a>
|
||||
<?php }elseif (@$NextStep){?>
|
||||
<form method="POST" action="sysmsg.php">
|
||||
<table cellspacing="1" cellpadding="2" class="tbg">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="rbg" colspan="2">Confirmation</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left; width: 200px;">Do you really want to send System Message?</td>
|
||||
<td style="text-align: left;">
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
Example: (BBCode doesn't work over here!)
|
||||
<?php
|
||||
$txt=$_SESSION['m_message'];
|
||||
$txt = preg_replace("/\[b\]/is",'<b>', $txt);
|
||||
$txt = preg_replace("/\[\/b\]/is",'</b>', $txt);
|
||||
$txt = preg_replace("/\[i\]/is",'<i>', $txt);
|
||||
$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){?>
|
||||
<b><?php echo MASS_ABORT; ?></b>
|
||||
|
||||
<?php }elseif (@$done){?>
|
||||
System Message was sent
|
||||
<?php }else{die("Something is wrong");}?>
|
||||
</div>
|
||||
<div id="side_info" class="outgame">
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user