Good evening, well, I want to know how I can put: if ($this->GetCategoryName() == 'mmorpg' OR 'shots')
in the same line of code, without having to do this:
if ($this->GetCategoryName() == 'mmorpg') {
if ($this->GetCategoryName() == 'shots') {
$url = $c_url;
} else {
$url = $c_url;
}
} else {
$url = U_LANG.'/'.$url_cat;
}