From e081116620bfe16d47ea5c516e72ac9886b7629a Mon Sep 17 00:00:00 2001 From: Neranjen Date: Mon, 18 Jun 2012 03:06:11 +0530 Subject: [PATCH] Normalize Line Endings Added a gitattributes file to normalize line endings. --- .gitattributes | 18 + GameEngine/Admin/admin.php | 216 +++++----- Templates/News/newsbox3.tpl | 6 +- Templates/dorf3/menu.tpl | 12 +- gpack/travian_default/lang/en/lang.css | 36 +- gpack/travian_default/modules/new_images.css | 116 +++--- .../modules/new_layout_ltr.css | 378 +++++++++--------- gpack/travian_default/travian.css | 14 +- gpack/travianx_v1/lang/en/lang.css | 36 +- gpack/travianx_v1/modules/new_images.css | 116 +++--- gpack/travianx_v1/modules/new_layout_ltr.css | 378 +++++++++--------- gpack/travianx_v1/travian.css | 14 +- sysmsg.php | 356 ++++++++--------- 13 files changed, 857 insertions(+), 839 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..3372d725 --- /dev/null +++ b/.gitattributes @@ -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 \ No newline at end of file diff --git a/GameEngine/Admin/admin.php b/GameEngine/Admin/admin.php index 0f9844cf..68cca729 100644 --- a/GameEngine/Admin/admin.php +++ b/GameEngine/Admin/admin.php @@ -1,108 +1,108 @@ - - - - - - Admin Control Panel - TravianX - - - - - - - - - - - - - -
-
- -
-
- -
-
-
- - - - - - -
-
-
- -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{ - include('../Templates/Admin/login.tpl'); - } -?> - -
-
- -
-
- -
- - - - - - + + + + + + Admin Control Panel - TravianX + + + + + + + + + + + + + +
+
+ +
+
+ +
+
+
+ + + + + + +
+
+
+ +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{ + include('../Templates/Admin/login.tpl'); + } +?> + +
+
+ +
+
+ +
+ + + + + + diff --git a/Templates/News/newsbox3.tpl b/Templates/News/newsbox3.tpl index 94b60168..a069d9d8 100644 --- a/Templates/News/newsbox3.tpl +++ b/Templates/News/newsbox3.tpl @@ -1,4 +1,4 @@ -
newsbox 3
-
-
TravianX
+
newsbox 3
+
+
TravianX
\ No newline at end of file diff --git a/Templates/dorf3/menu.tpl b/Templates/dorf3/menu.tpl index da4bef76..03683a68 100644 --- a/Templates/dorf3/menu.tpl +++ b/Templates/dorf3/menu.tpl @@ -1,7 +1,7 @@ -
- Overview - | Resources - | Warehouse - | CP - | Troops +
+ Overview + | Resources + | Warehouse + | CP + | Troops
\ No newline at end of file diff --git a/gpack/travian_default/lang/en/lang.css b/gpack/travian_default/lang/en/lang.css index 87c937f8..1d640f0e 100644 --- a/gpack/travian_default/lang/en/lang.css +++ b/gpack/travian_default/lang/en/lang.css @@ -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 - *------------------------------------------------------------------------------ - */ - -@import "../../modules/new_layout_ltr.css"; - -/* --- Colors ------------------------- */ -@import "../../modules/new_colors.css"; - -/* --- Icons, Images and Backgrounds ---------- */ -@import "../../modules/new_images.css"; input#btn_login {width:97px; background-image: url(b/login.gif);} input#btn_signup {width:97px; background-image: url(b/signup.gif);} input#btn_ok {width:47px; background-image: url(b/ok.gif);} input#btn_reply {width:97px; background-image: url(b/reply.gif);} input#btn_send {width:97px; background-image: url(b/send.gif);} input#btn_save {width:97px; background-image: url(b/save.gif);} input#btn_delete {width:97px; background-image: url(b/delete.gif);} input#btn_archiv {width:97px; background-image: url(b/archiv.gif);} input#btn_back {width:97px; background-image: url(b/zurueck.html);} input#btn_train {width:97px; background-image: url(b/train.gif);} input#btn_back {width:97px; background-image: url(b/back.gif);} input#btn_forward {width:97px; background-image: url(b/forward.gif);} input#btn_demolish {width:97px; background-image: url(b/demolish.gif);} input#btn_search {width:97px; background-image: url(b/search.gif);} /* Ally Forum */ div.forum input#fbtn_ok {width:47px; background-image:url(b/ok.gif);} div.forum input#fbtn_vote {width:97px; background-image:url(f/vote.gif);} div.forum input#fbtn_result {width:97px; background-image:url(f/result.gif);} div.forum input#fbtn_voting {width:97px; background-image:url(f/voting.gif);} div.forum img#fbtn_reply {width:97px; background-image:url(f/reply.gif);} div.forum img#fbtn_post {width:97px; background-image:url(f/post.gif);} div.forum img#fbtn_newforum {width:97px; background-image:url(f/newforum.gif);} /* ------------------- Texts ------------------- */ /* --------------------------------------------- */ /* news */ div#side_info h5 img {width:160px; height:15px;} /* login */ div.login h1 img.img_login {width:468px; height:60px; background-image:url(t1/login.gif);} div.login h5 img.img_u04 {width:160px; height:15px; background-image:url(t2/u04.gif);} /* signup */ div.signup h1 img.anmelden {width:468px; height:60px; background-image:url(t1/anmelden.gif);} div.signup h5 img.img_u05 {width:160px; height:15px; background-image:url(t2/u05.gif);} div.signup img.img_u06 {width:160px; height:15px; background-image:url(t2/u06.gif);} div.signup img.img_u07 {width:160px; height:15px; background-image:url(t2/u07.gif);} /* activate */ div.activate h1 img.passwort {width:468px; height:60px; background-image:url(t1/passwort.gif);} div.activate h5 img.img_u22 {width:160px; height:15px; background-image:url(t2/u22.gif);} /* read/write message */ div.messages div.msg_content img#label {width:77px; height:34px;} div.messages div.msg_content img.send {background-image:url(msg/block_bg24b.gif);} div.messages div.msg_content img.read {background-image:url(msg/block_bg24a.gif);} /* ------------------- Images ------------------- */ /* ---------------------------------------------- */ /* travian logo */ div#side_navi a#logo img {width:116px; height:60px; background-image:url(a/travian0.gif);} div#side_navi a#logo img.logo_plus {background-image:url(a/travian1.gif);} /* plus previews */ div.plus table#plus_features td.preview img.autovv {width:200px; height:56px; background-image:url(p/autovv.gif);} div.plus table#plus_features td.preview img.bfilter {width:200px; height:45px; background-image:url(p/bfilter.gif);} div.plus table#plus_features td.preview img.dorf3 {width:200px; height:186px; background-image:url(p/dorf3.jpg);} div.plus table#plus_features td.preview img.p1 {width:179px; height:29px; background-image:url(p/p1.gif);} div.plus table#plus_features td.preview img.p3 {width:163px; height:120px; background-image:url(p/p3.gif);} div.plus table#plus_features td.preview img.p4 {width:197px; height:41px; background-image:url(p/p4.gif);} div.plus table#plus_features td.preview img.p5 {width:132px; height:51px; background-image:url(p/p5.gif);} div.plus table#plus_features td.preview img.p6 {width:111px; height:29px; background-image:url(p/p6.gif);} div.plus table#plus_features td.preview img.p7 {width:61px; height:86px; background-image:url(p/p7.gif);} div.plus table#plus_features td.preview img.p8 {width:117px; height:121px; background-image:url(p/p8.gif);} div.plus table#plus_features td.preview img.sort {width:200px; height:38px; background-image:url(p/sort.jpg);} div.plus table#plus_features td.preview img.st1 {width:200px; height:90px; background-image:url(p/st1.gif);} div.plus table#plus_features td.preview img.xxl_map {width:146px; height:112px; background-image:url(p/xxl_map.gif);} input#btn_search {width:97px; background-image: url(b/search.gif);} +@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"; input#btn_login {width:97px; background-image: url(b/login.gif);} input#btn_signup {width:97px; background-image: url(b/signup.gif);} input#btn_ok {width:47px; background-image: url(b/ok.gif);} input#btn_reply {width:97px; background-image: url(b/reply.gif);} input#btn_send {width:97px; background-image: url(b/send.gif);} input#btn_save {width:97px; background-image: url(b/save.gif);} input#btn_delete {width:97px; background-image: url(b/delete.gif);} input#btn_archiv {width:97px; background-image: url(b/archiv.gif);} input#btn_back {width:97px; background-image: url(b/zurueck.html);} input#btn_train {width:97px; background-image: url(b/train.gif);} input#btn_back {width:97px; background-image: url(b/back.gif);} input#btn_forward {width:97px; background-image: url(b/forward.gif);} input#btn_demolish {width:97px; background-image: url(b/demolish.gif);} input#btn_search {width:97px; background-image: url(b/search.gif);} /* Ally Forum */ div.forum input#fbtn_ok {width:47px; background-image:url(b/ok.gif);} div.forum input#fbtn_vote {width:97px; background-image:url(f/vote.gif);} div.forum input#fbtn_result {width:97px; background-image:url(f/result.gif);} div.forum input#fbtn_voting {width:97px; background-image:url(f/voting.gif);} div.forum img#fbtn_reply {width:97px; background-image:url(f/reply.gif);} div.forum img#fbtn_post {width:97px; background-image:url(f/post.gif);} div.forum img#fbtn_newforum {width:97px; background-image:url(f/newforum.gif);} /* ------------------- Texts ------------------- */ /* --------------------------------------------- */ /* news */ div#side_info h5 img {width:160px; height:15px;} /* login */ div.login h1 img.img_login {width:468px; height:60px; background-image:url(t1/login.gif);} div.login h5 img.img_u04 {width:160px; height:15px; background-image:url(t2/u04.gif);} /* signup */ div.signup h1 img.anmelden {width:468px; height:60px; background-image:url(t1/anmelden.gif);} div.signup h5 img.img_u05 {width:160px; height:15px; background-image:url(t2/u05.gif);} div.signup img.img_u06 {width:160px; height:15px; background-image:url(t2/u06.gif);} div.signup img.img_u07 {width:160px; height:15px; background-image:url(t2/u07.gif);} /* activate */ div.activate h1 img.passwort {width:468px; height:60px; background-image:url(t1/passwort.gif);} div.activate h5 img.img_u22 {width:160px; height:15px; background-image:url(t2/u22.gif);} /* read/write message */ div.messages div.msg_content img#label {width:77px; height:34px;} div.messages div.msg_content img.send {background-image:url(msg/block_bg24b.gif);} div.messages div.msg_content img.read {background-image:url(msg/block_bg24a.gif);} /* ------------------- Images ------------------- */ /* ---------------------------------------------- */ /* travian logo */ div#side_navi a#logo img {width:116px; height:60px; background-image:url(a/travian0.gif);} div#side_navi a#logo img.logo_plus {background-image:url(a/travian1.gif);} /* plus previews */ div.plus table#plus_features td.preview img.autovv {width:200px; height:56px; background-image:url(p/autovv.gif);} div.plus table#plus_features td.preview img.bfilter {width:200px; height:45px; background-image:url(p/bfilter.gif);} div.plus table#plus_features td.preview img.dorf3 {width:200px; height:186px; background-image:url(p/dorf3.jpg);} div.plus table#plus_features td.preview img.p1 {width:179px; height:29px; background-image:url(p/p1.gif);} div.plus table#plus_features td.preview img.p3 {width:163px; height:120px; background-image:url(p/p3.gif);} div.plus table#plus_features td.preview img.p4 {width:197px; height:41px; background-image:url(p/p4.gif);} div.plus table#plus_features td.preview img.p5 {width:132px; height:51px; background-image:url(p/p5.gif);} div.plus table#plus_features td.preview img.p6 {width:111px; height:29px; background-image:url(p/p6.gif);} div.plus table#plus_features td.preview img.p7 {width:61px; height:86px; background-image:url(p/p7.gif);} div.plus table#plus_features td.preview img.p8 {width:117px; height:121px; background-image:url(p/p8.gif);} div.plus table#plus_features td.preview img.sort {width:200px; height:38px; background-image:url(p/sort.jpg);} div.plus table#plus_features td.preview img.st1 {width:200px; height:90px; background-image:url(p/st1.gif);} div.plus table#plus_features td.preview img.xxl_map {width:146px; height:112px; background-image:url(p/xxl_map.gif);} input#btn_search {width:97px; background-image: url(b/search.gif);} diff --git a/gpack/travian_default/modules/new_images.css b/gpack/travian_default/modules/new_images.css index 1a52c86c..8ec1817f 100644 --- a/gpack/travian_default/modules/new_images.css +++ b/gpack/travian_default/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 */ - - -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;} - - +@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;} + + diff --git a/gpack/travian_default/modules/new_layout_ltr.css b/gpack/travian_default/modules/new_layout_ltr.css index 6a8a53d5..e4b9c1bd 100644 --- a/gpack/travian_default/modules/new_layout_ltr.css +++ b/gpack/travian_default/modules/new_layout_ltr.css @@ -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, -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; -} - +@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; +} + diff --git a/gpack/travian_default/travian.css b/gpack/travian_default/travian.css index 62aaa48c..6f3528d5 100644 --- a/gpack/travian_default/travian.css +++ b/gpack/travian_default/travian.css @@ -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 */ + + + diff --git a/gpack/travianx_v1/lang/en/lang.css b/gpack/travianx_v1/lang/en/lang.css index 87c937f8..1d640f0e 100644 --- a/gpack/travianx_v1/lang/en/lang.css +++ b/gpack/travianx_v1/lang/en/lang.css @@ -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 - *------------------------------------------------------------------------------ - */ - -@import "../../modules/new_layout_ltr.css"; - -/* --- Colors ------------------------- */ -@import "../../modules/new_colors.css"; - -/* --- Icons, Images and Backgrounds ---------- */ -@import "../../modules/new_images.css"; input#btn_login {width:97px; background-image: url(b/login.gif);} input#btn_signup {width:97px; background-image: url(b/signup.gif);} input#btn_ok {width:47px; background-image: url(b/ok.gif);} input#btn_reply {width:97px; background-image: url(b/reply.gif);} input#btn_send {width:97px; background-image: url(b/send.gif);} input#btn_save {width:97px; background-image: url(b/save.gif);} input#btn_delete {width:97px; background-image: url(b/delete.gif);} input#btn_archiv {width:97px; background-image: url(b/archiv.gif);} input#btn_back {width:97px; background-image: url(b/zurueck.html);} input#btn_train {width:97px; background-image: url(b/train.gif);} input#btn_back {width:97px; background-image: url(b/back.gif);} input#btn_forward {width:97px; background-image: url(b/forward.gif);} input#btn_demolish {width:97px; background-image: url(b/demolish.gif);} input#btn_search {width:97px; background-image: url(b/search.gif);} /* Ally Forum */ div.forum input#fbtn_ok {width:47px; background-image:url(b/ok.gif);} div.forum input#fbtn_vote {width:97px; background-image:url(f/vote.gif);} div.forum input#fbtn_result {width:97px; background-image:url(f/result.gif);} div.forum input#fbtn_voting {width:97px; background-image:url(f/voting.gif);} div.forum img#fbtn_reply {width:97px; background-image:url(f/reply.gif);} div.forum img#fbtn_post {width:97px; background-image:url(f/post.gif);} div.forum img#fbtn_newforum {width:97px; background-image:url(f/newforum.gif);} /* ------------------- Texts ------------------- */ /* --------------------------------------------- */ /* news */ div#side_info h5 img {width:160px; height:15px;} /* login */ div.login h1 img.img_login {width:468px; height:60px; background-image:url(t1/login.gif);} div.login h5 img.img_u04 {width:160px; height:15px; background-image:url(t2/u04.gif);} /* signup */ div.signup h1 img.anmelden {width:468px; height:60px; background-image:url(t1/anmelden.gif);} div.signup h5 img.img_u05 {width:160px; height:15px; background-image:url(t2/u05.gif);} div.signup img.img_u06 {width:160px; height:15px; background-image:url(t2/u06.gif);} div.signup img.img_u07 {width:160px; height:15px; background-image:url(t2/u07.gif);} /* activate */ div.activate h1 img.passwort {width:468px; height:60px; background-image:url(t1/passwort.gif);} div.activate h5 img.img_u22 {width:160px; height:15px; background-image:url(t2/u22.gif);} /* read/write message */ div.messages div.msg_content img#label {width:77px; height:34px;} div.messages div.msg_content img.send {background-image:url(msg/block_bg24b.gif);} div.messages div.msg_content img.read {background-image:url(msg/block_bg24a.gif);} /* ------------------- Images ------------------- */ /* ---------------------------------------------- */ /* travian logo */ div#side_navi a#logo img {width:116px; height:60px; background-image:url(a/travian0.gif);} div#side_navi a#logo img.logo_plus {background-image:url(a/travian1.gif);} /* plus previews */ div.plus table#plus_features td.preview img.autovv {width:200px; height:56px; background-image:url(p/autovv.gif);} div.plus table#plus_features td.preview img.bfilter {width:200px; height:45px; background-image:url(p/bfilter.gif);} div.plus table#plus_features td.preview img.dorf3 {width:200px; height:186px; background-image:url(p/dorf3.jpg);} div.plus table#plus_features td.preview img.p1 {width:179px; height:29px; background-image:url(p/p1.gif);} div.plus table#plus_features td.preview img.p3 {width:163px; height:120px; background-image:url(p/p3.gif);} div.plus table#plus_features td.preview img.p4 {width:197px; height:41px; background-image:url(p/p4.gif);} div.plus table#plus_features td.preview img.p5 {width:132px; height:51px; background-image:url(p/p5.gif);} div.plus table#plus_features td.preview img.p6 {width:111px; height:29px; background-image:url(p/p6.gif);} div.plus table#plus_features td.preview img.p7 {width:61px; height:86px; background-image:url(p/p7.gif);} div.plus table#plus_features td.preview img.p8 {width:117px; height:121px; background-image:url(p/p8.gif);} div.plus table#plus_features td.preview img.sort {width:200px; height:38px; background-image:url(p/sort.jpg);} div.plus table#plus_features td.preview img.st1 {width:200px; height:90px; background-image:url(p/st1.gif);} div.plus table#plus_features td.preview img.xxl_map {width:146px; height:112px; background-image:url(p/xxl_map.gif);} input#btn_search {width:97px; background-image: url(b/search.gif);} +@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"; input#btn_login {width:97px; background-image: url(b/login.gif);} input#btn_signup {width:97px; background-image: url(b/signup.gif);} input#btn_ok {width:47px; background-image: url(b/ok.gif);} input#btn_reply {width:97px; background-image: url(b/reply.gif);} input#btn_send {width:97px; background-image: url(b/send.gif);} input#btn_save {width:97px; background-image: url(b/save.gif);} input#btn_delete {width:97px; background-image: url(b/delete.gif);} input#btn_archiv {width:97px; background-image: url(b/archiv.gif);} input#btn_back {width:97px; background-image: url(b/zurueck.html);} input#btn_train {width:97px; background-image: url(b/train.gif);} input#btn_back {width:97px; background-image: url(b/back.gif);} input#btn_forward {width:97px; background-image: url(b/forward.gif);} input#btn_demolish {width:97px; background-image: url(b/demolish.gif);} input#btn_search {width:97px; background-image: url(b/search.gif);} /* Ally Forum */ div.forum input#fbtn_ok {width:47px; background-image:url(b/ok.gif);} div.forum input#fbtn_vote {width:97px; background-image:url(f/vote.gif);} div.forum input#fbtn_result {width:97px; background-image:url(f/result.gif);} div.forum input#fbtn_voting {width:97px; background-image:url(f/voting.gif);} div.forum img#fbtn_reply {width:97px; background-image:url(f/reply.gif);} div.forum img#fbtn_post {width:97px; background-image:url(f/post.gif);} div.forum img#fbtn_newforum {width:97px; background-image:url(f/newforum.gif);} /* ------------------- Texts ------------------- */ /* --------------------------------------------- */ /* news */ div#side_info h5 img {width:160px; height:15px;} /* login */ div.login h1 img.img_login {width:468px; height:60px; background-image:url(t1/login.gif);} div.login h5 img.img_u04 {width:160px; height:15px; background-image:url(t2/u04.gif);} /* signup */ div.signup h1 img.anmelden {width:468px; height:60px; background-image:url(t1/anmelden.gif);} div.signup h5 img.img_u05 {width:160px; height:15px; background-image:url(t2/u05.gif);} div.signup img.img_u06 {width:160px; height:15px; background-image:url(t2/u06.gif);} div.signup img.img_u07 {width:160px; height:15px; background-image:url(t2/u07.gif);} /* activate */ div.activate h1 img.passwort {width:468px; height:60px; background-image:url(t1/passwort.gif);} div.activate h5 img.img_u22 {width:160px; height:15px; background-image:url(t2/u22.gif);} /* read/write message */ div.messages div.msg_content img#label {width:77px; height:34px;} div.messages div.msg_content img.send {background-image:url(msg/block_bg24b.gif);} div.messages div.msg_content img.read {background-image:url(msg/block_bg24a.gif);} /* ------------------- Images ------------------- */ /* ---------------------------------------------- */ /* travian logo */ div#side_navi a#logo img {width:116px; height:60px; background-image:url(a/travian0.gif);} div#side_navi a#logo img.logo_plus {background-image:url(a/travian1.gif);} /* plus previews */ div.plus table#plus_features td.preview img.autovv {width:200px; height:56px; background-image:url(p/autovv.gif);} div.plus table#plus_features td.preview img.bfilter {width:200px; height:45px; background-image:url(p/bfilter.gif);} div.plus table#plus_features td.preview img.dorf3 {width:200px; height:186px; background-image:url(p/dorf3.jpg);} div.plus table#plus_features td.preview img.p1 {width:179px; height:29px; background-image:url(p/p1.gif);} div.plus table#plus_features td.preview img.p3 {width:163px; height:120px; background-image:url(p/p3.gif);} div.plus table#plus_features td.preview img.p4 {width:197px; height:41px; background-image:url(p/p4.gif);} div.plus table#plus_features td.preview img.p5 {width:132px; height:51px; background-image:url(p/p5.gif);} div.plus table#plus_features td.preview img.p6 {width:111px; height:29px; background-image:url(p/p6.gif);} div.plus table#plus_features td.preview img.p7 {width:61px; height:86px; background-image:url(p/p7.gif);} div.plus table#plus_features td.preview img.p8 {width:117px; height:121px; background-image:url(p/p8.gif);} div.plus table#plus_features td.preview img.sort {width:200px; height:38px; background-image:url(p/sort.jpg);} div.plus table#plus_features td.preview img.st1 {width:200px; height:90px; background-image:url(p/st1.gif);} div.plus table#plus_features td.preview img.xxl_map {width:146px; height:112px; background-image:url(p/xxl_map.gif);} input#btn_search {width:97px; background-image: url(b/search.gif);} diff --git a/gpack/travianx_v1/modules/new_images.css b/gpack/travianx_v1/modules/new_images.css index 1a52c86c..8ec1817f 100644 --- a/gpack/travianx_v1/modules/new_images.css +++ b/gpack/travianx_v1/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 */ - - -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;} - - +@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;} + + diff --git a/gpack/travianx_v1/modules/new_layout_ltr.css b/gpack/travianx_v1/modules/new_layout_ltr.css index 6a8a53d5..e4b9c1bd 100644 --- a/gpack/travianx_v1/modules/new_layout_ltr.css +++ b/gpack/travianx_v1/modules/new_layout_ltr.css @@ -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, -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; -} - +@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; +} + diff --git a/gpack/travianx_v1/travian.css b/gpack/travianx_v1/travian.css index 62aaa48c..6f3528d5 100644 --- a/gpack/travianx_v1/travian.css +++ b/gpack/travianx_v1/travian.css @@ -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 */ + + + diff --git a/sysmsg.php b/sysmsg.php index 86534026..fe9ad7cd 100644 --- a/sysmsg.php +++ b/sysmsg.php @@ -1,179 +1,179 @@ -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()); - } +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 (@$_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("


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("


wrong"); } -}} - -?> - - - - <?php echo SERVER_NAME ?> - - - - - - - - - - - - - gpack == null || GP_ENABLE == false) { - echo " - - "; - } else { - echo " - - "; - } - ?> - - - gpack == null || GP_ENABLE == false) { - echo " - - "; - } else { - echo " - - "; - } - ?> - - - - - -
- -
-
- -
- - - -
-
- -
-
- - -
- - -
- - - + + +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("


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("


wrong"); } +}} + +?> + + + + <?php echo SERVER_NAME ?> + + + + + + + + + + + + + gpack == null || GP_ENABLE == false) { + echo " + + "; + } else { + echo " + + "; + } + ?> + + + gpack == null || GP_ENABLE == false) { + echo " + + "; + } else { + echo " + + "; + } + ?> + + + + + +
+ +
+
+ +
+ + + +
+
+ +
+
+ + +
+ + +
+ + +