diff --git a/Templates/Profile/medal.php b/Templates/Profile/medal.php index be8098f0..3ae439f0 100644 --- a/Templates/Profile/medal.php +++ b/Templates/Profile/medal.php @@ -44,21 +44,13 @@ $profiel = preg_replace("/\[#natars]/is",'', $profiel, 1); } -//romans image - MUST TO BE SET FROM ADMIN PANEL @iopietro must code +// TRIBE IMAGE - MUST TO BE SET FROM ADMIN PANEL @iopietro must code // Added by Shadow - cata7007@gmail.com / Skype : cata7007 if($displayarray['tribe'] == "1"){ $profiel = preg_replace("/\[#roman]/is",'', $profiel, 1); -} - -//Gauls image - MUST TO BE SET FROM ADMIN PANEL @iopietro must code -// Added by Shadow - cata7007@gmail.com / Skype : cata7007 -if($displayarray['tribe'] == "2"){ +}elseif($displayarray['tribe'] == "2"){ $profiel = preg_replace("/\[#teuton]/is",'', $profiel, 1); -} - -//Teutons image - MUST TO BE SET FROM ADMIN PANEL @iopietro must code -// Added by Shadow - cata7007@gmail.com / Skype : cata7007 -if($displayarray['tribe'] == "3"){ +}elseif($displayarray['tribe'] == "3"){ $profiel = preg_replace("/\[#gaul]/is",'', $profiel, 1); } @@ -74,38 +66,25 @@ $profiel = preg_replace("/\[#EVENT]/is",'', $profiel, 1); -$profiel = preg_replace("/\[#WINNERWW]/is",'', $profiel, 1); +$profiel = preg_replace("/\[#WWBUILDER]/is",'', $profiel, 1); +$profiel = preg_replace("/\[#WINNERWW]/is",'', $profiel, 1); +$profiel = preg_replace("/\[#OFFENSIVE]/is",'', $profiel, 1); +$profiel = preg_replace("/\[#DEFENSIVE]/is",'', $profiel, 1); +$profiel = preg_replace("/\[#POPULATION]/is",'', $profiel, 1); } -//Multihunter image - MUST TO BE SET FROM ADMIN PANEL @iopietro must code +// Multihunter image - MUST TO BE SET FROM ADMIN PANEL @iopietro must code // 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 - MUST TO BE SET FROM ADMIN PANEL @iopietro must code -// Added by Shadow - cata7007@gmail.com / Skype : cata7007 -if($displayarray['username'] == "Multihunter"){ $profiel = preg_replace("/\[#TEAM]/is",'', $profiel, 1); -} - -//Travian Team image - MUST TO BE SET FROM ADMIN PANEL @iopietro must code -// Added by Shadow - cata7007@gmail.com / Skype : cata7007 -if($displayarray['access'] == "9"){ -$profiel = preg_replace("/\[#TEAM]/is",'', $profiel, 1); -} - -//Multihunter image - MUST TO BE SET FROM ADMIN PANEL @iopietro must code -// Added by Shadow - cata7007@gmail.com / Skype : cata7007 -if($displayarray['access'] == "9"){ +}elseif($displayarray['access'] == "8"){ +$profiel = preg_replace("/\[#MULTIHUNTER]/is",'', $profiel, 1); $profiel = preg_replace("/\[#MH]/is",'', $profiel, 1); -} - -//Multihunter image - MUST TO BE SET FROM ADMIN PANEL @iopietro must code -// Added by Shadow - cata7007@gmail.com / Skype : cata7007 -if($displayarray['access'] == "8"){ +$profiel = preg_replace("/\[#TEAM]/is",'', $profiel, 1); +}elseif($displayarray['access'] == "9"){ +$profiel = preg_replace("/\[#TEAM]/is",'', $profiel, 1); $profiel = preg_replace("/\[#MH]/is",'', $profiel, 1); }