$t) $filename[$key]=sanitize_filename($t); return $filename; } preg_match('~\.[^.]+$~', $filename, $match); $ext = $match[0]; $filename = preg_replace('~\.[^.]+$~', '', $filename); $gost = array( "Є"=>"EH","І"=>"I","і"=>"i","є"=>"eh", "А"=>"A","Б"=>"B","В"=>"V","Г"=>"G","Д"=>"D", "Е"=>"E","Ё"=>"JO","Ж"=>"ZH", "З"=>"Z","И"=>"I","Й"=>"JJ","К"=>"K","Л"=>"L", "М"=>"M","Н"=>"N","О"=>"O","П"=>"P","Р"=>"R", "С"=>"S","Т"=>"T","У"=>"U","Ф"=>"F","Х"=>"KH", "Ц"=>"C","Ч"=>"CH","Ш"=>"SH","Щ"=>"SHH","Ъ"=>"'", "Ы"=>"Y","Ь"=>"","Э"=>"EH","Ю"=>"YU","Я"=>"YA", "а"=>"a","б"=>"b","в"=>"v","г"=>"g","д"=>"d", "е"=>"e","ё"=>"jo","ж"=>"zh", "з"=>"z","и"=>"i","й"=>"jj","к"=>"k","л"=>"l", "м"=>"m","н"=>"n","о"=>"o","п"=>"p","р"=>"r", "с"=>"s","т"=>"t","у"=>"u","ф"=>"f","х"=>"kh", "ц"=>"c","ч"=>"ch","ш"=>"sh","щ"=>"shh","ъ"=>"", "ы"=>"y","ь"=>"","э"=>"eh","ю"=>"yu","я"=>"ya","«"=>"","»"=>"" ); $filename=strtr($filename, $gost); $filename=preg_replace('~[^A-Za-z0-9]+~','-',$filename); $filename=trim($filename, '-'); $filename=strtolower($filename); return $filename.$ext; } ?> Пневматическое оборудование – ПрокатPRO -прокат инструмента и оборудования в Гомеле
Сортировать по: