switch($sex)
{
case "male":
$mainImg = $mainImg . "0-";
break;
case 'female':
$mainImg = $mainImg . "1-";
break;
}
switch($race)
{
case 'human':
$mainImg = $mainImg . "1-";
break;
case 'orc':
$mainImg = $mainImg . "2-";
break;
case 'dwarf':
$mainImg = $mainImg . "3-";
break;
case 'ne':
$mainImg = $mainImg . "4-";
break;
case 'undead':
$mainImg = $mainImg . "5-";
break;
case 'tauren':
$mainImg = $mainImg . "6-";
break;
case 'gnome':
$mainImg = $mainImg . "7-";
break;
case 'troll':
$mainImg = $mainImg . "8-";
break;
case 'be':
$mainImg = $mainImg . "10-";
break;
case 'drae':
$mainImg = $mainImg . "11-";
break;
}
switch($class)
{
case 'warrior':
$mainImg = $mainImg . "1";
$classImg = $classImg . "1.gif";
break;
case 'paladin':
$mainImg = $mainImg . "2";
$classImg = $classImg . "2.gif";
break;
case 'hunter':
$mainImg = $mainImg . "3";
$classImg = $classImg . "3.gif";
break;
case 'priest':
$mainImg = $mainImg . "5";
$classImg = $classImg . "5.gif";
break;
case 'mage':
$mainImg = $mainImg . "8";
$classImg = $classImg . "8.gif";
break;
case 'shaman':
$mainImg = $mainImg . "7";
$classImg = $classImg . "7.gif";
break;
case 'rouge':
$mainImg = $mainImg . "4";
$classImg = $classImg . "4.gif";
break;
case 'warlock':
$mainImg = $mainImg . "9";
$classImg = $classImg . "9.gif";
break;
case 'druid':
$mainImg = $mainImg . "11";
$classImg = $classImg . "11.gif";
break;
}
switch($sex)
{
case "Male":
$mainImg = $mainImg . "0-";
break;
case 'Female':
$mainImg = $mainImg . "1-";
break;
}
switch($race)
{
case 'Human':
$mainImg = $mainImg . "1-";
break;
case 'Orc':
$mainImg = $mainImg . "2-";
break;
case 'Dwarf':
$mainImg = $mainImg . "3-";
break;
case 'Night Elf':
$mainImg = $mainImg . "4-";
break;
case 'Undead':
$mainImg = $mainImg . "5-";
break;
case 'Tauren':
$mainImg = $mainImg . "6-";
break;
case 'Gnome':
$mainImg = $mainImg . "7-";
break;
case 'Troll':
$mainImg = $mainImg . "8-";
break;
case 'Blood Elf':
$mainImg = $mainImg . "10-";
break;
case 'Draenei':
$mainImg = $mainImg . "11-";
break;
}
switch($class)
{
case 'Warrior':
$mainImg = $mainImg . "1";
$classImg = $classImg . "1.gif";
break;
case 'Paladin':
$mainImg = $mainImg . "2";
$classImg = $classImg . "2.gif";
break;
case 'Hunter':
$mainImg = $mainImg . "3";
$classImg = $classImg . "3.gif";
break;
case 'Priest':
$mainImg = $mainImg . "5";
$classImg = $classImg . "5.gif";
break;
case 'Mage':
$mainImg = $mainImg . "8";
$classImg = $classImg . "8.gif";
break;
case 'Shaman':
$mainImg = $mainImg . "7";
$classImg = $classImg . "7.gif";
break;
case 'Rogue':
$mainImg = $mainImg . "4";
$classImg = $classImg . "4.gif";
break;
case 'Warlock':
$mainImg = $mainImg . "9";
$classImg = $classImg . "9.gif";
break;
case 'Druid':
$mainImg = $mainImg . "11";
$classImg = $classImg . "11.gif";
break;
}
Users browsing this forum: No registered users and 0 guests