load->helper('url'); $link_quest = 'hero/quest'; $link_hero = 'hero/selected'; $link_village = 'hero/village'; $link_settings = 'hero/settings'; $link_select = 'hero/select'; switch ($this->hero['class']) { case 1: $class = 'warrior'; break; case 2: $class = 'rogue'; break; case 3: $class = 'archer'; break; default: $class = ''; break; } ?>