diff --git a/Admin/admin.php b/Admin/admin.php deleted file mode 100644 index d83c013c..00000000 --- a/Admin/admin.php +++ /dev/null @@ -1,142 +0,0 @@ - - - - - -<?php if($_SESSION['access'] == ADMIN){ echo 'Admin Control Panel - TravianX'; } else if($_SESSION['access'] == MULTIHUNTER){ echo 'Multihunter 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'); - } -?> - -
-
- -
-
- -
- - - - - \ No newline at end of file diff --git a/Admin/ajax.js b/Admin/ajax.js deleted file mode 100644 index 18f0b07e..00000000 --- a/Admin/ajax.js +++ /dev/null @@ -1,70 +0,0 @@ -var http_request = false; - -function macheRequest(url, id) -{ - - http_request = false; - - if (window.XMLHttpRequest) - { // Mozilla, Safari,... - http_request = new XMLHttpRequest(); - if (http_request.overrideMimeType) - { - http_request.overrideMimeType('text/xml'); - // zu dieser Zeile siehe weiter unten - } - } - else if (window.ActiveXObject) - { // IE - try - { - http_request = new ActiveXObject("Msxml2.XMLHTTP"); - } - catch (e) - { - try - { - http_request = new ActiveXObject("Microsoft.XMLHTTP"); - } - catch (e) - { - } - } - } - - if (!http_request) - { - alert('Ende :( Kann keine XMLHTTP-Instanz erzeugen'); - return false; - } - http_request.onreadystatechange = function() - { - alertInhalt2(id); - }; - http_request.open('GET', url, true); - http_request.send(null); - -} - -function alertInhalt2(id) -{ - - if (http_request.readyState == 4) - { - if (http_request.status == 200) - { - // alert(http_request.responseText); - myElement = document.getElementById(id); - if (myElement != null) - { - myElement.innerHTML = http_request.responseText; - } - - } - else - { - alert('Bei dem Request ist ein Problem aufgetreten.'); - } - } - -} \ No newline at end of file diff --git a/GameEngine/Admin/Mods/addTroops.php b/GameEngine/Admin/Mods/addTroops.php index bf9f4f43..8901af93 100644 --- a/GameEngine/Admin/Mods/addTroops.php +++ b/GameEngine/Admin/Mods/addTroops.php @@ -1,13 +1,20 @@ $id ',".time().")"); -header("Location: ../../../Admin/admin.php?p=addTroops&did=".$id."&d"); +header("Location: ../../../admin.php?p=addTroops&did=".$id."&d"); ?> diff --git a/GameEngine/Admin/Mods/cp.php b/GameEngine/Admin/Mods/cp.php index 54c77539..f27ac957 100644 --- a/GameEngine/Admin/Mods/cp.php +++ b/GameEngine/Admin/Mods/cp.php @@ -1,25 +1,33 @@ access < ADMIN) die("Access Denied: You are not Admin!"); +if ($session->access < ADMIN) die("Access Denied: You aren't Admin!"); $id = $_POST['id']; $admid = $_POST['admid']; mysql_query("UPDATE ".TB_PREFIX."users SET cp = cp + ".$_POST['cp']." WHERE id = ".$id.""); $name = $database->getUserField($id,"username",0); -mysql_query("Insert into ".TB_PREFIX."admin_log values (0,$admid,'Added ".$_POST['cp']." Cultural Points to user $name ',".time().")"); +mysql_query("Insert into ".TB_PREFIX."admin_log values (0,$admid,'Added ".$_POST['cp']." Culture Points to user $name ',".time().")"); -header("Location: ../../../Admin/admin.php?p=player&uid=".$id."&cp=ok"); +header("Location: ../../../admin.php?p=player&uid=".$id."&cp=ok"); ?> \ No newline at end of file diff --git a/GameEngine/Admin/Mods/editUser.php b/GameEngine/Admin/Mods/editUser.php index a0187c64..c4e52a9b 100644 --- a/GameEngine/Admin/Mods/editUser.php +++ b/GameEngine/Admin/Mods/editUser.php @@ -1,24 +1,31 @@ getUserArray($id,1); mysql_query("UPDATE ".TB_PREFIX."users SET email = '".$_POST['email']."', tribe = ".$_POST['tribe'].", location = '".$_POST['location']."', desc1 = '".$_POST['desc1']."', `desc2` = '".$_POST['desc2']."' WHERE id = ".$_POST['id'].""); mysql_query("Insert into ".TB_PREFIX."admin_log values (0,".$_SESSION['id'].",'Changed ".$user['username']."\'s profile',".time().")"); - -header("Location: ../../../Admin/admin.php?p=player&uid=".$id.""); +header("Location: ../../../admin.php?p=player&uid=".$id.""); ?> \ No newline at end of file diff --git a/GameEngine/Admin/Mods/gold.php b/GameEngine/Admin/Mods/gold.php index a2656428..b40c2946 100644 --- a/GameEngine/Admin/Mods/gold.php +++ b/GameEngine/Admin/Mods/gold.php @@ -1,26 +1,30 @@ access < ADMIN) die("Access Denied: You are not Admin!"); - +if ($session->access < ADMIN) die("Access Denied: You aren't Admin!"); $id = $_POST['id']; $gold = $_POST['gold']; - - $q = "UPDATE ".TB_PREFIX."users SET gold = gold + ".$_POST['gold']." WHERE id != '0'"; - mysql_query($q); - mysql_query("Insert into ".TB_PREFIX."admin_log values (0,$id,'Added $gold gold to all users',".time().")"); - - -header("Location: ../../../Admin/admin.php?p=gold&g"); +$q = "UPDATE ".TB_PREFIX."users SET gold = gold + ".$_POST['gold']." WHERE id != '0'"; +mysql_query($q); +mysql_query("Insert into ".TB_PREFIX."admin_log values (0,$id,'Added $gold gold to all users',".time().")"); +header("Location: ../../../admin.php?p=give&g=$gold"); ?> \ No newline at end of file diff --git a/GameEngine/Admin/Mods/gold_1.php b/GameEngine/Admin/Mods/gold_1.php index 0f71d61a..ae04e287 100644 --- a/GameEngine/Admin/Mods/gold_1.php +++ b/GameEngine/Admin/Mods/gold_1.php @@ -1,14 +1,22 @@ getUserField($id,"username",0); mysql_query("Insert into ".TB_PREFIX."admin_log values (0,$admid,'Added ".$_POST['gold']." gold to user $name ',".time().")"); -header("Location: ../../../Admin/admin.php?p=player&uid=".$id."&g=ok"); +header("Location: ../../../admin.php?p=player&uid=".$id."&g=ok"); ?> \ No newline at end of file diff --git a/GameEngine/Admin/Mods/silver.php b/GameEngine/Admin/Mods/silver.php new file mode 100644 index 00000000..d3d6c80e --- /dev/null +++ b/GameEngine/Admin/Mods/silver.php @@ -0,0 +1,29 @@ +access < ADMIN) die("Access Denied: You aren't Admin!"); +$id = $_POST['id']; +$silver = $_POST['silver']; +$q = "UPDATE ".TB_PREFIX."users SET silver = silver + ".$_POST['silver']." WHERE id != '0'"; +mysql_query($q); +mysql_query("Insert into ".TB_PREFIX."admin_log values (0,$id,'Added $silver silver to all users',".time().")"); +header("Location: ../../../admin.php?p=give&s=$silver"); +?> \ No newline at end of file diff --git a/GameEngine/Admin/Mods/silver_1.php b/GameEngine/Admin/Mods/silver_1.php new file mode 100644 index 00000000..2223be9c --- /dev/null +++ b/GameEngine/Admin/Mods/silver_1.php @@ -0,0 +1,32 @@ +access < ADMIN) die("Access Denied: You are not Admin!"); + +$id = $_POST['id']; +$admid = $_POST['admid']; +mysql_query("UPDATE ".TB_PREFIX."users SET silver = silver + ".$_POST['silver']." WHERE id = ".$id.""); + +$name = $database->getUserField($id,"username",0); +mysql_query("Insert into ".TB_PREFIX."admin_log values (0,$admid,'Added ".$_POST['silver']." silver to user $name ',".time().")"); + +header("Location: ../../../admin.php?p=player&uid=".$id."&s=ok"); +?> \ No newline at end of file diff --git a/GameEngine/Admin/database.php b/GameEngine/Admin/database.php index 5c5fe2ae..e032514c 100644 --- a/GameEngine/Admin/database.php +++ b/GameEngine/Admin/database.php @@ -1,16 +1,24 @@ connection) or die(mysql_error()); } - function Login($username,$password) { + function Login($username,$password){ $q = "SELECT password FROM ".TB_PREFIX."users where username = '$username' and access >= ".MULTIHUNTER; $result = mysql_query($q, $this->connection); $dbarray = mysql_fetch_array($result); diff --git a/GameEngine/Admin/function.php b/GameEngine/Admin/function.php index d8cda2ff..69971d89 100644 --- a/GameEngine/Admin/function.php +++ b/GameEngine/Admin/function.php @@ -12,7 +12,7 @@ class funct { function CheckLogin(){ - if($_SESSION['access'] >= MULTIHUNTER && isset($_SESSION['id'])){ + if($_SESSION['access'] >= MULTIHUNTER and $_SESSION['id']){ return true; }else{ return false; diff --git a/GameEngine/Database.php b/GameEngine/Database.php index 9ec37f9d..1b1dd341 100644 --- a/GameEngine/Database.php +++ b/GameEngine/Database.php @@ -2,6 +2,7 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## +## Edited by: ZZJHONS ## ## Filename Database.php ## ## License: TravianX Project ## ## Copyright: TravianX (c) 2010-2011. All rights reserved. ## diff --git a/GameEngine/Message.php b/GameEngine/Message.php index 5f0e4d3d..231bc51f 100644 --- a/GameEngine/Message.php +++ b/GameEngine/Message.php @@ -33,29 +33,51 @@ } public function procMessage($post) { + global $session; if(isset($post['ft'])) { switch($post['ft']) { case "m1": + if($session->access!=BANNED){ $this->quoteMessage($post['id']); + }else{ + header("Location: banned.php"); + } break; case "m2": + if($session->access!=BANNED or $post['an']==strtolower("multihunter")){ if ($post['an'] == "[ally]"){ $this->sendAMessage($post['an'],$post['be'],$post['message']); }else{ $this->sendMessage($post['an'],$post['be'],$post['message']); - }header("Location: nachrichten.php?t=2"); + } + header("Location: nachrichten.php?t=2"); + }else{ + header("Location: banned.php"); + } break; case "m3": case "m4": case "m5": if(isset($post['delmsg_x'])) { + if($session->access!=BANNED){ $this->removeMessage($post); + }else{ + header("Location: banned.php"); + } } if(isset($post['archive_x'])) { + if($session->access!=BANNED){ $this->archiveMessage($post); + }else{ + header("Location: banned.php"); + } } if(isset($post['start_x'])) { + if($session->access!=BANNED){ $this->unarchiveMessage($post); + }else{ + header("Location: banned.php"); + } } break; case "m6": @@ -63,7 +85,7 @@ break; } } - } + } public function noticeType($get) { global $session, $database; @@ -94,13 +116,25 @@ public function procNotice($post) { if(isset($post["del_x"])) { + if($session->access != BANNED){ $this->removeNotice($post); + }else{ + header("Location: banned.php"); + } } if(isset($post['archive_x'])) { + if($session->access != BANNED){ $this->archiveNotice($post); + }else{ + header("Location: banned.php"); + } } if(isset($post['start_x'])) { + if($session->access != BANNED){ $this->unarchiveNotice($post); + }else{ + header("Location: banned.php"); + } } } diff --git a/GameEngine/Profile.php b/GameEngine/Profile.php index 9241f126..0fa03ace 100644 --- a/GameEngine/Profile.php +++ b/GameEngine/Profile.php @@ -13,43 +13,70 @@ class Profile { public function procProfile($post) { + global $session; if(isset($post['ft'])) { switch($post['ft']) { case "p1": + if($session->access!=BANNED){ $this->updateProfile($post); + }else{ + header("Location: banned.php"); + } break; case "p3": + if($session->access!=BANNED){ $this->updateAccount($post); + }else{ + header("Location: banned.php"); + } break; } } if(isset($post['s'])) { switch($post['s']) { case "4": + if($session->access!=BANNED){ $this->gpack($post); + }else{ + header("Location: banned.php"); + } break; } } } public function procSpecial($get) { + global $session; if(isset($get['e'])) { switch($get['e']) { case 2: + if($session->access!=BANNED){ $this->removeMeSit($get); + }else{ + header("Location: banned.php"); + } break; case 3: + if($session->access!=BANNED){ $this->removeSitter($get); + }else{ + header("Location: banned.php"); + } break; case 4: + if($session->access!=BANNED){ $this->cancelDeleting($get); + }else{ + header("Location: banned.php"); + } break; } } } private function updateProfile($post) { - global $database; + global $database,$session; + if($session->access!=BANNED){ $birthday = $post['jahr'].'-'.$post['monat'].'-'.$post['tag']; $database->submitProfile($database->RemoveXSS($post['uid']),$database->RemoveXSS($post['mw']),$database->RemoveXSS($post['ort']),$database->RemoveXSS($birthday),$database->RemoveXSS($post['be2']),$database->RemoveXSS($post['be1'])); $varray = $database->getProfileVillages($post['uid']); @@ -57,12 +84,19 @@ class Profile { $database->setVillageName($database->RemoveXSS($varray[$i]['wref']),$database->RemoveXSS($post['dname'.$i])); } header("Location: ?uid=".$post['uid']); + }else{ + header("Location: banned.php"); + } } private function gpack($post) { global $database, $session; + if($session->access!=BANNED){ $database->gpack($database->RemoveXSS($session->uid),$database->RemoveXSS($post['custom_url'])); header("Location: ?uid=".$session->uid); + }else{ + header("Location: banned.php"); + } } private function updateAccount($post) { global $database,$session,$form; @@ -78,7 +112,11 @@ class Profile { $form->addError("pw",PASS_MISMATCH); } if($post['email_alt'] == $session->userinfo['email']) { + if($session->access!=BANNED){ $database->updateUserField($post['uid'],"email",$post['email_neu'],1); + }else{ + header("Location: banned.php"); + } } else { $form->addError("email",EMAIL_ERROR); @@ -88,7 +126,11 @@ class Profile { $form->addError("del",ALLI_OWNER); } else { + if($session->access!=BANNED){ $database->setDeleting($post['uid'],0); + }else{ + header("Location: banned.php"); + } } } else { @@ -101,19 +143,32 @@ class Profile { } else { if($session->userinfo['sit1'] == 0) { + if($session->access!=BANNED){ $database->updateUserField($post['uid'],"sit1",$sitid,1); + }else{ + header("Location: banned.php"); + } } else if($session->userinfo['sit2'] == 0) { + if($session->access!=BANNED){ $database->updateUserField($post['uid'],"sit2",$sitid,1); + }else{ + header("Location: banned.php"); + } } } } $_SESSION['errorarray'] = $form->getErrors(); + if($session->access!=BANNED){ header("Location: spieler.php?s=3"); + }else{ + header("Location: banned.php"); + } } private function removeSitter($get) { global $database,$session; + if($session->access!=BANNED){ if($get['a'] == $session->checker) { if($session->userinfo['sit'.$get['type']] == $get['id']) { $database->updateUserField($session->uid,"sit".$get['type'],0,1); @@ -121,21 +176,28 @@ class Profile { $session->changeChecker(); } header("Location: spieler.php?s=".$get['s']); + }else{ + header("Location: banned.php"); + } } private function cancelDeleting($get) { - global $database; + global $database,$session; $database->setDeleting($get['id'],1); header("Location: spieler.php?s=".$get['s']); } private function removeMeSit($get) { global $database,$session; + if($session->access!=BANNED){ if($get['a'] == $session->checker) { $database->removeMeSit($get['id'],$session->uid); $session->changeChecker(); } header("Location: spieler.php?s=".$get['s']); + }else{ + header("Location: banned.php"); + } } }; $profile = new Profile; diff --git a/Templates/Admin/404.tpl b/Templates/Admin/404.tpl index 9ef1b867..bcd9d501 100644 --- a/Templates/Admin/404.tpl +++ b/Templates/Admin/404.tpl @@ -1,24 +1,26 @@ -
-
-

404 - File not found

- - This system is not finished yet or page does not exist.
- + This admin system is not finished yet or page doesn't exist.

-
-
\ No newline at end of file diff --git a/Templates/Admin/addTroops.tpl b/Templates/Admin/addTroops.tpl index 0c343ff9..7e9c78b9 100644 --- a/Templates/Admin/addTroops.tpl +++ b/Templates/Admin/addTroops.tpl @@ -9,10 +9,8 @@ ## Copyright: TravianX (c) 2010-2011. All rights reserved. ## ## ## ################################################################################# -?> -getVillageType($village['wref']); $fdata = $database->getResourceLevel($village['wref']); $units = $database->getUnit($village['wref']); - ?> -
+ @@ -44,52 +41,52 @@ $units = $database->getUnit($village['wref']); - + - + - + - + - + - + - + - + - + - + @@ -97,215 +94,215 @@ $units = $database->getUnit($village['wref']); else if($user['tribe'] == 2){ ?> - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:
   Currently:

-
+


Troops edited'; - } ?> + } ?>
diff --git a/Templates/Admin/admin_log.tpl b/Templates/Admin/admin_log.tpl index 87424b29..c643199c 100644 --- a/Templates/Admin/admin_log.tpl +++ b/Templates/Admin/admin_log.tpl @@ -1,56 +1,42 @@ - - - - - - <?php if($_SESSION['access'] == ADMIN){ echo 'Admin Control Panel - TravianX'; } else if($_SESSION['access'] == MULTIHUNTER){ echo 'Multihunter Control Panel - TravianX'; } ?> - - - - - - - - - - - - - - - - - - - + if($_SESSION['access'] < ADMIN) die("Access Denied: You aren't Admin!"); -getAdminLog()); - $log = $database->getAdminLog(); - for($i=0;$i<$no;$i++) { - $admid = $log[$i]['user']?> - ------------------------------------
- Log ID:
- Admin: getUserField($admid,"username",0); - if($user == 'Multihunter') { - echo 'CONTROL PANEL'; - } else { echo ''.$user.''; } - ?>
- Log:
- Date:
- - - - + $no = count($database->getAdminLog()); + $log = $database->getAdminLog(); + for($i=0;$i<$no;$i++) { + $admid = $log[$i]['user'] +?> +---------------------------------------- +
+Log ID: +
+Admin: getUserField($admid,"username",0); + if($user == 'Multihunter') { + echo 'CONTROL PANEL'; + } else { echo ''.$user.''; } + ?> +
+Log: +
+Date: +
+ \ No newline at end of file diff --git a/Templates/Admin/alliance.tpl b/Templates/Admin/alliance.tpl index 0aabdca8..32287b0c 100644 --- a/Templates/Admin/alliance.tpl +++ b/Templates/Admin/alliance.tpl @@ -8,11 +8,11 @@ ## Copyright: TravianX (c) 2010-2011. All rights reserved. ## ## ## ################################################################################# -?> -getAlliance($_GET['aid']); $aliusers = $database->getAllMember($_GET['aid']); +$alirank = $ranking/* ->getAllianceRank($_GET['aid']) */; if($alidata and $aliusers){ foreach($aliusers as $member) { @@ -51,7 +51,7 @@ foreach($aliusers as $member) { Rank - ??? + ? Points @@ -112,20 +112,19 @@ foreach($aliusers as $user) { echo " ".$TotalUserPop.""; echo " ".count($TotalVillages).""; - if($aid == $session->alliance){ - if ((time()-600) < $user['timestamp']){ // 0 Min - 10 Min - echo " now"; - }elseif ((time()-86400) < $user['timestamp'] && (time()-600) > $user['timestamp']){ // 10 Min - 1 Days - echo " now"; - }elseif ((time()-259200) < $user['timestamp'] && (time()-86400) > $user['timestamp']){ // 1-3 Days - echo " now"; - }elseif ((time()-604800) < $user['timestamp'] && (time()-259200) > $user['timestamp']){ - echo " now"; - }else{ - echo " now"; - } + if($aid == $session->alliance){ + if ((time()-600) < $member['timestamp']){ // 0 Min - 10 Min + echo "Online"; + }elseif ((time()-86400) < $member['timestamp'] && (time()-600) > $member['timestamp']){ // 10 Min - 1 Days + echo "Max. 24 hours"; + }elseif ((time()-259200) < $member['timestamp'] && (time()-86400) > $member['timestamp']){ // 1-3 Days + echo "Last 3 days"; + }elseif ((time()-604800) < $member['timestamp'] && (time()-259200) > $member['timestamp']){ // 3-7 Days + echo "Last 7 days"; + }else{ // More than 7 days + echo "Offline"; + } } - echo " "; } ?> diff --git a/Templates/Admin/backup/results - kopie.tpl b/Templates/Admin/backup/results - kopie.tpl deleted file mode 100644 index 4ffd0e6d..00000000 --- a/Templates/Admin/backup/results - kopie.tpl +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - '; - - for ($i = 0; $i <= count($search)-1; $i++) { - - $search[$i]['totalvillage'] = count($database->getVillagesID($search[$i]['id'])); - $search[$i]['totalpop'] = $database->getVSumField($search[$i]['id'],"pop"); - $search[$i]['aname'] = $database->getAllianceName($search[$i]['alliance']); - - if($search[$i]['id']==0 or $search[$i]['id']==1){ - $del = ""; - }else{ - $del = ''; - } - - echo' - - - - - - - - - - - '.$del.' - - '; - } - } - - if($_POST['search_in']=="village"){ - echo ''; - for ($i = 0; $i <= count($search)-1; $i++) { - $owner = $database->getUserField($search[$i]['owner'],'username',0); - echo ' - - - - - - - - - - - - '; - //echo $search[$i]['name'].$search[$i]['owner']."
"; - } - } - - ?> - - -
Results in
PlayerAccessGoldEmailAlliancePopulationVillagesTribeLast activity
cancel
'.($i+1).'.'.$search[$i]['username'].''.$search[$i]['access'].''.$search[$i]['gold'].''.$search[$i]['email'].''.$search[$i]['aname'].''.$search[$i]['totalpop'].''.$search[$i]['totalvillage'].''.$search[$i]['tribe'].''.date("H:m d.m.y",$search[$i]['timestamp']).'
VillageOwnerWoodClayIronMax storeCropMax CropPopCapital
'.($i+1).'.'.$search[$i]['name'].''.$owner.''.$search[$i]['wood'].''.$search[$i]['clay'].''.$search[$i]['iron'].''.$search[$i]['maxstore'].''.$search[$i]['crop'].''.$search[$i]['maxcrop'].''.$search[$i]['pop'].''.$search[$i]['capital'].'
- diff --git a/Templates/Admin/backup/search.tpl b/Templates/Admin/backup/search.tpl index 162f31de..98a06f96 100644 --- a/Templates/Admin/backup/search.tpl +++ b/Templates/Admin/backup/search.tpl @@ -41,6 +41,6 @@ Search
\ No newline at end of file diff --git a/Templates/Admin/ban.tpl b/Templates/Admin/ban.tpl index a0fe0ac4..ee427834 100644 --- a/Templates/Admin/ban.tpl +++ b/Templates/Admin/ban.tpl @@ -10,208 +10,95 @@ ################################################################################# ?> - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Ban
User ID - -
Reason - -
Time - -
-
- - - -search_banned(); - -?> - +search_banned(); ?>
- - - - - - - - - - - - - - - getUserField($bannedUsers[$i]['uid'],'username',0)==''){ - $name = $bannedUsers[$i]['name']; - $link = "[".$name."]"; - }else{ - $name = $database->getUserField($bannedUsers[$i]['uid'],'username',0); - $link = ''.$name.''; - } - if($bannedUsers[$i]['end']){$end = date("d.m.y H:i",$bannedUsers[$i]['end']);}else{$end = '*';} - echo ' - - - - - - - + - '; - } - }else{ - echo ''; - } - ?> - - - - - - -
Ban List
UsernameLength (from/to)Reason
'.$link.''.date("d.m.y H:i",$bannedUsers[$i]['time']).' - '.$end.''.$bannedUsers[$i]['reason'].'cancelcancel
No results...
- - - - - + \ No newline at end of file diff --git a/Templates/Admin/ban_msg.tpl b/Templates/Admin/ban_msg.tpl index 1f5f2c0a..b3437ec1 100644 --- a/Templates/Admin/ban_msg.tpl +++ b/Templates/Admin/ban_msg.tpl @@ -15,24 +15,25 @@ $ban1 = mysql_fetch_array($ban);


Hello ! You have been banned due to a violation of the rules. -
+
+Your banning reason is . +


To ensure that you won't get banned again in the future, you shuold read the rules carefully: -

» Game rules"; ?> +

» Game rules"; ?>



+To continue playing contact the Multihunter and put things straight with him/her +

» Write Message"; ?>
+

+Heed the following advice when writing your message: +

+● There is always a reason for a ban. Try to think about possible reasons for this ban and put things straight with the Multihunter. +
+● Multihunters can review enormous amounts of information about accounts. Stick to the truth and do not make excuses to justify your violation of the rules. +
+● Be cooperative and insightful, this might reduce the punishment. +
+● If the Multihunter does not answer immediately, then he/she is probably not online. The issue will not be resolved any faster by sending multiple messages, especially if he/she did not even read the first one yet. +
+● If you have really been banned unjustly, try to stay calm and polite while talking to the Multihunter and telling him/her about your point of view.

\ No newline at end of file diff --git a/Templates/Admin/config.tpl b/Templates/Admin/config.tpl index 4debd1bd..ad01b272 100644 --- a/Templates/Admin/config.tpl +++ b/Templates/Admin/config.tpl @@ -1,494 +1,293 @@ - -








Access Denied: You are not admin
"); - +if ($_SESSON['access'] == MULTIHUNTER) die("









Access Denied: You aren't Admin
"); ?> -

Made by Dzoki

+

Made by Dzoki & Improved by ZZJHONS

- - - - - - + + + + +
~ Server Settings ~
~ Server Settings ~
- - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + - - - - - + + - - - - - - - + + + - - - - - + + - - - - - - - - + + + - - - - - + + - - - - - - - + + + - - - - - + + + + + + -
VariableValue
Server Name
Server Started
VariableValue
Server Name
Server Version
Server Started ( days ago)
Language
Server Speed
Map Sizex
Server Speed
Troop SpeedxMap Sizex
Graphic PackEnabled";} else if(GP_ENABLE == false){echo "Disabled";} ?>
Graphic Pack Location
Storage Multiplier
Trader Capacity
Troop Speedx
Village Expanding Speed
Village Expanding Speed
Beginners Protection hour/sBeginners Protection hour(s)
Activation MailEnabled"; - } - else if(AUTH_EMAIL == false){ - echo "Disabled"; - } - ?>
Activation MailEnabled";} else if(AUTH_EMAIL == false){echo "Disabled";} ?>
QuestEnabled"; - } - else if(QUEST == false) { - echo "Disabled"; - } ?>QuestEnabled";} else if(QUEST == false){echo "Disabled";} ?>
Demolish - Level required
Demolish - Level required
World Wonder - StatisticsEnabled"; - } - else if(WW == false) { - echo "Disabled"; - } ?>World Wonder - StatisticsEnabled";} else if(WW == false){echo "Disabled";} ?>
Plus account duration= 86400){ - echo ''.(PLUS_TIME/86400).' Days'; - } else if(PLUS_TIME < 86400){ - echo ''.(PLUS_TIME/3600).' Hours'; - } ?>
Plus account duration= 86400){echo (PLUS_TIME/86400).' Days';} else if(PLUS_TIME < 86400){echo (PLUS_TIME/3600).' Hour(s)';} ?>
+25% production duration= 86400){ - echo ''.(PLUS_PRODUCTION/86400).' Days'; - } else if(PLUS_PRODUCTION < 86400){ - echo ''.(PLUS_PRODUCTION/3600).' Hours'; - } ?>+25% production duration= 86400){echo (PLUS_PRODUCTION/86400).' Days';} else if(PLUS_PRODUCTION < 86400){echo (PLUS_PRODUCTION/3600).' Hour(s)';} ?>
Great WorkshopEnabled";} else if(GREAT_WKS == false){echo "Disabled";} ?>
- + + Tourn threshold + + + - - - - - + + + + +
~ Log Settings ~
~ Log Settings ~
- - - - - - - - - +
VariableValue
Log BuildEnabled"; - } - else if(LOG_BUILD == false){ - echo "Disabled"; - } - ?>
+ + + + + + + + + + + - - + + - - - - - - + + - - - - - - - - - - - - - - -
VariableValue
Log BuildEnabled";} else if(LOG_BUILD == false){echo "Disabled";} ?>
Log TechnologyEnabled";} else if(LOG_TECH == false){echo "Disabled";} ?>
Log TechnologyEnabled"; - } - else if(LOG_TECH == false){ - echo "Disabled"; - } - ?>Log LoginEnabled";} else if(LOG_LOGIN == false){echo "Disabled";} ?>
Log LoginEnabled"; - } - else if(LOG_LOGIN == false){ - echo "Disabled"; - } - ?>
Log GoldEnabled"; - } - else if(ALOG_GOLD_FIN == false){ - echo "Disabled"; - } - ?>Log GoldEnabled";} else if(ALOG_GOLD_FIN == false){echo "Disabled";} ?>
Log AdminEnabled"; - } - else if(LOG_ADMIN == false){ - echo "Disabled"; - } - ?>
Log WarEnabled"; - } - else if(LOG_WAR == false){ - echo "Disabled"; - } - ?>
Log MarketEnabled"; - } - else if(LOG_MARKET == false){ - echo "Disabled"; - } - ?>
Log IllegalEnabled"; - } - else if(LOG_ILLEGAL == false){ - echo "Disabled"; - } - ?>
- + Enabled";} else if(LOG_ADMIN == false){echo "Disabled";} ?> + + + Log War + Enabled";} else if(LOG_WAR == false){echo "Disabled";} ?> + + + Log Market + Enabled";} else if(LOG_MARKET == false){echo "Disabled";} ?> + + + Log Illegal + Enabled";} else if(LOG_ILLEGAL == false){echo "Disabled";} ?> + + - - - - - + + + + +
~ Newsbox Settings ~
~ Newsbox Settings ~
- - - - - - - +
VariableValue
+ + + + - - - - + - - - - + - - - - + - - - - - + + + - - - - - + + + - - - - - + + + -
VariableValue
Newsbox 1Enabled"; - } - else if(NEWSBOX1 == false){ - echo "Disabled"; - } ?> Enabled";} else if(NEWSBOX1 == false){echo "Disabled";} ?>
Newsbox 2Enabled"; - } - else if(NEWSBOX2 == false){ - echo "Disabled"; - } ?> Enabled";} else if(NEWSBOX2 == false){echo "Disabled";} ?>
Newsbox 3Enabled"; - } - else if(NEWSBOX3 == false){ - echo "Disabled"; - } ?> Enabled";} else if(NEWSBOX3 == false){echo "Disabled";} ?>
Home 1Enabled"; - } - else if(HOME1 == false){ - echo "Disabled"; - } ?>
Home 1Enabled";} else if(HOME1 == false){echo "Disabled";} ?>
Home 2Enabled"; - } - else if(HOME2 == false){ - echo "Disabled"; - } ?>
Home 2Enabled";} else if(HOME2 == false){echo "Disabled";} ?>
Home 3Enabled"; - } - else if(HOME3 == false){ - echo "Disabled"; - } ?>
Home 3Enabled";} else if(HOME3 == false){echo "Disabled";} ?>
- + - - - - - -
~ SQL Settings ~
- - - - - - - - + + + + + +
VariableValue
Hostname
~ SQL Settings ~
+ - - + + + + + + + + + + - - - + + + - - - + + + - - - + + + - - - -
DB UsernameVariableValue
DB Host Name
DB Name
DB Password*********
DB Username
DB Name
DB Password
Table Prefix
DB Table Prefix
DB Type
- + DB Type + + + - - - - - - - - - - - -
~ Extra Settings ~
- - - - - - - - - - - - - - - - + + + + + +
VariableValue
Limit MailboxEnabled"; - } - else if(LIMIT_MAILBOX == false){ - echo "Disabled"; - } ?>
~ Extra Settings ~
+ - - - - - - + + + - - - - - - -
Max number of mailsLimit mailbox disabled"; - } ?>
VariableValue
Include Admin in rankEnabled"; - } - else if(INCLUDE_ADMIN == false){ - echo "Disabled"; - } ?>
- - - - - - - - - - - - - -
~ Admin Information ~
- - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + +
VariableValue
Admin EmailNo admin email defined!"; - } - else if(ADMIN_EMAIL != ''){ - echo ADMIN_EMAIL; - } ?>
Admin NameNo admin name defined!"; - } - else if(ADMIN_NAME != ''){ - echo ADMIN_NAME; - } ?>
Limit MailboxEnabled";} else if(LIMIT_MAILBOX == false){echo "Disabled";} ?>
Max number of mailsLimit mailbox disabled";} ?>
Include Admin in rankEnabled";} else if(INCLUDE_ADMIN == false){echo "Disabled";} ?>
+ + + + + + +
~ Admin Information ~
+ + + + + + + + + + + + +
VariableValue
Admin EmailNo admin email defined!";} else if(ADMIN_EMAIL != ''){echo ADMIN_EMAIL;} ?>
Admin NameNo admin name defined!";} else if(ADMIN_NAME != ''){echo ADMIN_NAME;} ?>
- $value ) @@ -500,7 +299,5 @@ function define_array( $array, $keys = NULL ) define( $keyname, $value ); } } - //define_array($array); - -?> +?> \ No newline at end of file diff --git a/Templates/Admin/deletion.tpl b/Templates/Admin/deletion.tpl index b27dc8f9..aee50e76 100644 --- a/Templates/Admin/deletion.tpl +++ b/Templates/Admin/deletion.tpl @@ -89,10 +89,10 @@ for ($i = 0; $i <= count($varray)-1; $i++) { $coorproc = $database->getCoor($varray[$i]['wref']); if($varray[$i]['capital']){ $capital = '(Capital)'; -$delLink = ''; +$delLink = ''; }else{ $capital = ''; -$delLink = ''; +$delLink = ''; } diff --git a/Templates/Admin/editUser.tpl b/Templates/Admin/editUser.tpl index 66244830..5320070f 100644 --- a/Templates/Admin/editUser.tpl +++ b/Templates/Admin/editUser.tpl @@ -17,7 +17,7 @@ $varray = $database->getProfileVillages($id); $varmedal = $database->getProfileMedal($id); ?>
-
+ diff --git a/Templates/Admin/give.tpl b/Templates/Admin/give.tpl new file mode 100644 index 00000000..1f8251ca --- /dev/null +++ b/Templates/Admin/give.tpl @@ -0,0 +1,48 @@ + +
+

Here you can give gold to all players of this server.

+
+

Gold

+ + + How much gold do you want to give to all players? +
+  Gold  Insert a number and press enter Enter. + +
+ + Gold added + + +
+

Silver

+
+ + How much silver do you want to give to all players? +
+  Silver  Insert a number and press enter Enter. + + + Silver added + +
\ No newline at end of file diff --git a/Templates/Admin/gold.tpl b/Templates/Admin/gold.tpl index 754200a1..c90eefe4 100644 --- a/Templates/Admin/gold.tpl +++ b/Templates/Admin/gold.tpl @@ -13,11 +13,11 @@ if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); ?> - +








How much gold do you want to give to the users?
-

 Gold  insert number and press 'enter'
+

 Gold  insert number and press 'enter'

-
- WELCOME TO CONTROL PANEL -
- - -



- - Hello ,

-       You are logged in as: Multihunter'; - } else if($_SESSION['access'] == ADMIN){ echo 'Administrator'; } ?> -



















- - - Credits: Akakori & Elmar
- Fixed, remade and new features added by Dzoki -
\ No newline at end of file + + +
+ WELCOME TO CONTROL PANEL +
+
+
+
+
+
+
+Hello : +
+
+
+ You are logged in as Multihunter'; } else if($_SESSION['access'] == ADMIN){ echo 'Administrator'; } ?> +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + Credits: Akakori, Elmar, Dzoki & ZZJHONS +
+ Fixed, remade and new features added by Dzoki +
+ Reworked by ZZJHONS +
\ No newline at end of file diff --git a/Templates/Admin/homenews.tpl b/Templates/Admin/homenews.tpl new file mode 100644 index 00000000..f05cf96c --- /dev/null +++ b/Templates/Admin/homenews.tpl @@ -0,0 +1,84 @@ + +
+ +
+ + + + + + + + + + + + + + + + + + + +
Home News Editor
Home News: +
+ Home 1 Home 2 Home 3 +
+
Text(HTML): +
+ +
+
+
+ +
+
+
+ +
+
+
+
+ +

Press submit to clear only
Otherwise enter the text

+'.$text.'
'); + echo '
Newsbox edited correctly'; + include ("Templates/News/home/home".$ti.".tpl"); + echo '
'; + } +?> diff --git a/Templates/Admin/login.tpl b/Templates/Admin/login.tpl index 67518ee0..536cd5e1 100644 --- a/Templates/Admin/login.tpl +++ b/Templates/Admin/login.tpl @@ -1,53 +1,38 @@ - -
- - - -

Login to control panel:

- - - +
+

Login to Admin Control Panel:

- - - -

- - - - - - - -
- - - -
- - - - -
- -

- -

- - - -

- - - - + + + + + + + + +
Username:  +
Password:  +
+

+ + +

+ \ No newline at end of file diff --git a/Templates/Admin/menu.tpl b/Templates/Admin/menu.tpl new file mode 100644 index 00000000..5ba51a76 --- /dev/null +++ b/Templates/Admin/menu.tpl @@ -0,0 +1,75 @@ + + \ No newline at end of file diff --git a/Templates/Admin/message.tpl b/Templates/Admin/message.tpl index e22b4f4f..89bc06f5 100644 --- a/Templates/Admin/message.tpl +++ b/Templates/Admin/message.tpl @@ -10,58 +10,28 @@ ################################################################################# ?> - - - - - - - - - - - - - - - - -
IGM/Reports
IGM ID
Report ID

- - +?> \ No newline at end of file diff --git a/Templates/Admin/news.tpl b/Templates/Admin/news.tpl new file mode 100644 index 00000000..ac4b5f6a --- /dev/null +++ b/Templates/Admin/news.tpl @@ -0,0 +1,96 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + +
Game News Editor
Newsbox: +
+ Newsbox 1 News box 2 Newsbox 3 +
+
Title: +
+ +
+
Text(HTML): +
+ +
+
+
+ +
+
+
+ +
+
+
+
+
+

Press submit to clear only
Otherwise enter the text

+'.$title.'';} + + unlink ('Templates/News/newsbox'.$ti.'.tpl'); + $f=fopen('Templates/News/newsbox'.$ti.'.tpl','w+'); + fwrite($f,$st.'
'.$text.'
'); + echo '
Newsbox edited correctly'; + include ("Templates/News/newsbox".$ti.".tpl"); + echo '
'; + } +?> \ No newline at end of file diff --git a/Templates/Admin/online.tpl b/Templates/Admin/online.tpl index 15dff9fa..a18e5353 100644 --- a/Templates/Admin/online.tpl +++ b/Templates/Admin/online.tpl @@ -45,6 +45,10 @@ foreach($varray as $vil) { $tribe = "Teuton"; } else if($active[$i]['tribe'] == 3){ $tribe = "Gaul"; + } else if($active[$i]['tribe'] == 4){ + $tribe = "Nature"; + } else if($active[$i]['tribe'] == 5){ + $tribe = "Natar"; } echo ' @@ -53,7 +57,7 @@ echo ' '.$tribe.' '.$totalpop.' '.count($varray).' - Gold '.$active[$i]['gold'].' + Gold '.$active[$i]['gold'].' '; } diff --git a/Templates/Admin/other.tpl b/Templates/Admin/other.tpl new file mode 100644 index 00000000..5fd4824d --- /dev/null +++ b/Templates/Admin/other.tpl @@ -0,0 +1,31 @@ + +
+

Other Admin Options

+
+
+
+ Empty all atacks and movements +
+
+ Finish all movements +
+
+ Create Natars account +
\ No newline at end of file diff --git a/Templates/Admin/player.tpl b/Templates/Admin/player.tpl index 389acba3..0cb45c7f 100644 --- a/Templates/Admin/player.tpl +++ b/Templates/Admin/player.tpl @@ -11,249 +11,135 @@ ?> getUserArray($id,1); - $varray = $database->getProfileVillages($id); - if($user){ - $totalpop = 0; - foreach($varray as $vil) { - $totalpop += $vil['pop']; - } - include('search2.tpl'); - ?> - - - - - -
The account will be deleted in 79:56:11 - -
- -
- - - - - - - - - - - - - - - - - - - - - -
Player
DetailsDescription
- - - - - - - - - - - - - - - - - - - - + else if($user['tribe'] == 5) { + echo "Natars"; + } ?> - + + + + - - - - - - - - "; - } - if(isset($user['gender']) && $user['gender'] != 0) { - $gender = ($user['gender']== 1)? "Male" : "Female"; - echo ""; - } - - echo ""; - echo ""; } else { echo "".date('d.m.Y H:i',$user['plus']+3600*2).""; } - echo ""; - echo ''; - + if($_SESSION['access'] == ADMIN){ echo ''; } else if($_SESSION['access'] == MULTIHUNTER){ echo ''; } + echo ''; - echo ''; - if($_SESSION['access'] == ADMIN){ echo ''; } else if($_SESSION['access'] == MULTIHUNTER){ echo ''; } - + echo ''; - echo ''; - ?> - - - - -
RanksearchRank($displayarray['username'],"username"); ?>
Tribe
Alliance - - ".$database->getAllianceName($user['alliance']).""; - - } ?> - -
Alliance + ".$database->getAllianceName($user['alliance']).""; + } ?> +
Villages
Population Recount
Age$age
Gender".$gender."
Location
Plus"; if(date('d.m.Y H:i',$user['plus']) == '01.01.1970 00:00') { echo "Not enabled!
Email
» Change profile
» Write message
» Write message
» Delete player
» Ban
'.nl2br($user['desc1']).'
- - -
- - @@ -281,10 +167,10 @@ if($deletion){ + Gold gold'/> @@ -294,12 +180,12 @@ if($deletion){ echo ''; } else { if(isset($_GET['g'])){ ?> - + - + @@ -334,19 +220,19 @@ if($deletion){ - - + - + @@ -356,22 +242,12 @@ if($deletion){ ?>
Remaining gold - This user has no gold! (Gold gold'/> ) Give gold + This user has no gold! (Gold gold'/> ) Give gold 0){ ?> - Gold gold'/>
Insert number and press 'enter'
Cultural Points +
Insert number and press 'enter'
- -
- Back"; - } - } - ?> \ No newline at end of file diff --git a/Templates/Admin/results_villages.tpl b/Templates/Admin/results_villages.tpl index 3f97fe7c..12acf7fc 100644 --- a/Templates/Admin/results_villages.tpl +++ b/Templates/Admin/results_villages.tpl @@ -32,9 +32,9 @@ $result = $admin->search_village($_POST['s']); if($result){ for ($i = 0; $i <= count($result)-1; $i++) { if($_SESSION['access'] == ADMIN){ - $delLink = ''; + $delLink = ''; }else if($_SESSION['access'] == MULTIHUNTER){ - $delLink = ''; + $delLink = ''; } echo ' diff --git a/Templates/Admin/search.tpl b/Templates/Admin/search.tpl index 12277051..1917b297 100644 --- a/Templates/Admin/search.tpl +++ b/Templates/Admin/search.tpl @@ -1,90 +1,55 @@ -
- - - - - - + - - - - - - - - - - - - -
Search v1.0Search v1.01
- - - - - - - +
-
- - -
'; - - if($_GET['msg'] == 'ursdel'){ - - echo "User was deleted."; - - } - - echo '
'; - - } - + if($_GET['msg']){ + echo '
'; + if($_GET['msg'] == 'ursdel'){ + echo "User was deleted."; + } + echo '
'; + } ?> \ No newline at end of file diff --git a/Templates/Admin/server_info.tpl b/Templates/Admin/server_info.tpl index 8ae8cb93..068470ea 100644 --- a/Templates/Admin/server_info.tpl +++ b/Templates/Admin/server_info.tpl @@ -1,157 +1,170 @@ - - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Player Information
Registered players -
Active players - -
Players online -
Players Banned -
Villages settled -

- - - - - - - - - - - - - - - - - - - - - - - - -
Player Information
TribeRegisteredPercent
Romans -
Teutons - -
Gauls
- -
\ No newline at end of file +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Players Stadistics
Registered players
Active players + +
Players online + +
Players Banned + +
Villages settled + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Player Information
TribeRegisteredPercent
Romans + 0){ + $percents = 100*($tribes[0] / $users); + } else { + $percents = 0; + } + echo $percents = intval ($percents); + echo "%"; + ?> +
Teutons + 0){ + $percents = 100*($tribes[1] / $users); + } else { + $percents = 0; + } + echo $percents = intval ($percents); + echo "%"; + ?> +
Gauls + 0){ + $percents = 100*($tribes[2] / $users); + } else { + $percents = 0; + } + echo $percents = intval ($percents); + echo "%"; + ?> +
Nature + 0){ + $percents = 100*($tribes[3] / $users); + } else { + $percents = 0; + } + echo $percents = intval ($percents); + echo "%"; + ?> +
Natars + 0){ + $percents = 100*($tribes[4] / $users); + } else { + $percents = 0; + } + echo $percents = intval ($percents); + echo "%"; + ?> +
\ No newline at end of file diff --git a/Templates/Admin/village.tpl b/Templates/Admin/village.tpl index 3da462ca..dbfe6ca6 100644 --- a/Templates/Admin/village.tpl +++ b/Templates/Admin/village.tpl @@ -113,11 +113,11 @@ if($village and $user){ if($i != 3){ - echo $typ[$i].'x | '; + echo $typ[$i].'x | '; }else{ - echo $typ[$i].'x '; + echo $typ[$i].'x '; } @@ -156,7 +156,7 @@ if($village and $user){ - Lumber + Lumber @@ -166,7 +166,7 @@ if($village and $user){ - Clay + Clay @@ -175,7 +175,7 @@ if($village and $user){ - Iron + Iron @@ -183,7 +183,7 @@ if($village and $user){ - Crop + Crop @@ -230,7 +230,7 @@ if($village and $user){ - + Cooming soon diff --git a/Templates/Admin/villages.tpl b/Templates/Admin/villages.tpl index e541eed5..0a7a32ae 100644 --- a/Templates/Admin/villages.tpl +++ b/Templates/Admin/villages.tpl @@ -32,13 +32,13 @@ for ($i = 0; $i <= count($varray)-1; $i++) { $coorproc = $database->getCoor($varray[$i]['wref']); if($varray[$i]['capital']){ $capital = '(Capital)'; -$delLink = ''; +$delLink = ''; }else{ $capital = ''; if($_SESSION['access'] == ADMIN){ -$delLink = ''; +$delLink = ''; }else if($_SESSION['access'] == MULTIHUNTER){ - $delLink = ''; + $delLink = ''; } } diff --git a/Templates/News/home/home1.tpl b/Templates/News/home/home1.tpl index f2a4b248..8300ef52 100644 --- a/Templates/News/home/home1.tpl +++ b/Templates/News/home/home1.tpl @@ -1,2 +1 @@ -
TravianX

Version: v4.8.5
Major Changes: New index.php, chief training fixed, graphic packs now work but only for outside links. See more in readme file!
Minor Changes: Admin panel updated a bit, config updated, installation system updated
Script Price: FREE!

Released by: Dzoki
Visit: RageZone.com
-
\ No newline at end of file +
TravianX
\ No newline at end of file diff --git a/Templates/News/home/home2.tpl b/Templates/News/home/home2.tpl index 6336d305..8300ef52 100644 --- a/Templates/News/home/home2.tpl +++ b/Templates/News/home/home2.tpl @@ -1 +1 @@ -
TravianX

Version: v4.8.5
Major Changes: New index.php, chief training fixed, graphic packs now work but only for outside links. See more in readme file!
Minor Changes: Admin panel updated a bit, config updated, installation system updated
Script Price: FREE!

Released by: Dzoki
Visit: RageZone.com
\ No newline at end of file +
TravianX
\ No newline at end of file diff --git a/Templates/News/home/home3.tpl b/Templates/News/home/home3.tpl index ebf6478e..8300ef52 100644 --- a/Templates/News/home/home3.tpl +++ b/Templates/News/home/home3.tpl @@ -1,12 +1 @@ -
- - -
TravianX

- Version: v4.8.5
- Major Changes: New index.php, chief training fixed, graphic packs now work but only for outside links. See more in readme file!
- Minor Changes: Admin panel updated a bit, config updated, installation system updated
- Script Price: FREE!

-
Released by: Dzoki
- Visit: RageZone.com
- -
\ No newline at end of file +
TravianX
\ No newline at end of file diff --git a/Templates/News/newsbox1.tpl b/Templates/News/newsbox1.tpl index d1e104b0..07e57449 100644 --- a/Templates/News/newsbox1.tpl +++ b/Templates/News/newsbox1.tpl @@ -1,10 +1,4 @@ -
newsbox 1
+
newsbox 1
-
TravianX

- Version: v4.8.5
- Major Changes: New index.php, chief training fixed, graphic packs now work but only for outside links. See more in readme file!
- Minor Changes: Admin panel updated a bit, config updated, installation system updated
- Script Price: FREE!

-
Released by: Dzoki
- Visit: RageZone.com
-
+
TravianX
+
\ No newline at end of file diff --git a/Templates/News/newsbox2.tpl b/Templates/News/newsbox2.tpl index ca303b39..62e401f8 100644 --- a/Templates/News/newsbox2.tpl +++ b/Templates/News/newsbox2.tpl @@ -1,13 +1,4 @@ -
newsbox 2
-
- - -
TravianX

- Version: v4.8.5
- Major Changes: New index.php, chief training fixed, graphic packs now work but only for outside links. See more in readme file!
- Minor Changes: Admin panel updated a bit, config updated, installation system updated
- Script Price: FREE!

-
Released by: Dzoki
- Visit: RageZone.com
- -
\ No newline at end of file +
newsbox 2
+
+
TravianX
+
\ No newline at end of file diff --git a/Templates/News/newsbox3.tpl b/Templates/News/newsbox3.tpl index dbbd89b3..94b60168 100644 --- a/Templates/News/newsbox3.tpl +++ b/Templates/News/newsbox3.tpl @@ -1,2 +1,4 @@ -
newsbox 2
-
TravianX

Version: v4.8.5
Major Changes: New index.php, chief training fixed, graphic packs now work but only for outside links. See more in readme file!
Minor Changes: Admin panel updated a bit, config updated, installation system updated
Script Price: FREE!

Released by: Dzoki
Visit: RageZone.com
\ No newline at end of file +
newsbox 3
+
+
TravianX
+
\ No newline at end of file diff --git a/Templates/Profile/preference.tpl b/Templates/Profile/preference.tpl index 2648c499..5cedae9f 100644 --- a/Templates/Profile/preference.tpl +++ b/Templates/Profile/preference.tpl @@ -43,9 +43,12 @@ if($_POST) { if(trim($link['nr']) != '' AND trim($link['linkname']) != '' AND trim($link['linkziel']) != '' AND trim($link['id']) == '') { // Add new link $userid = $session->uid; - + if($session->access!=BANNED){ $query = mysql_query('INSERT INTO `' . TB_PREFIX . 'links` (`userid`, `name`, `url`, `pos`) VALUES (' . $userid . ', \'' . $link['linkname'] . '\', \'' . $link['linkziel'] . '\', ' . $link['nr'] . ')'); - } elseif(trim($link['nr']) != '' AND trim($link['linkname']) != '' AND trim($link['linkziel']) != '' AND trim($link['id']) != '') { + }else{ + header("Location: banned.php"); + } + } elseif(trim($link['nr']) != '' AND trim($link['linkname']) != '' AND trim($link['linkziel']) != '' AND trim($link['id']) != '') { // Update link $query = mysql_query('SELECT * FROM `' . TB_PREFIX . 'links` WHERE `id` = ' . $link['id']); $data = mysql_fetch_assoc($query); diff --git a/Templates/homenews.tpl b/Templates/homenews.tpl new file mode 100644 index 00000000..e32994f5 --- /dev/null +++ b/Templates/homenews.tpl @@ -0,0 +1,40 @@ + +
+
+
+

+
'; include("Templates/News/home/home1.tpl"); echo '
';}; + if(HOME1 & HOME2 == true){echo '
';} + else if(HOME1 & HOME3 == true){echo '
';} + else echo ''; + + if(HOME2){echo '
'; include("Templates/News/home/home2.tpl"); echo '
';}; + if(HOME2 & HOME3 == true){echo '
';} + else echo ''; + + if(HOME3){echo '
'; include("Templates/News/home/home3.tpl"); echo '
';}; + ?> +
+
+ + \ No newline at end of file diff --git a/Templates/menu.tpl b/Templates/menu.tpl index 653fef93..f7efeacd 100644 --- a/Templates/menu.tpl +++ b/Templates/menu.tpl @@ -40,7 +40,7 @@ div.c1 {text-align: center} echo "Multihunter Panel"; } ?> access == ADMIN) { - echo "Admin Panel"; + echo "Admin Panel"; echo "Mass Message"; echo "Update Top 10"; echo "System message"; diff --git a/Templates/version.tpl b/Templates/version.tpl new file mode 100644 index 00000000..8ddc4add --- /dev/null +++ b/Templates/version.tpl @@ -0,0 +1,19 @@ + +6.0.0 \ No newline at end of file diff --git a/admin.php b/admin.php new file mode 100644 index 00000000..0cac6998 --- /dev/null +++ b/admin.php @@ -0,0 +1,113 @@ + + + + + + <?php if($_SESSION['access'] == ADMIN){ echo 'Admin Control Panel - '.SERVER_NAME; } else if($_SESSION['access'] == MULTIHUNTER){ echo 'Multihunter Control Panel - '.SERVER_NAME; } ?> + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+
+ 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'); + } + ?> +
+
+ +
+
+
+ +
+
+

This ACP has been reworked by ZZJHONS

+
+
+
+
+ + \ No newline at end of file diff --git a/banned.php b/banned.php index a54c6cbb..6adc2a9c 100644 --- a/banned.php +++ b/banned.php @@ -64,6 +64,7 @@ include("Templates/Admin/ban_msg.tpl"); include("Templates/quest.tpl"); include("Templates/news.tpl"); include("Templates/multivillage.tpl"); +include("Templates/links.tpl"); ?>
@@ -72,7 +73,8 @@ include("Templates/multivillage.tpl");
diff --git a/berichte.php b/berichte.php index 157a4a9a..82f7756a 100644 --- a/berichte.php +++ b/berichte.php @@ -14,7 +14,6 @@ include("GameEngine/Village.php"); $start = $generator->pageLoadTimeStart(); $message->noticeType($_GET); $message->procNotice($_POST); -if($session->access != BANNED){ ?> @@ -114,9 +113,4 @@ echo round(($generator->pageLoadTimeEnd()-$start)*1000);
- - \ No newline at end of file + \ No newline at end of file diff --git a/gpack/travian_default/img/g/g1.gif b/gpack/travian_default/img/g/g1.gif index 674d0d48..333da9eb 100644 Binary files a/gpack/travian_default/img/g/g1.gif and b/gpack/travian_default/img/g/g1.gif differ diff --git a/gpack/travian_default/img/g/g10.gif b/gpack/travian_default/img/g/g10.gif index e8026aa8..9bc298ef 100644 Binary files a/gpack/travian_default/img/g/g10.gif and b/gpack/travian_default/img/g/g10.gif differ diff --git a/gpack/travian_default/img/g/g11.gif b/gpack/travian_default/img/g/g11.gif index c485ba76..8bbbbbb9 100644 Binary files a/gpack/travian_default/img/g/g11.gif and b/gpack/travian_default/img/g/g11.gif differ diff --git a/gpack/travian_default/img/g/g14.gif b/gpack/travian_default/img/g/g14.gif index 028def71..69050b25 100644 Binary files a/gpack/travian_default/img/g/g14.gif and b/gpack/travian_default/img/g/g14.gif differ diff --git a/gpack/travian_default/img/g/g15.gif b/gpack/travian_default/img/g/g15.gif index b3b38597..4584b1cd 100644 Binary files a/gpack/travian_default/img/g/g15.gif and b/gpack/travian_default/img/g/g15.gif differ diff --git a/gpack/travian_default/img/g/g17.gif b/gpack/travian_default/img/g/g17.gif index 9cba03a2..e076db30 100644 Binary files a/gpack/travian_default/img/g/g17.gif and b/gpack/travian_default/img/g/g17.gif differ diff --git a/gpack/travian_default/img/g/g18.gif b/gpack/travian_default/img/g/g18.gif index e22fc79c..50e15199 100644 Binary files a/gpack/travian_default/img/g/g18.gif and b/gpack/travian_default/img/g/g18.gif differ diff --git a/gpack/travian_default/img/g/g19.gif b/gpack/travian_default/img/g/g19.gif index 1594df89..1121301d 100644 Binary files a/gpack/travian_default/img/g/g19.gif and b/gpack/travian_default/img/g/g19.gif differ diff --git a/gpack/travian_default/img/g/g2.gif b/gpack/travian_default/img/g/g2.gif index 14e9a8f3..c8821bd8 100644 Binary files a/gpack/travian_default/img/g/g2.gif and b/gpack/travian_default/img/g/g2.gif differ diff --git a/gpack/travian_default/img/g/g20.gif b/gpack/travian_default/img/g/g20.gif index 53eb4b42..93e64009 100644 Binary files a/gpack/travian_default/img/g/g20.gif and b/gpack/travian_default/img/g/g20.gif differ diff --git a/gpack/travian_default/img/g/g21.gif b/gpack/travian_default/img/g/g21.gif index c28c96cf..44b61998 100644 Binary files a/gpack/travian_default/img/g/g21.gif and b/gpack/travian_default/img/g/g21.gif differ diff --git a/gpack/travian_default/img/g/g22.gif b/gpack/travian_default/img/g/g22.gif index 4644eca6..b2000d6b 100644 Binary files a/gpack/travian_default/img/g/g22.gif and b/gpack/travian_default/img/g/g22.gif differ diff --git a/gpack/travian_default/img/g/g23.gif b/gpack/travian_default/img/g/g23.gif index fb6efe09..06a20e55 100644 Binary files a/gpack/travian_default/img/g/g23.gif and b/gpack/travian_default/img/g/g23.gif differ diff --git a/gpack/travian_default/img/g/g24.gif b/gpack/travian_default/img/g/g24.gif index c4659f23..846e8b3c 100644 Binary files a/gpack/travian_default/img/g/g24.gif and b/gpack/travian_default/img/g/g24.gif differ diff --git a/gpack/travian_default/img/g/g25.gif b/gpack/travian_default/img/g/g25.gif index c67f4fe3..c7d68e7c 100644 Binary files a/gpack/travian_default/img/g/g25.gif and b/gpack/travian_default/img/g/g25.gif differ diff --git a/gpack/travian_default/img/g/g26.gif b/gpack/travian_default/img/g/g26.gif index 6d370a18..6f5efe3e 100644 Binary files a/gpack/travian_default/img/g/g26.gif and b/gpack/travian_default/img/g/g26.gif differ diff --git a/gpack/travian_default/img/g/g27.gif b/gpack/travian_default/img/g/g27.gif index 2c479d31..e49678b9 100644 Binary files a/gpack/travian_default/img/g/g27.gif and b/gpack/travian_default/img/g/g27.gif differ diff --git a/gpack/travian_default/img/g/g28.gif b/gpack/travian_default/img/g/g28.gif index 37a5ad5b..ac83ae79 100644 Binary files a/gpack/travian_default/img/g/g28.gif and b/gpack/travian_default/img/g/g28.gif differ diff --git a/gpack/travian_default/img/g/g29.gif b/gpack/travian_default/img/g/g29.gif index 863313d9..5c42e133 100644 Binary files a/gpack/travian_default/img/g/g29.gif and b/gpack/travian_default/img/g/g29.gif differ diff --git a/gpack/travian_default/img/g/g3.gif b/gpack/travian_default/img/g/g3.gif index d2bf739b..5c44e5fa 100644 Binary files a/gpack/travian_default/img/g/g3.gif and b/gpack/travian_default/img/g/g3.gif differ diff --git a/gpack/travian_default/img/g/g30.gif b/gpack/travian_default/img/g/g30.gif index 7422b9b6..c5b974ae 100644 Binary files a/gpack/travian_default/img/g/g30.gif and b/gpack/travian_default/img/g/g30.gif differ diff --git a/gpack/travian_default/img/g/g34.gif b/gpack/travian_default/img/g/g34.gif index b06f4805..45d53370 100644 Binary files a/gpack/travian_default/img/g/g34.gif and b/gpack/travian_default/img/g/g34.gif differ diff --git a/gpack/travian_default/img/g/g35.gif b/gpack/travian_default/img/g/g35.gif index b934965f..3502d640 100644 Binary files a/gpack/travian_default/img/g/g35.gif and b/gpack/travian_default/img/g/g35.gif differ diff --git a/gpack/travian_default/img/g/g35_tea.gif b/gpack/travian_default/img/g/g35_tea.gif index 7aeffa81..4d9dea89 100644 Binary files a/gpack/travian_default/img/g/g35_tea.gif and b/gpack/travian_default/img/g/g35_tea.gif differ diff --git a/gpack/travian_default/img/g/g36.gif b/gpack/travian_default/img/g/g36.gif index 3eb55117..1378f937 100644 Binary files a/gpack/travian_default/img/g/g36.gif and b/gpack/travian_default/img/g/g36.gif differ diff --git a/gpack/travian_default/img/g/g37.gif b/gpack/travian_default/img/g/g37.gif index 7a54ecf1..77d00f95 100644 Binary files a/gpack/travian_default/img/g/g37.gif and b/gpack/travian_default/img/g/g37.gif differ diff --git a/gpack/travian_default/img/g/g38.gif b/gpack/travian_default/img/g/g38.gif index 2c55d044..a608ca87 100644 Binary files a/gpack/travian_default/img/g/g38.gif and b/gpack/travian_default/img/g/g38.gif differ diff --git a/gpack/travian_default/img/g/g39.gif b/gpack/travian_default/img/g/g39.gif index cd9c81b0..35677229 100644 Binary files a/gpack/travian_default/img/g/g39.gif and b/gpack/travian_default/img/g/g39.gif differ diff --git a/gpack/travian_default/img/g/g4.gif b/gpack/travian_default/img/g/g4.gif index 71c09f56..f22571ce 100644 Binary files a/gpack/travian_default/img/g/g4.gif and b/gpack/travian_default/img/g/g4.gif differ diff --git a/gpack/travian_default/img/g/g41.gif b/gpack/travian_default/img/g/g41.gif index db16aae4..1363c38b 100644 Binary files a/gpack/travian_default/img/g/g41.gif and b/gpack/travian_default/img/g/g41.gif differ diff --git a/gpack/travian_default/img/g/g42.gif b/gpack/travian_default/img/g/g42.gif index c28c96cf..b73a6032 100644 Binary files a/gpack/travian_default/img/g/g42.gif and b/gpack/travian_default/img/g/g42.gif differ diff --git a/gpack/travian_default/img/g/g42b.gif b/gpack/travian_default/img/g/g42b.gif index e32f34da..b73a6032 100644 Binary files a/gpack/travian_default/img/g/g42b.gif and b/gpack/travian_default/img/g/g42b.gif differ diff --git a/gpack/travian_default/img/g/g5.gif b/gpack/travian_default/img/g/g5.gif index 4a8aa69f..c6bd7bfd 100644 Binary files a/gpack/travian_default/img/g/g5.gif and b/gpack/travian_default/img/g/g5.gif differ diff --git a/gpack/travian_default/img/g/g6.gif b/gpack/travian_default/img/g/g6.gif index dc58f4bb..5a46d91b 100644 Binary files a/gpack/travian_default/img/g/g6.gif and b/gpack/travian_default/img/g/g6.gif differ diff --git a/gpack/travian_default/img/g/g7.gif b/gpack/travian_default/img/g/g7.gif index 81f4a840..ba1a529a 100644 Binary files a/gpack/travian_default/img/g/g7.gif and b/gpack/travian_default/img/g/g7.gif differ diff --git a/gpack/travian_default/img/g/g8.gif b/gpack/travian_default/img/g/g8.gif index 553d5ced..add25d93 100644 Binary files a/gpack/travian_default/img/g/g8.gif and b/gpack/travian_default/img/g/g8.gif differ diff --git a/gpack/travian_default/img/g/g9.gif b/gpack/travian_default/img/g/g9.gif index ad9c3bec..19f2e6e3 100644 Binary files a/gpack/travian_default/img/g/g9.gif and b/gpack/travian_default/img/g/g9.gif differ diff --git a/img/admin/admin.css b/img/admin/admin.css index 569709a5..8f55ef85 100644 --- a/img/admin/admin.css +++ b/img/admin/admin.css @@ -14,7 +14,7 @@ font-family: Verdana, Arial, Helvetica, sans-serif; color:#C0C0C0; } -/*fix*/ +/* Fix */ .online1, .online2, .online3, .online4, .online5 {width:12px; height:12px;} /* Oberer Layer mit Menue ohne Werbung */ #ltop1 {position:relative; width:100%; min-width:980px; height:100px; z-index:2; background-image:url(../un/l/mp.gif); background-repeat:repeat-x; left:0px; top:0px;} @@ -519,6 +519,4 @@ table#member tbody th, table#member tbody td {text-align:left;} table#member td.ra {width:5%; text-align:right;} table#member td.hab {width:25%; text-align:center;} table#member td.vil {width:20%; text-align:center;} -table#member td.on {width:5%; text-align:center;} - - +table#member td.on {width:5%; text-align:center;} \ No newline at end of file diff --git a/img/admin/logo.jpg b/img/admin/logo.jpg new file mode 100644 index 00000000..080b6efa Binary files /dev/null and b/img/admin/logo.jpg differ diff --git a/img/admin/x1 - copia.gif b/img/admin/x1 - copia.gif new file mode 100644 index 00000000..dd077cce Binary files /dev/null and b/img/admin/x1 - copia.gif differ diff --git a/img/admin/x1.gif b/img/admin/x1.gif index dd077cce..61047209 100644 Binary files a/img/admin/x1.gif and b/img/admin/x1.gif differ diff --git a/img/admin/x2 - copia.gif b/img/admin/x2 - copia.gif new file mode 100644 index 00000000..98df7bb3 Binary files /dev/null and b/img/admin/x2 - copia.gif differ diff --git a/img/admin/x2.gif b/img/admin/x2.gif index 98df7bb3..74680190 100644 Binary files a/img/admin/x2.gif and b/img/admin/x2.gif differ diff --git a/img/admin/x3 - copia.gif b/img/admin/x3 - copia.gif new file mode 100644 index 00000000..869faf6f Binary files /dev/null and b/img/admin/x3 - copia.gif differ diff --git a/img/admin/x3.gif b/img/admin/x3.gif index 869faf6f..745246e1 100644 Binary files a/img/admin/x3.gif and b/img/admin/x3.gif differ diff --git a/img/admin/x4 - copia.gif b/img/admin/x4 - copia.gif new file mode 100644 index 00000000..ef8c0ce4 Binary files /dev/null and b/img/admin/x4 - copia.gif differ diff --git a/img/admin/x4.gif b/img/admin/x4.gif index ef8c0ce4..479788fa 100644 Binary files a/img/admin/x4.gif and b/img/admin/x4.gif differ diff --git a/img/admin/x5 - copia.gif b/img/admin/x5 - copia.gif new file mode 100644 index 00000000..8cfa7c35 Binary files /dev/null and b/img/admin/x5 - copia.gif differ diff --git a/img/admin/x5.gif b/img/admin/x5.gif index 8cfa7c35..12674cac 100644 Binary files a/img/admin/x5.gif and b/img/admin/x5.gif differ diff --git a/img/portal_ltr.css b/img/portal_ltr.css new file mode 100644 index 00000000..136dcfff --- /dev/null +++ b/img/portal_ltr.css @@ -0,0 +1,1414 @@ +@CHARSET "UTF-8"; + +/** + * Default HTML Elements + */ + + BODY { + padding:0px; + margin:0px; + background-color: #c6df7a; + text-align: center; + font-family: Arial; + font-size: 11px; + background-repeat: repeat-x; + background-position: center 0px; + min-width:962px; + direction: ltr; + } + DIV, H1, P { + text-align: left; + margin: 0px; + padding: 0px; + } + A { + outline:none; + font-weight:bold; + color:#000; + } + A:HOVER { + text-decoration:none; + } + IMG { + border: none; + } + A.imglink { + text-decoration: none; + } + A.imglink:hover { + text-decoration: none; + } + .clear { + clear:both; + } +/** + * Page Container + */ + DIV#page { + position:relative; + margin:0px auto; + width: 960px; + height: 606px; + text-align: left; + background-position:-670px 0px; + } + DIV#blackOverlay { + display: none; + position: fixed; + top: 0px; + left: 0px; + width: 100%; + height: 100%; + background-color: #000; + z-index: 1000; + } +/** + * Logo + */ + DIV#logo { + position: absolute; + width:304px; + height:150px; + left:680px; + top:29px; + background-repeat:no-repeat; + } +/** + * Characters + */ + DIV#page A.male { + display: block; + position: absolute; + left: 311px; + top: 221px; + width: 202px; + height: 142px; + background-position:0 250px; + background-repeat:no-repeat; + } + DIV#page A.male:hover { + background-position:0 -250px; + } + BODY.newsbox DIV#page A.male:hover { + background-position:0 -2250px; + } + DIV#page A.female { + display: block; + position: absolute; + left: 767px; + top: 257px; + width: 118px; + height: 155px; + background-position:0px 250px; + background-repeat:no-repeat; + } + DIV#page A.female:hover { + background-position:0px 0px; + } + BODY.newsbox DIV#page A.female:hover { + background-position:0px -2000px; + } + DIV#page A.pet { + display: block; + position: absolute; + left: 201px; + top: 389px; + width: 122px; + height: 120px; + background-position:0 250px; + background-repeat:no-repeat; + } + DIV#page A.pet:hover { + background-position:0 -500px; + } +/** + * Additional Characters + */ + DIV#page A.pet { + display: block; + position: absolute; + left: 201px; + top: 389px; + width: 122px; + height: 120px; + background-position:0 250px; + background-repeat:no-repeat; + } + DIV#page A.pet:hover { + background-position:0 -500px; + } + DIV#page DIV#fighters { + display: block; + position:absolute; + top:261px; + left:-38px; + width:226px; + height:151px; + background-position:0px 250px; + background-repeat:no-repeat; + } + DIV#page DIV#fighters.alt { + background-position:0px -750px; + } + DIV#page DIV#lady { + display: block; + position:absolute; + top:138px; + left:196px; + width:69px; + height:69px; + background-position:0 250px; + background-repeat:no-repeat; + } + DIV#page DIV#lady.alt { + background-position:0 -1820px; + } + DIV#page DIV#stream { + display: block; + position:absolute; + top:134px; + left:823px; + width:246px; + height:100px; + background-position:0 250px; + background-repeat:no-repeat; + } + DIV#page DIV#stream.alt { + background-position:0 -1600px; + } + DIV#page DIV#smoke { + position:absolute; + top:0px; + left:463px; + width:63px; + height:53px; + background-position:0 250px; + background-repeat:no-repeat; + } + DIV#page DIV#smoke.alt { + background-position:0 -1700px; + } + DIV#page DIV#mouse { + position:absolute; + width:38px; + height: 248px; + top:-20px; + left:685px; + } + DIV#page DIV#mousecover { + position:absolute; + width:48px; + height:227px; + top:-25px; + left:680px; + } + DIV#page DIV#flag { + position:absolute; + width:50px; + height:29px; + top:9px; + left:228px; + background-position:0px -1050px; + } + DIV#page DIV#flowergirl { + position:absolute; + width:92px; + height:75px; + top:300px; + left:912px; + background-position:0px -1100px; + } + DIV#page DIV#chopper { + position:absolute; + width:68px; + height:57px; + top:246px; + left:906px; + background-position:-100px -1100px; + } + DIV#page DIV#bird { + position:absolute; + width:82px; + height:34px; + top:219px; + left:1006px; + background-position:-168px -1100px; + } + DIV#page DIV#spider { + position:absolute; + width:29px; + height:45px; + top:433px; + left:572px; + background-position:0 -1000px; + } +/** + * Interface + */ + A.playfree { + display: block; + position: absolute; + left:520px; + top:380px; + width:222px; + height:46px; + background-position:0 top; + } + A.playfree:hover { + background-position: -222px top; + } + DIV#page A.trailer { + display: block; + position: absolute; + left:563px; + top:248px; + width:98px; + height:28px; + background-position:0 top; + } + DIV#page A.trailer:hover { + background-position: 98px top; + } + DIV#page A.screenshots { + display: block; + position: absolute; + left:563px; + top:283px; + width:135px; + height:28px; + background-position:0 top; + } + DIV#page A.screenshots:hover { + background-position: 135px top; + } + DIV#page DIV.menu { + display:block; + position:absolute; + top: 624px; + left:151px; + font-size:11px; + line-height:16px; + } +/** + * Player statistics + */ + TABLE#stats { + position:absolute; + top:321px; + left:575px; + width: 116px; + } + TABLE#stats td { + text-align:right; + white-space: nowrap; + } + TABLE#stats th { + text-align:left; + white-space: nowrap; + } +/** + * Linkbar + */ + DIV#page DIV.menu A { + color:#263315; + } + DIV#menu SPAN.copyright { + font-size:10px; + display: block; + direction: ltr; + } + DIV#menu SPAN.copyright A { + font-weight: normal; + text-decoration: none; + color: #00000; + } + DIV#menu SPAN.copyright A:hover { + text-decoration: underline; + } +/** + * Login-Box + */ + DIV#loginBox { + display: block; + position: absolute; + right:6px; + left:414px; + top:604px; + width:540px; + height:57px; + background-position: 0px 114px; + } + DIV#loginBox A, + DIV#loginBox SPAN { + display:block; + position:absolute; + font-size: 11px; + font-weight:bold; + color:#000; + } + DIV#loginBox SPAN.one { + width:6px; + height:57px; + background-position: 0px top; + left:-2px; + } + DIV#loginBox SPAN.two { + width:6px; + height:57px; + background-position: 0px bottom; + right:-2px; + } + DIV#loginBox A.loginButton { + top:19px; + right: 12px; + width:99px; + height:28px; + } + DIV#transferBox A.transferButton { + top:19px; + right: 12px; + width:99px; + height:28px; + } + DIV#loginBox A.loginButton span { + position:relative; + } + DIV#loginBox DIV.loginName { + position:absolute; + top:19px; + right:262px; + } + DIV#loginBox DIV.password { + position:absolute; + top:19px; + right:125px; + } + DIV#loginBox INPUT.loginTextField { + width:116px; + height:20px; + padding:3px 0px 0px 4px; + } + DIV#loginBox DIV.loginName INPUT.loginTextField { + height:18px; + padding:5px 0px 0px 4px; + } +/** + * External Elements + */ + DIV#page DIV#loginBox DIV.socialLinkFacebook { + position: absolute; + display: block; + width: 24px; + height: 24px; + right: -3px; + top: -27px; + cursor: pointer; + } + DIV#fbMenu { + bottom: 23px; + position: absolute; + left: 10px; + top: 42px; + z-index:1; + display: none; + } + DIV#fbMenu A { + display: block; + position: relative; + height: 6px; + width: 100%; + line-height: 6px; + text-align: center; + padding: 6px; + font-weight: bold; + text-decoration: none; + background-color: #fff; + color: #3B5998; + border: #BDC7D8 1px solid; + margin-top: -1px; + } + DIV#fbMenu A.first { + } + DIV#fbMenu A:hover { + background-color: #3B5998; + color: #fff; + border-color: #3B5998; + } + DIV#loginBox A#fbConnectLogin, + A.fbConnectLogin { + display: block; + width:81px; + height:22px; + position: relative; + } + DIV#loginBox A#fbConnectLogin { + position: absolute; + left: 15px; + top: 19px; + } + DIV#loginBox A#fbConnectLogin.dropdown { + width: 94px; + left: 10px; + } + DIV#loginBox A#fbConnectShowMenu { + display: block; + height: 22px; + width: 18px; + position: absolute; + top: 19px; + left: 86px; + z-index: 5; + } + DIV.register A#fbConnectRegister { + position: absolute; + display: block; + width: 81px; + height: 22px; + left: 186px; + top: 2px; + } + IMG.fbLink { + margin-bottom: -2px; + } + DIV.register A#fbAlreadyRegistered { + display: block; + margin-top: 20px; + } + SPAN.fbOr { + font-weight: bold; + } + DIV.fb { + width: 25px; + height: 25px; + float: left; + margin-right:11px; + } + DIV.fb DIV.column { + width: 150px; + float: left; + } + DIV.fb DIV.column INPUT { + width: 130px; + } + DIV#loginBox SPAN.fbOr { + left: 109px; + top: 22px; + position: absolute; + display: block; + font-size: 14px; + width: 35px; + text-align: center; + } + DIV.register SPAN.fbOr { + display:block; + left:139px; + position:absolute; + top:3px; + } + DIV.forgot INPUT.formTextField { + display: inline; + } +/** + * Partners + */ + DIV#page A.stamp { + display:block; + position:absolute; + width:116px; + height:117px; + left:21px; + top:585px; + } + DIV#page A.stamp.alternate { + background-position:-116px; + display:none; + } + DIV#page A.stamp.pro7 { + /*background-position:-232px; old logo*/ + background-position:-348px; + top:15px; + left:60px; + } + DIV#page A.stamp.alternate.pro7 { + background-position:-348px; + } + DIV#page A.stamp.sat1 { + /*background-position:-232px; old logo*/ + background-position:-464px; + top:15px; + left:60px; + } + DIV#page A.stamp.alternate.sat1 { + background-position:-580px; + } + + DIV#page A.hidden { + display:none; + } + DIV#loginBox SPAN.labelLogin { + right:266px; + top:4px; + color: #403120; + width: 116px; + } + DIV#loginBox SPAN.labelPassword { + right: 130px; + top:4px; + color: #403120; + width: 116px; + } + DIV#loginBox A.forgotPassword { + left: 14px; + top:61px; + color:#263315; + } + DIV#loginBox SPAN.register { + right: 14px; + top:61px; + width:240px; + color:#263315; + text-align: right; + } + DIV#loginBox SPAN.register A { + display:inline; + position:relative; + color:#263315; + } +/** + * LoginBox (Error-Bubble) + */ + DIV#loginBox DIV.loginError { + position:absolute; + bottom:60px; + left:0px; + z-index:1000; + } + DIV#loginBox DIV.loginError DIV { + width:401px; + background-repeat:repeat-y; + } + DIV#loginBox DIV.loginError A { + position:relative; + display:inline; + } + DIV#loginBox DIV.loginError DIV.top { + height:12px; + background-position: bottom left; + } + DIV#loginBox DIV.loginError DIV.mid { + background-position: top right; + text-align:center; + color:white; + padding-top:2px; + } + DIV#loginBox DIV.loginError DIV.bottom { + height:12px; + background-position: top center; + } +/** + * Speech Bubbles + */ + DIV#page DIV.bubble { + display:none; + position:absolute; + width:169px; + background-position:338px top; + z-index:200; + } + DIV#page DIV.bubble DIV.top { + width:169px; + height:20px; + background-position:0 17px; + background-repeat:no-repeat; + } + DIV#page DIV.bubble DIV.bottom { + width:169px; + height:20px; + background-position:-338px top; + background-repeat:no-repeat; + } + DIV#page DIV.bubble DIV.content { + background-position:-169px top; + padding:14px 12px; + line-height:18px; + text-align:center; + } + DIV#page DIV.petBubble { + bottom: 179px; + left: 169px; + } + DIV#page DIV.maleBubble { + bottom: 335px; + left: 289px; + } + DIV#page DIV.femaleBubble { + left: 746px; + bottom: 301px; /* Als "Bottom" definiert, damit sie bei anderen Sprachen nach oben wächst/schrumpft */ + } +/** + * Generic Widgets + */ + INPUT.loginTextField { + background-color:transparent; + border-color:#d9d9d9; + border-style:solid; + border-width:0px 1px 1px 0px; + } + INPUT.formTextField { + display:block; + width:229px; + background-color:transparent; + border: #a69f74 1px solid; + height:24px; + font-size:16px; + padding:4px 4px 0px 4px; + margin:0px; + background:white; + } + INPUT.formTextField.err { + border-color:#ee5759; + border-style:solid; + border-width: 1px 2px 2px 1px; + } + INPUT.formTextField.mini { + width:55px; + margin-right:7px; + } + INPUT.formTextField.minimini { + width:30px; + } + DIV.codeEntry { + height:54px; + margin:-12px 0px -2px 0px; + } + TABLE.codeEntry { + margin-left:-3px; + } + LABEL { + font-weight:bold; + height:13px; + padding-top:2px; + *margin-top:-1px; + *margin-bottom:-1px; + display:block; + } + A.button { + display:block; + height:28px; + text-align:center; + line-height:25px; + color: #000; + text-decoration:none; + background-position:0 top; + } + A.button:hover { + text-decoration:none; + background-position:0 bottom; + } + BODY.portal A.button SPAN { + position: relative; + display:block; + float:right; + width:4px; + margin-right:-4px; + height:28px; + background-position:4px top; + } + A.button:hover SPAN { + text-decoration:none; + background-position:4px bottom; + } + A.submit { + width:120px; + margin-bottom: 20px; + } + A.sendActMail { + width:180px; + } + A.submit SPAN { + } + DIV.dialog DIV.formError { + } + DIV.dialog DIV.formError.off { + display:none; + } + DIV.dialog DIV.formError DIV { + width:438px; + } + DIV.dialog DIV.formError DIV.top { + height:20px; + background-position:0 bottom; + background-repeat:no-repeat; + } + DIV.dialog DIV.formError DIV.mid { + background-position: 438px top; + text-align:center; + color:#f11616; + font-weight:bold; + } + DIV.dialog DIV.formError DIV.bottom { + height:20px; + background-position:-438px 0px; + background-repeat:no-repeat; + } +/** + * Dialogs (all) + */ + DIV.dialog { + display: none; + position: absolute; + left: 50%; + top: 100px; + z-index: 1001; + color: #403120; + padding-left: 67px; + background-repeat: no-repeat; + background-position:left bottom; + color: #403120; + } + DIV.dialog A { + font-weight:normal; + color: #403120; + } + DIV.dialog A.inactive{ + color: #bbbbbb; + } + DIV.dialog A.button { + font-weight:bold; + } + DIV.dialog H1 { + font-size:24px; + margin:18px 0px 0px 0px; + } + DIV.dialog H2 { + margin:0px 0px 0px 0px; + font-size:16px; + white-space:nowrap; + } + DIV.dialog H3 { + margin:0px 0px 0px 0px; + font-size:12px; + } + DIV.dialog H1.caption { + display:none; + } + DIV.dialog DIV.content { + position:absolute; + top:0px; + left:70px; + } + DIV.dialog INPUT { + color: #000; + } + DIV.register DIV.column { + float:left; + width:220px; + } + DIV.register DIV.submitBox { + position: relative; + } + DIV.dialog A.close { + display: block; + float:right; + position:relative; + width: 39px; + height: 39px; + background-position:0 top; + z-index:1500; + } + DIV.dialog A.close:hover { + background-position:0 bottom; + } + DIV.dialog H1 { + margin-bottom: 16px; + height:16px; + } + DIV.dialog DIV.center { + width: 594px; + } + DIV.dialog DIV.formpage { + width:460px; + } +/** + * Dialog (Big) + */ + DIV.dialogBig { + width: 650px; + height: 683px; + margin-left: -325px; + } + + DIV.dialogBig DIV.center { + width: 594px; + padding-top: 63px; + } +/** + * Dialog (Medium) + */ + DIV.dialogMedium { + width: 570px; + height: 508px; + margin-left: -285px; + } + DIV.dialogMedium DIV.center { + margin-left:20px; + width: 594px; + padding-top: 83px; + } +/** + * Dialog (Wide) + */ + DIV.dialogWide { + top:px; + width: 850px; + margin-left: -425px; + } + DIV.dialogWide A.close { + left:-25px; + top:-15px; + } +/** + * Dialog (Registration) + */ + DIV.register DIV.options { + margin-left:42px; + width:120px; + } + DIV.register DIV.options TABLE { + margin-top:8px; + } + DIV.register DIV.options TH { + height:18px; + padding:0px 10px; + } + DIV.register TABLE.rules { + margin:12px 0px 12px -3px; + } + DIV.register TABLE.rules TH { + width:25px; + vertical-align: top; + } + DIV.register DIV.note { + font-size:10px; + } + DIV.register DIV.formError { + position:absolute; + top:52px; + } + DIV.register DIV#registrationMan { + position:absolute; + width:50px; + height:50px; + top:260px; + left:350px; + } + DIV.register.boxcode DIV#registrationMan { + top:306px; + } + DIV.register DIV#registrationManCont { + display:inline; + } + BODY.partner DIV#formpageRegister H1 { + margin-top: 0px; + } + BODY.partner DIV#formpageRegister DIV#errmsgFrame { + background-color: #F9F7EB; + top: 57px; + } + BODY.partner FORM#registerForm { + } + BODY.partner TABLE#register_agb { + margin-top: 6px; + margin-bottom: 6px; + } +/** + * Dialog (Imprint) + */ +DIV.imprint { + margin-top: -32px; +} + +/** + * Adaption for low resolutions + */ + DIV#adaptor { + position:relative; + left:0px; + top:0px; + } + DIV#page DIV.adapted A.stamp { + top:570px; + } + DIV#page DIV.adapted DIV.menu { + top:662px; + } +/** + * Marking for erroneous form fields + */ + DIV.register .errmark, DIV.loginBox .errmark { + border:2px red solid; + position:relative; + top:-2px; + left:-2px; + } +/** + * Form elements positioning + */ + DIV.register TABLE#register_race.errmark { + margin-bottom:-4px; + } + DIV.register INPUT#register_name.errmark, + DIV.register INPUT#register_password.errmark, + DIV.register INPUT#register_confirm.errmark, + DIV.register INPUT#register_email.errmark { + height:22px; + } + DIV.register TABLE#register_agb { + height:24px; + line-height: 12px; + margin-top: 25px; + } + DIV.register TABLE#register_boxcode { + height:24px; + } + DIV.register DIV.note { + margin-bottom:-3px; + } + +/** + * Registration Man + */ + DIV.race_1 { + background-image:url(/img/ani/roemer_stand.gif); + } + DIV.race_2 { + background-image:url(/img/ani/germane_stand.gif); + } + DIV.race_3 { + background-image:url(/img/ani/gallier_stand.gif); + } + DIV.female DIV.race_1 { + background-image:url(/img/ani/roemerin_stand.gif); + } + DIV.female DIV.race_2 { + background-image:url(/img/ani/germanin_stand.gif); + } + DIV.female DIV.race_3 { + background-image:url(/img/ani/gallierin_stand.gif); + } + +/** + * Dialog (Screenshots) + */ + DIV.dialog DIV.screenshot TABLE { + position:relative; + width:800px; + left:0px; + } + DIV.dialog DIV.screenshot TD { + color:#fff; + text-align:center; + font-weight:bold; + } + DIV.dialog DIV.screenshot A.navi { + display:block; + width:53px; + height:53px; + } + DIV.dialog DIV.screenshot A.navi.prev { + background-position:top left; + } + DIV.dialog DIV.screenshot A.navi.next { + background-position:top right; + } + DIV.dialog DIV.screenshot A.navi.prev:hover { + background-position:bottom left; + } + DIV.dialog DIV.screenshot A.navi.next:hover { + background-position:bottom right; + } + DIV.dialog DIV.screenshot A.navi.prev.disable:hover { + background-position:top left; + cursor:default; + } + DIV.dialog DIV.screenshot A.navi.next.disable:hover { + background-position:top right; + cursor:default; + } +/** + * Dialog (Forum) + */ + DIV.forum { + height: 483px; + + } + DIV#forumScroll { + position: relative; + height: 140px; + overflow: hidden; + } + DIV#forumScroll P { + padding: 0px; + margin: 0px; + width: 415px; + position: absolute; + top: 0px; + } + DIV#forumBar { + position: absolute; + top: 19px; + right: 0px; + width: 18px; + height: 102px; + } + A#forumDot { + display: block; + position: absolute; + width: 12px; + height: 29px; + margin-left: 3px; + background-position:0 top; + } + A#forumDot:hover { + background-position:0 bottom; + } + A#scrollUp,A#scrollDown { + position: absolute; + right: 0px; + display: block; + width: 18px; + height: 19px; + background-position:0 top; + } + A#scrollUp { + top: 0px; + } + A#scrollDown { + top: 121px; + } + A#scrollUp:hover,A#scrollDown:hover { + background-position:0 bottom; + } +/** + * Dialog (Trailer) + */ + OBJECT#trailer { + position:absolute; + top:50px; + left:50px; + } + DIV.trailer A.close { + left:-135px; + top:15px; + } + +/** + * Dialog (Boxcode-Entry) + */ + DIV.loginExtended DIV.formError { + margin-bottom:-14px; + } +/** + * Form Elements + */ + A.checkbox { + display: block; + width: 14px; + height: 13px; + background-position:0 top; + } + A.checkbox:hover { + background-position:0 center; + } + A.radioButton { + display: block; + width: 14px; + height: 14px; + background-position:0 top; + } + A.radioButton:hover { + background-position:0 center; + } + INPUT.styledCheckbox, INPUT.styledRadio { + display: none; + } + INPUT.hiddenSubmit { + display:inline; + height:0px; + width:0px; + line-height: 0; + border: 0; + padding:0; + margin:0; + } +/** + * Stats + */ + IFRAME.forum { + display:block; + position:absolute; + top:120px; + left:0px; + border-width: 2px 0px 0px 2px; + border-style: solid; + border-color: + } +/** + * Messages + */ + DIV#loadNotify { + position:absolute; + width: 100px; + height: 100px; + top:0; + left:0; + background-repeat:no-repeat; + z-index: 1000; + display: none; + } +/** + * Newsbox + */ +DIV#page DIV#newsbox { + position:absolute; + width:303px; + height:426px; + top:136px; + left:480px; +} +DIV#page DIV#newstext1, +DIV#page DIV#newstext2 { + position:absolute; + top:252px; + left:43px; + width:219px; + text-align:center; +} +DIV#page DIV#newstext2 { + top:350px; +} +DIV#page DIV#newsbox b { + color: #a41515; +} +DIV#page DIV#newsbox a { + font-weight: normal; + text-decoration: underline; +} +BODY.newsbox DIV#page DIV#spider { + display: none; +} +BODY.newsbox DIV#page DIV#mouse { + top:-85px; +} +BODY.newsbox DIV#page DIV#mousecover { + top:-90px; +} +BODY.newsbox DIV#page A.trailer { + top:183px; +} +BODY.newsbox DIV#page A.screenshots { + top: 218px; +} +BODY.newsbox TABLE#stats { + top:256px; +} +BODY.newsbox DIV#page A.playfree { + top: 315px; +} +/** + * Misc + */ +div#StartseitenDescription { + line-height: 16px; + width: 257px; + left: -50px; + padding-top: 10px; + position: absolute; + top: 650px; + z-index: 100; +} +div#StartseitenDescription div.descHeader { + background-image : url('../img/portal/interface/textfeld257_1.png'); + background-repeat: no-repeat; + width: 257px; + height: 53px; +} + +div#StartseitenDescription div.descContent { + background-image : url('../img/portal/interface/textfeld257_2.png'); + width: 227px; + padding-left: 20px; + padding-right: 10px; +} + +div#StartseitenDescription div.descFooter { + background-image : url('../img/portal/interface/textfeld257_3.png'); + background-repeat: no-repeat; + width: 257px; + height: 38px; +} + +DIV#betaSign { + color:red; + font-size:16px; + font-style:italic; + font-weight:bold; + right:240px; + position:absolute; + text-transform:uppercase; + top:115px; +} +/** + * Background Images + */ +/* + * Default + */ + .interface_background { + background-image : url('../img/portal/interface/background.jpg'); + } + .interface_chars { + background-image : url('../img/portal/interface/chars/chars.jpg'); + } + .interface_chars_mouse { + background-image:url('/img/portal/interface/chars/mouse.png'); + } + .interface_playfree { + background-image : url('../img/lang/de/portal/interface/playfree.gif'); + } + .interface_logo { + background-image : url('../img/lang/de/portal/interface/logo.gif'); + } + .interface_trailer { + background-image : url('../img/lang/de/portal/interface/trailer.gif'); + } + .interface_screenshots { + background-image : url('../img/lang/de/portal/interface/screenshots.gif'); + } + .interface_loginbox { + background-image : url('../img/portal/interface/loginbox.gif'); + } + .interface_forms_button_loginbutton { + background-image : url('../img/portal/interface/forms/button/loginbutton.png'); + } + .interface_forms_button_button { + background-image : url('../img/portal/interface/forms/button/button.png'); + } + .interface_textfield { + background-image : url('../img/portal/interface/loginfield.gif'); + } + .interface_stamp { + background-image : url('../img/portal/interface/stamp.gif'); + } + .interface_errmsg_loginerror { + background-image : url('../img/portal/interface/errmsg/loginerror.png'); + } + .interface_facebook_24 { + background-image : url('../img/portal/interface/facebook_24.gif'); + } +/** + * Bubble + */ + .interface_bubble { + background-image : url('../img/portal/interface/bubble.png'); + } +/** + * Dialog Big + */ + .interface_dialog_big_background { + background-image : url('../img/portal/interface/dialog/big/background.gif'); + } + .interface_dialog_close { + background-image : url('../img/portal/interface/dialog/close.png'); + } +/** + * Dialog Medium + */ + .interface_dialog_medium_background { + background-image : url('../img/portal/interface/dialog/medium/background.gif'); + } +/** + * Screenshots + */ + .interface_dialog_screenshots_arrows { + background-image : url('../img/portal/interface/dialog/screenshots/arrows.png'); + } +/** + * Scroller + */ + .interface_scroll_up { + background-image : url('../img/portal/interface/scroll/up.png'); + } + .interface_scroll_down { + background-image : url('../img/portal/interface/scroll/down.png'); + } + .interface_scroll_dot { + background-image : url('../img/portal/interface/scroll/dot.gif'); + } + .interface_scroll_tile { + background-image : url('../img/portal/interface/scroll/tile.gif'); + } +/** + * Form Elements + */ + .interface_forms_checkbox_off { + background-image : url('../img/portal/interface/forms/checkbox/off.png'); + } + .interface_forms_checkbox_on { + background-image : url('../img/portal/interface/forms/checkbox/on.png'); + } + .interface_forms_radio_off { + background-image : url('../img/portal/interface/forms/radio/off.png'); + } + .interface_forms_radio_on { + background-image : url('../img/portal/interface/forms/radio/on.png'); + } +/** + * messages + */ + .interface_errmsg_form { + background-image : url('../img/portal/interface/errmsg/form.png'); + } + .interface_ajax_loader_white { + background-image : url('../img/portal/interface/ajax-loader-white.gif'); + } +/** + * External + */ + .interface_fbconnect { + background-image : url('../img/portal/interface/fb-connect.gif'); + } + .interface_fbconnect_dropdown { + background-image : url('../img/portal/interface/fb-connect-dropdown.gif'); + } + .interface_fbconnect_large { + background-image : url('../img/portal/interface/fb-connect-large.gif'); + } + .interface_fb { + background-image : url('../img/portal/interface/fb.gif'); + } +/** + * Newsboxes + */ + .interface_newsbox1 { + background-image : url('../img/portal/interface/newsbox1.jpg'); + } + .interface_newsbox2 { + background-image : url('../img/portal/interface/newsbox2.jpg'); + } + +/** + * Help + */ + #helpPlayerTitle { + text-align: center; + font-seize: 10pt; + font-weight: bold; + width:450px; + margin-bottom: 5px; + } + div.dialogMedium A.playfree { + position: absolute; + display: none; + left:120px; + } \ No newline at end of file diff --git a/img/travian_basics.css b/img/travian_basics.css index c1d82c1c..2865b61d 100644 --- a/img/travian_basics.css +++ b/img/travian_basics.css @@ -1,5 +1,4 @@ @CHARSET "UTF-8"; /* ------------------- New CSS styles ------------------- */ -/* ------------------------------------------------------ */ - +/* ------------------------------------------------------ */ \ No newline at end of file diff --git a/nachrichten.php b/nachrichten.php index c7e301a0..94dad1bc 100644 --- a/nachrichten.php +++ b/nachrichten.php @@ -17,7 +17,6 @@ $message->procMessage($_POST); if(isset($_GET['t'])){ $automation->isWinner(); } -if(($_GET['id'])==5 or $session->access!=BANNED){ //replace 5 with your admin's id ?> @@ -127,9 +126,4 @@ echo round(($generator->pageLoadTimeEnd()-$start)*1000);
- - \ No newline at end of file + \ No newline at end of file diff --git a/spieler.php b/spieler.php index e1f17651..80f5cf4a 100644 --- a/spieler.php +++ b/spieler.php @@ -127,32 +127,16 @@ if(isset($_GET['uid'])) { } else if (isset($_GET['s'])) { if($_GET['s'] == 1) { - if($session->access!=BANNED){ include("Templates/Profile/profile.tpl"); - }else{ - header("Location: banned.php"); - } } if($_GET['s'] == 2) { - if($session->access!=BANNED){ include("Templates/Profile/preference.tpl"); - }else{ - header("Location: banned.php"); - } } if($_GET['s'] == 3) { - if($session->access!=BANNED){ include("Templates/Profile/account.tpl"); - }else{ - header("Location: banned.php"); - } } if($_GET['s'] == 4) { - if($session->access!=BANNED){ include("Templates/Profile/graphic.tpl"); - }else{ - header("Location: banned.php"); - } } } ?>