View file includes/func_translit.php

File size: 869B
<?

if (!defined('SECURED'))
{
	die("Unknown Error!");
}

  function tr($str) 
{
   //global $tran;
  $tran = array(
   "A"=>"А","a"=>"а","B"=>"Б","b"=>"б","V"=>"В",
   "v"=>"в","G"=>"Г","g"=>"г","D"=>"Д","d"=>"д",
   "E"=>"Е","e"=>"е","yo"=>"Ё","Zh"=>"Ж","zh"=>"ж",
   "Z"=>"З","z"=>"з","I"=>"И","i"=>"и","J"=>"Й",
   "j"=>"й","K"=>"К","k"=>"к","L"=>"Л","l"=>"л",
   "M"=>"М","m"=>"м","N"=>"Н","n"=>"н","O"=>"О",
   "o"=>"о","P"=>"П","p"=>"п","R"=>"Р","r"=>"р",
   "S"=>"С","s"=>"с","T"=>"Т","t"=>"т","U"=>"У",
   "u"=>"у","F"=>"Ф","f"=>"ф","H"=>"Х","h"=>"х",
   "C"=>"Ц","c"=>"ц","Ch"=>"Ч","ch"=>"ч","Sh"=>"Ш",
   "sh"=>"ш","Sch"=>"Щ","sch"=>"щ","''"=>"ъ",
   "Y"=>"Ы","y"=>"ы","'"=>"ь","Ye"=>"Э",
   "ye"=>"э","Yu"=>"Ю","yu"=>"ю","Ya"=>"Я","ya"=>"я",
   "Yo"=>"ё"
  );
   return strtr($str,$tran);
}
?>