Файл: smiles/smiles2.php
Строк: 9
<?
function smiles($text)
{
$smiles='smiles';
$text=str_replace(":))","<img src='$smiles/verysmile.gif' alt='+'/>",$text);
$text=str_replace(":-))","<img src='$smiles/verysmile.gif' alt='+'/>",$text);
$text=str_replace(":P","<img src='$smiles/yazik.gif' alt='+'/>",$text);
$text=str_replace(":-P","<img src='$smiles/yazik.gif' alt='+'/>",$text);
$text=str_replace(":D","<img src='$smiles/wsmile.gif' alt='+'/>",$text);
$text=str_replace(":-D","<img src='$smiles/wsmile.gif' alt='+'/>",$text);
$text=str_replace(":)","<img src='$smiles/smile.gif' alt='+'/>",$text);
$text=str_replace(":-)","<img src='$smiles/smile.gif' alt='+'/>",$text);
$text=str_replace(":(","<img src='$smiles/obidno.gif' alt='+'/>",$text);
$text=str_replace(":-(","<img src='$smiles/obidno.gif' alt='+'/>",$text);
$text=str_replace("]:-]","<img src='$smiles/devil.gif' alt='+'/>",$text);
$text=str_replace("lol","<img src='$smiles/12.gif' alt='+'/>",$text);
$text=str_replace("B)","<img src='$smiles/ochki.gif' alt='+'/>",$text);
$text=str_replace("B-)","<img src='$smiles/ochki.gif' alt='+'/>",$text);
$text=str_replace("(?)","<img src='$smiles/vopros.gif' alt='+'/>",$text);
$text=str_replace("?","<img src='$smiles/vopros.gif' alt='+'/>",$text);
$text=str_replace("(!)","<img src='$smiles/idea.gif' alt='+'/>",$text);
$text=str_replace("!","<img src='$smiles/vos.gif' alt='+'/>",$text);
$text=str_replace(";)","<img src='$smiles/podmig.gif' alt='+'/>",$text);
$text=str_replace(";-)","<img src='$smiles/podmig.gif' alt='+'/>",$text);
$text=str_replace("8)","<img src='$smiles/eek.gif' alt='+'/>",$text);
$text=str_replace("8-)","<img src='$smiles/eek.gif' alt='+'/>",$text);
$text=str_replace(":-/","<img src='$smiles/vozmuschenie.gif' alt='+'/>",$text);
$text=str_replace(":l","<img src='$smiles/rovn.gif' alt='+'/>",$text);
$text=str_replace(":-l","<img src='$smiles/rovn.gif' alt='+'/>",$text);
$text=str_replace(":b","<img src='$smiles/yazyk.gif' alt='+'/>",$text);
$text=str_replace(":-b","<img src='$smiles/yazyk.gif' alt='+'/>",$text);
$text=str_replace(":o","<img src='$smiles/surprised.gif' alt='+'/>",$text);
$text=str_replace(":-o","<img src='$smiles/surprised.gif' alt='+'/>",$text);
$text=str_replace("<1>","<img src='$smiles/1.gif' alt='+'/>",$text);
$text=str_replace("<2>","<img src='$smiles/2.gif' alt='+'/>",$text);
$text=str_replace("<3>","<img src='$smiles/3.gif' alt='+'/>",$text);
$text=str_replace("<4>","<img src='$smiles/4.gif' alt='+'/>",$text);
$text=str_replace("<5>","<img src='$smiles/5.gif' alt='+'/>",$text);
$text=str_replace("<6>","<img src='$smiles/6.gif' alt='+'/>",$text);
$text=str_replace("<7>","<img src='$smiles/7.gif' alt='+'/>",$text);
$text=str_replace("<8>","<img src='$smiles/8.gif' alt='+'/>",$text);
$text=str_replace("<9>","<img src='$smiles/9.gif' alt='+'/>",$text);
$text=str_replace("<10>","<img src='$smiles/10.gif' alt='+'/>",$text);
$text=str_replace("<11>","<img src='$smiles/11.gif' alt='+'/>",$text);
$text=str_replace("<17>","<img src='$smiles/17.gif' alt='+'/>",$text);
$text=str_replace("<13>","<img src='$smiles/13.gif' alt='+'/>",$text);
$text=str_replace("<14>","<img src='$smiles/14.gif' alt='+'/>",$text);
$text=str_replace("<15>","<img src='$smiles/15.gif' alt='+'/>",$text);
$text=str_replace("<16>","<img src='$smiles/16.gif' alt='+'/>",$text);
$text=str_replace("<18>","<img src='$smiles/18.gif' alt='+'/>",$text);
$text=str_replace("<19>","<img src='$smiles/19.gif' alt='+'/>",$text);
$text=str_replace("<20>","<img src='$smiles/20.gif' alt='+'/>",$text);
$text=str_replace("<21>","<img src='$smiles/21.gif' alt='+'/>",$text);
$text=str_replace("<22>","<img src='$smiles/22.gif' alt='+'/>",$text);
$text=str_replace("<23>","<img src='$smiles/23.gif' alt='+'/>",$text);
$text=str_replace("<24>","<img src='$smiles/24.gif' alt='+'/>",$text);
$text=str_replace("<25>","<img src='$smiles/25.gif' alt='+'/>",$text);
$text=str_replace("<26>","<img src='$smiles/26.gif' alt='+'/>",$text);
$text=str_replace("<27>","<img src='$smiles/27.gif' alt='+'/>",$text);
$text=str_replace("<28>","<img src='$smiles/28.gif' alt='+'/>",$text);
$text=str_replace("<29>","<img src='$smiles/29.gif' alt='+'/>",$text);
$text=str_replace("<30>","<img src='$smiles/30.gif' alt='+'/>",$text);
$text=str_replace("<31>","<img src='$smiles/31.gif' alt='+'/>",$text);
$text=str_replace("<32>","<img src='$smiles/32.gif' alt='+'/>",$text);
$text=str_replace("<33>","<img src='$smiles/33.gif' alt='+'/>",$text);
$text=str_replace("<34>","<img src='$smiles/34.gif' alt='+'/>",$text);
$text=str_replace("<35>","<img src='$smiles/35.gif' alt='+'/>",$text);
$text=str_replace("<36>","<img src='$smiles/36.gif' alt='+'/>",$text);
$text=str_replace("<37>","<img src='$smiles/37.gif' alt='+'/>",$text);
$text=str_replace("<38>","<img src='$smiles/38.gif' alt='+'/>",$text);
$text=str_replace("<39>","<img src='$smiles/39.gif' alt='+'/>",$text);
$text=str_replace("<40>","<img src='$smiles/40.gif' alt='+'/>",$text);
$text=str_replace("<41>","<img src='$smiles/41.gif' alt='+'/>",$text);
$text=str_replace("<42>","<img src='$smiles/42.gif' alt='+'/>",$text);
$text=str_replace("<43>","<img src='$smiles/43.gif' alt='+'/>",$text);
$text=str_replace("<44>","<img src='$smiles/44.gif' alt='+'/>",$text);
$text=str_replace("<45>","<img src='$smiles/45.gif' alt='+'/>",$text);
$text=str_replace("<46>","<img src='$smiles/46.gif' alt='+'/>",$text);
$text=str_replace("<47>","<img src='$smiles/47.gif' alt='+'/>",$text);
$text=str_replace("<48>","<img src='$smiles/48.gif' alt='+'/>",$text);
$text=str_replace("<49>","<img src='$smiles/49.gif' alt='+'/>",$text);
$text=str_replace("<50>","<img src='$smiles/50.gif' alt='+'/>",$text);
$text=str_replace("<51>","<img src='$smiles/51.gif' alt='+'/>",$text);
$text=str_replace("<52>","<img src='$smiles/52.gif' alt='+'/>",$text);
$text=str_replace("<53>","<img src='$smiles/53.gif' alt='+'/>",$text);
$text=str_replace("<54>","<img src='$smiles/54.gif' alt='+'/>",$text);
return $text;
}
?>