diff --git a/Admin/Mods/addTroops.php b/Admin/Mods/addTroops.php index 0304c294..7f915c6c 100644 --- a/Admin/Mods/addTroops.php +++ b/Admin/Mods/addTroops.php @@ -17,7 +17,7 @@ mysql_select_db(SQL_DB); if (!isset($_SESSION)) session_start(); -if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); +if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); $id = $_POST['id']; $village = $database->getVillage($id); diff --git a/Admin/Mods/cp.php b/Admin/Mods/cp.php index e1dc72e7..913e6dad 100644 --- a/Admin/Mods/cp.php +++ b/Admin/Mods/cp.php @@ -13,7 +13,7 @@ mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS); mysql_select_db(SQL_DB); if (!isset($_SESSION)) session_start(); -if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); +if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); $id = $_POST['id']; $admid = $_POST['admid']; diff --git a/Admin/Mods/deletemedalbyuser.php b/Admin/Mods/deletemedalbyuser.php index 54b0e0ba..9b96e9d5 100644 --- a/Admin/Mods/deletemedalbyuser.php +++ b/Admin/Mods/deletemedalbyuser.php @@ -13,7 +13,7 @@ mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS); mysql_select_db(SQL_DB); if (!isset($_SESSION)) session_start(); -if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); +if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); diff --git a/Admin/Mods/deletemedalbyweek.php b/Admin/Mods/deletemedalbyweek.php index 1db8e02b..c4751fed 100644 --- a/Admin/Mods/deletemedalbyweek.php +++ b/Admin/Mods/deletemedalbyweek.php @@ -13,7 +13,7 @@ mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS); mysql_select_db(SQL_DB); if (!isset($_SESSION)) session_start(); -if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); +if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); diff --git a/Admin/Mods/editUser.php b/Admin/Mods/editUser.php index f0e391e0..bb7af5d9 100644 --- a/Admin/Mods/editUser.php +++ b/Admin/Mods/editUser.php @@ -13,7 +13,7 @@ mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS); mysql_select_db(SQL_DB); if (!isset($_SESSION)) session_start(); -if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); +if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); $id = $_POST['id']; $user = $database->getUserArray($id,1); diff --git a/Admin/Mods/gold.php b/Admin/Mods/gold.php index fb7d379d..c9a5e0ca 100644 --- a/Admin/Mods/gold.php +++ b/Admin/Mods/gold.php @@ -13,7 +13,7 @@ mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS); mysql_select_db(SQL_DB); if (!isset($_SESSION)) session_start(); -if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); +if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); $id = $_POST['id']; $gold = $_POST['gold']; diff --git a/Admin/Mods/gold_1.php b/Admin/Mods/gold_1.php index 0fec94a8..355161a7 100644 --- a/Admin/Mods/gold_1.php +++ b/Admin/Mods/gold_1.php @@ -13,7 +13,7 @@ mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS); mysql_select_db(SQL_DB); if (!isset($_SESSION)) session_start(); -if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); +if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); $id = $_POST['id']; $admid = $_POST['admid']; diff --git a/Admin/Mods/index.php b/Admin/Mods/index.php index 2bb0d912..835afdb6 100644 --- a/Admin/Mods/index.php +++ b/Admin/Mods/index.php @@ -13,7 +13,7 @@

404 - File not found

Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


+

我們已經找了肆佰零肆次次,但是連一隻螞蟻都沒發現。

+

這個系統尚未開發完成,還在等你的PR,所以你找不到這個頁面。


- \ No newline at end of file + diff --git a/Admin/Mods/medals.php b/Admin/Mods/medals.php index 573a0610..a6909d8c 100644 --- a/Admin/Mods/medals.php +++ b/Admin/Mods/medals.php @@ -15,7 +15,7 @@ mysql_select_db(SQL_DB); if (!isset($_SESSION)) session_start(); -if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); +if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); $medalid = $_POST['medalid']; $uid = $_POST['uid']; diff --git a/Admin/Mods/renameVillage.php b/Admin/Mods/renameVillage.php index 062675c8..36fa63ae 100644 --- a/Admin/Mods/renameVillage.php +++ b/Admin/Mods/renameVillage.php @@ -14,7 +14,7 @@ mysql_select_db(SQL_DB); if (!isset($_SESSION)) session_start(); -if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); +if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); $did = $_POST['did']; $name = $_POST['villagename']; diff --git a/Admin/Mods/sendMessage.php b/Admin/Mods/sendMessage.php index 51c2ee90..be724292 100644 --- a/Admin/Mods/sendMessage.php +++ b/Admin/Mods/sendMessage.php @@ -12,7 +12,7 @@ mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS); mysql_select_db(SQL_DB); if (!isset($_SESSION)) session_start(); -if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); +if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); $uid = $_POST['uid']; $topic = $_POST['topic']; diff --git a/Admin/Templates/Newmessage.tpl b/Admin/Templates/Newmessage.tpl index 21f341f6..24b1db05 100644 --- a/Admin/Templates/Newmessage.tpl +++ b/Admin/Templates/Newmessage.tpl @@ -69,7 +69,7 @@ if(isset($id)) Message Sent"; + echo "訊息已送出"; } else { @@ -78,5 +78,5 @@ if(isset($id)) } else { - echo "

Not found. Go Back"; -}?> \ No newline at end of file + echo "

找不到. 上一頁"; +}?> diff --git a/Admin/Templates/Notice/0.tpl b/Admin/Templates/Notice/0.tpl index 7b49fafd..7cc8816d 100644 --- a/Admin/Templates/Notice/0.tpl +++ b/Admin/Templates/Notice/0.tpl @@ -4,15 +4,17 @@ $dataarray = explode(",",$rep[0]['data']); - + - + procMtime($rep[0]['time']); ?> - - + + + + @@ -20,8 +22,8 @@ $dataarray = explode(",",$rep[0]['data']);
Subject:主旨::
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -33,7 +35,7 @@ $start = ($tribe-1)*10+1; for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -42,7 +44,7 @@ for($i=3;$i<=12;$i++) { echo ""; } } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -55,56 +57,56 @@ for($i=13;$i<=22;$i++) { echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - -
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -113,7 +115,7 @@ for($i=35;$i<=44;$i++) { echo ""; } } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -125,25 +127,25 @@ for($i=45;$i<=54;$i++) { ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo "援兵"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -152,7 +154,7 @@ for($i=56;$i<=65;$i++) { echo ""; } } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -165,23 +167,23 @@ for($i=66;$i<=75;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo "援兵"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -190,7 +192,7 @@ for($i=77;$i<=86;$i++) { echo ""; } } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -203,24 +205,24 @@ for($i=87;$i<=96;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo "援兵"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -229,7 +231,7 @@ for($i=98;$i<=107;$i++) { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -243,23 +245,23 @@ for($i=108;$i<=117;$i++) { +$start=41; ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo "援兵"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -268,7 +270,7 @@ for($i=119;$i<=128;$i++) { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -281,4 +283,4 @@ for($i=129;$i<=138;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo "援兵"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
-
\ No newline at end of file + diff --git a/Admin/Templates/Notice/0x.tpl b/Admin/Templates/Notice/0x.tpl index d5a5c8b9..f83a2715 100644 --- a/Admin/Templates/Notice/0x.tpl +++ b/Admin/Templates/Notice/0x.tpl @@ -7,15 +7,17 @@ $dataarray = explode(",",$data); - + - + procMtime($time); ?> - - + + + + @@ -23,8 +25,8 @@ $dataarray = explode(",",$data);
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -36,7 +38,7 @@ $start = ($tribe-1)*10+1; for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -45,7 +47,7 @@ for($i=3;$i<=12;$i++) { echo ""; } } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -58,56 +60,56 @@ for($i=13;$i<=22;$i++) { echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - -
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -116,7 +118,7 @@ for($i=35;$i<=44;$i++) { echo ""; } } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -128,25 +130,25 @@ for($i=45;$i<=54;$i++) { ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo "援兵"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -155,7 +157,7 @@ for($i=56;$i<=65;$i++) { echo ""; } } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -168,23 +170,23 @@ for($i=66;$i<=75;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo "援兵"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -193,7 +195,7 @@ for($i=77;$i<=86;$i++) { echo ""; } } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -206,24 +208,24 @@ for($i=87;$i<=96;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo "援兵"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -232,7 +234,7 @@ for($i=98;$i<=107;$i++) { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -246,23 +248,23 @@ for($i=108;$i<=117;$i++) { +$start=41; ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo "援兵"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -271,7 +273,7 @@ for($i=119;$i<=128;$i++) { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -284,4 +286,4 @@ for($i=129;$i<=138;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo "援兵"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
-
\ No newline at end of file + diff --git a/Admin/Templates/Notice/1.tpl b/Admin/Templates/Notice/1.tpl index 17a5a145..879e831d 100644 --- a/Admin/Templates/Notice/1.tpl +++ b/Admin/Templates/Notice/1.tpl @@ -30,14 +30,14 @@ if($database->isVillageOases($dataarray[29])){ - + procMtime($rep[0]['time']); ?> - - + + @@ -45,8 +45,8 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -63,7 +63,7 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -75,7 +75,7 @@ else { if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -89,7 +89,7 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } if($dataarray[151] != 0 or $dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=151;$i<=160;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -106,66 +106,66 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - - - -
Attacker from the village 攻擊者 來自村莊
\"Hero\"
Troops
軍隊0$dataarray[147]
Casualties
傷亡0$dataarray[148]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
Information - +
資訊 +
Information +
資訊 Hero
Bounty +
賞金
Lumber | Clay | Iron | Crop
carry
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -173,7 +173,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -185,7 +185,7 @@ else { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -203,18 +203,18 @@ if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=11;?>
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -222,7 +222,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -234,7 +234,7 @@ else { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -251,18 +251,18 @@ if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -270,7 +270,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -282,7 +282,7 @@ else { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -300,23 +300,23 @@ if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=31; ?>
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -325,7 +325,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -339,12 +339,12 @@ else { +$start=41; ?>
Defender - '.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + '.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + @@ -354,7 +354,7 @@ $start=41; ?> for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -363,7 +363,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -376,4 +376,4 @@ else {
Defender - 防禦者 +
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
-
\ No newline at end of file + diff --git a/Admin/Templates/Notice/10.tpl b/Admin/Templates/Notice/10.tpl index 58b03e98..e4641100 100644 --- a/Admin/Templates/Notice/10.tpl +++ b/Admin/Templates/Notice/10.tpl @@ -14,15 +14,15 @@ if($database->getVillageField($dataarray[1],'name')!="??") { - + procMtime($rep[0]['time']); ?> - - + + @@ -30,9 +30,9 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- + - +
 > from the village > 來自村莊
Resources資源 Wood | Clay | diff --git a/Admin/Templates/Notice/11.tpl b/Admin/Templates/Notice/11.tpl index 339dce01..1b352c7a 100644 --- a/Admin/Templates/Notice/11.tpl +++ b/Admin/Templates/Notice/11.tpl @@ -14,15 +14,15 @@ if($database->getVillageField($dataarray[1],'name')!="??") { - + procMtime($rep[0]['time']); ?> - - + + @@ -30,9 +30,9 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- + - +
 > from the village > 來自村莊
Resources資源 Wood | Clay | diff --git a/Admin/Templates/Notice/12.tpl b/Admin/Templates/Notice/12.tpl index 58b03e98..e4641100 100644 --- a/Admin/Templates/Notice/12.tpl +++ b/Admin/Templates/Notice/12.tpl @@ -14,15 +14,15 @@ if($database->getVillageField($dataarray[1],'name')!="??") { - + procMtime($rep[0]['time']); ?> - - + + @@ -30,9 +30,9 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- + - +
 > from the village > 來自村莊
Resources資源 Wood | Clay | diff --git a/Admin/Templates/Notice/13.tpl b/Admin/Templates/Notice/13.tpl index 58b03e98..e4641100 100644 --- a/Admin/Templates/Notice/13.tpl +++ b/Admin/Templates/Notice/13.tpl @@ -14,15 +14,15 @@ if($database->getVillageField($dataarray[1],'name')!="??") { - + procMtime($rep[0]['time']); ?> - - + + @@ -30,9 +30,9 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- + - +
 > from the village > 來自村莊
Resources資源 Wood | Clay | diff --git a/Admin/Templates/Notice/14.tpl b/Admin/Templates/Notice/14.tpl index 58b03e98..e4641100 100644 --- a/Admin/Templates/Notice/14.tpl +++ b/Admin/Templates/Notice/14.tpl @@ -14,15 +14,15 @@ if($database->getVillageField($dataarray[1],'name')!="??") { - + procMtime($rep[0]['time']); ?> - - + + @@ -30,9 +30,9 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- + - +
 > from the village > 來自村莊
Resources資源 Wood | Clay | diff --git a/Admin/Templates/Notice/15.tpl b/Admin/Templates/Notice/15.tpl index 48b087a0..3888e2ec 100644 --- a/Admin/Templates/Notice/15.tpl +++ b/Admin/Templates/Notice/15.tpl @@ -16,14 +16,14 @@ if($database->getVillageField($dataarray[26],'name')!="??") { - + procMtime($rep[0]['time']); ?> - - + + @@ -31,8 +31,8 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -47,7 +47,7 @@ for($i=$start;$i<=($start+9);$i++) { if(isset($dataarray[24]) and $dataarray[24]!=0){ echo ""; } -echo ""; +echo ""; for($i=4;$i<=13;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -59,7 +59,7 @@ else { if(isset($dataarray[24]) and $dataarray[24]!=0){ echo ""; } -echo ""; +echo ""; for($i=14;$i<=23;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/16.tpl b/Admin/Templates/Notice/16.tpl index 48b087a0..3888e2ec 100644 --- a/Admin/Templates/Notice/16.tpl +++ b/Admin/Templates/Notice/16.tpl @@ -16,14 +16,14 @@ if($database->getVillageField($dataarray[26],'name')!="??") {
Defender from the village 防禦者 來自村莊
\"Hero\"
Troops
軍隊0$dataarray[24]
Casualties
傷亡0
- + procMtime($rep[0]['time']); ?> - - + + @@ -31,8 +31,8 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -47,7 +47,7 @@ for($i=$start;$i<=($start+9);$i++) { if(isset($dataarray[24]) and $dataarray[24]!=0){ echo ""; } -echo ""; +echo ""; for($i=4;$i<=13;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -59,7 +59,7 @@ else { if(isset($dataarray[24]) and $dataarray[24]!=0){ echo ""; } -echo ""; +echo ""; for($i=14;$i<=23;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/17.tpl b/Admin/Templates/Notice/17.tpl index 48b087a0..3888e2ec 100644 --- a/Admin/Templates/Notice/17.tpl +++ b/Admin/Templates/Notice/17.tpl @@ -16,14 +16,14 @@ if($database->getVillageField($dataarray[26],'name')!="??") {
Defender from the village 防禦者 來自村莊
\"Hero\"
Troops
軍隊0$dataarray[24]
Casualties
傷亡0
- + procMtime($rep[0]['time']); ?> - - + + @@ -31,8 +31,8 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -47,7 +47,7 @@ for($i=$start;$i<=($start+9);$i++) { if(isset($dataarray[24]) and $dataarray[24]!=0){ echo ""; } -echo ""; +echo ""; for($i=4;$i<=13;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -59,7 +59,7 @@ else { if(isset($dataarray[24]) and $dataarray[24]!=0){ echo ""; } -echo ""; +echo ""; for($i=14;$i<=23;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/18.tpl b/Admin/Templates/Notice/18.tpl index 647d214c..9ba9048f 100644 --- a/Admin/Templates/Notice/18.tpl +++ b/Admin/Templates/Notice/18.tpl @@ -35,14 +35,14 @@ if($database->isVillageOases($dataarray[29])){
Defender from the village 防禦者 來自村莊
\"Hero\"
Troops
軍隊0$dataarray[24]
Casualties
傷亡0
- + procMtime($rep[0]['time']); ?> - - + + @@ -50,8 +50,8 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -63,7 +63,7 @@ $start = ($tribe-1)*10+1; for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -72,7 +72,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -82,7 +82,7 @@ else { } } if($dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=152;$i<=161;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -99,51 +99,51 @@ if(isset($dataarray[148]) and $dataarray[148]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - -
Attacker from the village 攻擊者 來自村莊
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
- + +$start=1; ?> - - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -151,7 +151,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -163,7 +163,7 @@ else { if($targettribe == '1' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -181,18 +181,18 @@ if($targettribe == '1' and isset($dataarray[150]) and $dataarray[150]!=0){ +$start=11;?>
Defender + 防禦者
 \"Hero\"
Troops
軍隊0$dataarray[150]
Casualties
傷亡0
- - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -200,7 +200,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -212,7 +212,7 @@ else { if($targettribe == '2' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -229,18 +229,18 @@ if($targettribe == '2' and isset($dataarray[150]) and $dataarray[150]!=0){
Defender + 防禦者
 \"Hero\"
Troops
軍隊0$dataarray[150]
Casualties
傷亡0
+$start=21; ?> - - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -248,7 +248,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -260,7 +260,7 @@ else { if($targettribe == '3' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -278,23 +278,23 @@ if($targettribe == '3' and isset($dataarray[150]) and $dataarray[150]!=0){ +$start=31; ?>
Defender + 防禦者
 \"Hero\"
Troops
軍隊0$dataarray[150]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -303,7 +303,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -317,23 +317,23 @@ else { +$start=41; ?>
Defender - '.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + '.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -342,7 +342,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/18x.tpl b/Admin/Templates/Notice/18x.tpl index bb723cc5..c0df3aee 100644 --- a/Admin/Templates/Notice/18x.tpl +++ b/Admin/Templates/Notice/18x.tpl @@ -7,15 +7,15 @@ $dataarray = explode(",",$data);
Defender + 防禦者
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + procMtime($time); ?> - - + + @@ -23,8 +23,8 @@ $dataarray = explode(",",$data);
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -36,7 +36,7 @@ $start = ($tribe-1)*10+1; for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -45,7 +45,7 @@ for($i=3;$i<=12;$i++) { echo ""; } } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -55,7 +55,7 @@ for($i=13;$i<=22;$i++) { } } if($dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=152;$i<=161;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -72,56 +72,56 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - -
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -130,7 +130,7 @@ for($i=35;$i<=44;$i++) { echo ""; } } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -142,25 +142,25 @@ for($i=45;$i<=54;$i++) { ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -169,7 +169,7 @@ for($i=56;$i<=65;$i++) { echo ""; } } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -182,23 +182,23 @@ for($i=66;$i<=75;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -207,7 +207,7 @@ for($i=77;$i<=86;$i++) { echo ""; } } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -220,24 +220,24 @@ for($i=87;$i<=96;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -246,7 +246,7 @@ for($i=98;$i<=107;$i++) { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -260,23 +260,23 @@ for($i=108;$i<=117;$i++) { +$start=41; ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -285,7 +285,7 @@ for($i=119;$i<=128;$i++) { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/19.tpl b/Admin/Templates/Notice/19.tpl index 0995b33c..5542550e 100644 --- a/Admin/Templates/Notice/19.tpl +++ b/Admin/Templates/Notice/19.tpl @@ -35,14 +35,14 @@ if($database->isVillageOases($dataarray[29])){
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + procMtime($rep[0]['time']); ?> - - + + @@ -50,8 +50,8 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -63,7 +63,7 @@ $start = ($tribe-1)*10+1; for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -72,7 +72,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -82,7 +82,7 @@ else { } } if($dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0 or $dataarray[162] != 0){ -echo ""; +echo ""; for($i=153;$i<=162;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -93,35 +93,35 @@ else { } } if(isset($dataarray[171]) && $dataarray[171] !=''){ //troop not return -?> -
Attacker from the village 攻擊者 來自村莊
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
Prisoners
囚犯0
Information +?> +
資訊
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -130,7 +130,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -144,23 +144,23 @@ else { +$start=11;?>
Defender - 防禦者 +
 
Troops
軍隊?".$dataarray[$i]."
Casualties
傷亡?
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -169,7 +169,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -182,23 +182,23 @@ else {
Defender - 防禦者 +
 
Troops
軍隊?".$dataarray[$i]."
Casualties
傷亡?
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -207,7 +207,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -221,23 +221,23 @@ else { +$start=31; ?>
Defender - 防禦者 +
 
Troops
軍隊?".$dataarray[$i]."
Casualties
傷亡?
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -246,7 +246,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -260,23 +260,23 @@ else { +$start=41; ?>
Defender - '.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + '.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊?".$dataarray[$i]."
Casualties
傷亡?
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -285,7 +285,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/19x.tpl b/Admin/Templates/Notice/19x.tpl index c1a19186..87f0bb5d 100644 --- a/Admin/Templates/Notice/19x.tpl +++ b/Admin/Templates/Notice/19x.tpl @@ -7,15 +7,15 @@ $dataarray = explode(",",$data);
Defender - 防禦者 +
 
Troops
軍隊?".$dataarray[$i]."
Casualties
傷亡?
- + - + procMtime($time); ?> - - + + @@ -23,8 +23,8 @@ $dataarray = explode(",",$data);
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -36,7 +36,7 @@ $start = ($tribe-1)*10+1; for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -45,7 +45,7 @@ for($i=3;$i<=12;$i++) { echo ""; } } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -55,7 +55,7 @@ for($i=13;$i<=22;$i++) { } } if($dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=152;$i<=161;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -72,29 +72,29 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; ?>
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
Prisoners
囚犯0
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -103,7 +103,7 @@ for($i=35;$i<=44;$i++) { echo ""; } } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -115,25 +115,25 @@ for($i=45;$i<=54;$i++) { ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊?".$dataarray[$i]."
Casualties
傷亡?
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -142,7 +142,7 @@ for($i=56;$i<=65;$i++) { echo ""; } } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -155,23 +155,23 @@ for($i=66;$i<=75;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊?".$dataarray[$i]."
Casualties
傷亡?
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -180,7 +180,7 @@ for($i=77;$i<=86;$i++) { echo ""; } } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -193,24 +193,24 @@ for($i=87;$i<=96;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊?".$dataarray[$i]."
Casualties
傷亡?
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -219,7 +219,7 @@ for($i=98;$i<=107;$i++) { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -233,23 +233,23 @@ for($i=108;$i<=117;$i++) { +$start=41; ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊?".$dataarray[$i]."
Casualties
傷亡?
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -258,7 +258,7 @@ for($i=119;$i<=128;$i++) { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/1x.tpl b/Admin/Templates/Notice/1x.tpl index b7ef8744..ad898f49 100644 --- a/Admin/Templates/Notice/1x.tpl +++ b/Admin/Templates/Notice/1x.tpl @@ -9,15 +9,15 @@ if(isset($dataarray[149]) and $dataarray[149]!=0){$colspan2="11";}else{$colspan2
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊?".$dataarray[$i]."
Casualties
傷亡?
- + - + procMtime($time); ?> - - + + @@ -25,8 +25,8 @@ if(isset($dataarray[149]) and $dataarray[149]!=0){$colspan2="11";}else{$colspan2
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -43,7 +43,7 @@ if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -55,7 +55,7 @@ for($i=3;$i<=12;$i++) { if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -69,7 +69,7 @@ if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } if($dataarray[151] != 0 or $dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0){ -echo ""; +echo ""; for($i=151;$i<=160;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -86,65 +86,65 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - - - -
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
\"Hero\"
Troops
軍隊0$dataarray[147]
Casualties
傷亡0$dataarray[148]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
Information - +
資訊 +
Bounty +
賞金
Lumber | Clay | Iron | Crop
carry
- + +$start=1; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -152,7 +152,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -164,7 +164,7 @@ for($i=35;$i<=44;$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -180,26 +180,26 @@ if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ ?>
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -207,7 +207,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -219,7 +219,7 @@ for($i=56;$i<=65;$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -236,24 +236,24 @@ if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+$start=21; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -261,7 +261,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -273,7 +273,7 @@ for($i=77;$i<=86;$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -290,25 +290,25 @@ if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+if ($dataarray[97]=='1'){ +$start=31; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -316,7 +316,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -328,7 +328,7 @@ for($i=98;$i<=107;$i++) { if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -346,24 +346,24 @@ if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=41; ?>
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -371,7 +371,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '5' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -383,7 +383,7 @@ for($i=119;$i<=128;$i++) { if($targettribe == '5' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/2.tpl b/Admin/Templates/Notice/2.tpl index 328df3da..b7bf5dd8 100644 --- a/Admin/Templates/Notice/2.tpl +++ b/Admin/Templates/Notice/2.tpl @@ -35,14 +35,14 @@ if($database->isVillageOases($dataarray[29])){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + procMtime($rep[0]['time']); ?> - - + + @@ -50,8 +50,8 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -68,7 +68,7 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -80,7 +80,7 @@ else { if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -94,7 +94,7 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } if($dataarray[151] != 0 or $dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=151;$i<=160;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -111,66 +111,66 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - - - -
Attacker from the village 攻擊者 來自村莊
\"Hero\"
Troops
軍隊0$dataarray[147]
Casualties
傷亡0$dataarray[148]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
Information - +
資訊 +
Information +
資訊 Hero
Bounty +
賞金
Lumber | Clay | Iron | Crop
carry
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -178,7 +178,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -190,7 +190,7 @@ else { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -208,18 +208,18 @@ if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=11;?>
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -227,7 +227,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -239,7 +239,7 @@ else { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -256,18 +256,18 @@ if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -275,7 +275,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -287,7 +287,7 @@ else { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -305,23 +305,23 @@ if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=31; ?>
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -330,7 +330,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -344,12 +344,12 @@ else { +$start=41; ?>
Defender - '.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + '.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + @@ -359,7 +359,7 @@ $start=41; ?> for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -368,7 +368,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/20.tpl b/Admin/Templates/Notice/20.tpl index 647d214c..9ba9048f 100644 --- a/Admin/Templates/Notice/20.tpl +++ b/Admin/Templates/Notice/20.tpl @@ -35,14 +35,14 @@ if($database->isVillageOases($dataarray[29])){
Defender - 防禦者 +
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + procMtime($rep[0]['time']); ?> - - + + @@ -50,8 +50,8 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -63,7 +63,7 @@ $start = ($tribe-1)*10+1; for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -72,7 +72,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -82,7 +82,7 @@ else { } } if($dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=152;$i<=161;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -99,51 +99,51 @@ if(isset($dataarray[148]) and $dataarray[148]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - -
Attacker from the village 攻擊者 來自村莊
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
- + +$start=1; ?> - - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -151,7 +151,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -163,7 +163,7 @@ else { if($targettribe == '1' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -181,18 +181,18 @@ if($targettribe == '1' and isset($dataarray[150]) and $dataarray[150]!=0){ +$start=11;?>
Defender + 防禦者
 \"Hero\"
Troops
軍隊0$dataarray[150]
Casualties
傷亡0
- - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -200,7 +200,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -212,7 +212,7 @@ else { if($targettribe == '2' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -229,18 +229,18 @@ if($targettribe == '2' and isset($dataarray[150]) and $dataarray[150]!=0){
Defender + 防禦者
 \"Hero\"
Troops
軍隊0$dataarray[150]
Casualties
傷亡0
+$start=21; ?> - - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -248,7 +248,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -260,7 +260,7 @@ else { if($targettribe == '3' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -278,23 +278,23 @@ if($targettribe == '3' and isset($dataarray[150]) and $dataarray[150]!=0){ +$start=31; ?>
Defender + 防禦者
 \"Hero\"
Troops
軍隊0$dataarray[150]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -303,7 +303,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -317,23 +317,23 @@ else { +$start=41; ?>
Defender - '.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + '.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -342,7 +342,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/20x.tpl b/Admin/Templates/Notice/20x.tpl index bb723cc5..c0df3aee 100644 --- a/Admin/Templates/Notice/20x.tpl +++ b/Admin/Templates/Notice/20x.tpl @@ -7,15 +7,15 @@ $dataarray = explode(",",$data);
Defender + 防禦者
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + procMtime($time); ?> - - + + @@ -23,8 +23,8 @@ $dataarray = explode(",",$data);
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -36,7 +36,7 @@ $start = ($tribe-1)*10+1; for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -45,7 +45,7 @@ for($i=3;$i<=12;$i++) { echo ""; } } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -55,7 +55,7 @@ for($i=13;$i<=22;$i++) { } } if($dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=152;$i<=161;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -72,56 +72,56 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - -
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -130,7 +130,7 @@ for($i=35;$i<=44;$i++) { echo ""; } } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -142,25 +142,25 @@ for($i=45;$i<=54;$i++) { ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -169,7 +169,7 @@ for($i=56;$i<=65;$i++) { echo ""; } } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -182,23 +182,23 @@ for($i=66;$i<=75;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -207,7 +207,7 @@ for($i=77;$i<=86;$i++) { echo ""; } } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -220,24 +220,24 @@ for($i=87;$i<=96;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -246,7 +246,7 @@ for($i=98;$i<=107;$i++) { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -260,23 +260,23 @@ for($i=108;$i<=117;$i++) { +$start=41; ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -285,7 +285,7 @@ for($i=119;$i<=128;$i++) { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/21.tpl b/Admin/Templates/Notice/21.tpl index 647d214c..9ba9048f 100644 --- a/Admin/Templates/Notice/21.tpl +++ b/Admin/Templates/Notice/21.tpl @@ -35,14 +35,14 @@ if($database->isVillageOases($dataarray[29])){
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + procMtime($rep[0]['time']); ?> - - + + @@ -50,8 +50,8 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -63,7 +63,7 @@ $start = ($tribe-1)*10+1; for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -72,7 +72,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -82,7 +82,7 @@ else { } } if($dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=152;$i<=161;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -99,51 +99,51 @@ if(isset($dataarray[148]) and $dataarray[148]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - -
Attacker from the village 攻擊者 來自村莊
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
- + +$start=1; ?> - - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -151,7 +151,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -163,7 +163,7 @@ else { if($targettribe == '1' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -181,18 +181,18 @@ if($targettribe == '1' and isset($dataarray[150]) and $dataarray[150]!=0){ +$start=11;?>
Defender + 防禦者
 \"Hero\"
Troops
軍隊0$dataarray[150]
Casualties
傷亡0
- - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -200,7 +200,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -212,7 +212,7 @@ else { if($targettribe == '2' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -229,18 +229,18 @@ if($targettribe == '2' and isset($dataarray[150]) and $dataarray[150]!=0){
Defender + 防禦者
 \"Hero\"
Troops
軍隊0$dataarray[150]
Casualties
傷亡0
+$start=21; ?> - - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -248,7 +248,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -260,7 +260,7 @@ else { if($targettribe == '3' and isset($dataarray[150]) and $dataarray[150]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -278,23 +278,23 @@ if($targettribe == '3' and isset($dataarray[150]) and $dataarray[150]!=0){ +$start=31; ?>
Defender + 防禦者
 \"Hero\"
Troops
軍隊0$dataarray[150]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -303,7 +303,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -317,23 +317,23 @@ else { +$start=41; ?>
Defender - '.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + '.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -342,7 +342,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/21x.tpl b/Admin/Templates/Notice/21x.tpl index bb723cc5..c0df3aee 100644 --- a/Admin/Templates/Notice/21x.tpl +++ b/Admin/Templates/Notice/21x.tpl @@ -7,15 +7,15 @@ $dataarray = explode(",",$data);
Defender + 防禦者
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + procMtime($time); ?> - - + + @@ -23,8 +23,8 @@ $dataarray = explode(",",$data); +
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -36,7 +36,7 @@ $start = ($tribe-1)*10+1; for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -45,7 +45,7 @@ for($i=3;$i<=12;$i++) { echo ""; } } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -55,7 +55,7 @@ for($i=13;$i<=22;$i++) { } } if($dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=152;$i<=161;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -72,56 +72,56 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - -
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -130,7 +130,7 @@ for($i=35;$i<=44;$i++) { echo ""; } } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -142,25 +142,25 @@ for($i=45;$i<=54;$i++) { ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -169,7 +169,7 @@ for($i=56;$i<=65;$i++) { echo ""; } } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -182,23 +182,23 @@ for($i=66;$i<=75;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -207,7 +207,7 @@ for($i=77;$i<=86;$i++) { echo ""; } } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -220,24 +220,24 @@ for($i=87;$i<=96;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -246,7 +246,7 @@ for($i=98;$i<=107;$i++) { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -260,23 +260,23 @@ for($i=108;$i<=117;$i++) { +$start=41; ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -285,7 +285,7 @@ for($i=119;$i<=128;$i++) { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/22.tpl b/Admin/Templates/Notice/22.tpl index 960f9935..819674c6 100644 --- a/Admin/Templates/Notice/22.tpl +++ b/Admin/Templates/Notice/22.tpl @@ -23,15 +23,15 @@ $message1 = "".$database->getUserField($dataarray[0],"username",0)." wishes you
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + procMtime($rep[0]['time']); ?> - - + + @@ -39,8 +39,8 @@ $message1 = "".$database->getUserField($dataarray[0],"username",0)." wishes you
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -55,7 +55,7 @@ for($i=$start;$i<=($start+9);$i++) { if(isset($dataarray[14]) and $dataarray[14]!=0){ echo ""; } -echo ""; +echo ""; for($i=4;$i<=13;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -69,7 +69,7 @@ if(isset($dataarray[14]) and $dataarray[14]!=0){ } ?> - diff --git a/Admin/Templates/Notice/2x.tpl b/Admin/Templates/Notice/2x.tpl index b7ef8744..ad898f49 100644 --- a/Admin/Templates/Notice/2x.tpl +++ b/Admin/Templates/Notice/2x.tpl @@ -9,15 +9,15 @@ if(isset($dataarray[149]) and $dataarray[149]!=0){$colspan2="11";}else{$colspan2
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
\"Hero\"
Troops
軍隊0
Information +
資訊 Peace
- + - + procMtime($time); ?> - - + + @@ -25,8 +25,8 @@ if(isset($dataarray[149]) and $dataarray[149]!=0){$colspan2="11";}else{$colspan2 '; } diff --git a/Templates/menu.tpl b/Templates/menu.tpl index a1120800..de16a92d 100644 --- a/Templates/menu.tpl +++ b/Templates/menu.tpl @@ -49,8 +49,8 @@ div.c1 {text-align: center} Plus

- - + +

isDeleting($session->uid); @@ -94,19 +94,19 @@ div.c1 {text-align: center} -
- Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms
- Server time: + 伺服器時間:
diff --git a/Templates/movement.tpl b/Templates/movement.tpl index d10cb641..bfd65354 100644 --- a/Templates/movement.tpl +++ b/Templates/movement.tpl @@ -1,4 +1,4 @@ - 0){ $aantal = count($database->getMovement(5,$village->wid,0)); $aantal2 = $database->getMovement(5,$village->wid,0); if($aantal > 0){ - if(!empty($NextArrival5)) { reset($NextArrival5); } + if(!empty($NextArrival5)) { reset($NextArrival5); } foreach($aantal2 as $receive) { $action = 'att3'; $aclass = 'a3'; @@ -152,7 +152,7 @@ if($aantal > 0){ $short = ''.NEWVILLAGE.''; $NextArrival5[] = $receive['endtime']; } - + echo ''; $timer += 1; @@ -169,7 +169,7 @@ $aantal += count($database->getMovement(6,$conqured['wref'],0)); $aantal2 = array_merge($database->getMovement(6,$conqured['wref'],0), $aantal2); } if($aantal > 0){ - if(!empty($NextArrival6)) { reset($NextArrival6); } + if(!empty($NextArrival6)) { reset($NextArrival6); } foreach($aantal2 as $receive) { if($receive['attack_type'] == 2){ $action = 'def3'; @@ -184,7 +184,7 @@ if($aantal > 0){ } $NextArrival6[] = $receive['endtime']; } - + echo ''; $timer += 1; diff --git a/Templates/multivillage.tpl b/Templates/multivillage.tpl index 8848d53e..b5995605 100644 --- a/Templates/multivillage.tpl +++ b/Templates/multivillage.tpl @@ -1,4 +1,4 @@ - - + - + - + - + - +
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -43,7 +43,7 @@ if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -55,7 +55,7 @@ for($i=3;$i<=12;$i++) { if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -69,7 +69,7 @@ if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } if($dataarray[151] != 0 or $dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0){ -echo ""; +echo ""; for($i=151;$i<=160;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -86,65 +86,65 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - - - -
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
\"Hero\"
Troops
軍隊0$dataarray[147]
Casualties
傷亡0$dataarray[148]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
Information - +
資訊 +
Bounty +
賞金
Lumber | Clay | Iron | Crop
carry
- + +$start=1; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -152,7 +152,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -164,7 +164,7 @@ for($i=35;$i<=44;$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -180,26 +180,26 @@ if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ ?>
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -207,7 +207,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -219,7 +219,7 @@ for($i=56;$i<=65;$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -236,24 +236,24 @@ if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+$start=21; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -261,7 +261,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -273,7 +273,7 @@ for($i=77;$i<=86;$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -290,25 +290,25 @@ if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+if ($dataarray[97]=='1'){ +$start=31; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -316,7 +316,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -328,7 +328,7 @@ for($i=98;$i<=107;$i++) { if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -346,24 +346,24 @@ if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=41; ?>
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -371,7 +371,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '5' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -383,7 +383,7 @@ for($i=119;$i<=128;$i++) { if($targettribe == '5' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/3.tpl b/Admin/Templates/Notice/3.tpl index fe86d617..773259e7 100644 --- a/Admin/Templates/Notice/3.tpl +++ b/Admin/Templates/Notice/3.tpl @@ -36,14 +36,14 @@ if($database->isVillageOases($dataarray[29])){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + procMtime($rep[0]['time']); ?> - - + + @@ -51,8 +51,8 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -67,7 +67,7 @@ for($i=$start;$i<=($start+9);$i++) { if(isset($dataarray[151]) and $dataarray[151]!=0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -79,7 +79,7 @@ else { if(isset($dataarray[151]) and $dataarray[151]!=0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -93,7 +93,7 @@ if(isset($dataarray[151]) and $dataarray[151]!=0){ echo ""; } if($dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0 or $dataarray[162] != 0 or $dataarray[163] != 0){ -echo ""; +echo ""; for($i=153;$i<=162;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -109,63 +109,63 @@ if(isset($dataarray[151]) and $dataarray[151]!=0){ } if ($dataarray[165]!='' and $dataarray[166]!=''){ //ram ?> - - - - -
Attacker from the village 攻擊者 來自村莊
\"Hero\"
Troops
軍隊0$dataarray[151]
Casualties
傷亡0$dataarray[152]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information +
資訊 Hero
Information +?> +
資訊
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -174,7 +174,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -188,23 +188,23 @@ else { +$start=11;?>
Defender - 防禦者 +
 
Troops
軍隊??
Casualties
傷亡?
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -213,7 +213,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -226,23 +226,23 @@ else {
Defender - 防禦者 +
 
Troops
軍隊??
Casualties
傷亡?
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -251,7 +251,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -265,23 +265,23 @@ else { +$start=31; ?>
Defender - 防禦者 +
 
Troops
軍隊??
Casualties
傷亡?
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -290,7 +290,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -304,23 +304,23 @@ else { +$start=41; ?>
Defender - '.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + '.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊??
Casualties
傷亡?
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -329,7 +329,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == "?") { echo ""; diff --git a/Admin/Templates/Notice/3x.tpl b/Admin/Templates/Notice/3x.tpl index ebeeb0e8..e1305342 100644 --- a/Admin/Templates/Notice/3x.tpl +++ b/Admin/Templates/Notice/3x.tpl @@ -2,7 +2,7 @@ ############################################################ ## DO NOT REMOVE THIS NOTICE ## ## ADVOCAITE ROCKS TRAVIANX NUTS ## -## GIT HUB REV ## +## GIT HUB REV ## ############################################################ $topic = $database->getNotice2($_GET['id'], 'topic'); $time = $database->getNotice2($_GET['id'], 'time'); @@ -14,15 +14,15 @@ $colspan2 = 10;
Defender - 防禦者 +
 
Troops
軍隊??
Casualties
傷亡?
- + - + procMtime($time); ?> - - + + @@ -30,8 +30,8 @@ $colspan2 = 10; - + - + diff --git a/Admin/Templates/maintenenceBan.tpl b/Admin/Templates/maintenenceBan.tpl index 73c33d9b..795eedb4 100644 --- a/Admin/Templates/maintenenceBan.tpl +++ b/Admin/Templates/maintenenceBan.tpl @@ -11,18 +11,18 @@ ?> -
+
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -46,7 +46,7 @@ for($i=$start;$i<=($start+9);$i++) { if ($dataarray[151]!="" and $dataarray[151]!=0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -58,7 +58,7 @@ for($i=3;$i<=12;$i++) { if ($dataarray[151]!="" and $dataarray[151]!=0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -72,7 +72,7 @@ if ($dataarray[151]!="" and $dataarray[151]!=0){ echo ""; } if($dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0 or $dataarray[162] != 0){ -echo ""; +echo ""; for($i=153;$i<=162;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -88,29 +88,29 @@ if(isset($dataarray[151]) and $dataarray[151]!=0){ } echo ""; ?>
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
\"Hero\"
Troops
軍隊0$dataarray[151]
Casualties
傷亡0$dataarray[152]
Prisoners
囚犯0
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -119,7 +119,7 @@ for($i=35;$i<=44;$i++) { echo ""; } } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -131,25 +131,25 @@ for($i=45;$i<=54;$i++) { ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊??
Casualties
傷亡?
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -158,7 +158,7 @@ for($i=56;$i<=65;$i++) { echo ""; } } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -171,23 +171,23 @@ for($i=66;$i<=75;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊??
Casualties
傷亡?
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -196,7 +196,7 @@ for($i=77;$i<=86;$i++) { echo ""; } } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -209,24 +209,24 @@ for($i=87;$i<=96;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊??
Casualties
傷亡?
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -235,7 +235,7 @@ for($i=98;$i<=107;$i++) { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -249,23 +249,23 @@ for($i=108;$i<=117;$i++) { +$start=41; ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊??
Casualties
傷亡?
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == "?") { echo ""; @@ -274,7 +274,7 @@ for($i=119;$i<=128;$i++) { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == "?") { echo ""; diff --git a/Admin/Templates/Notice/4.tpl b/Admin/Templates/Notice/4.tpl index 04f47f23..c8f8ae07 100644 --- a/Admin/Templates/Notice/4.tpl +++ b/Admin/Templates/Notice/4.tpl @@ -35,14 +35,14 @@ if($database->isVillageOases($dataarray[29])){
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊??
Casualties
傷亡?
- + procMtime($rep[0]['time']); ?> - - + + @@ -50,8 +50,8 @@ $date = $generator->procMtime($rep[0]['time']); ?> - + @@ -76,7 +76,7 @@ function refresh(tz) { - + @@ -129,7 +129,7 @@ function refresh(tz) { - + - + @@ -244,7 +244,7 @@ function refresh(tz) { - + @@ -282,16 +282,16 @@ function refresh(tz) { diff --git a/Admin/Templates/inactive.tpl b/Admin/Templates/inactive.tpl index e679713e..df03856c 100644 --- a/Admin/Templates/inactive.tpl +++ b/Admin/Templates/inactive.tpl @@ -44,7 +44,7 @@ global $database; $from_time=time() - (86400*7); $q = "SELECT * FROM ".TB_PREFIX."users where $from_time > timestamp AND id>5"; } - + $result = $database->query($q); $active = $database->mysql_fetch_all($result); for ($i = 0; $i <= count($active)-1; $i++){ @@ -67,7 +67,7 @@ global $database; $getmin=((time()-$active[$i]['timestamp'])/60); $gethr=((time()-$active[$i]['timestamp'])/3600); $getday=intval((time()-$active[$i]['timestamp'])/86400); - + echo " @@ -79,7 +79,7 @@ global $database; "; } - } + } ?>
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -68,7 +68,7 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -80,7 +80,7 @@ else { if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -94,7 +94,7 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } if($dataarray[151] != 0 or $dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=151;$i<=160;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -111,72 +111,72 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - - - - -
Attacker from the village 攻擊者 來自村莊
\"Hero\"
Troops
軍隊0$dataarray[147]
Casualties
傷亡0$dataarray[148]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
Information - +
資訊 +
Information +
資訊 Hero
Information +?> +
資訊
Bounty +
賞金
Lumber | Clay | Iron | Crop
carry
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -184,7 +184,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -196,7 +196,7 @@ else { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -214,18 +214,18 @@ if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=11;?>
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -233,7 +233,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -245,7 +245,7 @@ else { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -262,18 +262,18 @@ if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -281,7 +281,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -293,7 +293,7 @@ else { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -311,23 +311,23 @@ if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=31; ?>
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -336,7 +336,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -350,23 +350,23 @@ else { +$start=41; ?>
Defender - '.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + '.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -375,7 +375,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/4x.tpl b/Admin/Templates/Notice/4x.tpl index b7ef8744..ad898f49 100644 --- a/Admin/Templates/Notice/4x.tpl +++ b/Admin/Templates/Notice/4x.tpl @@ -9,15 +9,15 @@ if(isset($dataarray[149]) and $dataarray[149]!=0){$colspan2="11";}else{$colspan2
Defender - 防禦者 +
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + procMtime($time); ?> - - + + @@ -25,8 +25,8 @@ if(isset($dataarray[149]) and $dataarray[149]!=0){$colspan2="11";}else{$colspan2 @@ -37,53 +37,53 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); + + + + - + + @@ -91,13 +91,13 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - +
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -43,7 +43,7 @@ if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -55,7 +55,7 @@ for($i=3;$i<=12;$i++) { if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -69,7 +69,7 @@ if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } if($dataarray[151] != 0 or $dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0){ -echo ""; +echo ""; for($i=151;$i<=160;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -86,65 +86,65 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - - - -
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
\"Hero\"
Troops
軍隊0$dataarray[147]
Casualties
傷亡0$dataarray[148]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
Information - +
資訊 +
Bounty +
賞金
Lumber | Clay | Iron | Crop
carry
- + +$start=1; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -152,7 +152,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -164,7 +164,7 @@ for($i=35;$i<=44;$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -180,26 +180,26 @@ if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ ?>
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -207,7 +207,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -219,7 +219,7 @@ for($i=56;$i<=65;$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -236,24 +236,24 @@ if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+$start=21; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -261,7 +261,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -273,7 +273,7 @@ for($i=77;$i<=86;$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -290,25 +290,25 @@ if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+if ($dataarray[97]=='1'){ +$start=31; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -316,7 +316,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -328,7 +328,7 @@ for($i=98;$i<=107;$i++) { if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -346,24 +346,24 @@ if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=41; ?>
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -371,7 +371,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '5' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -383,7 +383,7 @@ for($i=119;$i<=128;$i++) { if($targettribe == '5' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/5.tpl b/Admin/Templates/Notice/5.tpl index 7e32dcab..c8f8ae07 100644 --- a/Admin/Templates/Notice/5.tpl +++ b/Admin/Templates/Notice/5.tpl @@ -35,14 +35,14 @@ if($database->isVillageOases($dataarray[29])){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + procMtime($rep[0]['time']); ?> - - + + @@ -50,8 +50,8 @@ $date = $generator->procMtime($rep[0]['time']); ?> - + - + - - - + + - + + @@ -133,63 +133,63 @@ function check_unit(el) { - - - + + + - - - - - + + + + + - + - + - - - - - + + + + + - + - - - - - + + + + + - + - - - - - + + + + + - + - - + $count_level_exp) $hero_info['points']=$count_level_exp; if($hero_info['experience'] < 495000){ ?> + ) - + - - + + - + - - + + @@ -198,7 +198,7 @@ function check_unit(el) {
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -68,7 +68,7 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -80,7 +80,7 @@ else { if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -94,7 +94,7 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } if($dataarray[151] != 0 or $dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=151;$i<=160;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -111,72 +111,72 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - - - - -
Attacker from the village 攻擊者 來自村莊
\"Hero\"
Troops
軍隊0$dataarray[147]
Casualties
傷亡0$dataarray[148]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
Information - +
資訊 +
Information +
資訊 Hero
Information +
資訊
Bounty +
賞金
Lumber | Clay | Iron | Crop
carry
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -184,7 +184,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -196,7 +196,7 @@ else { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -214,18 +214,18 @@ if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=11;?>
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -233,7 +233,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -245,7 +245,7 @@ else { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -262,18 +262,18 @@ if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -281,7 +281,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -293,7 +293,7 @@ else { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -311,23 +311,23 @@ if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=31; ?>
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -336,7 +336,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -350,23 +350,23 @@ else { +$start=41; ?>
Defender - '.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + '.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -375,7 +375,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/5x.tpl b/Admin/Templates/Notice/5x.tpl index b7ef8744..ad898f49 100644 --- a/Admin/Templates/Notice/5x.tpl +++ b/Admin/Templates/Notice/5x.tpl @@ -9,15 +9,15 @@ if(isset($dataarray[149]) and $dataarray[149]!=0){$colspan2="11";}else{$colspan2
Defender - 防禦者 +
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + procMtime($time); ?> - - + + @@ -25,8 +25,8 @@ if(isset($dataarray[149]) and $dataarray[149]!=0){$colspan2="11";}else{$colspan2 - + - +
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -43,7 +43,7 @@ if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -55,7 +55,7 @@ for($i=3;$i<=12;$i++) { if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -69,7 +69,7 @@ if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } if($dataarray[151] != 0 or $dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0){ -echo ""; +echo ""; for($i=151;$i<=160;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -86,65 +86,65 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - - - -
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
\"Hero\"
Troops
軍隊0$dataarray[147]
Casualties
傷亡0$dataarray[148]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
Information - +
資訊 +
Bounty +
賞金
Lumber | Clay | Iron | Crop
carry
- + +$start=1; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -152,7 +152,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -164,7 +164,7 @@ for($i=35;$i<=44;$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -180,26 +180,26 @@ if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ ?>
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -207,7 +207,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -219,7 +219,7 @@ for($i=56;$i<=65;$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -236,24 +236,24 @@ if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+$start=21; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -261,7 +261,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -273,7 +273,7 @@ for($i=77;$i<=86;$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -290,25 +290,25 @@ if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+if ($dataarray[97]=='1'){ +$start=31; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -316,7 +316,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -328,7 +328,7 @@ for($i=98;$i<=107;$i++) { if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -346,24 +346,24 @@ if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=41; ?>
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -371,7 +371,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '5' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -383,7 +383,7 @@ for($i=119;$i<=128;$i++) { if($targettribe == '5' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/6.tpl b/Admin/Templates/Notice/6.tpl index cea8ba72..7c1bca95 100644 --- a/Admin/Templates/Notice/6.tpl +++ b/Admin/Templates/Notice/6.tpl @@ -35,14 +35,14 @@ if($database->isVillageOases($dataarray[29])){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + procMtime($rep[0]['time']); ?> - - + + @@ -50,8 +50,8 @@ $date = $generator->procMtime($rep[0]['time']); ?> - + - + - +
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -68,7 +68,7 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -80,7 +80,7 @@ else { if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -94,7 +94,7 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } if($dataarray[151] != 0 or $dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=151;$i<=160;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -111,66 +111,66 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - - - -
Attacker from the village 攻擊者 來自村莊
\"Hero\"
Troops
軍隊0$dataarray[147]
Casualties
傷亡0$dataarray[148]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
Information - +
資訊 +
Information +
資訊 Hero
Bounty +
賞金
Lumber | Clay | Iron | Crop
carry
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -178,7 +178,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -190,7 +190,7 @@ else { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -208,18 +208,18 @@ if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=11;?>
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -227,7 +227,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -239,7 +239,7 @@ else { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -256,18 +256,18 @@ if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -275,7 +275,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -287,7 +287,7 @@ else { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -305,23 +305,23 @@ if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=31; ?>
Defender - 防禦者 +
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -330,7 +330,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -344,23 +344,23 @@ else { +$start=41; ?>
Defender - '.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + '.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -369,7 +369,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/6x.tpl b/Admin/Templates/Notice/6x.tpl index b7ef8744..ad898f49 100644 --- a/Admin/Templates/Notice/6x.tpl +++ b/Admin/Templates/Notice/6x.tpl @@ -9,15 +9,15 @@ if(isset($dataarray[149]) and $dataarray[149]!=0){$colspan2="11";}else{$colspan2
Defender - 防禦者 +
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + procMtime($time); ?> - - + + @@ -25,8 +25,8 @@ if(isset($dataarray[149]) and $dataarray[149]!=0){$colspan2="11";}else{$colspan2 - @@ -49,8 +49,8 @@ if(isset($id)) - - + +
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -43,7 +43,7 @@ if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -55,7 +55,7 @@ for($i=3;$i<=12;$i++) { if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -69,7 +69,7 @@ if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } if($dataarray[151] != 0 or $dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0){ -echo ""; +echo ""; for($i=151;$i<=160;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -86,65 +86,65 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - - - -
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
\"Hero\"
Troops
軍隊0$dataarray[147]
Casualties
傷亡0$dataarray[148]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
Information - +
資訊 +
Bounty +
賞金
Lumber | Clay | Iron | Crop
carry
- + +$start=1; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -152,7 +152,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -164,7 +164,7 @@ for($i=35;$i<=44;$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -180,26 +180,26 @@ if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ ?>
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -207,7 +207,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -219,7 +219,7 @@ for($i=56;$i<=65;$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -236,24 +236,24 @@ if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+$start=21; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -261,7 +261,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -273,7 +273,7 @@ for($i=77;$i<=86;$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -290,25 +290,25 @@ if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
+if ($dataarray[97]=='1'){ +$start=31; ?> - + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -316,7 +316,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -328,7 +328,7 @@ for($i=98;$i<=107;$i++) { if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -346,24 +346,24 @@ if($targettribe == '4' and isset($dataarray[149]) and $dataarray[149]!=0){ +$start=41; ?>
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; @@ -371,7 +371,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '5' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -383,7 +383,7 @@ for($i=119;$i<=128;$i++) { if($targettribe == '5' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/7.tpl b/Admin/Templates/Notice/7.tpl index 92a3952d..c050841c 100644 --- a/Admin/Templates/Notice/7.tpl +++ b/Admin/Templates/Notice/7.tpl @@ -35,14 +35,14 @@ if($database->isVillageOases($dataarray[29])){
Defender + 防禦者 - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?> getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 \"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- +procMtime($rep[0]['time']); ?> - - + + @@ -50,8 +50,8 @@ $date = $generator->procMtime($rep[0]['time']); ?> - @@ -56,7 +56,7 @@ if(isset($id)) - +
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -66,7 +66,7 @@ for($i=$start;$i<=($start+9);$i++) { if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -78,7 +78,7 @@ else { if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -92,7 +92,7 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; } if($dataarray[151] != 0 or $dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0 or $dataarray[161] != 0){ -echo ""; +echo ""; for($i=151;$i<=160;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -109,53 +109,53 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - - - - -
Attacker from the village 攻擊者 來自村莊
\"Hero\"
Troops
軍隊0$dataarray[147]
Casualties
傷亡0$dataarray[148]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
Information - +
資訊 +
Information +
資訊 Hero
Information +?> +
資訊
Bounty +
賞金
Lumber | Clay | Iron | Crop
carry
- + @@ -180,7 +180,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -192,7 +192,7 @@ else { if($targettribe == '1' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -214,8 +214,8 @@ $start=11;?>
Defender - 防禦者 +
\"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + @@ -227,7 +227,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -239,7 +239,7 @@ else { if($targettribe == '2' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -260,8 +260,8 @@ $start=21; ?>
Defender - 防禦者 +
\"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + @@ -273,7 +273,7 @@ for($i=$start;$i<=($start+9);$i++) { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -285,7 +285,7 @@ else { if($targettribe == '3' and isset($dataarray[149]) and $dataarray[149]!=0){ echo ""; } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -308,8 +308,8 @@ $start=31; ?>
Defender - 防禦者 +
\"Hero\"
Troops
軍隊0$dataarray[149]
Casualties
傷亡0
- + @@ -318,7 +318,7 @@ $start=31; ?> for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -327,7 +327,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=118;$i<=127;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -345,8 +345,8 @@ $start=41; ?>
Defender - '.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + '.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + @@ -355,7 +355,7 @@ $start=41; ?> for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -364,7 +364,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=139;$i<=148;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -383,8 +383,8 @@ $start=31; ?>
Defender - 防禦者 +
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + @@ -393,7 +393,7 @@ $start=31; ?> for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -402,7 +402,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -420,8 +420,8 @@ $start=41; ?>
Defender - '.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + '.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + @@ -430,7 +430,7 @@ $start=41; ?> for($i=$start;$i<=($start+9);$i++) { echo ""; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -439,7 +439,7 @@ else { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/7x.tpl b/Admin/Templates/Notice/7x.tpl index 446b7db9..dbcc6fe5 100644 --- a/Admin/Templates/Notice/7x.tpl +++ b/Admin/Templates/Notice/7x.tpl @@ -9,15 +9,15 @@ $colspan2 = 10;
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + procMtime($time); ?> - - + + @@ -25,8 +25,8 @@ $colspan2 = 10; - + @@ -20,17 +20,17 @@ $noticeClass = array("Scout Report","Won as attacker without losses","Won as att -There are no reports available."; - } + } ?> - +
Subject:主旨:
Sent:on at ".$date[1]; ?> hour寄送時間:on at ".$date[1]; ?> 小時
- - + + @@ -43,7 +43,7 @@ if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=3;$i<=12;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -55,7 +55,7 @@ for($i=3;$i<=12;$i++) { if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } -echo ""; +echo ""; for($i=13;$i<=22;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -69,7 +69,7 @@ if (isset($dataarray[147]) and $dataarray[147] != 0){ echo ""; } if($dataarray[151] != 0 or $dataarray[152] != 0 or $dataarray[153] != 0 or $dataarray[154] != 0 or $dataarray[155] != 0 or $dataarray[156] != 0 or $dataarray[157] != 0 or $dataarray[158] != 0 or $dataarray[159] != 0 or $dataarray[160] != 0){ -echo ""; +echo ""; for($i=151;$i<=160;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -86,65 +86,65 @@ if(isset($dataarray[147]) and $dataarray[147]!=0){ echo ""; if ($dataarray[139]!='' and $dataarray[140]!=''){ //ram ?> - - - - - - - -
Attacker">getUserField($dataarray[0],"username",0); ?> from the village getVillageField($dataarray[1],"name"); ?>攻擊者">getUserField($dataarray[0],"username",0); ?> 來自村莊 getVillageField($dataarray[1],"name"); ?>
\"Hero\"
Troops
軍隊0$dataarray[147]
Casualties
傷亡0$dataarray[148]
Prisoners
囚犯0
Information +
資訊 Ram
Information +
資訊 Catapult
Information +
資訊 Chief
Information - +
資訊 +
Information - +
資訊 +
Bounty +
賞金
Lumber | Clay | Iron | Crop
carry
- + +$start=1; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=35;$i<=44;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -153,7 +153,7 @@ for($i=35;$i<=44;$i++) { echo ""; } } -echo ""; +echo ""; for($i=45;$i<=54;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -165,25 +165,25 @@ for($i=45;$i<=54;$i++) { ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=56;$i<=65;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -192,7 +192,7 @@ for($i=56;$i<=65;$i++) { echo ""; } } -echo ""; +echo ""; for($i=66;$i<=75;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -205,23 +205,23 @@ for($i=66;$i<=75;$i++) {
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
+$start=21; ?> - + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=77;$i<=86;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -230,7 +230,7 @@ for($i=77;$i<=86;$i++) { echo ""; } } -echo ""; +echo ""; for($i=87;$i<=96;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -244,24 +244,24 @@ for($i=87;$i<=96;$i++) { +if ($dataarray[97]=='1'){ +$start=31; ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -270,7 +270,7 @@ for($i=98;$i<=107;$i++) { echo ""; } } -echo ""; +echo ""; for($i=118;$i<=127;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -284,23 +284,23 @@ for($i=118;$i<=127;$i++) { +$start=41; ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -309,7 +309,7 @@ for($i=129;$i<=138;$i++) { echo ""; } } -echo ""; +echo ""; for($i=139;$i<=148;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -323,24 +323,24 @@ for($i=139;$i<=148;$i++) { +if ($dataarray[97]=='1'){ +$start=31; ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=98;$i<=107;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -349,7 +349,7 @@ for($i=98;$i<=107;$i++) { echo ""; } } -echo ""; +echo ""; for($i=108;$i<=117;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -363,23 +363,23 @@ for($i=108;$i<=117;$i++) { +$start=41; ?>
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + - - + + getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" />"; } -echo ""; +echo ""; for($i=119;$i<=128;$i++) { if($dataarray[$i] == 0) { echo ""; @@ -388,7 +388,7 @@ for($i=119;$i<=128;$i++) { echo ""; } } -echo ""; +echo ""; for($i=129;$i<=138;$i++) { if($dataarray[$i] == 0) { echo ""; diff --git a/Admin/Templates/Notice/8.tpl b/Admin/Templates/Notice/8.tpl index ea41ff53..ecce60ab 100644 --- a/Admin/Templates/Notice/8.tpl +++ b/Admin/Templates/Notice/8.tpl @@ -15,13 +15,13 @@ if($database->getVillageField($dataarray[0],'name')!="??" || $dataarray[0] == 0)
Defender - getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' from the village '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>防禦者 + getUserField($dataarray[28],"id",0).'">'.$database->getUserField($dataarray[28],"username",0).' 來自村莊 '.stripslashes($dataarray[30]).''; } else { echo"Reinforcement"; } ?>
 
Troops
軍隊0".$dataarray[$i]."
Casualties
傷亡0
- + procMtime($rep[0]['time']); ?> - + @@ -29,9 +29,9 @@ $date = $generator->procMtime($rep[0]['time']); ?>
Subject:主旨:
Sent:寄送時間: on at ".$date[1]; ?>
- + - +"; } -echo ""; +echo ""; for($i=3;$i<13;$i++) { $unitarray['u'.($i-3+$start).''] = $dataarray[$i]; if($dataarray[$i] == 0) { @@ -57,9 +57,9 @@ if($dataarray[13] != 0) { echo ""; $unitarray['hero'] = 1; } - + ?> +getUpkeep($unitarray,$dataarray[2]); ?>Crop每小時
sender from the village
寄件者 來自村莊
 
Troops
軍隊".$dataarray[13]."
upkeep -getUpkeep($unitarray,$dataarray[2]); ?>Cropper hour
\ No newline at end of file diff --git a/Admin/Templates/Notice/9.tpl b/Admin/Templates/Notice/9.tpl index 88229cea..9d7370d7 100644 --- a/Admin/Templates/Notice/9.tpl +++ b/Admin/Templates/Notice/9.tpl @@ -1,4 +1,4 @@ getNotice2($_GET['id'], 'archive'); -include("".$archive.".tpl"); +include("".$archive.".tpl"); ?> \ No newline at end of file diff --git a/Admin/Templates/Notice/9x.tpl b/Admin/Templates/Notice/9x.tpl index 97750ece..65db207d 100644 --- a/Admin/Templates/Notice/9x.tpl +++ b/Admin/Templates/Notice/9x.tpl @@ -1,4 +1,4 @@ getNotice2($_GET['id'], 'archive'); -include("".$archive."x.tpl"); +include("".$archive."x.tpl"); ?> \ No newline at end of file diff --git a/Admin/Templates/Notice/all.tpl b/Admin/Templates/Notice/all.tpl index 2f6d3f68..549efc6c 100644 --- a/Admin/Templates/Notice/all.tpl +++ b/Admin/Templates/Notice/all.tpl @@ -1,4 +1,4 @@ -
@@ -6,7 +6,7 @@ $noticeClass = array("Scout Report","Won as attacker without losses","Won as att class="row_table_data">
Subject:主旨: Sent
- plus) { + plus) { if(isset($_GET['t']) && $_GET['t'] == 5) { echo ""; } else { - echo ""; + echo ""; } }?> -
- \ No newline at end of file diff --git a/Admin/Templates/addABTroops.tpl b/Admin/Templates/addABTroops.tpl index 2b63d97a..ec9c1435 100644 --- a/Admin/Templates/addABTroops.tpl +++ b/Admin/Templates/addABTroops.tpl @@ -16,10 +16,10 @@ if(isset($id)) { $village = $database->getVillage($id); $user = $database->getUserArray($village['owner'],1); - $abtech = $database->getABTech($id); // Armory/blacksmith level + $abtech = $database->getABTech($id); // Armory/blacksmith level $units = $database->getUnit($village['wref']); $coor = $database->getCoor($village['wref']); - + $tribe = $user['tribe']; if($tribe ==1){ $img = 0;} if($tribe ==2){ $img = 10;} @@ -28,8 +28,8 @@ if(isset($id)) if($tribe ==5){ $img = 40;} if($tribe ==6){ $img = 50;} include("search2.tpl"); -?> - +?> + @@ -42,7 +42,7 @@ if(isset($id))
Armour Blackmith
'.$unarray[$img+$i].'')" />
- + diff --git a/Admin/Templates/addTroops.tpl b/Admin/Templates/addTroops.tpl index d1be5e96..7f788f0f 100644 --- a/Admin/Templates/addTroops.tpl +++ b/Admin/Templates/addTroops.tpl @@ -26,7 +26,7 @@ if(isset($id)) if($tribe ==5){ $img = 40;} if($tribe ==6){ $img = 50;} include("search2.tpl"); -?> +?>
@@ -35,7 +35,7 @@ if(isset($id))
Edit troops
'.$unarray[$img+$i].'')" />
(and their home Villages) on your Users created will be Farm1, Farm2, Farm3, Farm4, Farm5


- + (and their home Villages) on your // Should never reach here $tribe = 'Unknown'; } - + echo '

' - . $amount . + . $amount . ' Users and Villages added using Base Name ' - . $baseName . + . $baseName . '
'; - + // Say if Beginners Protection was set for any Users created if ($amount > 0) { @@ -123,16 +123,16 @@ Submitting this form will create new Users
(and their home Villages) on your } $begMessage .= 'set for ' . $usersMessage . '
'; echo $begMessage; - + // Say Tribes chosen $tribeMessage = 'Tribe for ' . $usersMessage . ' was '; $tribeMessage .= $tribe . '
'; - echo $tribeMessage; + echo $tribeMessage; } if ($skipped > 0) { echo '' - . $skipped . + . $skipped . ' Users not created as the user name already exists
'; diff --git a/Admin/Templates/add_village.tpl b/Admin/Templates/add_village.tpl index 12650283..3c31fba0 100644 --- a/Admin/Templates/add_village.tpl +++ b/Admin/Templates/add_village.tpl @@ -1,4 +1,4 @@ - +.del {width:12px; height:12px; background-image: url(img/admin/icon/del.gif);} +
- +
- + - - + + - - - + + + - + - + - - + +
Add Village新增村莊
Coordinates (X|Y)
座標 (X|Y)
X: >
Y: >
>
diff --git a/Admin/Templates/config.tpl b/Admin/Templates/config.tpl index 9a98dbdc..19a2e2ad 100644 --- a/Admin/Templates/config.tpl +++ b/Admin/Templates/config.tpl @@ -19,29 +19,29 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - +
Server Settings 伺服器設定
- - + + - + - - + + - - + + - + - + @@ -81,7 +81,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - + @@ -98,11 +98,11 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - + - + @@ -114,7 +114,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - + @@ -124,7 +124,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - + @@ -138,13 +138,13 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - + - + - + - - + +
VariableValue變數內容
Server Name伺服器名稱
Server Started伺服器啟動時間
Server Timezone
伺服器時區
Language語言 @@ -49,7 +49,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
Server Speed伺服器速度
Map Size地圖尺寸 x
Activation MailEnabled"; } else { echo "Disabled"; } ?>啟用"; } else { echo "停用"; } ?>
QuestEnabled"; } else { echo "Disabled"; } ?>啟用"; } else { echo "停用"; } ?>
Quest Type
World Wonder - StatisticsEnabled"; } else if(WW == false) { echo "Disabled"; } ?>啟用"; } else if(WW == false) { echo "停用"; } ?>
Plus account duration+25% production duration = 86400){ echo ''.(PLUS_PRODUCTION/86400).' Days'; } else if(PLUS_PRODUCTION < 86400){ echo ''.(PLUS_PRODUCTION/3600).' Hours'; } ?>
Nature Troops Regeneration Time = 86400){ echo ''.(NATURE_REGTIME/86400).' Days'; } else if(NATURE_REGTIME < 86400){ echo ''.(NATURE_REGTIME/3600).' Hours'; } ?>
Great WorkshopEnabled"; } else { echo "Disabled"; } ?>啟用"; } else { echo "停用"; } ?>
Show Natars in Statistics True"; } else { echo "False"; } ?>
Peace system和平系統
Graphic PackEnabled"; } else { echo "Disabled"; } ?>啟用"; } else { echo "停用"; } ?>
Error Reporting錯誤顯示
- +
Log Settings Log 設定
- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +
VariableValue變數內容
Log BuildEnabled"; } else if(LOG_BUILD == false){ echo "Disabled"; } ?>記錄建築行為啟用"; } else if(LOG_BUILD == false){ echo "停用"; } ?>
Log TechnologyEnabled"; } else if(LOG_TECH == false){ echo "Disabled"; } ?>記錄科技研發啟用"; } else if(LOG_TECH == false){ echo "停用"; } ?>
Log LoginEnabled"; } else if(LOG_LOGIN == false){ echo "Disabled"; } ?>記錄登入行為啟用"; } else if(LOG_LOGIN == false){ echo "停用"; } ?>
Log GoldEnabled"; } else if(LOG_GOLD_FIN == false){ echo "Disabled"; } ?>紀錄黃金啟用"; } else if(LOG_GOLD_FIN == false){ echo "停用"; } ?>
Log AdminEnabled"; } else if(LOG_ADMIN == false){ echo "Disabled"; } ?>記錄管理行為啟用"; } else if(LOG_ADMIN == false){ echo "停用"; } ?>
Log WarEnabled"; } else if(LOG_WAR == false){ echo "Disabled"; } ?>記錄戰爭行為啟用"; } else if(LOG_WAR == false){ echo "停用"; } ?>
Log MarketEnabled"; } else if(LOG_MARKET == false){ echo "Disabled"; } ?>記錄市場行為啟用"; } else if(LOG_MARKET == false){ echo "停用"; } ?>
Log IllegalEnabled"; } else if(LOG_ILLEGAL == false){ echo "Disabled"; } ?>記錄非法行為啟用"; } else if(LOG_ILLEGAL == false){ echo "停用"; } ?>
- +
Newsbox Settings 資訊設定
- - + + - - + + - - + + - - + +
VariableValue變數內容
Newsbox 1Enabled"; } else if(NEWSBOX1 == false){ echo "Disabled"; } ?> 資訊 1啟用"; } else if(NEWSBOX1 == false){ echo "停用"; } ?>
Newsbox 2Enabled"; } else if(NEWSBOX2 == false){ echo "Disabled"; } ?> 資訊 2啟用"; } else if(NEWSBOX2 == false){ echo "停用"; } ?>
Newsbox 3Enabled"; } else if(NEWSBOX3 == false){ echo "Disabled"; } ?> 資訊 3啟用"; } else if(NEWSBOX3 == false){ echo "停用"; } ?>
- +
SQL SettingsSQL 設定
- - + + - + - + - + - + - + - +
VariableValue變數內容
Hostname主機名稱
DB UsernameDB 使用者
DB PasswordDB 密碼 *********
DB NameDB 名稱
Table PrefixTable 前綴
DB TypeDB 類型
@@ -291,49 +291,49 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - +
Extra Settings 額外設定
- - + + - - + + - - + +
VariableValue變數內容
Limit MailboxEnabled"; } else if(LIMIT_MAILBOX == false){ echo "Disabled"; } ?>限制郵箱啟用"; } else if(LIMIT_MAILBOX == false){ echo "停用"; } ?>
Max number of mailsLimit mailbox disabled"; } ?>最大郵件數量郵件數量限制停用"; } ?>
- +
Admin Information 管理資訊
- - + + - - + + - - + + - - + +
VariableValue變數內容
Admin EmailNo admin email defined!"; } else if(ADMIN_EMAIL != ''){ echo ADMIN_EMAIL; } ?>管理員郵件位址沒有指定管理員郵件位址!"; } else if(ADMIN_EMAIL != ''){ echo ADMIN_EMAIL; } ?>
Admin NameNo admin name defined!"; } else if(ADMIN_NAME != ''){ echo ADMIN_NAME; } ?>管理員名稱沒有指定管理員名稱!"; } else if(ADMIN_NAME != ''){ echo ADMIN_NAME; } ?>
Include Admin in RankEnabled"; } else if(INCLUDE_ADMIN == false){ echo "Disabled"; } ?>管理員參與排名啟用"; } else if(INCLUDE_ADMIN == false){ echo "停用"; } ?>
diff --git a/Admin/Templates/editAdditional.tpl b/Admin/Templates/editAdditional.tpl index 75c3fe1f..044e570e 100644 --- a/Admin/Templates/editAdditional.tpl +++ b/Admin/Templates/editAdditional.tpl @@ -27,7 +27,7 @@ function go_url(url) { location=url; return(false); } - +
@@ -91,7 +91,7 @@ function go_url(url) { } ?>
Give Protection For @@ -134,14 +134,14 @@ function go_url(url) { Points
')" />
Limit Mailbox
Max Number of Mails3030

diff --git a/Admin/Templates/editHero.tpl b/Admin/Templates/editHero.tpl index 85644bf2..1ed343cb 100644 --- a/Admin/Templates/editHero.tpl +++ b/Admin/Templates/editHero.tpl @@ -11,10 +11,10 @@ $id = isset($_GET['uid']); if(isset($_GET['uid'])){ $id = $_GET['uid']; - include_once("../GameEngine/Data/hero_full.php"); + include_once("../GameEngine/Data/hero_full.php"); include_once("../GameEngine/Units.php"); $user = $database->getUserArray($id,1); - $result = mysql_query("SELECT * FROM " . TB_PREFIX . "hero WHERE `uid` = ".$id); + $result = mysql_query("SELECT * FROM " . TB_PREFIX . "hero WHERE `uid` = ".$id); $hero_info = mysql_fetch_array($result); $hero = $units->Hero($id,1); $unarray = array(1=>U1,U2,U3,U4,U5,U6,U7,U8,U9,U10,U11,U12,U13,U14,U15,U16,U17,U18,U19,U20,U21,U22,U23,U24,U25,U26,U27,U28,U29,U30,U31,U32,U33,U34,U35,U36,U37,U38,U39,U40,U41,U42,U43,U44,U45,U46,U47,U48,U49,U50,U99,U0); @@ -62,11 +62,11 @@ function changeValue(u,c) { document.frmHero.exp.value='0'; }else{ if (l<99) l++; - } + } v=parseInt(n) + 5; } } -if (v>0) document.getElementById(c+'0').innerHTML="(-)"; +if (v>0) document.getElementById(c+'0').innerHTML="(-)"; if (v<99) document.getElementById(c+'1').innerHTML="(+)"; if (v<1) document.getElementById(c+'0').innerHTML="(-)"; if (v>98) document.getElementById(c+'1').innerHTML="(+)"; @@ -101,17 +101,17 @@ function check_unit(el) {
New Value
Hero NameHero Name
Hero Level
0
+
Hero Level
0
Hero UnitHero Unit getUnitName($hero_info['unit'])."\" title=\"".$technology->getUnitName($hero_info['unit'])."\" /> (".$technology->getUnitName($hero_info['unit']); ?>)
getUnitName($hero_info['unit'])."\" title=\"".$technology->getUnitName($hero_info['unit'])."\" />";?>
-
ItemsLevel
OffenceOffence (-)(+)
0
Defence(+)
0
Defence (-)(+)(+)
0
Off-Bonus%
Off-Bonus% (-)(+)(+)
0
Def-Bonus%
Def-Bonus% (-)(+)(+)
0
Regeneration/Day
Regeneration/Day (-)(+)(+)
0
Experience % ( - ) Experience100% ()100% ()
5
5
Health%%%%
')" />
Please fill hero name'; } diff --git a/Admin/Templates/editLogSet.tpl b/Admin/Templates/editLogSet.tpl index 5fd06c9b..882189f5 100644 --- a/Admin/Templates/editLogSet.tpl +++ b/Admin/Templates/editLogSet.tpl @@ -28,8 +28,8 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
Log Building
Log Tech -
Log Login -
Log Gold -
Log Admin -
Log War -
Log Market
Log Illegal

diff --git a/Admin/Templates/editNewsboxSet.tpl b/Admin/Templates/editNewsboxSet.tpl index 2d4d31e2..5f3120d0 100644 --- a/Admin/Templates/editNewsboxSet.tpl +++ b/Admin/Templates/editNewsboxSet.tpl @@ -20,12 +20,12 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - + - + - + + - + + - +
Edit Newsbox Settings編輯資訊設定
Newsbox 1資訊 1
Newsbox 2資訊 2 -
Newsbox 3資訊 3 -

diff --git a/Admin/Templates/editServerSet.tpl b/Admin/Templates/editServerSet.tpl index c453d594..367fbcf6 100644 --- a/Admin/Templates/editServerSet.tpl +++ b/Admin/Templates/editServerSet.tpl @@ -68,7 +68,7 @@ function refresh(tz) {
Server Speed
Troop Speed
Evasion Speed
Register Open @@ -143,17 +143,17 @@ function refresh(tz) { Activation Mail
Quest
Tourn Threshold
Graphic Pack
Error Reporting
".$active[$i]['username']." [".$active[$i]['access']."]
diff --git a/Admin/Templates/maintenence.tpl b/Admin/Templates/maintenence.tpl index f4d2ad11..9c49b82a 100644 --- a/Admin/Templates/maintenence.tpl +++ b/Admin/Templates/maintenence.tpl @@ -13,13 +13,13 @@
Server Maintenence
Description Execute
Close Server for Maintenece, This will ban all players (Access 2) till you can fix bugs, or a crap version of a ceasefire lol
- + - + diff --git a/Admin/Templates/maintenenceResetGold.tpl b/Admin/Templates/maintenenceResetGold.tpl index 68278c75..bfdcf40d 100644 --- a/Admin/Templates/maintenenceResetGold.tpl +++ b/Admin/Templates/maintenenceResetGold.tpl @@ -15,9 +15,9 @@ - + - + diff --git a/Admin/Templates/maintenenceResetPlus.tpl b/Admin/Templates/maintenenceResetPlus.tpl index 63652085..88e05130 100644 --- a/Admin/Templates/maintenenceResetPlus.tpl +++ b/Admin/Templates/maintenenceResetPlus.tpl @@ -15,9 +15,9 @@ - + - + diff --git a/Admin/Templates/maintenenceResetPlusBonus.tpl b/Admin/Templates/maintenenceResetPlusBonus.tpl index 8536167d..22b1b5f8 100644 --- a/Admin/Templates/maintenenceResetPlusBonus.tpl +++ b/Admin/Templates/maintenenceResetPlusBonus.tpl @@ -15,9 +15,9 @@ - + - + diff --git a/Admin/Templates/maintenenceUnban.tpl b/Admin/Templates/maintenenceUnban.tpl index bf206f9f..613bd5f8 100644 --- a/Admin/Templates/maintenenceUnban.tpl +++ b/Admin/Templates/maintenenceUnban.tpl @@ -13,19 +13,19 @@ $bannedUsers = $admin->search_banned(); ?> - -
+ +
Close Server (Ban Everyone)
Duration Starting
">
Reset All Players Gold
Reset All Players Resource Bonus
Reset All Players Plus
- + - + @@ -64,7 +64,7 @@ $bannedUsers = $admin->search_banned(); $name = $database->getUserField($bannedUsers[$i]['uid'],'username',0); $link = ''.$name.''; - } + } if($bannedUsers[$i]['end']) { $end = date("d.m.y H:i",$bannedUsers[$i]['end']); diff --git a/Admin/Templates/map.tpl b/Admin/Templates/map.tpl index 2e654c17..7c9464dd 100644 --- a/Admin/Templates/map.tpl +++ b/Admin/Templates/map.tpl @@ -91,7 +91,7 @@ if ($check1=="" && $check2=="") {$criteria="WHERE tribe=0)";} $p_x=250; $p_y=250; } - + echo '
'.$p_info.'
'; } ?> @@ -120,9 +120,9 @@ if ($check1=="" && $check2=="") {$criteria="WHERE tribe=0)";}
-
Open Server (Unban Players by Reason)
Unban "Reason" Action
Multihunter
+
- + diff --git a/Admin/Templates/msg.tpl b/Admin/Templates/msg.tpl index 7361c2b2..d5a1998b 100644 --- a/Admin/Templates/msg.tpl +++ b/Admin/Templates/msg.tpl @@ -38,7 +38,7 @@ if($msg)
-"; include("playermedals.tpl"); include ("villages.tpl"); ?> diff --git a/Admin/Templates/playerheroinfo.tpl b/Admin/Templates/playerheroinfo.tpl index 6d0175da..8a575482 100644 --- a/Admin/Templates/playerheroinfo.tpl +++ b/Admin/Templates/playerheroinfo.tpl @@ -9,16 +9,16 @@ ## ## ################################################################################# -include_once("../GameEngine/Data/hero_full.php"); +include_once("../GameEngine/Data/hero_full.php"); include_once("../GameEngine/Units.php"); $id=$user['id']; -$hero = mysql_query("SELECT * FROM " . TB_PREFIX . "hero WHERE `uid` = ".$id); +$hero = mysql_query("SELECT * FROM " . TB_PREFIX . "hero WHERE `uid` = ".$id); $hero_info = mysql_fetch_array($hero); if (!empty($hero_info)) { $hero = $units->Hero($id,1); }else { $hero="none"; -} +} ?> 1759 or $hour < 500) { $day_night_img = 'night_image'; } elseif ($hour > 1200) { diff --git a/Templates/links.tpl b/Templates/links.tpl index ae33f4bc..8e7f9dc7 100644 --- a/Templates/links.tpl +++ b/Templates/links.tpl @@ -1,4 +1,4 @@ -getLinks($session->uid); +$query = $database->getLinks($session->uid); if (mysql_num_rows($query) > 0){ $links = array(); while($data = mysql_fetch_assoc($query)) { @@ -29,7 +29,7 @@ foreach($links as $link) { $external = ''; } - echo '
'.$title.'»
'.$aantal.' '.$short.'
in '.$generator->getTimeFormat(min($NextArrival5)-time()).' '.HOURS.'
'.$title.'»
'.$aantal.' '.$short.'
in '.$generator->getTimeFormat(min($NextArrival6)-time()).' '.HOURS.'
:
<?php echo LUMBER; ?> : getProd("wood"); ?>
<?php echo CLAY; ?> : getProd("clay"); ?>
<?php echo IRON; ?> : getProd("iron"); ?>
<?php echo CROP; ?> : getProd("crop"); ?>
\ No newline at end of file diff --git a/Templates/quest.tpl b/Templates/quest.tpl index 5b4b1f72..da8c712f 100644 --- a/Templates/quest.tpl +++ b/Templates/quest.tpl @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/Templates/res.tpl b/Templates/res.tpl index c256560b..1fdc5000 100644 --- a/Templates/res.tpl +++ b/Templates/res.tpl @@ -1,4 +1,4 @@ -getProd("clay")); $iron = round($village->getProd("iron")); $crop = round($village->getProd("crop")); $totalproduction = $village->allcrop; // all crops + bakery + grain mill -?> +?>
@@ -41,13 +41,13 @@ $totalproduction = $village->allcrop; // all crops + bakery + grain mill
- + - + - - - - - + + + +
                                                                                        gold <= 1){ echo 'Remaining gold '.$session->gold.' Gold'; } @@ -56,10 +56,10 @@ $totalproduction = $village->allcrop; // all crops + bakery + grain mill } ?>
diff --git a/Templates/rules.tpl b/Templates/rules.tpl index 953430c3..1ee37596 100644 --- a/Templates/rules.tpl +++ b/Templates/rules.tpl @@ -1,138 +1,138 @@ -

Game rules

-
-

- The following set of rules are in conjunction to the General Terms and Conditions of Travian. You should familiarize yourself with the General Terms and Conditions to verify what is allowed and what is prohibited, especially in case of an account that has been banned for a rule violation. -
-
- Inciting, manipulating, encouraging, assisting or conspiring with others to violate any of Travian Rules is impermissible. These rules apply for players that will delete their accounts or are currently deleting their accounts without exception. -

-
    -
  • - §1 Password, Registration & ownership -
    - Each player may only own and play one account per server. -
      -
    • - §1.1 Registration -
      - The e-mail address used for the registration of an account must be under the personal and exclusive control of the person who registered the account. The person owning the e-mail address currently registered for an account is considered the owner of the account, regardless of any other personal or alliance agreements. The owner of an account is fully responsible for all actions taken by the account. -
    • -
    • - §1.2 Password -
      - The owner of an account may not transfer the password of an account to any person playing on the same game world (server). Additionally, knowingly choosing the same password on the same game world as another person is illegal; any of these actions is considered multiaccounting, as defined in these rules. -
      -
      - However, it is permissible to transfer the password of an account to a person or persons playing on a different game world (or not playing at all) in order to play a single account together. -
      -
      - There is no compensation for damages done by someone knowing the password of an account. The person receiving the password is subjected to the rules of Travian as well as the General Terms and Conditions. -
    • -
    • - §1.3 Email changes / account transfers -
      - In order to change the email address of your account or to transfer your account to another player NOT playing on the same server, go into your account profile (/spieler.php?s=3) and fill out the new email information. -
    • -
    • - §1.4 Switching accounts -
      - In order to switch an account with another person on the same game world, both persons must send an e-mail message to admin@travian.com from the e-mail address currently registered to the account. The e-mail must contain the following information: -
        -
          -
        1. The game world on which the account resides
        2. -
        3. The nickname of the account
        4. -
        5. The e-mail address of the new owner.
        6. -
        -
      - Afterwards, both parties must request the password for their new account via the password retrieval function. -
    • -
    -
  • -
  • - §2 Sitting & same pc usage -
    -
      -
    • - §2.1 Sitting -
      - Every player has the right to name two sitters who may play the account during the owner's absence. Sitters must play the account they are sitting to the account’s full benefit. Abuse of this function is punishable. -
      - The sitter of an account must sit the account using the ingame account sitting function. The sitter of an account may not tend to an account by logging in with the password of the account they are sitting (see §1.2). -
      - There is no compensation for damages done by a sitter. Account owners are fully responsible for the actions done by the chosen sitters of their account. In the event that sitters of an account do not follow these rules and the General Terms and Conditions of Travian, both the account owner and the sitter may be held responsible and punished. -
    • -
    • - §2.2 Same pc usage -
      - Players using the same computer and wanting to access each - other's account must use the sitter function. -
    • -
    -
  • -
  • - §3 Use of externals -
    - The game must be played with an unmodified internet browser. The use of scripts or bots which automate account actions is against the rules. -
  • -
  • - §4 Program errors -
    - Program errors (also called bugs) may not be used to one's benefit. Abuse can lead to a punishment of the account. -
  • -
  • - §5 Money transactions -
    - Any sales or purchases concerning real money regarding accounts, units, villages, resources, services or any other aspect of Travian are impermissible. The sale of Travian accounts as well as any indirect transfer (even as gifts) in connection with auction sites or other money transactions is impermissible. -
  • -
  • - §6 Netiquette -
    - Everyone must communicate in a polite, conversational tone. Multihunters may change inappropriate profiles and village names without warning. -
      -
    1. - Following behavior is punishable and applies to all descriptions, the account name, alliance names, village names and messages: -
      - Participation in abusive, defamatory, sexist, racist or profane language; disparaging any religion, race, nation, gender, age group, or sexual orientation; threatening a person with actions in real life. -
      - Posting or transmission of any material not suitable for - underage persons. -
      - Blackmailing players in a way that violates any of Travian's rules in accordance with the General Terms and Conditions. -
      - Displaying battle reports or messages in public without consent of both concerned parties. -
    2. -
    3. No real world politics are allowed in names, messages and descriptions.
    4. -
    5. English is the only language tolerated in messages and descriptions.
    6. -
    7. Impersonating officials or official positions is illegal in any way.
    8. -
    9. Advertisement of any kind that has not been permitted by the Travian Team is impermissible.
    10. -
    -
  • -
  • - §7 Punishments -
    - If there is an offence against these game rules, the Multihunters and, if necessary, the Administrators will ban the account(s) in question and decide on a proper punishment. Punishments will always exceed the gain of the violation of the rules. -
    - Resources, buildings, villages or troops lost during the time of suspension do not count as punishment and will not be replaced by the Travian Team. No player has the right to claim payment or replacement for Plus/Gold time lost due to suspension. -
    - There is no special treatment for Travian Plus/Gold users regarding the game rules neither in the time needed to deal with the case nor in the punishment. -
    -
    - Players may talk to the Multihunter who banned them or an Administrator either via IGM (ingame message) or e-mail. Bans, punishments or deletions are not to be discussed in public (e.g. Chat or Forums). Appeals must be written in English. -
    - Additionally, the Travian Team will not provide information concerning bans to any person, other than the account owner. -
    -
    - Multiaccounts on the speed server and multiaccounts with less than 100 population may be deleted on sight with no prior warning. -
  • -
  • - §8 Changing of rules -
    - The Travian Team reserves the right to change the rules at any time. -
  • -
  • - §9 Correction clause -
    - If individual regulations of this set of rules should prove to be in any way ineffective, it does not affect the validity of the remaining regulations of this set of rules. The Administrators commit themselves to replace ineffective regulations with new regulations which replace the ineffective regulations as fast as possible. -
  • -
+

Game rules

+
+

+ The following set of rules are in conjunction to the General Terms and Conditions of Travian. You should familiarize yourself with the General Terms and Conditions to verify what is allowed and what is prohibited, especially in case of an account that has been banned for a rule violation. +
+
+ Inciting, manipulating, encouraging, assisting or conspiring with others to violate any of Travian Rules is impermissible. These rules apply for players that will delete their accounts or are currently deleting their accounts without exception. +

+
    +
  • + §1 Password, Registration & ownership +
    + Each player may only own and play one account per server. +
      +
    • + §1.1 Registration +
      + The e-mail address used for the registration of an account must be under the personal and exclusive control of the person who registered the account. The person owning the e-mail address currently registered for an account is considered the owner of the account, regardless of any other personal or alliance agreements. The owner of an account is fully responsible for all actions taken by the account. +
    • +
    • + §1.2 Password +
      + The owner of an account may not transfer the password of an account to any person playing on the same game world (server). Additionally, knowingly choosing the same password on the same game world as another person is illegal; any of these actions is considered multiaccounting, as defined in these rules. +
      +
      + However, it is permissible to transfer the password of an account to a person or persons playing on a different game world (or not playing at all) in order to play a single account together. +
      +
      + There is no compensation for damages done by someone knowing the password of an account. The person receiving the password is subjected to the rules of Travian as well as the General Terms and Conditions. +
    • +
    • + §1.3 Email changes / account transfers +
      + In order to change the email address of your account or to transfer your account to another player NOT playing on the same server, go into your account profile (/spieler.php?s=3) and fill out the new email information. +
    • +
    • + §1.4 Switching accounts +
      + In order to switch an account with another person on the same game world, both persons must send an e-mail message to admin@travian.com from the e-mail address currently registered to the account. The e-mail must contain the following information: +
        +
          +
        1. The game world on which the account resides
        2. +
        3. The nickname of the account
        4. +
        5. The e-mail address of the new owner.
        6. +
        +
      + Afterwards, both parties must request the password for their new account via the password retrieval function. +
    • +
    +
  • +
  • + §2 Sitting & same pc usage +
    +
      +
    • + §2.1 Sitting +
      + Every player has the right to name two sitters who may play the account during the owner's absence. Sitters must play the account they are sitting to the account’s full benefit. Abuse of this function is punishable. +
      + The sitter of an account must sit the account using the ingame account sitting function. The sitter of an account may not tend to an account by logging in with the password of the account they are sitting (see §1.2). +
      + There is no compensation for damages done by a sitter. Account owners are fully responsible for the actions done by the chosen sitters of their account. In the event that sitters of an account do not follow these rules and the General Terms and Conditions of Travian, both the account owner and the sitter may be held responsible and punished. +
    • +
    • + §2.2 Same pc usage +
      + Players using the same computer and wanting to access each + other's account must use the sitter function. +
    • +
    +
  • +
  • + §3 Use of externals +
    + The game must be played with an unmodified internet browser. The use of scripts or bots which automate account actions is against the rules. +
  • +
  • + §4 Program errors +
    + Program errors (also called bugs) may not be used to one's benefit. Abuse can lead to a punishment of the account. +
  • +
  • + §5 Money transactions +
    + Any sales or purchases concerning real money regarding accounts, units, villages, resources, services or any other aspect of Travian are impermissible. The sale of Travian accounts as well as any indirect transfer (even as gifts) in connection with auction sites or other money transactions is impermissible. +
  • +
  • + §6 Netiquette +
    + Everyone must communicate in a polite, conversational tone. Multihunters may change inappropriate profiles and village names without warning. +
      +
    1. + Following behavior is punishable and applies to all descriptions, the account name, alliance names, village names and messages: +
      + Participation in abusive, defamatory, sexist, racist or profane language; disparaging any religion, race, nation, gender, age group, or sexual orientation; threatening a person with actions in real life. +
      + Posting or transmission of any material not suitable for + underage persons. +
      + Blackmailing players in a way that violates any of Travian's rules in accordance with the General Terms and Conditions. +
      + Displaying battle reports or messages in public without consent of both concerned parties. +
    2. +
    3. No real world politics are allowed in names, messages and descriptions.
    4. +
    5. English is the only language tolerated in messages and descriptions.
    6. +
    7. Impersonating officials or official positions is illegal in any way.
    8. +
    9. Advertisement of any kind that has not been permitted by the Travian Team is impermissible.
    10. +
    +
  • +
  • + §7 Punishments +
    + If there is an offence against these game rules, the Multihunters and, if necessary, the Administrators will ban the account(s) in question and decide on a proper punishment. Punishments will always exceed the gain of the violation of the rules. +
    + Resources, buildings, villages or troops lost during the time of suspension do not count as punishment and will not be replaced by the Travian Team. No player has the right to claim payment or replacement for Plus/Gold time lost due to suspension. +
    + There is no special treatment for Travian Plus/Gold users regarding the game rules neither in the time needed to deal with the case nor in the punishment. +
    +
    + Players may talk to the Multihunter who banned them or an Administrator either via IGM (ingame message) or e-mail. Bans, punishments or deletions are not to be discussed in public (e.g. Chat or Forums). Appeals must be written in English. +
    + Additionally, the Travian Team will not provide information concerning bans to any person, other than the account owner. +
    +
    + Multiaccounts on the speed server and multiaccounts with less than 100 population may be deleted on sight with no prior warning. +
  • +
  • + §8 Changing of rules +
    + The Travian Team reserves the right to change the rules at any time. +
  • +
  • + §9 Correction clause +
    + If individual regulations of this set of rules should prove to be in any way ineffective, it does not affect the validity of the remaining regulations of this set of rules. The Administrators commit themselves to replace ineffective regulations with new regulations which replace the ineffective regulations as fast as possible. +
  • +
\ No newline at end of file diff --git a/Templates/text.tpl b/Templates/text.tpl index ab1b58a6..a4444278 100644 --- a/Templates/text.tpl +++ b/Templates/text.tpl @@ -1,4 +1,4 @@ -getCoor($prisoner['from']); $p_to = array('x'=>$p_ander['x'], 'y'=>$p_ander['y']); $p_tribe = $database->getUserField($p_owner,"tribe",0); - + $p_speeds = array(); - - //find slowest unit. + + //find slowest unit. for($i=1;$i<=10;$i++){ if ($prisoner['t'.$i]){ if($prisoner['t'.$i] != '' && $prisoner['t'.$i] > 0){ @@ -183,7 +183,7 @@ } } } - + if ($prisoner['t11']>0){ $p_qh = "SELECT * FROM ".TB_PREFIX."hero WHERE uid = ".$p_owner.""; $p_resulth = mysql_query($p_qh); @@ -191,7 +191,7 @@ $p_hero_unit=$p_hero_f['unit']; $p_speeds[] = $GLOBALS['u'.$p_hero_unit]['speed']; } - + $p_artefact = count($database->getOwnUniqueArtefactInfo2($p_owner,2,3,0)); $p_artefact1 = count($database->getOwnUniqueArtefactInfo2($prisoner['from'],2,1,1)); $p_artefact2 = count($database->getOwnUniqueArtefactInfo2($p_owner,2,2,0)); diff --git a/a2b2.php b/a2b2.php index d8106d44..ad4ec4a5 100644 --- a/a2b2.php +++ b/a2b2.php @@ -23,7 +23,7 @@ } $automation->isWinner(); ?> - + @@ -66,16 +66,16 @@

Account transactions

-uid."'") or die(mysql_error()); $golds = mysql_fetch_array($MyGold); -$goldnow = $golds['6'] + 60; +$goldnow = $golds['6'] + 60; mysql_query("UPDATE ".TB_PREFIX."users set gold = '".$goldnow."' where `id`='".$session->uid."'") or die(mysql_error()); $MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysql_error()); $golds1 = mysql_fetch_array($MyGold); -?>

Thank you for your purchase here at Travianist.com

Below you see the entry record. Out of it, you can observe your old as well as your new account balance.

+?>

Thank you for your purchase here at Travianist.com

Below you see the entry record. Out of it, you can observe your old as well as your new account balance.

@@ -111,7 +111,7 @@

Please verify the information.
It will let us know if the data is incorrect.

Please mail your username, package, order time and email used to our billing address.

- + uid."'") or die(mysql_error()); $golds = mysql_fetch_array($MyGold); -$goldnow = $golds['6'] + 120; +$goldnow = $golds['6'] + 120; mysql_query("UPDATE ".TB_PREFIX."users set gold = '".$goldnow."' where `id`='".$session->uid."'") or die(mysql_error()); $MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysql_error()); $golds1 = mysql_fetch_array($MyGold); -?>

Thank you for your purchase here at TravianX.

Below you see the entry record. Out of it, you can observe your old as well as your new account balance.

+?>

Thank you for your purchase here at TravianX.

Below you see the entry record. Out of it, you can observe your old as well as your new account balance.

@@ -166,7 +166,7 @@ // Kontoauszug aufrufen für Goldpaket C $MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysql_error()); $golds = mysql_fetch_array($MyGold); -$goldnow = $golds['6'] + 360; +$goldnow = $golds['6'] + 360; mysql_query("UPDATE ".TB_PREFIX."users set gold = '".$goldnow."' where `id`='".$session->uid."'") or die(mysql_error()); $MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysql_error()); $golds1 = mysql_fetch_array($MyGold); @@ -213,7 +213,7 @@ // Kontoauszug aufrufen für Goldpaket D $MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysql_error()); $golds = mysql_fetch_array($MyGold); -$goldnow = $golds['6'] + 1000; +$goldnow = $golds['6'] + 1000; mysql_query("UPDATE ".TB_PREFIX."users set gold = '".$goldnow."' where `id`='".$session->uid."'") or die(mysql_error()); $MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysql_error()); $golds1 = mysql_fetch_array($MyGold); @@ -260,7 +260,7 @@ // Kontoauszug aufrufen für Goldpaket E $MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysql_error()); $golds = mysql_fetch_array($MyGold); -$goldnow = $golds['6'] + 2000; +$goldnow = $golds['6'] + 2000; mysql_query("UPDATE ".TB_PREFIX."users set gold = '".$goldnow."' where `id`='".$session->uid."'") or die(mysql_error()); $MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysql_error()); $golds1 = mysql_fetch_array($MyGold); @@ -302,13 +302,13 @@

Please mail your username, package, order time and email used to our billing address.

uid."'") or die(mysql_error()); - $golds = mysql_fetch_array($MyGold); + $golds = mysql_fetch_array($MyGold); ?> - -

Here you can see your current account statement.

+ +

Here you can see your current account statement.

@@ -329,8 +329,8 @@

Please verify the information.
It will let us know if the data is incorrect.

Please mail your username, package, order time and email used to our billing address.

- @@ -358,11 +358,11 @@
-Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
Server time: +
伺服器時間:
diff --git a/ajax.php b/ajax.php index e992cdee..05f3b4ab 100644 --- a/ajax.php +++ b/ajax.php @@ -43,7 +43,7 @@ $qact3=preg_replace("/[^a-zA-Z0-9_-]/","",$_GET['qact3']); }else { $qact3=null; - } + } if (!isset($_SESSION)) { session_start(); } @@ -51,7 +51,7 @@ include("Templates/Ajax/quest_core.tpl"); }else{ include("Templates/Ajax/quest_core25.tpl"); - } + } break; } ?> diff --git a/allianz.php b/allianz.php index 3f0c0218..a99b25a5 100644 --- a/allianz.php +++ b/allianz.php @@ -50,7 +50,7 @@ header("Location: ".$_SERVER['PHP_SELF']); } } - } + } } if(isset($_GET['aid']) or isset($_GET['fid']) or isset($_GET['fid2']) or $session->alliance!=0){ ?> diff --git a/berichte.php b/berichte.php index cf48ab67..3910ee58 100644 --- a/berichte.php +++ b/berichte.php @@ -69,17 +69,17 @@
-

Reports

+

報告

- >All - | >Trade - | >Reinforcement - | >Attacks - | >Miscellaneous + >全部 + | >交易 + | >增援 + | >攻擊 + | >其他 plus) { echo "| Archive"; + echo ">存檔"; } ?>
@@ -145,11 +145,11 @@
-Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
Server time: +
伺服器時間:
diff --git a/build.php b/build.php index c78ebe0c..a3cf612f 100644 --- a/build.php +++ b/build.php @@ -345,7 +345,7 @@ $building->finishAll(); header("Location: build.php?gid=".$_GET['id']."&ty=".$_GET['ty']); } - } + } } }else{ header("Location: dorf1.php"); @@ -374,11 +374,11 @@
-Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
Server time: +
伺服器時間:
diff --git a/create_account.php b/create_account.php index 357c298b..e203294f 100644 --- a/create_account.php +++ b/create_account.php @@ -4,14 +4,14 @@ ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## ## Project: TravianZ ## -## Version: 01.09.2013 ## +## Version: 01.09.2013 ## ## Filename create_account.php ## -## Developed by: Dzoki , Advocaite , Donnchadh , yi12345 , Shadow , MisterX ## +## Developed by: Dzoki , Advocaite , Donnchadh , yi12345 , Shadow , MisterX ## ## Fixed by: Shadow & MisterX - Scouting all players , artefact names. ## ## License: TravianZ Project ## ## Copyright: TravianZ (c) 2010-2013. All rights reserved. ## ## URLs: http://travian.shadowss.ro ## -## Source code: http://github.com/Shadowss/TravianZ-by-Shadow/ ## +## Source code: http://github.com/Shadowss/TravianZ-by-Shadow/ ## ## ## ################################################################################# @@ -99,7 +99,7 @@ function generateBase($kid, $uid, $username) { /** * Creating account & capital village - Fixed by Shadow - cata7007@gmail.com / Skype : cata7007 - */ + */ $username = "Natars"; $password = md5($_POST['password']); @@ -156,7 +156,7 @@ function generateBase($kid, $uid, $username) { $database->addABTech($wid); $database->updateUserField($uid, "access", USER, 1); } - + $wid = mysql_fetch_assoc(mysql_query("SELECT * FROM " . TB_PREFIX . "vdata WHERE owner = $uid")); $q = "UPDATE " . TB_PREFIX . "vdata SET pop = 834 WHERE owner = $uid"; mysql_query($q) or die(mysql_error()); @@ -171,11 +171,11 @@ function generateBase($kid, $uid, $username) { mysql_query($q3) or die(mysql_error()); $q4 = "UPDATE " . TB_PREFIX . "users SET desc2 = '$desc' WHERE id = $uid"; mysql_query($q4) or die(mysql_error()); - + /** * SCOUTING ALL PLAYERS FIX BY MisterX */ - + $natar = mysql_fetch_array(mysql_query("SELECT * FROM " . TB_PREFIX . "vdata WHERE owner = $uid and capital = 1")); $multiplier = NATARS_UNITS; $q = "SELECT * FROM " . TB_PREFIX . "vdata WHERE capital = '1' and owner > '5'"; diff --git a/crop_finder.php b/crop_finder.php index 8611bbe1..fd4d00e3 100644 --- a/crop_finder.php +++ b/crop_finder.php @@ -337,13 +337,13 @@ function getDistance($coorx1, $coory1, $coorx2, $coory2) {
-Calculated in pageLoadTimeEnd() - $start) * 1000); ?> ms -
Server time: 伺服器時間: query("UPDATE ".TB_PREFIX."users SET village_select=".$_GET['newdid']." WHERE id=".$session->uid); + $database->query("UPDATE ".TB_PREFIX."users SET village_select=".$_GET['newdid']." WHERE id=".$session->uid); header("Location: ".$_SERVER['PHP_SELF']); }else{ $building->procBuild($_GET); diff --git a/dorf2.php b/dorf2.php index 22187304..bf2db7d5 100644 --- a/dorf2.php +++ b/dorf2.php @@ -13,7 +13,7 @@ $start = $generator->pageLoadTimeStart(); if(isset($_GET['newdid'])) { $_SESSION['wid'] = $_GET['newdid']; - $database->query("UPDATE ".TB_PREFIX."users SET village_select=".$_GET['newdid']." WHERE id=".$session->uid); + $database->query("UPDATE ".TB_PREFIX."users SET village_select=".$_GET['newdid']." WHERE id=".$session->uid); header("Location: ".$_SERVER['PHP_SELF']); }else{ $building->procBuild($_GET); @@ -88,11 +88,11 @@
-Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
Server time: +
伺服器時間:
diff --git a/dorf3.php b/dorf3.php index 178db277..570d066d 100644 --- a/dorf3.php +++ b/dorf3.php @@ -15,7 +15,7 @@ $start = $generator->pageLoadTimeStart(); if(isset($_GET['newdid'])) { $_SESSION['wid'] = $_GET['newdid']; - $database->query("UPDATE ".TB_PREFIX."users SET village_select=".$_GET['newdid']." WHERE id=".$session->uid); + $database->query("UPDATE ".TB_PREFIX."users SET village_select=".$_GET['newdid']." WHERE id=".$session->uid); if(isset($_GET['s'])){ header("Location: ".$_SERVER['PHP_SELF']."?s=".$_GET['s']); }else{ @@ -106,11 +106,11 @@
-Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
Server time: +
伺服器時間:
diff --git a/install/data/.htaccess b/install/data/.htaccess old mode 100644 new mode 100755 diff --git a/install/data/constant_format.tpl b/install/data/constant_format.tpl old mode 100644 new mode 100755 index 942588b7..dd970690 --- a/install/data/constant_format.tpl +++ b/install/data/constant_format.tpl @@ -95,8 +95,8 @@ define("STORAGE_BASE",800*STORAGE_MULTIPLIER); // ***** Quest // Ingame quest enabled/disabled. define("QUEST",%QUEST%); -//quest type : 25 = Travian Official -// 37 = TravianZ Extended +//quest type : 25 = Travian Official +// 37 = TravianZ Extended define("QTYPE",%QTYPE%); // ***** Beginners Protection @@ -111,13 +111,13 @@ define("PROTECTION","%BEGINNER%"); define("WW",%WW%); // ***** Show Natars in Statistics -define("SHOW_NATARS",%SHOW_NATARS%); +define("SHOW_NATARS",%SHOW_NATARS%); // ***** Natars Units Multiplier -define("NATARS_UNITS",%NATARS_UNITS%); +define("NATARS_UNITS",%NATARS_UNITS%); // ***** Nature troops regeneration time -define("NATURE_REGTIME",%NATURE_REGTIME%); +define("NATURE_REGTIME",%NATURE_REGTIME%); // ***** Enable T4 is Coming screen define("T4_COMING",%T4_COMING%); @@ -138,7 +138,7 @@ define("MEDALINTERVAL",%MEDALINTERVAL%); // ***** Great Workshop define("GREAT_WKS",%GREAT_WKS%); // ***** Tourn threshold -define("TS_THRESHOLD",%TS_THRESHOLD%); +define("TS_THRESHOLD",%TS_THRESHOLD%); // ***** Register open/close define("REG_OPEN",%REG_OPEN%); @@ -253,7 +253,7 @@ define("ADMIN_NAME", "%ANAME%"); // **** DO NOT EDIT SETTINGS **** // ////////////////////////////////////////// define("TRACK_USR","%UTRACK%"); -define("USER_TIMEOUT","%UTOUT%"); +define("USER_TIMEOUT","%UTOUT%"); define("ALLOW_BURST",false); define("BASIC_MAX",1); define("INNER_MAX",1); @@ -269,8 +269,8 @@ define("AUTH",1); define("USER",2); define("MULTIHUNTER",8); define("ADMIN",9); -define("COOKIE_EXPIRE", 60*60*24*7); -define("COOKIE_PATH", "/"); +define("COOKIE_EXPIRE", 60*60*24*7); +define("COOKIE_PATH", "/"); //////////////////////////////////////////// diff --git a/install/data/sql.sql b/install/data/sql.sql old mode 100644 new mode 100755 diff --git a/install/include/database.php b/install/include/database.php old mode 100644 new mode 100755 diff --git a/install/include/multihunter.php b/install/include/multihunter.php old mode 100644 new mode 100755 diff --git a/install/include/oasis.php b/install/include/oasis.php old mode 100644 new mode 100755 diff --git a/install/include/wdata.php b/install/include/wdata.php old mode 100644 new mode 100755 index f70b1b44..0ac122dd --- a/install/include/wdata.php +++ b/install/include/wdata.php @@ -22,7 +22,7 @@ if(($x == 0 & $y == 0) || ($x == WORLD_MAX & $y == WORLD_MAX)) { $typ='3'; $otype='0'; - }else{ + }else{ $rand=rand(1, 1000); if("10" >= $rand){ $typ='1'; diff --git a/install/index.php b/install/index.php old mode 100644 new mode 100755 diff --git a/install/process.php b/install/process.php old mode 100644 new mode 100755 index 21031210..92d5150d --- a/install/process.php +++ b/install/process.php @@ -77,7 +77,7 @@ function constForm() { $text = preg_replace("'%ACTIVATE%'", $_POST['activate'], $text); $text = preg_replace("'%ARANK%'", $_POST['admin_rank'], $text); $text = preg_replace("'%QUEST%'", $_POST['quest'], $text); - $text = preg_replace("'%QTYPE%'", $_POST['qtype'], $text); + $text = preg_replace("'%QTYPE%'", $_POST['qtype'], $text); $text = preg_replace("'%BEGINNER%'", $_POST['beginner'], $text); $text = preg_replace("'%STARTTIME%'", time(), $text); $text = preg_replace("'%DOMAIN%'", $_POST['domain'], $text); diff --git a/install/templates/.htaccess b/install/templates/.htaccess old mode 100644 new mode 100755 diff --git a/install/templates/config.tpl b/install/templates/config.tpl old mode 100644 new mode 100755 index 8ae06fe1..e2559483 --- a/install/templates/config.tpl +++ b/install/templates/config.tpl @@ -122,7 +122,7 @@ echo "
Error creating constant.php -
Storage Multipler:
Tourn Threshold:
Great Workshop: @@ -191,8 +191,8 @@ echo "
Error creating constant.php Admin Name:

Admin Email:

Admin rank:

+ +


@@ -202,8 +202,8 @@ echo "
Error creating constant.php GPack:

+ +


GPack Design:

@@ -215,17 +215,17 @@ echo "
Error creating constant.php

NEWSBOX OPTIONS - - -
Newsbox 1:資訊 1:
Newsbox 2:資訊 2:
Newsbox 3:資訊 3:

@@ -234,41 +234,41 @@ echo "
Error creating constant.php LOG RELATED (You should disable them)
Log Building:
Log Tech:
Log Login:
Log Gold:
Log Admin:
Log War:
Log Market:
Log Illegal:
Log :

@@ -277,20 +277,20 @@ echo "
Error creating constant.php EXTRA OPTIONS @@ -305,12 +305,12 @@ echo "
Error creating constant.php
Quest:
Quest Type:
Activate:
Limit Mailbox: (NOT DONE)
Max mails: (NOT DONE)
Error Reporting:
T4 is Coming screen:

diff --git a/install/templates/dataform.tpl b/install/templates/dataform.tpl old mode 100644 new mode 100755 diff --git a/install/templates/end.tpl b/install/templates/end.tpl old mode 100644 new mode 100755 diff --git a/install/templates/field.tpl b/install/templates/field.tpl old mode 100644 new mode 100755 diff --git a/install/templates/greet.tpl b/install/templates/greet.tpl old mode 100644 new mode 100755 diff --git a/install/templates/menu.tpl b/install/templates/menu.tpl old mode 100644 new mode 100755 diff --git a/install/templates/multihunter.tpl b/install/templates/multihunter.tpl old mode 100644 new mode 100755 diff --git a/install/templates/oasis.tpl b/install/templates/oasis.tpl old mode 100644 new mode 100755 diff --git a/install/templates/script.tpl b/install/templates/script.tpl old mode 100644 new mode 100755 diff --git a/karte.php b/karte.php index 424aaab2..315c7380 100644 --- a/karte.php +++ b/karte.php @@ -102,11 +102,11 @@
-Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
Server time: +
伺服器時間:
diff --git a/logout.php b/logout.php index adfc50fb..6cbf6f17 100644 --- a/logout.php +++ b/logout.php @@ -78,11 +78,11 @@
-Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
Server time: +
伺服器時間:
diff --git a/mailme.php b/mailme.php index d7b13e90..344a50a6 100644 --- a/mailme.php +++ b/mailme.php @@ -1,56 +1,56 @@ -\n"; -$strFrom .= "X-Sender: \n"; -$strFrom .= "X-Mailer: PHP\n"; -$strFrom .= "X-Priority: 3\n"; -$strFrom .= "Errors-To: \n"; -$strFrom .= "Return-Path: \n"; -$strFrom .= "Reply-To: " . $_POST['Emailadress'] . "\n"; -$strFrom .= "Content-Type: text; charset=iso-8859-15\n"; +$strFrom = "From: TravianiX Support \n"; +$strFrom .= "X-Sender: \n"; +$strFrom .= "X-Mailer: PHP\n"; +$strFrom .= "X-Priority: 3\n"; +$strFrom .= "Errors-To: \n"; +$strFrom .= "Return-Path: \n"; +$strFrom .= "Reply-To: " . $_POST['Emailadress'] . "\n"; +$strFrom .= "Content-Type: text; charset=iso-8859-15\n"; -$strSubject = "New Ticket supported"; +$strSubject = "New Ticket supported"; -$strReturnhtml = 'dorf1.php'; +$strReturnhtml = 'dorf1.php'; -$strDelimiter = ":\t"; +$strDelimiter = ":\t"; -### end of config ### +### end of config ### -if($_POST) -{ - $strMailtext = ""; +if($_POST) +{ + $strMailtext = ""; - while(list($strName,$value) = each($_POST)) - { - if(is_array($value)) - { - foreach($value as $value_array) - { - $strMailtext .= $strName.$strDelimiter.$value_array."\n"; - } - } - else - { - $strMailtext .= $strName.$strDelimiter.$value."\n"; - } - } + while(list($strName,$value) = each($_POST)) + { + if(is_array($value)) + { + foreach($value as $value_array) + { + $strMailtext .= $strName.$strDelimiter.$value_array."\n"; + } + } + else + { + $strMailtext .= $strName.$strDelimiter.$value."\n"; + } + } - if(get_magic_quotes_gpc()) - { - $strMailtext = stripslashes($strMailtext); - } + if(get_magic_quotes_gpc()) + { + $strMailtext = stripslashes($strMailtext); + } - mail($strEmpfaenger, $strSubject, $strMailtext, $strFrom) - or die("The mail could not be send. Something get wrong!"); - header("Location: $strReturnhtml"); - exit; -} + mail($strEmpfaenger, $strSubject, $strMailtext, $strFrom) + or die("The mail could not be send. Something get wrong!"); + header("Location: $strReturnhtml"); + exit; +} ?> \ No newline at end of file diff --git a/nachrichten.php b/nachrichten.php index 1e76135d..82c7bfd2 100644 --- a/nachrichten.php +++ b/nachrichten.php @@ -159,11 +159,11 @@
-Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
Server time: +
伺服器時間:
diff --git a/notification/lang/index.php b/notification/lang/index.php index 2bb0d912..7cabd08d 100644 --- a/notification/lang/index.php +++ b/notification/lang/index.php @@ -11,7 +11,7 @@ ?>
-

404 - File not found

+

404 -檔案不存在

Not Found

We looked 404 times already but can't find anything, Not even an X marking the spot.

This system is not complete yet. So the page probably does not exist.


diff --git a/notification/lang/zh_tw.php b/notification/lang/zh_tw.php new file mode 100644 index 00000000..89d45583 --- /dev/null +++ b/notification/lang/zh_tw.php @@ -0,0 +1,43 @@ + \ No newline at end of file diff --git a/plus.php b/plus.php index 90c76df0..5b376987 100644 --- a/plus.php +++ b/plus.php @@ -144,11 +144,11 @@
-Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
Server time: +
伺服器時間:
diff --git a/plus1.php b/plus1.php index 995dbc71..e4a12aa4 100644 --- a/plus1.php +++ b/plus1.php @@ -42,8 +42,8 @@ window.addEvent('domready', start); - - + +
@@ -84,18 +84,18 @@
-
-Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms - -
Server time: + +
伺服器時間:
diff --git a/rules.php b/rules.php index d2cd0e2f..09d38ec4 100644 --- a/rules.php +++ b/rules.php @@ -82,11 +82,11 @@
-Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
Server time: +
伺服器時間:
diff --git a/spieler.php b/spieler.php index 50b4e9f2..3f2e7a28 100644 --- a/spieler.php +++ b/spieler.php @@ -177,11 +177,11 @@ function med_showDescription(coords, desc_string){
-Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
Server time: +
伺服器時間:
diff --git a/spielregeln.php b/spielregeln.php index 22b36ba3..0a194dcf 100644 --- a/spielregeln.php +++ b/spielregeln.php @@ -83,7 +83,7 @@ Each player may only own and play one account per server.
  • §1.1 Registration
    -The e-mail address used for the registration of an account must be under the personal and exclusive control of the person who registered the account. The person owning the e-mail address used to register an account is considered the owner of the account, regardless of any other personal or alliance agreements. The owner of an account is fully responsible for all actions taken with the account. +The e-mail address used for the registration of an account must be under the personal and exclusive control of the person who registered the account. The person owning the e-mail address used to register an account is considered the owner of the account, regardless of any other personal or alliance agreements. The owner of an account is fully responsible for all actions taken with the account.
  • §1.2 Password
    The owner of an account may not transfer the password of an account to any person playing on the same game world (server). Additionally, knowingly choosing the same password on the same game world as another person is illegal; any of these actions is considered multiaccounting, as defined in these rules. @@ -123,11 +123,11 @@
  • §3 Use of externals
    -The game must be played with an unmodified internet browser. The use of scripts or bots which automate is against the rules. +The game must be played with an unmodified internet browser. The use of scripts or bots which automate is against the rules.
  • §4 Program errors
    -Program errors (also called bugs) may not be used to one's benefit. Abuse can lead to a punishment of the account. +Program errors (also called bugs) may not be used to one's benefit. Abuse can lead to a punishment of the account.
  • §5 Money transactions
    @@ -149,7 +149,7 @@ Displaying battle reports or messages in public without consent of both concerned persons.
  • No real world politics are allowed in names, messages and descriptions.
  • -
  • Impersonation of officials or official positions is illegal in any way. +
  • Impersonation of officials or official positions is illegal in any way.
  • Advertisement of any kind that has not been permitted by the Travian Team is impermissible.
  • @@ -159,17 +159,17 @@
    Resources, buildings, villages or troops lost during the time of suspension do not count as punishment and will not be replaced by the Travian Team. No player has the right to claim payment or replacement for Plus/Gold time lost due to suspension.
    -here is no special treatment for Travian Plus/Gold users regarding the game rules neither in the time needed to deal with the case nor in the punishment. +here is no special treatment for Travian Plus/Gold users regarding the game rules neither in the time needed to deal with the case nor in the punishment.

    Players may talk to the Multihunter who banned them or an Administrator either via IGM (ingame message) or e-mail. Bans, punishments or deletions are not to be discussed in public (e.g. Chat or Forums). Appeals must be written in English.
    -Additionally, the Travian Team will not provide information to persons other than the account owner. +Additionally, the Travian Team will not provide information to persons other than the account owner.

    Multi accounts on the speed server and multi accounts with less than 100 population may be deleted on sight with no warning.
  • §8 Changing of rules
    -The Travian Team reserves the right to change the rules at any time. +The Travian Team reserves the right to change the rules at any time.
  • §9 Correction clause
    If individual regulations of this set of rules should be ineffective, it does not affect the validity of the remaining regulations of this set of rules. The Administrators commit themselves to replace ineffective regulations with new regulations which replace the ineffective regulations as fast as possible. diff --git a/statistiken.php b/statistiken.php index d7ae8137..fade5b76 100644 --- a/statistiken.php +++ b/statistiken.php @@ -158,11 +158,11 @@
    -Calculated in pageLoadTimeEnd()-$__start)*1000); ?> ms -
    Server time: +
    伺服器時間:
    diff --git a/support.php b/support.php index d4b182ed..6dc9ef0b 100644 --- a/support.php +++ b/support.php @@ -44,7 +44,7 @@ function chkFormular () { alert("Enter your username!"); document.Formular.Username.focus(); return false; - } + } if (document.Formular.Emailadress.value == "") { alert("Enter an emailadress!"); document.Formular.Emailadress.focus(); @@ -65,7 +65,7 @@ function chkFormular () { document.Formular.Message.focus(); return false; } - + } @@ -84,7 +84,7 @@ function chkFormular () {

    Bug reports, login errors, general questions and feedback

    - +
    @@ -105,7 +105,7 @@ function chkFormular () {
    -
                                  
    -
    - - +
  • + +




    -Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
    Server time: +
    伺服器時間:
    diff --git a/version.php b/version.php index 9e8dc68d..59f13101 100644 --- a/version.php +++ b/version.php @@ -117,11 +117,11 @@
    -Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
    Server time: +
    伺服器時間:
    diff --git a/warsim.php b/warsim.php index cfbfae1a..47db3342 100644 --- a/warsim.php +++ b/warsim.php @@ -84,7 +84,7 @@ echo "Damage done by ram: from level ".$form->getValue('walllevel')." to level ".$totallvl."

    "; } } - + if (isset($_POST['result'][3])&&isset($_POST['result'][4])){ if ($form->getValue('ktyp') == 1) { echo "Hint: The catapult does not shoot during a raid.

    "; @@ -99,7 +99,7 @@ $totallvl = round(sqrt(pow(($form->getValue('kata')+0.5),2)-($_POST['result'][4]*8))); echo "Damage done by catapult: from level ".$form->getValue('kata')." to level ".$totallvl."

    "; } - } + } } $target = isset($_POST['target'])? $_POST['target'] : array(); $tribe = isset($_POST['mytribe'])? $_POST['mytribe'] : $session->tribe; @@ -170,11 +170,11 @@
    -Calculated in pageLoadTimeEnd()-$start)*1000); ?> ms -
    Server time: +
    伺服器時間:
    diff --git a/winner.php b/winner.php index 3de7948f..9444ee48 100644 --- a/winner.php +++ b/winner.php @@ -243,8 +243,8 @@
    - Calculated in pageLoadTimeEnd()-$start)*1000);?> ms -
    Server time: + 運算耗時 pageLoadTimeEnd()-$start)*1000);?> ms +
    伺服器時間: