if ($langx == 'persian') { $persianlang = 'فارسی'; echo '<a href="'.$link.'" title="'.$persianlang.'">'; if (($this->lng_style == 0) && file_exists($mainframe->getCfg('absolute_path').'/language/'.$langx.'/'.$langx.'.gif')) { echo '<img src="'.$mainframe->getCfg('ssl_live_site').'/language/'.$langx.'/'.$langx.'.gif" border="0" alt="'.$persianlang.'" style="vertical-align:middle" />'; } else { echo ($lang == $langx) ? '<strong>'.$persianlang.'</strong>' : $persianlang; } echo '</a> '._LEND;} else { echo '<a href="'.$link.'" title="'.$langx.'">'; if (($this->lng_style == 0) && file_exists($mainframe->getCfg('absolute_path').'/language/'.$langx.'/'.$langx.'.gif')) { echo '<img src="'.$mainframe->getCfg('ssl_live_site').'/language/'.$langx.'/'.$langx.'.gif" border="0" alt="'.$langx.'" style="vertical-align:middle" />'; } else { echo ($lang == $langx) ? '<strong>'.$langx.'</strong>' : $langx; } echo '</a> '._LEND;}