switch ($this->link->type): case Infantry_Type_Link::SPONSOR: $type = 'Sponzor'; break; case Infantry_Type_Link::PARTNER: $type = 'Partner'; break; case Infantry_Type_Link::PROGAMING: $type = 'Progaming'; break; case Infantry_Type_Link::COMMUNITY: $type = 'Komunita'; break; default: $type = 'Neznámý'; endswitch; ?>