mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-03 11:04:24 +00:00
Merge pull request #10 from kylesv/master
Russian localization and multilingual
This commit is contained in:
+45
-45
@@ -9,7 +9,7 @@
|
||||
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
|
||||
## ##
|
||||
#################################################################################
|
||||
|
||||
include ("./GameEngine/Lang/".LANG.".php");
|
||||
|
||||
class Building {
|
||||
|
||||
@@ -178,51 +178,51 @@ class Building {
|
||||
}
|
||||
|
||||
public function procResType($ref) {
|
||||
global $session;
|
||||
global $session, $lang;
|
||||
switch($ref) {
|
||||
case 1: $build = "Woodcutter"; break;
|
||||
case 2: $build = "Clay Pit"; break;
|
||||
case 3: $build = "Iron Mine"; break;
|
||||
case 4: $build = "Cropland"; break;
|
||||
case 5: $build = "Sawmill"; break;
|
||||
case 6: $build = "Brickyard"; break;
|
||||
case 7: $build = "Iron Foundry"; break;
|
||||
case 8: $build = "Grain Mill"; break;
|
||||
case 9: $build = "Bakery"; break;
|
||||
case 10: $build = "Warehouse"; break;
|
||||
case 11: $build = "Granary"; break;
|
||||
case 12: $build = "Blacksmith"; break;
|
||||
case 13: $build = "Armoury"; break;
|
||||
case 14: $build = "Tournament Square"; break;
|
||||
case 15: $build = "Main Building"; break;
|
||||
case 16: $build = "Rally Point"; break;
|
||||
case 17: $build = "Marketplace"; break;
|
||||
case 18: $build = "Embassy"; break;
|
||||
case 19: $build = "Barracks"; break;
|
||||
case 20: $build = "Stable"; break;
|
||||
case 21: $build = "Workshop"; break;
|
||||
case 22: $build = "Academy"; break;
|
||||
case 23: $build = "Cranny"; break;
|
||||
case 24: $build = "Town Hall"; break;
|
||||
case 25: $build = "Residence"; break;
|
||||
case 26: $build = "Palace"; break;
|
||||
case 27: $build = "Treasury"; break;
|
||||
case 28: $build = "Trade Office"; break;
|
||||
case 29: $build = "Great Barracks"; break;
|
||||
case 30: $build = "Great Stable"; break;
|
||||
case 31: $build = "City Wall"; break;
|
||||
case 32: $build = "Earth Wall"; break;
|
||||
case 33: $build = "Palisade"; break;
|
||||
case 34: $build = "Stonemason's Lodge"; break;
|
||||
case 35: $build = "Brewery"; break;
|
||||
case 36: $build = "Trapper"; break;
|
||||
case 37: $build = "Hero's Mansion"; break;
|
||||
case 38: $build = "Great Warehouse"; break;
|
||||
case 39: $build = "Great Granary"; break;
|
||||
case 40: $build = "Wonder of the World"; break;
|
||||
case 41: $build = "Horse Drinking Trough"; break;
|
||||
case 42: $build = "Great Workshop"; break;
|
||||
default: $build = "Error"; break;
|
||||
case 1: $build = $lang['buildings'][1]; break;
|
||||
case 2: $build = $lang['buildings'][2]; break;
|
||||
case 3: $build = $lang['buildings'][3]; break;
|
||||
case 4: $build = $lang['buildings'][4]; break;
|
||||
case 5: $build = $lang['buildings'][5]; break;
|
||||
case 6: $build = $lang['buildings'][6]; break;
|
||||
case 7: $build = $lang['buildings'][7]; break;
|
||||
case 8: $build = $lang['buildings'][8]; break;
|
||||
case 9: $build = $lang['buildings'][9]; break;
|
||||
case 10: $build = $lang['buildings'][10]; break;
|
||||
case 11: $build = $lang['buildings'][11]; break;
|
||||
case 12: $build = $lang['buildings'][12]; break;
|
||||
case 13: $build = $lang['buildings'][13]; break;
|
||||
case 14: $build = $lang['buildings'][14]; break;
|
||||
case 15: $build = $lang['buildings'][15]; break;
|
||||
case 16: $build = $lang['buildings'][16]; break;
|
||||
case 17: $build = $lang['buildings'][17]; break;
|
||||
case 18: $build = $lang['buildings'][18]; break;
|
||||
case 19: $build = $lang['buildings'][19]; break;
|
||||
case 20: $build = $lang['buildings'][20]; break;
|
||||
case 21: $build = $lang['buildings'][21]; break;
|
||||
case 22: $build = $lang['buildings'][22]; break;
|
||||
case 23: $build = $lang['buildings'][23]; break;
|
||||
case 24: $build = $lang['buildings'][24]; break;
|
||||
case 25: $build = $lang['buildings'][25]; break;
|
||||
case 26: $build = $lang['buildings'][26]; break;
|
||||
case 27: $build = $lang['buildings'][27]; break;
|
||||
case 28: $build = $lang['buildings'][28]; break;
|
||||
case 29: $build = $lang['buildings'][29]; break;
|
||||
case 30: $build = $lang['buildings'][30]; break;
|
||||
case 31: $build = $lang['buildings'][31]; break;
|
||||
case 32: $build = $lang['buildings'][32]; break;
|
||||
case 33: $build = $lang['buildings'][33]; break;
|
||||
case 34: $build = $lang['buildings'][34]; break;
|
||||
case 35: $build = $lang['buildings'][35]; break;
|
||||
case 36: $build = $lang['buildings'][36]; break;
|
||||
case 37: $build = $lang['buildings'][37]; break;
|
||||
case 38: $build = $lang['buildings'][38]; break;
|
||||
case 39: $build = $lang['buildings'][39]; break;
|
||||
case 40: $build = $lang['buildings'][40]; break;
|
||||
case 41: $build = $lang['buildings'][41]; break;
|
||||
case 42: $build = $lang['buildings'][42]; break;
|
||||
default: $build = $lang['buildings'][43]; break;
|
||||
}
|
||||
return $build;
|
||||
}
|
||||
|
||||
@@ -98,6 +98,7 @@ class Generator {
|
||||
}
|
||||
|
||||
public function procMtime($time, $pref = 3) {
|
||||
global $lang;
|
||||
/*
|
||||
$timezone = 7;
|
||||
switch($timezone) {
|
||||
@@ -111,9 +112,9 @@ public function procMtime($time, $pref = 3) {
|
||||
|
||||
$today = date('d',time())-1;
|
||||
if (date('Ymd',time()) == date('Ymd',$time)) {
|
||||
$day = "today";
|
||||
$day = $lang['upgrade'][11]; //today
|
||||
}elseif($today == date('d',$time)){
|
||||
$day = "yesterday";
|
||||
$day = $lang['upgrade'][12]; //yesterday
|
||||
}
|
||||
else {
|
||||
switch($pref) {
|
||||
|
||||
+100
-2
@@ -23,6 +23,8 @@ define("TRIBE6","Monsters");
|
||||
define("HOME","Homepage");
|
||||
define("INSTRUCT","Instructions");
|
||||
define("ADMIN_PANEL","Admin Panel");
|
||||
define("MULTIHUNTER_PAN","Multihunter Panel");
|
||||
define("CREATE_NAT","Create Natars");
|
||||
define("MASS_MESSAGE","Mass Message");
|
||||
define("LOGOUT","Logout");
|
||||
define("PROFILE","Profile");
|
||||
@@ -31,6 +33,7 @@ define("UPDATE_T_10","Update Top 10");
|
||||
define("SYSTEM_MESSAGE","System message");
|
||||
define("TRAVIAN_PLUS","Travian <b><span class=\"plus_g\">P</span><span class=\"plus_o\">l</span><span class=\"plus_g\">u</span><span class=\"plus_o\">s</span></span></span></b>");
|
||||
define("CONTACT","Contact us!");
|
||||
define("GAME_RULES","Game Rules");
|
||||
|
||||
//MENU
|
||||
define("REG","Register");
|
||||
@@ -93,6 +96,7 @@ define("IRON","Iron");
|
||||
define("CROP","Crop");
|
||||
define("LEVEL","Level");
|
||||
define("CROP_COM",CROP." consumption");
|
||||
define("DURATION","duration");
|
||||
define("PER_HR","per hour");
|
||||
define("PROD_HEADER","Production");
|
||||
define("MULTI_V_HEADER","Villages");
|
||||
@@ -101,12 +105,13 @@ define("GO2MY_VILLAGE","Go to my village");
|
||||
define("VILLAGE_CENTER","Village centre");
|
||||
define("FINISH_GOLD","Finish all construction and research orders in this village immediately for 2 Gold?");
|
||||
define("WAITING_LOOP","(waiting loop)");
|
||||
define("HRS","(hrs.)");
|
||||
define("HRS","hrs.");
|
||||
define("DONE_AT","done at");
|
||||
define("CANCEL","cancel");
|
||||
define("LOYALTY","Loyalty:");
|
||||
define("CALCULATED_IN","Calculated in");
|
||||
define("SEVER_TIME","Server time:");
|
||||
define("MILISECS","ms");
|
||||
|
||||
//QUEST
|
||||
define("Q_CONTINUE","Continue with the next task.");
|
||||
@@ -352,5 +357,98 @@ define("MASS_SENT","Mass IGM was sent");
|
||||
$lang['register'] = "Register";
|
||||
$lang['login'] = "Login";
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| top_menu
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
$lang['header'] = array (
|
||||
0 => 'Village overview',
|
||||
1 => 'Vilage centre',
|
||||
2 => 'Map',
|
||||
3 => 'Statistics',
|
||||
4 => 'Reports',
|
||||
5 => 'Messages',
|
||||
6 => 'Plus menu');
|
||||
|
||||
$lang['buildings'] = array (
|
||||
1 => "Woodcutter",
|
||||
2 => "Clay Pit",
|
||||
3 => "Iron Mine",
|
||||
4 => "Cropland",
|
||||
5 => "Sawmill",
|
||||
6 => "Brickyard",
|
||||
7 => "Iron Foundry",
|
||||
8 => "Grain Mill",
|
||||
9 => "Bakery",
|
||||
10 => "Warehouse",
|
||||
11 => "Granary",
|
||||
12 => "Blacksmith",
|
||||
13 => "Armoury",
|
||||
14 => "Tournament Square",
|
||||
15 => "Main Building",
|
||||
16 => "Rally Point",
|
||||
17 => "Marketplace",
|
||||
18 => "Embassy",
|
||||
19 => "Barracks",
|
||||
20 => "Stable",
|
||||
21 => "Workshop",
|
||||
22 => "Academy",
|
||||
23 => "Cranny",
|
||||
24 => "Town Hall",
|
||||
25 => "Residence",
|
||||
26 => "Palace",
|
||||
27 => "Treasury",
|
||||
28 => "Trade Office",
|
||||
29 => "Great Barracks",
|
||||
30 => "Great Stable",
|
||||
31 => "City Wall",
|
||||
32 => "Earth Wall",
|
||||
33 => "Palisade",
|
||||
34 => "Stonemason's Lodge",
|
||||
35 => "Brewery",
|
||||
36 => "Trapper",
|
||||
37 => "Hero's Mansion",
|
||||
38 => "Great Warehouse",
|
||||
39 => "Great Granary",
|
||||
40 => "Wonder of the World",
|
||||
41 => "Horse Drinking Trough",
|
||||
42 => "Great Workshop",
|
||||
43 => "Error",
|
||||
44 => " (Level ");
|
||||
|
||||
$lang['fields'] = array (
|
||||
0 => ' Level',
|
||||
1 => 'Woodcutter Level',
|
||||
2 => 'Clay Pit Level',
|
||||
3 => 'Iron Mine Level',
|
||||
4 => 'Cropland Level',
|
||||
5 => 'Outer building site',
|
||||
6 => 'Building site',
|
||||
7 => 'Rally Point building site');
|
||||
|
||||
$lang['npc'] = array (
|
||||
0 => 'NPC trade');
|
||||
|
||||
$lang['upgrade'] = array (
|
||||
0 => 'Building already at max level',
|
||||
1 => 'Building max level under construction',
|
||||
2 => 'Building presently being demolished',
|
||||
3 => '<b>Costs</b> for upgrading to level ',
|
||||
4 => 'The workers are already at work.',
|
||||
5 => 'Not enough food. Expand cropland.',
|
||||
6 => 'Upgrade Warehouse.',
|
||||
7 => 'Upgrade Granary.',
|
||||
8 => 'Enough resources ',
|
||||
9 => ' at ',
|
||||
10 => 'Upgrade to level ',
|
||||
11 => 'today',
|
||||
12 => 'yesterday');
|
||||
|
||||
$lang['movement'] = array (
|
||||
0 => 'in ');
|
||||
|
||||
$lang['troops'] = array (
|
||||
0 => 'none',
|
||||
1 => 'Hero');
|
||||
?>
|
||||
|
||||
@@ -0,0 +1,454 @@
|
||||
<?php
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// TRAVIANX //
|
||||
// Only for advanced users, do not edit if you dont know what are you doing! //
|
||||
// Made by: Dzoki & Dixie (TravianX) //
|
||||
// - TravianX = Travian Clone Project - //
|
||||
// DO NOT REMOVE COPYRIGHT NOTICE! //
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Русский //
|
||||
// Author: kylesv (sV) //
|
||||
/////////////////////////////
|
||||
|
||||
//MAIN MENU
|
||||
define("TRIBE1","Римляне");
|
||||
define("TRIBE2","Германцы");
|
||||
define("TRIBE3","Галлы");
|
||||
define("TRIBE4","Природа");
|
||||
define("TRIBE5","Натары");
|
||||
define("TRIBE6","Монстры");
|
||||
|
||||
define("HOME","Главная");
|
||||
define("INSTRUCT","Инструкции");
|
||||
define("ADMIN_PANEL","Админка");
|
||||
define("MULTIHUNTER_PAN","Мультих. панель");
|
||||
define("CREATE_NAT","Создать Натар");
|
||||
define("MASS_MESSAGE","Сообщение всем");
|
||||
define("LOGOUT","Выйти");
|
||||
define("PROFILE","Профиль");
|
||||
define("SUPPORT","Поддержка");
|
||||
define("UPDATE_T_10","Обновить ТОП 10");
|
||||
define("SYSTEM_MESSAGE","Сист. сообщение");
|
||||
define("TRAVIAN_PLUS","Травиан <b><span class=\"plus_g\">P</span><span class=\"plus_o\">l</span><span class=\"plus_g\">u</span><span class=\"plus_o\">s</span></span></span></b>");
|
||||
define("CONTACT","Связь с нами!");
|
||||
define("GAME_RULES","Правила игры");
|
||||
|
||||
//MENU
|
||||
define("REG","Регистрация");
|
||||
define("FORUM","Форум");
|
||||
define("CHAT","Чат");
|
||||
define("IMPRINT","Распечатать");
|
||||
define("MORE_LINKS","Больше");
|
||||
define("TOUR","Турнир");
|
||||
|
||||
|
||||
//ERRORS
|
||||
define("USRNM_EMPTY","(пустое имя пользователя)");
|
||||
define("USRNM_TAKEN","(Имя уже используется)");
|
||||
define("USRNM_SHORT","(мин. ".USRNM_MIN_LENGTH." символов)");
|
||||
define("USRNM_CHAR","(Неверные символы)");
|
||||
define("PW_EMPTY","(Пустой пароль)");
|
||||
define("PW_SHORT","(мин. ".PW_MIN_LENGTH." символов)");
|
||||
define("PW_INSECURE","(Простой пароль. Придумайте более сложный)");
|
||||
define("EMAIL_EMPTY","(Пустой email)");
|
||||
define("EMAIL_INVALID","(Неправильный email)");
|
||||
define("EMAIL_TAKEN","(Email уже используется)");
|
||||
define("TRIBE_EMPTY","<li>Выберите племя.</li>");
|
||||
define("AGREE_ERROR","<li>Вы должны принять правила игры и общие условия и условия для того, чтобы зарегистрироваться.</li>");
|
||||
define("LOGIN_USR_EMPTY","Введите имя.");
|
||||
define("LOGIN_PASS_EMPTY","Введите паролб.");
|
||||
define("EMAIL_ERROR","Электронный адрес не соответствует существующему");
|
||||
define("PASS_MISMATCH","Пароли не совпадают");
|
||||
define("ALLI_OWNER","Пожалуйста, назначьте владельца перед удалением");
|
||||
define("SIT_ERROR","Уже установленно");
|
||||
define("USR_NT_FOUND","Имя пользователя не существует.");
|
||||
define("LOGIN_PW_ERROR","Пароль неправильный.");
|
||||
define("WEL_TOPIC","Useful tips & information ");
|
||||
define("ATAG_EMPTY","Тэг пуст");
|
||||
define("ANAME_EMPTY","Название пустое");
|
||||
define("ATAG_EXIST","Тэг принят");
|
||||
define("ANAME_EXIST","Название принято");
|
||||
define("NOT_OPENED_YET","Сервер еще не запущен.");
|
||||
|
||||
//COPYRIGHT
|
||||
define("TRAVIAN_COPYRIGHT","TravianX 100% Open Source Travian Clone.");
|
||||
|
||||
//BUILD.TPL
|
||||
define("CUR_PROD","Текущее производство");
|
||||
define("NEXT_PROD","Производство на уровне ");
|
||||
|
||||
//BUILDINGS
|
||||
define("B1","Лесопилка");
|
||||
define("B1_DESC","На лесопилке идет производство древесины. С увеличением уровня развития здания увеличивается его производительность.");
|
||||
define("B2","Глиняный карьер");
|
||||
define("B2_DESC","На глиняном карьере добывают сырье глину. С развитием глиняного карьера увеличивается его производительность.");
|
||||
define("B3","Железный карьер");
|
||||
define("B3_DESC","На железных рудниках шахтеры добывают ценное сырье – железо. С развитием рудника увеличивается его производительность.");
|
||||
define("B4","Ферма");
|
||||
define("B4_DESC","На фермах выращивают зерно для обеспечения продовольствием населения. С развитием фермы увеличивается ее производительность.");
|
||||
|
||||
//DORF1
|
||||
define("LUMBER","Древесина");
|
||||
define("CLAY","Глина");
|
||||
define("IRON","Железо");
|
||||
define("CROP","Зерно");
|
||||
define("LEVEL","Уровень");
|
||||
define("CROP_COM","Потребление зерна");
|
||||
define("DURATION","Время строительства");
|
||||
define("PER_HR","в час");
|
||||
define("PROD_HEADER","Производство");
|
||||
define("MULTI_V_HEADER","Деревни");
|
||||
define("ANNOUNCEMENT","Объявление");
|
||||
define("GO2MY_VILLAGE","Войти в мою деревню");
|
||||
define("VILLAGE_CENTER","Центр деревни");
|
||||
define("FINISH_GOLD","Завершить все строительство и исследования в деревне за 2 золота?");
|
||||
define("WAITING_LOOP","(очередь)");
|
||||
define("HRS","ч.");
|
||||
define("DONE_AT","будет завершено в");
|
||||
define("CANCEL","отмена");
|
||||
define("LOYALTY","Лояльность:");
|
||||
define("CALCULATED_IN","Создана за");
|
||||
define("SEVER_TIME","Время сервера:");
|
||||
define("MILISECS","мс");
|
||||
|
||||
//QUEST
|
||||
define("Q_CONTINUE","Перейти к следующему заданию.");
|
||||
define("Q_REWARD","Ваша награда:");
|
||||
define("Q0","Добро пожаловать ");
|
||||
define("Q0_DESC","As I see you have been made chieftain of this little village. I will be your counselor for the first few days and never leave your (right hand) side.");
|
||||
define("Q0_OPT1","To the first task.");
|
||||
define("Q0_OPT2","Look around on your own.");
|
||||
define("Q0_OPT3","Play no tasks.");
|
||||
|
||||
define("Q1","Task 1: Woodcutter");
|
||||
define("Q1_DESC","There are four green forests around your village. Construct a woodcutter on one of them. Lumber is an important resource for our new settlement.");
|
||||
define("Q1_ORDER","Order:<\/p>Construct a woodcutter.");
|
||||
define("Q1_RESP","Yes, that way you gain more lumber.I helped a bit and completed the order instantly.");
|
||||
define("Q1_REWARD","Woodcutter instantly completed.");
|
||||
|
||||
define("Q2","Task 2: Crop");
|
||||
define("Q2_DESC","Now your subjects are hungry from working all day. Extend a cropland to improve your subjects' supply. Come back here once the building is complete.");
|
||||
define("Q2_ORDER","Order:<\/p>Extend one cropland.");
|
||||
define("Q2_RESP","Very good. Now your subjects have enough to eat again...");
|
||||
|
||||
define("Q3","Task 3: Your Village's Name");
|
||||
define("Q3_DESC","Creative as you are you can grant your village the ultimate name.\r\n<br \/><br \/>\r\nClick on 'profile' in the left hand menu and then select 'change profile'...");
|
||||
define("Q3_ORDER","Order:<\/p>Change your village's name to something nice.");
|
||||
define("Q3_RESP","Wow, a great name for their village. It could have been the name of my village!...");
|
||||
|
||||
define("Q4","Task 4: Other Players");
|
||||
define("Q4_DESC","In ". SERVER_NAME ." you play along with billions of other players. Click 'statistics' in the top menu to look up your rank and enter it here.");
|
||||
define("Q4_ORDER","Order:<\/p>Look for your rank in the statistics and enter it here.");
|
||||
define("Q4_BUTN","complete task");
|
||||
define("Q4_RESP","Exactly! That's your rank.");
|
||||
|
||||
define("Q5","Task 5: Two Building Orders");
|
||||
define("Q5_DESC","Build an iron mine and a clay pit. Of iron and clay one can never have enough.");
|
||||
define("Q5_ORDER","Order:<\/p><ul><li>Extend one iron mine.<\/li><li>Extend one clay pit.<\/li><\/ul>");
|
||||
define("Q5_RESP","As you noticed, building orders take rather long. The world of ". SERVER_NAME ." will continue to spin even if you are offline. Even in a few months there will be many new things for you to discover.\r\n<br \/><br \/>\r\nThe best thing to do is occasionally checking your village and giving you subjects new tasks to do.");
|
||||
|
||||
define("Q6","Message From The Taskmaster");
|
||||
define("Q6_DESC","You are to be informed that a nice reward is waiting for you at the taskmaster.<br /><br />Hint: The message has been generated automatically. An answer is not necessary.");
|
||||
|
||||
define("Q5","Task 5: Two Building Orders");
|
||||
define("Q5_DESC","Build an iron mine and a clay pit. Of iron and clay one can never have enough.");
|
||||
define("Q5_ORDER","Order:<\/p><ul><li>Extend one iron mine.<\/li><li>Extend one clay pit.<\/li><\/ul>");
|
||||
define("Q5_RESP","As you noticed, building orders take rather long. The world of ". SERVER_NAME ." will continue to spin even if you are offline. Even in a few months there will be many new things for you to discover.\r\n<br \/><br \/>\r\nThe best thing to do is occasionally checking your village and giving you subjects new tasks to do.");
|
||||
|
||||
//======================================================//
|
||||
//================ UNITS - DO NOT EDIT! ================//
|
||||
//======================================================//
|
||||
define("U0","Герой");
|
||||
|
||||
//ROMAN UNITS
|
||||
define("U1","Легионер");
|
||||
define("U2","Преторианец");
|
||||
define("U3","Империанец");
|
||||
define("U4","Конный разведчик");
|
||||
define("U5","Конница императора");
|
||||
define("U6","Конница Цезаря");
|
||||
define("U7","Таран");
|
||||
define("U8","Огненная катапульта");
|
||||
define("U9","Сенатор");
|
||||
define("U10","Поселенец");
|
||||
|
||||
//TEUTON UNITS
|
||||
define("U11","Дубинщик");
|
||||
define("U12","Копейщик");
|
||||
define("U13","Топорщик");
|
||||
define("U14","Скаут");
|
||||
define("U15","Паладин");
|
||||
define("U16","Тевтонская конница");
|
||||
define("U17","Стенобитное орудие");
|
||||
define("U18","Катапульта");
|
||||
define("U19","Вождь");
|
||||
define("U20","Поселенец");
|
||||
|
||||
//GAUL UNITS
|
||||
define("U21","Фаланга");
|
||||
define("U22","Мечник");
|
||||
define("U23","Следопыт");
|
||||
define("U24","Тевтатский гром");
|
||||
define("U25","Друид-всадник");
|
||||
define("U26","Эдуйская конница");
|
||||
define("U27","Стенобитное орудие");
|
||||
define("U28","Требушет");
|
||||
define("U29","Предводитель");
|
||||
define("U30","Поселенец");
|
||||
|
||||
//NATURE UNITS
|
||||
define("U31","Крыса");
|
||||
define("U32","Паук");
|
||||
define("U33","Змея");
|
||||
define("U34","Летучая мышь");
|
||||
define("U35","Кабан");
|
||||
define("U36","Волк");
|
||||
define("U37","Медведь");
|
||||
define("U38","Крокодил");
|
||||
define("U39","Тигр");
|
||||
define("U40","Слон");
|
||||
|
||||
//NATARS UNITS
|
||||
define("U41","Пикейщик");
|
||||
define("U42","Дубинщик с шипами");
|
||||
define("U43","Гвардеец");
|
||||
define("U44","Ворон");
|
||||
define("U45","Всадник с топором");
|
||||
define("U46","Рыцарь Натаров");
|
||||
define("U47","Боевой слон");
|
||||
define("U48","Балиста");
|
||||
define("U49","Принц Натаров");
|
||||
define("U50","Поселенец");
|
||||
|
||||
//MONSTER UNITS
|
||||
define("U51","Monster Peon");
|
||||
define("U52","Monster Hunter");
|
||||
define("U53","Monster Warrior");
|
||||
define("U54","Ghost");
|
||||
define("U55","Monster Steed");
|
||||
define("U56","Monster War Steed");
|
||||
define("U57","Monster Ram");
|
||||
define("U58","Monster Catapult");
|
||||
define("U59","Monster Chief");
|
||||
define("U60","Monster Settler");
|
||||
|
||||
//INDEX.php
|
||||
define("LOGIN","Логин");
|
||||
define("PLAYERS","Игроки");
|
||||
define("ONLINE","Онлайн");
|
||||
define("TUTORIAL","Учебник");
|
||||
define("PLAYER_STATISTICS","Статистика пользователя");
|
||||
define("TOTAL_PLAYERS","Общее число игроков");
|
||||
define("ACTIVE_PLAYERS","Активные пользователи");
|
||||
define("ONLINE_PLAYERS",PLAYERS." онлайн");
|
||||
define("MP_STRATEGY_GAME","".SERVER_NAME." - многопользовательская онлайн игра");
|
||||
define("WHAT_IS","".SERVER_NAME." одна из самых популярных браузерных игр в мире. В качестве игрока вы увеличиваете и развиваете свои владения, тренируете войска и вместе с альянсом сражаетесь за господство над игровым миром.");
|
||||
define("REGISTER_FOR_FREE","Зарегистрироваться!");
|
||||
define("LATEST_GAME_WORLD","Новый сервер");
|
||||
define("LATEST_GAME_WORLD2","Зарегистрируйтесь на самом<br/> новом сервере и наслаждайтесь<br/>преимуществом первого игрока.");
|
||||
define("PLAY_NOW","Играть ".SERVER_NAME." сейчас");
|
||||
define("LEARN_MORE","Узнать <br/>больше о ".SERVER_NAME."!");
|
||||
define("LEARN_MORE2","Now with a revolutionised<br>server system, completely new<br>graphics <br>This clone is The Shiz!");
|
||||
define("COMUNITY","Community");
|
||||
define("BECOME_COMUNITY","Become part of our community now!");
|
||||
define("BECOME_COMUNITY2","Become a part of one of<br>the biggest gaming<br>communities in the<br>world.");
|
||||
define("NEWS","Новости");
|
||||
define("SCREENSHOTS","Скриншоты");
|
||||
define("LEARN1","Upgrade your fields and mines to increase your resource production. You will need resources to construct buildings and train soldiers.");
|
||||
define("LEARN2","Construct and expand the buildings in your village. Buildings improve your overall infrastructure, increase your resource production and allow you to research, train and upgrade your troops.");
|
||||
define("LEARN3","View and interact with your surroundings. You can make new friends or new enemies, make use of the nearby oases and observe as your empire grows and becomes stronger.");
|
||||
define("LEARN4","Follow your improvement and success and compare yourself to other players. Look at the Top 10 rankings and fight to win a weekly medal.");
|
||||
define("LEARN5","Receive detailed reports about your adventures, trades and battles. Don't forget to check the brand new reports about the happenings taking place in your surroundings.");
|
||||
define("LEARN6","Exchange information and conduct diplomacy with other players. Always remember that communication is the key to winning new friends and solving old conflicts.");
|
||||
define("LOGIN_TO","Log in to ". SERVER_NAME);
|
||||
define("REGIN_TO","Зарегистрироваться на ". SERVER_NAME);
|
||||
define("P_ONLINE","Players online: ");
|
||||
define("P_TOTAL","Players in total: ");
|
||||
define("CHOOSE","Please choose a server.");
|
||||
define("STARTED"," The server started ". round((time()-COMMENCE)/86400) ." days ago.");
|
||||
|
||||
//ANMELDEN.php
|
||||
define("NICKNAME","Логин");
|
||||
define("EMAIL","Email");
|
||||
define("PASSWORD","Пароль");
|
||||
define("ROMANS","Римляне");
|
||||
define("TEUTONS","Германцы");
|
||||
define("GAULS","Галлы");
|
||||
define("NW","Северо-запад");
|
||||
define("NE","Северо-восток");
|
||||
define("SW","Юго-запад");
|
||||
define("SE","Юго-восток");
|
||||
define("RANDOM","случайно");
|
||||
define("ACCEPT_RULES"," Я согласен с условиями и предупреждениями.");
|
||||
define("ONE_PER_SERVER","Каждый игром имеет право иметь только один аккаунт на сервере.");
|
||||
define("BEFORE_REGISTER","Перед тем как зарегистрироваться прочитайте <a href='../anleitung.php' target='_blank'>инструкции</a> TravianX чтобы понять особенности различных игровых племен на сервере.");
|
||||
define("BUILDING_UPGRADING","Строительство:");
|
||||
define("HOURS","ч.");
|
||||
|
||||
|
||||
//ATTACKS ETC.
|
||||
define("TROOP_MOVEMENTS","Перемещения войск:");
|
||||
define("ARRIVING_REINF_TROOPS","Прибытие войск");
|
||||
define("ARRIVING_REINF_TROOPS_SHORT","Приб.");
|
||||
define("OWN_ATTACKING_TROOPS","Собственные атакующие войска");
|
||||
define("ATTACK","Атака");
|
||||
define("OWN_REINFORCING_TROOPS","Собственные прибивающие войска");
|
||||
define("TROOPS_DORF","Войска:");
|
||||
|
||||
|
||||
//LOGIN.php
|
||||
define("COOKIES","You must have cookies enabled to be able to log in. If you share this computer with other people you should log out after each session for your own safety.");
|
||||
define("NAME","Имя");
|
||||
define("PW_FORGOTTEN","Забыли пароль?");
|
||||
define("PW_REQUEST","Вы можете запросить другой пароль на свой почтовый адрес.");
|
||||
define("PW_GENERATE","Создать новый пароль.");
|
||||
define("EMAIL_NOT_VERIFIED","Email nне принят!");
|
||||
define("EMAIL_FOLLOW","Проследуйте по следующей ссылке чтобы активировать аккаунт.");
|
||||
define("VERIFY_EMAIL","Email подтвержден.");
|
||||
|
||||
|
||||
//404.php
|
||||
define("NOTHING_HERE","Ничего тут!");
|
||||
define("WE_LOOKED","Мы посмотрели 404 раза и ничего не нашли");
|
||||
|
||||
//TIME RELATED
|
||||
define("CALCULATED","Саздана за");
|
||||
define("SERVER_TIME","Время сервера:");
|
||||
|
||||
//MASSMESSAGE.php
|
||||
define("MASS","Сообщение");
|
||||
define("MASS_SUBJECT","Тема:");
|
||||
define("MASS_COLOR","Цвет сообщения:");
|
||||
define("MASS_REQUIRED","Все поля рекомендуемые");
|
||||
define("MASS_UNITS","Картинки (еденицы):");
|
||||
define("MASS_SHOWHIDE","Показать/Скрыть");
|
||||
define("MASS_READ","Read this: after adding smilie, you have to add left or right after number otherwise image will won't work");
|
||||
define("MASS_CONFIRM","Confirmation");
|
||||
define("MASS_REALLY","Do you really want to send MassIGM?");
|
||||
define("MASS_ABORT","Aborting right now");
|
||||
define("MASS_SENT","Mass IGM was sent");
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Index
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
$lang['index'][0][1] = "Welcome to " . SERVER_NAME . "";
|
||||
$lang['index'][0][2] = "Manual";
|
||||
$lang['index'][0][3] = "Play now, for free!";
|
||||
$lang['index'][0][4] = "What is " . SERVER_NAME . "";
|
||||
$lang['index'][0][5] = "" . SERVER_NAME . " is a <b>browser game</b> featuring an engaging ancient world with thousands of other real players.</p><p>It`s <strong>free to play</strong> and requires <strong>no downloads</strong>.";
|
||||
$lang['index'][0][6] = "Click here to play " . SERVER_NAME . "";
|
||||
$lang['index'][0][7] = "Total players";
|
||||
$lang['index'][0][8] = "Players active";
|
||||
$lang['index'][0][9] = "Players online";
|
||||
$lang['index'][0][10] = "About the game";
|
||||
$lang['index'][0][11] = "You will begin as the chief of a tiny village and will embark on an exciting quest.";
|
||||
$lang['index'][0][12] = "Build up villages, wage wars or establish trade routes with your neighbours.";
|
||||
$lang['index'][0][13] = "Play with and against thousands of other real players and conquer the the world of Travian.";
|
||||
$lang['index'][0][14] = "News";
|
||||
$lang['index'][0][15] = "FAQ";
|
||||
$lang['index'][0][16] = "Screenshots";
|
||||
$lang['forum'] = "Forum";
|
||||
$lang['register'] = "Регистрация";
|
||||
$lang['login'] = "Login";
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| top_menu
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
$lang['header'] = array (
|
||||
0 => 'Обзор деревни',
|
||||
1 => 'Центр деревни',
|
||||
2 => 'Карта',
|
||||
3 => 'Статистика',
|
||||
4 => 'Отчеты',
|
||||
5 => 'Сообщения',
|
||||
6 => 'Plus меню');
|
||||
|
||||
$lang['buildings'] = array (
|
||||
1 => "Лесопилка",
|
||||
2 => "Глиняный карьер",
|
||||
3 => "Железный рудник",
|
||||
4 => "Ферма",
|
||||
5 => "Лесопильный завод",
|
||||
6 => "Кирпичный завод",
|
||||
7 => "Сталелитейный завод",
|
||||
8 => "Мукомольная мельница",
|
||||
9 => "Пекарня",
|
||||
10 => "Склад",
|
||||
11 => "Амбар",
|
||||
12 => "Кузня",
|
||||
13 => "Оружейня",
|
||||
14 => "Арена",
|
||||
15 => "Главное здание",
|
||||
16 => "Пункт сбора",
|
||||
17 => "Рынок",
|
||||
18 => "Посольство",
|
||||
19 => "Казарма",
|
||||
20 => "Канюшня",
|
||||
21 => "Мастерская",
|
||||
22 => "Академия",
|
||||
23 => "Тайник",
|
||||
24 => "Ратуша",
|
||||
25 => "Резиденция",
|
||||
26 => "Дворец",
|
||||
27 => "Сокровищница",
|
||||
28 => "Торговая палата",
|
||||
29 => "Большая казарма",
|
||||
30 => "Большая конюшня",
|
||||
31 => "Городская стена",
|
||||
32 => "Земляной вал",
|
||||
33 => "Изгородь",
|
||||
34 => "Каменотес",
|
||||
35 => "Пивоваренный завод",
|
||||
36 => "Капканщик",
|
||||
37 => "Таверна",
|
||||
38 => "Большой склад",
|
||||
39 => "Большой амбар",
|
||||
40 => "Чудо Света",
|
||||
41 => "Водопой",
|
||||
42 => "Большая мастерская",
|
||||
43 => "Ошибка",
|
||||
44 => " (уровень ");
|
||||
|
||||
$lang['fields'] = array (
|
||||
0 => ' уровень',
|
||||
1 => 'Лесопилка уровень',
|
||||
2 => 'Глиняный карьер уровень ',
|
||||
3 => 'Железный рудник уровень',
|
||||
4 => 'Ферма уровень',
|
||||
5 => 'Наружняя строительная площадка',
|
||||
6 => 'Строительная площадка',
|
||||
7 => 'Строительная площадка пункта сбора');
|
||||
|
||||
$lang['npc'] = array (
|
||||
0 => 'NPC торговец');
|
||||
|
||||
$lang['upgrade'] = array (
|
||||
0 => 'Здание уже на максимальном уровне',
|
||||
1 => 'Максимальный уровень здания строится',
|
||||
2 => 'Здание будет снесено',
|
||||
3 => '<b>Стоимость</b> строительства до уровня ',
|
||||
4 => 'Рабочие заняты.',
|
||||
5 => 'Не хватает еды. Развивайте фермы.',
|
||||
6 => 'Постройте склад.',
|
||||
7 => 'Постройте амбар.',
|
||||
8 => 'Достаточно ресурсов будет ',
|
||||
9 => ' в ',
|
||||
10 => 'Улучшить до уровня ',
|
||||
11 => 'сегодня',
|
||||
12 => 'завтра');
|
||||
|
||||
$lang['movement'] = array (
|
||||
0 => 'в ');
|
||||
|
||||
$lang['troops'] = array (
|
||||
0 => 'нет',
|
||||
1 => 'Герой');
|
||||
?>
|
||||
@@ -51,7 +51,7 @@ if ($_SESSON['access'] == MULTIHUNTER) die("<br /><br /><br /><br /><br /><br />
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Language</td>
|
||||
<td><?php if(LANG == en){echo "English";} else if(LANG == es){echo "Spanish";} ?></td>
|
||||
<td><?php if(LANG == en){echo "English";} else if(LANG == es){echo "Spanish";} else if(LANG == ru){echo "Russian";} ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Server Speed</td>
|
||||
|
||||
@@ -42,7 +42,6 @@ include_once ("GameEngine/Ranking.php");
|
||||
<a href="massmessage.php">Mass message</a>
|
||||
<a href="sysmsg.php">System message</a>
|
||||
<a href="medals.php">Update top 10</a>
|
||||
<a href="?p=natarend">Add World Wonder Villages</a>
|
||||
<a href="?p=natarbuildingplan">Add WW Buildingplan Villages</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
+19
-19
@@ -1,66 +1,66 @@
|
||||
<?php
|
||||
$bindicate = $building->canBuild($id,$village->resarray['f'.$id.'t']);
|
||||
if($bindicate == 1) {
|
||||
echo "<p><span class=\"none\">Building already at max level</span></p>";
|
||||
echo "<p><span class=\"none\">".$lang['upgrade'][0]."</span></p>";
|
||||
} else if($bindicate == 10) {
|
||||
echo "<p><span class=\"none\">Building max level under construction</span></p>";
|
||||
echo "<p><span class=\"none\">".$lang['upgrade'][1]."</span></p>";
|
||||
} else if($bindicate == 11) {
|
||||
echo "<p><span class=\"none\">Building presently being demolished</span></p>";
|
||||
echo "<p><span class=\"none\">".$lang['upgrade'][2]."</span></p>";
|
||||
} else {
|
||||
$loopsame = ($building->isCurrent($id) || $building->isLoop($id))?1:0;
|
||||
$doublebuild = ($building->isCurrent($id) && $building->isLoop($id))?1:0;
|
||||
$uprequire = $building->resourceRequired($id,$village->resarray['f'.$id.'t'],($loopsame > 0 ? 2:1)+$doublebuild);
|
||||
?>
|
||||
<p id="contract"><b>Costs</b> for upgrading to level <?php echo $village->resarray['f'.$id]+($loopsame > 0 ? 2:1)+$doublebuild; ?>:<br />
|
||||
<img class="r1" src="img/x.gif" alt="Lumber" title="Lumber" /><span class="little_res"><?php echo $uprequire['wood']; ?></span> | <img class="r2" src="img/x.gif" alt="Clay" title="Clay" /><span class="little_res"><?php echo $uprequire['clay']; ?></span> | <img class="r3" src="img/x.gif" alt="Iron" title="Iron" /><span class="little_res"><?php echo $uprequire['iron']; ?></span> | <img class="r4" src="img/x.gif" alt="Crop" title="Crop" /><span class="little_res"><?php echo $uprequire['crop']; ?></span> | <img class="r5" src="img/x.gif" alt="Crop consumption" title="Crop consumption" /><?php echo $uprequire['pop']; ?> | <img class="clock" src="img/x.gif" alt="duration" title="duration" /><?php echo $generator->getTimeFormat($uprequire['time']);
|
||||
<p id="contract"><?php echo $lang['upgrade'][3]; echo $village->resarray['f'.$id]+($loopsame > 0 ? 2:1)+$doublebuild; ?>:<br />
|
||||
<img class="r1" src="img/x.gif" alt="<?php echo LUMBER; ?>" title="<?php echo LUMBER; ?>" /> <span class="little_res"><?php echo $uprequire['wood']; ?></span> | <img class="r2" src="img/x.gif" alt="<?php echo CLAY; ?>" title="<?php echo CLAY; ?>" /> <span class="little_res"><?php echo $uprequire['clay']; ?></span> | <img class="r3" src="img/x.gif" alt="<?php echo IRON; ?>" title="<?php echo IRON; ?>" /> <span class="little_res"><?php echo $uprequire['iron']; ?></span> | <img class="r4" src="img/x.gif" alt="<?php echo CROP; ?>" title="<?php echo CROP; ?>" /> <span class="little_res"><?php echo $uprequire['crop']; ?></span> | <img class="r5" src="img/x.gif" alt="<?php echo CROP_COM; ?>" title="<?php echo CROP_COM; ?>" /> <?php echo $uprequire['pop']; ?> | <img class="clock" src="img/x.gif" alt="<?php echo DURATION ?>" title="<?php echo DURATION ?>" /><?php echo $generator->getTimeFormat($uprequire['time']);
|
||||
if($session->userinfo['gold'] >= 3 && $building->getTypeLevel(17) >= 1) {
|
||||
echo "|<a href=\"build.php?gid=17&t=3&r1=".$uprequire['wood']."&r2=".$uprequire['clay']."&r3=".$uprequire['iron']."&r4=".$uprequire['crop']."\" title=\"NPC trade\"><img class=\"npc\" src=\"img/x.gif\" alt=\"NPC trade\" title=\"NPC trade\" /></a>";
|
||||
echo "|<a href=\"build.php?gid=17&t=3&r1=".$uprequire['wood']."&r2=".$uprequire['clay']."&r3=".$uprequire['iron']."&r4=".$uprequire['crop']."\" title=\"".$lang['npc'][0]."\"><img class=\"npc\" src=\"img/x.gif\" alt=\"".$lang['npc'][0]."\" title=\"".$lang['npc'][0]."\" /></a>";
|
||||
} ?><br />
|
||||
<?php
|
||||
if($bindicate == 2) {
|
||||
echo "<span class=\"none\">The workers are already at work.</span>";
|
||||
echo "<span class=\"none\">".$lang['upgrade'][4]."</span>";
|
||||
}
|
||||
else if($bindicate == 3) {
|
||||
echo "<span class=\"none\">The workers are already at work. (waiting loop)</span>";
|
||||
echo "<span class=\"none\">".$lang['upgrade'][4]." ".WAITING_LOOP."</span>";
|
||||
}
|
||||
else if($bindicate == 4) {
|
||||
echo "<span class=\"none\">Not enough food. Expand cropland.</span>";
|
||||
echo "<span class=\"none\">".$lang['upgrade'][5]."</span>";
|
||||
}
|
||||
else if($bindicate == 5) {
|
||||
echo "<span class=\"none\">Upgrade Warehouse.</span>";
|
||||
echo "<span class=\"none\">".$lang['upgrade'][6]."</span>";
|
||||
}
|
||||
else if($bindicate == 6) {
|
||||
echo "<span class=\"none\">Upgrade Granary.</span>";
|
||||
echo "<span class=\"none\">".$lang['upgrade'][7]."</span>";
|
||||
}
|
||||
else if($bindicate == 7) {
|
||||
$neededtime = $building->calculateAvaliable($id,$village->resarray['f'.$id.'t'],($loopsame > 0 ? 2:1));
|
||||
echo "<span class=\"none\">Enough resources ".$neededtime[0]." at ".$neededtime[1]."</span>";
|
||||
echo "<span class=\"none\">".$lang['upgrade'][8].$neededtime[0].$lang['upgrade'][9].$neededtime[1]."</span>";
|
||||
}
|
||||
else if($bindicate == 8) {
|
||||
if($session->access==BANNED){
|
||||
echo "<a class=\"build\" href=\"banned.php\">Upgrade to level ";
|
||||
echo "<a class=\"build\" href=\"banned.php\">".$lang['upgrade'][10];
|
||||
}
|
||||
else if($id <= 18) {
|
||||
echo "<a class=\"build\" href=\"dorf1.php?a=$id&c=$session->checker\">Upgrade to level ";
|
||||
echo "<a class=\"build\" href=\"dorf1.php?a=$id&c=$session->checker\">".$lang['upgrade'][10];
|
||||
}
|
||||
else {
|
||||
echo "<a class=\"build\" href=\"dorf2.php?a=$id&c=$session->checker\">Upgrade to level ";
|
||||
echo "<a class=\"build\" href=\"dorf2.php?a=$id&c=$session->checker\">".$lang['upgrade'][10];
|
||||
}
|
||||
echo $village->resarray['f'.$id]+1;
|
||||
echo ".</a>";
|
||||
}
|
||||
else if($bindicate == 9) {
|
||||
if($session->access==BANNED){
|
||||
echo "<a class=\"build\" href=\"banned.php\">Upgrade to level ";
|
||||
echo "<a class=\"build\" href=\"banned.php\">".$lang['upgrade'][10];
|
||||
}
|
||||
else if($id <= 18) {
|
||||
echo "<a class=\"build\" href=\"dorf1.php?a=$id&c=$session->checker\">Upgrade to level ";
|
||||
echo "<a class=\"build\" href=\"dorf1.php?a=$id&c=$session->checker\">".$lang['upgrade'][10];
|
||||
}
|
||||
else {
|
||||
echo "<a class=\"build\" href=\"dorf2.php?a=$id&c=$session->checker\">Upgrade to level ";
|
||||
echo "<a class=\"build\" href=\"dorf2.php?a=$id&c=$session->checker\">".$lang['upgrade'][10];
|
||||
}
|
||||
echo $village->resarray['f'.$id]+($loopsame > 0 ? 2:1);
|
||||
echo ".</a> <span class=\"none\">(waiting loop)</span> ";
|
||||
echo ".</a> <span class=\"none\">".WAITING_LOOP."</span> ";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<?php
|
||||
|
||||
if($session->gold >= 2) {
|
||||
?> <a href="?buildingFinish=1" onclick="return confirm('Finish all construction and research orders in this village immediately for 2 Gold?');" title="Finish all construction and research orders in this village immediately for 2 Gold?"><img class="clock" alt="Finish all construction and research orders in this village immediately for 2 Gold?" src="img/x.gif"/></a>
|
||||
?> <a href="?buildingFinish=1" onclick="return confirm('<?php echo FINISH_GOLD; ?>');" title="<?php echo FINISH_GOLD; ?>"><img class="clock" alt="<?php echo FINISH_GOLD; ?>" src="img/x.gif"/></a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
@@ -40,16 +40,16 @@
|
||||
$BuildingList = array();
|
||||
foreach($building->buildArray as $jobs) {
|
||||
echo "<tr><td class=\"ico\"><a href=\"?d=".$jobs['id']."&a=0&c=$session->checker\">";
|
||||
echo "<img src=\"img/x.gif\" class=\"del\" title=\"cancel\" alt=\"cancel\" /></a></td><td>";
|
||||
echo $building->procResType($jobs['type'])." (Level ".($village->resarray['f'.$jobs['field']]+(in_array($jobs['field'],$BuildingList)?2:1 )).")";
|
||||
echo "<img src=\"img/x.gif\" class=\"del\" title=\"".CANCEL."\" alt=\"".CANCEL."\" /></a></td><td>";
|
||||
echo $building->procResType($jobs['type']).$lang['buildings'][44].($village->resarray['f'.$jobs['field']]+(in_array($jobs['field'],$BuildingList)?2:1 )).")";
|
||||
if($jobs['loopcon'] == 0) { $BuildingList[] = $jobs['field']; }
|
||||
if($jobs['loopcon'] == 1) {
|
||||
echo " (waiting loop)";
|
||||
echo " ".WAITING_LOOP;
|
||||
}
|
||||
echo "</td><td><span id=\"timer".$timer."\">";
|
||||
echo $generator->getTimeFormat($jobs['timestamp']-time());
|
||||
echo "</span> hrs.</td>";
|
||||
echo "<td>done at ".date('H:i', $jobs['timestamp'])."</td></tr>";
|
||||
echo "</span> ".HRS."</td>";
|
||||
echo "<td>".DONE_AT." ".date('H:i', $jobs['timestamp'])."</td></tr>";
|
||||
$timer +=1;
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -41,7 +41,7 @@ include("menu.tpl");
|
||||
</script>
|
||||
<div id="write_head" class="msg_head"></div>
|
||||
<div id="write_content" class="msg_content">
|
||||
<form method="post" action="nachrichten.php" accept-charset="UTF-8" name="msg">
|
||||
<form method="post" action="nachrichten.php" accept-charset="utf8" name="msg">
|
||||
<input type="hidden" name="c" value="3e9" />
|
||||
<input type="hidden" name="p" value="" />
|
||||
<img src="img/x.gif" id="label" class="send" alt="" />
|
||||
|
||||
+17
-17
@@ -12,10 +12,10 @@
|
||||
<map name="map1" id="map1">
|
||||
<?php
|
||||
if($building->walling()) {
|
||||
$wtitle = $building->procResType($building->walling())." Level ".$village->resarray['f40'];
|
||||
$wtitle = $building->procResType($building->walling())." ".$village->resarray['f40'].$lang['fields'][0];
|
||||
}
|
||||
else {
|
||||
$wtitle = ($village->resarray['f40'] == 0)? "Outer building site" : $building->procResType($village->resarray['f40t'],0)." Level ".$village->resarray['f40'];
|
||||
$wtitle = ($village->resarray['f40'] == 0)? $lang['fields'][5] : $building->procResType($village->resarray['f40t'],0)." ".$village->resarray['f40'].$lang['fields'][0];
|
||||
}
|
||||
?>
|
||||
<area href="build.php?id=40" title="<?php echo $wtitle; ?>" coords="325,225,180" shape="circle" alt="" />
|
||||
@@ -27,15 +27,15 @@ else {
|
||||
$coords = array(19=>"53,91,91,71,127,91,91,112","136,66,174,46,210,66,174,87","196,56,234,36,270,56,234,77","270,69,308,49,344,69,308,90","327,117,365,97,401,117,365,138","14,129,52,109,88,129,52,150","97,137,135,117,171,137,135,158","182,119,182,65,257,65,257,119,220,140","337,156,375,136,411,156,375,177","2,199,40,179,76,199,40,220","129,164,167,144,203,164,167,185","92,189,130,169,166,189,130,210","342,216,380,196,416,216,380,237","22,238,60,218,96,238,60,259","167,232,205,212,241,232,205,253","290,251,328,231,364,251,328,272","95,273,133,253,169,273,133,294","222,284,260,264,296,284,260,305","80,306,118,286,154,306,118,327","199,316,237,296,273,316,237,337","270,158,303,135,316,155,318,178,304,211,288,227,263,238,250,215");
|
||||
for($t=19;$t<=39;$t++) {
|
||||
if(($village->resarray['f99t'] == 40 AND ($t)=='25') or ($village->resarray['f99t'] == 40 AND ($t)=='26') or ($village->resarray['f99t'] == 40 AND ($t)=='29') or ($village->resarray['f99t'] == 40 AND ($t)=='30') or ($village->resarray['f99t'] == 40 AND ($t)=='33')) {
|
||||
echo "<area href=\"build.php?id=99\" title=\"WorldWonder Level ".$village->resarray['f99']."\" coords=\"$coords[$t]\" shape=\"poly\"/>";
|
||||
echo "<area href=\"build.php?id=99\" title=\"".$lang['buildings'][40]." ".$village->resarray['f99'].$lang['fields'][0]."\" coords=\"$coords[$t]\" shape=\"poly\"/>";
|
||||
} else {
|
||||
if($village->resarray['f'.$t.'t'] != 0) {
|
||||
$title = $building->procResType($village->resarray['f'.$t.'t']). " Level ".$village->resarray['f'.$t];
|
||||
}
|
||||
else {
|
||||
$title = "Building site";
|
||||
$title = $lang['fields'][6];
|
||||
if(($t == 39) && ($village->resarray['f'.$t] == 0)) {
|
||||
$title = "Rally Point building site";
|
||||
$title = $lang['fields'][7];
|
||||
}
|
||||
}
|
||||
echo "<area href=\"build.php?id=$t\" title=\"$title\" coords=\"$coords[$t]\" shape=\"poly\"/>";
|
||||
@@ -64,16 +64,16 @@ $vmapc = ($village->resarray['f40'] == 0)? "d2_0" : "d2_1".$session->tribe;
|
||||
for ($i=1;$i<=20;$i++) {
|
||||
if(($village->resarray['f99t'] == 40 AND ($i+18)=='25') or ($village->resarray['f99t'] == 40 AND ($i+18)=='26') or ($village->resarray['f99t'] == 40 AND ($i+18)=='29') or ($village->resarray['f99t'] == 40 AND ($i+18)=='30') or ($village->resarray['f99t'] == 40 AND ($i+18)=='33')) {
|
||||
} else {
|
||||
$text = "Building site";
|
||||
$text = $lang['fields'][6];
|
||||
$img = "iso";
|
||||
if($village->resarray['f'.($i+18).'t'] != 0) {
|
||||
$text = $building->procResType($village->resarray['f'.($i+18).'t'])." Level ".$village->resarray['f'.($i+18)];
|
||||
$text = $building->procResType($village->resarray['f'.($i+18).'t'])." ".$village->resarray['f'.($i+18)].$lang['fields'][0];
|
||||
$img = "g".$village->resarray['f'.($i+18).'t'];
|
||||
}
|
||||
foreach($building->buildArray as $job) {
|
||||
if($job['field'] == ($i+18)) {
|
||||
$img = 'g'.$job['type'].'b';
|
||||
$text = $building->procResType($job['type'])." Level ".$village->resarray['f'.$job['field']];
|
||||
$text = $building->procResType($job['type'])." ".$village->resarray['f'.$job['field']].$lang['fields'][0];
|
||||
}
|
||||
}
|
||||
echo "<img src=\"img/x.gif\" class=\"building d$i $img\" alt=\"$text\" />";
|
||||
@@ -81,30 +81,30 @@ for ($i=1;$i<=20;$i++) {
|
||||
}
|
||||
if($village->resarray['f39'] == 0) {
|
||||
if($building->rallying()) {
|
||||
echo "<img src=\"img/x.gif\" class=\"dx1 g16b\" alt=\"Rally Point Level ".$village->resarray['f39']."\" />";
|
||||
echo "<img src=\"img/x.gif\" class=\"dx1 g16b\" alt=\"".$lang['buildings'][16]." ".$village->resarray['f39'].$lang['fields'][0]."\" />";
|
||||
}
|
||||
else {
|
||||
echo "<img src=\"img/x.gif\" class=\"dx1 g16e\" alt=\"Rally Point building site\" />";
|
||||
echo "<img src=\"img/x.gif\" class=\"dx1 g16e\" alt=\"".$lang['fields'][7]."\" />";
|
||||
}
|
||||
}
|
||||
else {
|
||||
echo "<img src=\"img/x.gif\" class=\"dx1 g16\" alt=\"Rally Point Level ".$village->resarray['f39']."\" />";
|
||||
echo "<img src=\"img/x.gif\" class=\"dx1 g16\" alt=\"".$lang['buildings'][16]." ".$village->resarray['f39'].$lang['fields'][0]."\" />";
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if($village->resarray['f99t'] == 40) {
|
||||
if($village->resarray['f99'] >= 0 && $village->resarray['f99'] <= 19) {
|
||||
echo '<img class="ww g40" src="img/x.gif" alt="Worldwonder">'; }
|
||||
echo '<img class="ww g40" src="img/x.gif" alt="'.$lang['buildings'][40].'">'; }
|
||||
if($village->resarray['f99'] >= 20 && $village->resarray['f99'] <= 39) {
|
||||
echo '<img class="ww g40_1" src="img/x.gif" alt="Worldwonder">'; }
|
||||
echo '<img class="ww g40_1" src="img/x.gif" alt="'.$lang['buildings'][40].'">'; }
|
||||
if($village->resarray['f99'] >= 40 && $village->resarray['f99'] <= 59) {
|
||||
echo '<img class="ww g40_2" src="img/x.gif" alt="Worldwonder">'; }
|
||||
echo '<img class="ww g40_2" src="img/x.gif" alt="'.$lang['buildings'][40].'">'; }
|
||||
if($village->resarray['f99'] >= 60 && $village->resarray['f99'] <= 79) {
|
||||
echo '<img class="ww g40_3" src="img/x.gif" alt="Worldwonder">'; }
|
||||
echo '<img class="ww g40_3" src="img/x.gif" alt="'.$lang['buildings'][40].'">'; }
|
||||
if($village->resarray['f99'] >= 80 && $village->resarray['f99'] <= 99) {
|
||||
echo '<img class="ww g40_4" src="img/x.gif" alt="Worldwonder">'; }
|
||||
echo '<img class="ww g40_4" src="img/x.gif" alt="'.$lang['buildings'][40].'">'; }
|
||||
if($village->resarray['f99'] == 100) {
|
||||
echo '<img class="ww g40_5" src="img/x.gif" alt="Worldwonder">'; }
|
||||
echo '<img class="ww g40_5" src="img/x.gif" alt="'.$lang['buildings'][40].'">'; }
|
||||
}
|
||||
?>
|
||||
<div id="levels" <?php if(isset($_COOKIE['t3l'])) { echo "class=\"on\""; } ?> >
|
||||
|
||||
+6
-6
@@ -16,10 +16,10 @@ $arrayVillage = $village->resarray;
|
||||
?>
|
||||
<map name="rx" id="rx">
|
||||
<?php
|
||||
for($i=1;$i<=18;$i++) {echo " <area href=\"build.php?id=$i\" coords=\"$coorarray[$i]\" shape=\"circle\" title=\"".$building->procResType($arrayVillage['f'.$i.'t'])." Level ".$arrayVillage['f'.$i]."\"/>\r\n";
|
||||
for($i=1;$i<=18;$i++) {echo " <area href=\"build.php?id=$i\" coords=\"$coorarray[$i]\" shape=\"circle\" title=\"".$building->procResType($arrayVillage['f'.$i.'t'])." ".$arrayVillage['f'.$i].$lang['fields'][0]."\"/>\r\n";
|
||||
}
|
||||
?>
|
||||
<area href="dorf2.php" coords="144,131,36" shape="circle" title="Village centre" alt="" />
|
||||
<area href="dorf2.php" coords="144,131,36" shape="circle" title="<?php echo $lang['header'][1]; ?>" alt="" />
|
||||
</map>
|
||||
|
||||
<div id="village_map" class="f<?php echo $village->type; ?>">
|
||||
@@ -28,10 +28,10 @@ for($i=1;$i<=18;$i++) {
|
||||
if($arrayVillage['f'.$i.'t'] != 0) {
|
||||
$text = "";
|
||||
switch($i){
|
||||
case 1:$text = "Woodcutter Level";break;
|
||||
case 2:$text = "Clay Pit Level";break;
|
||||
case 3:$text = "Iron Mine Level";break;
|
||||
case 4:$text = "Cropland Level";break;
|
||||
case 1:$text = $lang['fields'][1];break;
|
||||
case 2:$text = $lang['fields'][2];break;
|
||||
case 3:$text = $lang['fields'][3];break;
|
||||
case 4:$text = $lang['fields'][4];break;
|
||||
}
|
||||
echo "<img src=\"img/x.gif\" class=\"reslevel rf$i level".$arrayVillage['f'.$i]."\" alt=\"$text ".$arrayVillage['f'.$i]."\" />";
|
||||
}
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
?>
|
||||
<div id="header">
|
||||
<div id="mtop">
|
||||
<a href="dorf1.php" id="n1" accesskey="1"><img src="img/x.gif" title="Village overview" alt="Village overview" /></a>
|
||||
<a href="dorf2.php" id="n2" accesskey="2"><img src="img/x.gif" title="Village centre" alt="Village centre" /></a>
|
||||
<a href="karte.php" id="n3" accesskey="3"><img src="img/x.gif" title="Map" alt="Map" /></a>
|
||||
<a href="statistiken.php" id="n4" accesskey="4"><img src="img/x.gif" title="Statistics" alt="Statistics" /></a>
|
||||
<a href="dorf1.php" id="n1" accesskey="1"><img src="img/x.gif" title="<?php echo $lang['header'][0]; ?>" alt="<?php echo $lang['header'][0]; ?>" /></a>
|
||||
<a href="dorf2.php" id="n2" accesskey="2"><img src="img/x.gif" title="<?php echo $lang['header'][1]; ?>" alt="<?php echo $lang['header'][1]; ?>" /></a>
|
||||
<a href="karte.php" id="n3" accesskey="3"><img src="img/x.gif" title="<?php echo $lang['header'][2]; ?>" alt=<?php echo $lang['header'][2]; ?>" /></a>
|
||||
<a href="statistiken.php" id="n4" accesskey="4"><img src="img/x.gif" title="<?php echo $lang['header'][3]; ?>" alt="<?php echo $lang['header'][3]; ?>" /></a>
|
||||
<?php
|
||||
if($message->unread && !$message->nunread) {
|
||||
$class = "i2";
|
||||
@@ -30,8 +30,8 @@
|
||||
}
|
||||
?>
|
||||
<div id="n5" class="<?php echo $class ?>">
|
||||
<a href="berichte.php" accesskey="5"><img src="img/x.gif" class="l" title="Reports" alt="Reports"/></a>
|
||||
<a href="nachrichten.php" accesskey="6"><img src="img/x.gif" class="r" title="Messages" alt="Messages" /></a>
|
||||
<a href="berichte.php" accesskey="5"><img src="img/x.gif" class="l" title="<?php echo $lang['header'][4]; ?>" alt="<?php echo $lang['header'][4]; ?>"/></a>
|
||||
<a href="nachrichten.php" accesskey="6"><img src="img/x.gif" class="r" title="<?php echo $lang['header'][5]; ?>" alt="<?php echo $lang['header'][5]; ?>" /></a>
|
||||
</div>
|
||||
<a href="plus.php" id="plus">
|
||||
<span class="plus_text">
|
||||
@@ -39,7 +39,7 @@
|
||||
<span class="plus_o">l</span>
|
||||
<span class="plus_g">u</span>
|
||||
<span class="plus_o">s</span>
|
||||
</span><img src="img/x.gif" id="btn_plus" class="<?php echo ($session->plus == 1 && strtotime("NOW") <= $session->userinfo['plus'])? 'active' : 'inactive';?>" title="Plus menu" alt="Plus menu" /></a>
|
||||
</span><img src="img/x.gif" id="btn_plus" class="<?php echo ($session->plus == 1 && strtotime("NOW") <= $session->userinfo['plus'])? 'active' : 'inactive';?>" title="<?php echo $lang['header'][6]; ?>" alt="<?php echo $lang['header'][6]; ?>" /></a>
|
||||
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
+11
-21
@@ -38,32 +38,32 @@ div.c1 {text-align: center}
|
||||
|
||||
<p><a href="<?php echo HOMEPAGE; ?>"><?php echo HOME; ?></a> <a href="spieler.php?uid=<?php echo $session->uid; ?>"><?php echo PROFILE; ?></a> <a href="#" onclick="return Popup(0,0,1);"><?php echo INSTRUCT; ?></a> <?php if($session->access == MULTIHUNTER) {
|
||||
|
||||
echo "<a href=\"Admin/admin.php\"><font color=\"Blue\">Multihunter Panel</font></a>";
|
||||
echo "<a href=\"Admin/admin.php\"><font color=\"Blue\">".MULTIHUNTER_PAN."</font></a>";
|
||||
} ?> <?php if($session->access == ADMIN) {
|
||||
echo "<a href=\"admin.php\"><font color=\"Red\">Admin Panel</font></a>";
|
||||
echo "<a href=\"massmessage.php\">Mass Message</a>";
|
||||
echo "<a href=\"medals.php\">Update Top 10</a>";
|
||||
echo "<a href=\"sysmsg.php\">System message</a>";
|
||||
echo "<a href=\"create_account.php\">Create Natars</a>";
|
||||
echo "<a href=\"admin.php\"><font color=\"Red\">".ADMIN_PANEL."</font></a>";
|
||||
echo "<a href=\"massmessage.php\">".MASS_MESSAGE."</a>";
|
||||
echo "<a href=\"medals.php\">".UPDATE_T_10."</a>";
|
||||
echo "<a href=\"sysmsg.php\">".SYSTEM_MESSAGE."</a>";
|
||||
echo "<a href=\"create_account.php\">".CREATE_NAT."</a>";
|
||||
} ?> <a href="logout.php"><?php echo LOGOUT; ?></a></p>
|
||||
|
||||
<a href="rules.php"><b>Game Rules</b></a>
|
||||
<a href="rules.php"><b><?php echo GAME_RULES; ?></b></a>
|
||||
<p><a href="plus.php?id=3">Travian <b><span class="plus_g">P</span><span class="plus_o">l</span><span class="plus_g">u</span><span class="plus_o">s</span></b></a>
|
||||
<a href="spieler.php?uid=0"><b>Support</b></a>
|
||||
<a href="spieler.php?uid=0"><b><?php echo SUPPORT; ?></b></a>
|
||||
<br></p>
|
||||
</div><?php
|
||||
if($_SESSION['ok']=='1'){
|
||||
?>
|
||||
|
||||
<div id="content" class="village1">
|
||||
<h1>Announcement</h1>
|
||||
<h1><?php echo ANNOUNCEMENT; ?></h1>
|
||||
|
||||
<h2>Hi <?php echo $session->username; ?>,</h2>
|
||||
<br>
|
||||
<?php include("Templates/text.tpl"); ?>
|
||||
|
||||
<div class="c1">
|
||||
<h2><a href="dorf1.php?ok">» Go to my village</a></h2>
|
||||
<h2><a href="dorf1.php?ok">» <?php echo GO2MY_VILLAGE; ?></a></h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -83,19 +83,9 @@ div.c1 {text-align: center}
|
||||
<div class="clear"></div><?php
|
||||
include("Templates/footer.tpl");
|
||||
include("Templates/res.tpl");
|
||||
include("Templates/serv_time.tpl");
|
||||
?>
|
||||
|
||||
<div id="stime">
|
||||
<div id="ltime">
|
||||
<div id="ltimeWrap">
|
||||
Calculated in <b><?php
|
||||
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
?></b> ms
|
||||
<br>
|
||||
Server time: <span id="tp1" class="b"><?php echo date('H:i:s'); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="ce"></div><?php
|
||||
die();
|
||||
|
||||
@@ -28,7 +28,7 @@ if($aantal > 0){
|
||||
$NextArrival[] = $receive['endtime'];
|
||||
}
|
||||
echo '<tr><td class="typ"><a href="build.php?id=39"><img src="img/x.gif" class="'.$action.'" alt="'.$title.'" title="'.$title.'" /></a><span class="'.$aclass.'">»</span></td>
|
||||
<td><div class="mov"><span class="'.$aclass.'">'.$aantal.' '.$short.'</span></div><div class="dur_r">in <span id="timer'.$timer.'">'.$generator->getTimeFormat(min($NextArrival)-time()).'</span> '.HOURS.'</div></div></td></tr>';
|
||||
<td><div class="mov"><span class="'.$aclass.'">'.$aantal.' '.$short.'</span></div><div class="dur_r">'.$lang['movement'][0].'<span id="timer'.$timer.'">'.$generator->getTimeFormat(min($NextArrival)-time()).'</span> '.HOURS.'</div></div></td></tr>';
|
||||
$timer += 1;
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ if($aantal > 0){
|
||||
}
|
||||
}
|
||||
echo '<tr><td class="typ"><a href="build.php?id=39"><img src="img/x.gif" class="'.$action.'" alt="'.$title.'" title="'.$title.'" /></a><span class="'.$aclass.'">»</span></td>
|
||||
<td><div class="mov"><span class="'.$aclass.'">'.$aantal.' '.$short.'</span></div><div class="dur_r">in <span id="timer'.$timer.'">'.$generator->getTimeFormat(min($NextArrival)-time()).'</span> '.HOURS.'</div></div></td></tr>';
|
||||
<td><div class="mov"><span class="'.$aclass.'">'.$aantal.' '.$short.'</span></div><div class="dur_r">'.$lang['movement'][0].'<span id="timer'.$timer.'">'.$generator->getTimeFormat(min($NextArrival)-time()).'</span> '.HOURS.'</div></div></td></tr>';
|
||||
$timer += 1;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ if($aantal > 0){
|
||||
}
|
||||
}
|
||||
echo '<tr><td class="typ"><a href="build.php?id=39"><img src="img/x.gif" class="'.$action.'" alt="'.$title.'" title="'.$title.'" /></a><span class="'.$aclass.'">»</span></td>
|
||||
<td><div class="mov"><span class="'.$aclass.'">'.$aantal.' '.$short.'</span></div><div class="dur_r">in <span id="timer'.$timer.'">'.$generator->getTimeFormat(min($NextArrival)-time()).'</span> '.HOURS.'</div></div></td></tr>';
|
||||
<td><div class="mov"><span class="'.$aclass.'">'.$aantal.' '.$short.'</span></div><div class="dur_r">'.$lang['movement'][0].'<span id="timer'.$timer.'">'.$generator->getTimeFormat(min($NextArrival)-time()).'</span> '.HOURS.'</div></div></td></tr>';
|
||||
$timer += 1;
|
||||
}
|
||||
|
||||
@@ -96,7 +96,7 @@ if($lala > 0){
|
||||
}
|
||||
}
|
||||
echo '<tr><td class="typ"><a href="build.php?id=39"><img src="img/x.gif" class="'.$action.'" alt="'.$title.'" title="'.$title.'" /></a><span class="'.$aclass.'">»</span></td>
|
||||
<td><div class="mov"><span class="'.$aclass.'">'.$lala.' '.$short.'</span></div><div class="dur_r">in <span id="timer'.$timer.'">'.$generator->getTimeFormat(min($NextArrival)-time()).'</span> '.HOURS.'</div></div></td></tr>';
|
||||
<td><div class="mov"><span class="'.$aclass.'">'.$lala.' '.$short.'</span></div><div class="dur_r">'.$lang['movement'][0].'<span id="timer'.$timer.'">'.$generator->getTimeFormat(min($NextArrival)-time()).'</span> '.HOURS.'</div></div></td></tr>';
|
||||
$timer += 1;
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ if($lala > 0){
|
||||
}
|
||||
}
|
||||
echo '<tr><td class="typ"><a href="build.php?id=39"><img src="img/x.gif" class="'.$action.'" alt="'.$title.'" title="'.$title.'" /></a><span class="'.$aclass.'">»</span></td>
|
||||
<td><div class="mov"><span class="'.$aclass.'">'.$lala.' '.$short.'</span></div><div class="dur_r">in <span id="timer'.$timer.'">'.$generator->getTimeFormat(min($NextArrival)-time()).'</span> '.HOURS.'</div></div></td></tr>';
|
||||
<td><div class="mov"><span class="'.$aclass.'">'.$lala.' '.$short.'</span></div><div class="dur_r">'.$lang['movement'][0].'<span id="timer'.$timer.'">'.$generator->getTimeFormat(min($NextArrival)-time()).'</span> '.HOURS.'</div></div></td></tr>';
|
||||
$timer += 1;
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@ if($aantal > 0){
|
||||
$NextArrival[] = $receive['endtime'];
|
||||
}
|
||||
echo '<tr><td class="typ"><a href="build.php?id=39"><img src="img/x.gif" class="'.$action.'" alt="'.$title.'" title="'.$title.'" /></a><span class="'.$aclass.'">«</span></td>
|
||||
<td><div class="mov"><span class="'.$aclass.'">'.$aantal.' '.$short.'</span></div><div class="dur_r">in <span id="timer'.$timer.'">'.$generator->getTimeFormat(min($NextArrival)-time()).'</span> '.HOURS.'</div></div></td></tr>';
|
||||
<td><div class="mov"><span class="'.$aclass.'">'.$aantal.' '.$short.'</span></div><div class="dur_r">'.$lang['movement'][0].'<span id="timer'.$timer.'">'.$generator->getTimeFormat(min($NextArrival)-time()).'</span> '.HOURS.'</div></div></td></tr>';
|
||||
$timer += 1;
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
|
||||
<div id="stime">
|
||||
<div id="ltime">
|
||||
<div id="ltimeWrap">
|
||||
<?php
|
||||
echo CALCULATED_IN." <b>";
|
||||
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
echo "</b> ".MILISECS."<br />\n";
|
||||
echo SERVER_TIME.' <span id="tp1" class="b">'.date('H:i:s').'</span>';
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -24,13 +24,13 @@ for($i=1;$i<=50;$i++) {
|
||||
}
|
||||
}
|
||||
if($troops['hero'] > 0) {
|
||||
echo "<tr><td class=\"ico\"><a href=\"build.php?id=39\"><img class=\"unit uhero\" src=\"img/x.gif\" alt=\"Hero\" title=\"Hero\" /></a></td>";
|
||||
echo "<td class=\"num\">".$troops['hero']."</td><td class=\"un\">Hero</td></tr>";
|
||||
echo "<tr><td class=\"ico\"><a href=\"build.php?id=39\"><img class=\"unit uhero\" src=\"img/x.gif\" alt=\"".$lang['troops'][1]."\" title=\"".$lang['troops'][1]."\" /></a></td>";
|
||||
echo "<td class=\"num\">".$troops['hero']."</td><td class=\"un\">".$lang['troops'][1]."</td></tr>";
|
||||
$TroopsPresent = True;
|
||||
}
|
||||
$units = $technology->getUnitList($village->wid);
|
||||
if(!$TroopsPresent) {
|
||||
echo "<tr><td>none</td></tr>";
|
||||
echo "<tr><td>".$lang['troops'][0]."</td></tr>";
|
||||
}
|
||||
?>
|
||||
</tbody></table>
|
||||
|
||||
+1
-12
@@ -141,19 +141,8 @@ include("Templates/links.tpl");
|
||||
<?php
|
||||
include("Templates/footer.tpl");
|
||||
include("Templates/res.tpl");
|
||||
include("Templates/serv_time.tpl");
|
||||
?>
|
||||
<div id="stime">
|
||||
<div id="ltime">
|
||||
<div id="ltimeWrap">
|
||||
Calculated in <b><?php
|
||||
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
?></b> ms
|
||||
|
||||
<br />Server time: <span id="tp1" class="b"><?php echo date('H:i:s'); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="ce"></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -203,19 +203,8 @@ include("Templates/links.tpl");
|
||||
<?php
|
||||
include("Templates/footer.tpl");
|
||||
include("Templates/res.tpl");
|
||||
include("Templates/serv_time.tpl");
|
||||
?>
|
||||
<div id="stime">
|
||||
<div id="ltime">
|
||||
<div id="ltimeWrap">
|
||||
Calculated in <b><?php
|
||||
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
?></b> ms
|
||||
|
||||
<br />Server time: <span id="tp1" class="b"><?php echo date('H:i:s'); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="ce"> </div>
|
||||
<div id="ce"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -93,19 +93,8 @@ include("Templates/links.tpl");
|
||||
<?php
|
||||
include("Templates/footer.tpl");
|
||||
include("Templates/res.tpl");
|
||||
include("Templates/serv_time.tpl");
|
||||
?>
|
||||
<div id="stime">
|
||||
<div id="ltime">
|
||||
<div id="ltimeWrap">
|
||||
<?php echo CALCULATED_IN;?> <b><?php
|
||||
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
?></b> ms
|
||||
|
||||
<br /><?php echo SEVER_TIME;?> <span id="tp1" class="b"><?php echo date('H:i:s'); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="ce"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -83,19 +83,9 @@ include("Templates/links.tpl");
|
||||
<div class="clear"></div>
|
||||
<?php
|
||||
include("Templates/footer.tpl");
|
||||
include("Templates/res.tpl");
|
||||
include("Templates/res.tpl");
|
||||
include("Templates/serv_time.tpl");
|
||||
?>
|
||||
<div id="stime">
|
||||
<div id="ltime">
|
||||
<div id="ltimeWrap">
|
||||
Calculated in <b><?php
|
||||
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
?></b> ms
|
||||
|
||||
<br />Server time: <span id="tp1" class="b"><?php echo date('H:i:s'); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ce"></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -101,18 +101,8 @@ include("Templates/links.tpl");
|
||||
<?php
|
||||
include("Templates/footer.tpl");
|
||||
include("Templates/res.tpl");
|
||||
include("Templates/serv_time.tpl");
|
||||
?>
|
||||
<div id="stime">
|
||||
<div id="ltime">
|
||||
<div id="ltimeWrap">
|
||||
Calculated in <b><?php
|
||||
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
?></b> ms
|
||||
|
||||
<br />Server time: <span id="tp1" class="b"><?php echo date('H:i:s'); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ce"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -31,6 +31,7 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
|
||||
<td><span class="f9 c6">Language:</span></td><td>
|
||||
<select name="lang">
|
||||
<option value="en" selected="selected">English</option>
|
||||
<option value="ru">Russian</option>
|
||||
</select>
|
||||
</td></tr><tr></tr>
|
||||
<td><span class="f9 c6">Beginners protection length:</span></td><td>
|
||||
|
||||
@@ -98,18 +98,8 @@ include("Templates/links.tpl");
|
||||
<?php
|
||||
include("Templates/footer.tpl");
|
||||
include("Templates/res.tpl");
|
||||
include("Templates/serv_time.tpl");
|
||||
?>
|
||||
<div id="stime">
|
||||
<div id="ltime">
|
||||
<div id="ltimeWrap">
|
||||
Calculated in <b><?php
|
||||
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
?></b> ms
|
||||
|
||||
<br />Server time: <span id="tp1" class="b"><?php echo date('H:i:s'); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ce"></div>
|
||||
</body>
|
||||
</html>
|
||||
+1
-11
@@ -122,18 +122,8 @@ include("Templates/links.tpl");
|
||||
<?php
|
||||
include("Templates/footer.tpl");
|
||||
include("Templates/res.tpl");
|
||||
include("Templates/serv_time.tpl");
|
||||
?>
|
||||
<div id="stime">
|
||||
<div id="ltime">
|
||||
<div id="ltimeWrap">
|
||||
Calculated in <b><?php
|
||||
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
?></b> ms
|
||||
|
||||
<br />Server time: <span id="tp1" class="b"><?php echo date('H:i:s'); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ce"></div>
|
||||
</body>
|
||||
</html>
|
||||
+1
-12
@@ -152,19 +152,8 @@ include("Templates/links.tpl");
|
||||
<?php
|
||||
include("Templates/footer.tpl");
|
||||
include("Templates/res.tpl");
|
||||
include("Templates/serv_time.tpl");
|
||||
?>
|
||||
<div id="stime">
|
||||
<div id="ltime">
|
||||
<div id="ltimeWrap">
|
||||
Calculated in <b><?php
|
||||
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
?></b> ms
|
||||
|
||||
<br />Server time: <span id="tp1" class="b"><?php echo date('H:i:s'); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="ce"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user