diff --git a/Templates/Profile/medal.php b/Templates/Profile/medal.php
index 766cccd7..d1dc5a72 100644
--- a/Templates/Profile/medal.php
+++ b/Templates/Profile/medal.php
@@ -1,12 +1,28 @@
-getUserField($_SESSION['username'], 'gpack', 1);
- if($gpack_load== null || GP_ENABLE == false) {
- $gpack= $separator.GP_LOCATE;
- } else {
- $gpack= $separator.$gpack_load;
- }
+gpack == null || GP_ENABLE == false) {
+ $gpack= GP_LOCATE;
+ } else {
+ $gpack= $session->gpack;
+ }
//de bird
@@ -34,6 +50,75 @@ $profiel = preg_replace("/\[#natars]/is",'
', $profiel, 1);
}
+//romans image
+// Added by Shadow - cata7007@gmail.com / Skype : cata7007
+if($displayarray['tribe'] == "1"){
+$profiel = preg_replace("/\[#roman]/is",'
', $profiel, 1);
+}
+
+//Gauls image
+// Added by Shadow - cata7007@gmail.com / Skype : cata7007
+if($displayarray['tribe'] == "2"){
+$profiel = preg_replace("/\[#teuton]/is",'
', $profiel, 1);
+}
+
+//Teutons image
+// Added by Shadow - cata7007@gmail.com / Skype : cata7007
+if($displayarray['tribe'] == "3"){
+$profiel = preg_replace("/\[#gaul]/is",'
', $profiel, 1);
+}
+
+//Shadow image
+// Added by Shadow - cata7007@gmail.com / Skype : cata7007
+if($displayarray['username'] == "Shadow"){
+$profiel = preg_replace("/\[#SHADOW]/is",'
', $profiel, 1);
+$profiel = preg_replace("/\[#MH]/is",'
', $profiel, 1);
+$profiel = preg_replace("/\[#TEAM]/is",'
', $profiel, 1);
+}
+
+//Multihunter image
+// Added by Shadow - cata7007@gmail.com / Skype : cata7007
+if($displayarray['username'] == "Multihunter"){
+$profiel = preg_replace("/\[#MULTIHUNTER]/is",'
', $profiel, 1);
+$profiel = preg_replace("/\[#MH]/is",'
', $profiel, 1);
+}
+
+//Travian Team image
+// Added by Shadow - cata7007@gmail.com / Skype : cata7007
+if($displayarray['username'] == "Multihunter"){
+$profiel = preg_replace("/\[#TEAM]/is",'
', $profiel, 1);
+}
+
+//Travian Team image
+// Added by Shadow - cata7007@gmail.com / Skype : cata7007
+if($displayarray['access'] == "9"){
+$profiel = preg_replace("/\[#TEAM]/is",'
', $profiel, 1);
+}
+
+//Multihunter image (for anyone)
+// Added by Shadow - cata7007@gmail.com / Skype : cata7007
+if($displayarray['access'] == "9"){
+$profiel = preg_replace("/\[#MH]/is",'
', $profiel, 1);
+}
+
+//Multihunter image (for anyone)
+// Added by Shadow - cata7007@gmail.com / Skype : cata7007
+if($displayarray['access'] == "8"){
+$profiel = preg_replace("/\[#MH]/is",'
', $profiel, 1);
+}
+
+//NATURE image (for anyone)
+// Added by Shadow - cata7007@gmail.com / Skype : cata7007
+if($displayarray['username'] == "Nature"){
+$profiel = preg_replace("/\[#NATURE]/is",'
', $profiel, 1);
+}
+
+//Taskmaster image (for anyone)
+// Added by Shadow - cata7007@gmail.com / Skype : cata7007
+if($displayarray['username'] == "Taskmaster"){
+$profiel = preg_replace("/\[#TASKMASTER]/is",'
', $profiel, 1);
+}
+
//de lintjes
/******************************
INDELING CATEGORIEEN:
@@ -69,7 +154,7 @@ switch ($medal['categorie']) {
$woord="Resources";
break;
case "5":
- $titel="Receiving this medal shows that you where in the top 10 of both attackers and defenders of the week.";
+ $titel="Receiving this medal shows that you where in the top 10 of both attacckers and defenders of the week.";
$bonus[$medal['id']]=1;
break;
case "6":
@@ -88,7 +173,7 @@ switch ($medal['categorie']) {
$titel="Receiving this medal shows that you were in the top 3 Robbers of the week ".$medal['points']." in a row.";
$bonus[$medal['id']]=1;
break;
- case "10":
+ case "10":
$titel="Rank Climbers of the week.";
$woord="Ranks";
break;