Вход Регистрация
Файл: sys/s-fnc/smiles.php
Строк: 29
<?
function smiles($msg)
{
$msg=preg_replace('#(:|=)-?){4,}|:ROFL:|*ROFL*|ROFL!{1,}#i''<img src="/s-klub/smiles/rofl.gif" alt="*ROFL*" />'$msg);
$msg=preg_replace('#*БРАВО*|:БРАВО:|:clapping:|:BRAVO:|*BRAVO*#iu''<img src="/s-klub/smiles/clapping.gif" alt="Браво" />'$msg);
$msg=preg_replace('#((:-?)|+|=)D#''<img src="/s-klub/smiles/biggrin.gif" alt="\0" />'$msg);
$msg=preg_replace('#*TIRED*||-?0|:boredom:#i''<img src="/s-klub/smiles/boredom.gif" alt="*TIRED*" />'$msg);
$msg=preg_replace('#:-?(!|~)|:bad:|(:|+|=)(~#i''<img src="/s-klub/smiles/bad.gif" alt=":-!" />'$msg);
$msg=preg_replace('#(:-?|+)){1,3}|:smile:|*smile*#i''<img src="/s-klub/smiles/smile.gif" alt="\0" />'$msg);
$msg=preg_replace('#(:-?|+)({1,3}|:sad:|*sad*#i''<img src="/s-klub/smiles/sad.gif" alt="\0" />'$msg);
$msg=preg_replace('#(^| );-?)#''<img src="/s-klub/smiles/wink.gif" alt="\0" />'$msg);
$msg=str_replace('^_~''<img src="/s-klub/smiles/wink.gif" alt="^_~" />'$msg);
$msg=preg_replace('#:wink:#i''<img src="/s-klub/smiles/wink.gif" alt=":wink:" />'$msg);
$msg=preg_replace('#(:-?)(P|b|p)#''<img src="/s-klub/smiles/blum3.gif" alt="\0" />'$msg);
$msg=preg_replace('#:tongue:#i''<img src="/s-klub/smiles/blum3.gif" alt=":tongue:" />'$msg);
$msg=preg_replace('#((8|B)-?))#''<img src="/s-klub/smiles/dirol.gif" alt="\0" />'$msg);
$msg=preg_replace('#:COOL:|COOL!{1,}#i''<img src="/s-klub/smiles/dirol.gif" alt="\0" />'$msg);
$msg=str_replace(':-[''<img src="/s-klub/smiles/blush2.gif" alt=":-[" />'$msg);
$msg=preg_replace('#(O|0)_(O|0)#i''<img src="/s-klub/smiles/shok.gif" alt="\0" />'$msg);
$msg=preg_replace('#(:-?)(*|{})|^.^|:kiss:|*kiss*#i''<img src="/s-klub/smiles/kiss.gif" alt="\0" />'$msg);
$msg=preg_replace('#:'-?({1,}#', '<img src="/s-klub/smiles/cray.gif" alt="\0" />', $msg);
$msg=preg_replace('#:-?(X|#)|:secret:#i''<img src="/s-klub/smiles/secret.gif" alt="\0" />'$msg);
$msg=preg_replace('#(&gt;)(:|+)(o|0)|:angry:|:-@#i''<img src="/s-klub/smiles/aggressive.gif" alt="\0" />'$msg);
$msg=preg_replace('#(:-?|=)|#''<img src="/s-klub/smiles/fool.gif" alt="\0" />'$msg);
$msg=str_replace(':-/''<img src="/s-klub/smiles/beee.gif" alt="\0" />'$msg);
$msg=preg_replace('#*JOKINGLY*#i''<img src="/s-klub/smiles/mosking.gif" alt="\0" />'$msg);
$msg=preg_replace('#(]|}):-?&gt;|:diablo:|*DIABLO*|&gt;:-?]#i''<img src="/s-klub/smiles/diablo.gif" alt="\0" />'$msg);
$msg=preg_replace('#[:-?}#''<img src="/s-klub/smiles/music2.gif" alt="\0" />'$msg);
$msg=preg_replace('#*KISSED*#i''<img src="/s-klub/smiles/air_kiss.gif" alt="\0" />'$msg);
$msg=preg_replace('#*STOP*|:stop:|stop!{1,}#i''<img src="/s-klub/smiles/stop.gif" alt="\0" />'$msg);
$msg=preg_replace('#*KISSING*#i''<img src="/s-klub/smiles/kiss_3.gif" alt="\0" />'$msg);
$msg=preg_replace('#@}-&gt;--|@}-:--|@&gt;}--#''<img src="/s-klub/smiles/give_rose.gif" alt="\0" />'$msg);
$msg=preg_replace('#*THUMBS_UP*|:GOOD:|*GOOD*|good!{1,}#i''<img src="/s-klub/smiles/good.gif" alt="\0" />'$msg);
$msg=preg_replace('#*DRINK*|:drink:#i''<img src="/s-klub/smiles/drinks.gif" alt="\0" />'$msg);
$msg=preg_replace('#*IN_LOVE*|LOVE!{1,}#i''<img src="/s-klub/smiles/man_in_love.gif" alt="\0" />'$msg);
$msg=str_replace('@=''<img src="/s-klub/smiles/bomb.gif" alt="@=" />'$msg);
$msg=preg_replace('#%-?)|:-?$|:wacko:#i''<img src="/s-klub/smiles/wacko.gif" alt="\0" />'$msg);
$msg=preg_replace('#*WASSUP*|*SUP*|*MAMBA*|:MAMBA:#i''<img src="/s-klub/smiles/mamba.gif" alt="*WASSUP*" />'$msg);
$msg=preg_replace('#*PARDON*|:pardon:#i''<img src="/s-klub/smiles/pardon.gif" alt="*PARDON*" />'$msg);
$msg=preg_replace('#*NO*#i''<img src="/s-klub/smiles/nea.gif" alt="*NO*" />'$msg);
$msg=preg_replace('#*CRAZY*|:crazy:#i''<img src="/s-klub/smiles/crazy.gif" alt="*CRAZY*" />'$msg);
$msg=preg_replace('#*DONT_KNOW*|*UNKNOWN*|:HZ:#i''<img src="/s-klub/smiles/dntknw.gif" alt="*DONT_KNOW*" />'$msg);
$msg=preg_replace('#*SORRY*|:sorry:#i''<img src="/s-klub/smiles/sorry.gif" alt="*SORRY*" />'$msg);
$msg=preg_replace('#*YAHOO!**|:YAHOO:|YAHOO!{1,}#i''<img src="/s-klub/smiles/yahoo.gif" alt="\0" />'$msg);
$msg=preg_replace('#*DANCE*|:dance:#i''<img src="/s-klub/smiles/dance4.gif" alt="*DANCE*" />'$msg);
$msg=preg_replace('#*HELP*#i''<img src="/s-klub/smiles/help.gif" alt="*HELP*" />'$msg);
$msg=preg_replace('#*OK*#i''<img src="/s-klub/smiles/ok.gif" alt="*OK*" />'$msg);
$msg=preg_replace('#*HELLO*|*PREVED*|*PRIVET*|*HI*#i''<img src="/s-klub/smiles/preved.gif" alt="*HELLO*" />'$msg);
$msg=preg_replace('#*ACUTE*#i''<img src="/s-klub/smiles/acute.gif" alt="*ACUTE*" />'$msg);
$msg=preg_replace('#*BYE*#i''<img src="/s-klub/smiles/bye.gif" alt="*BYE*" />'$msg);
$msg=preg_replace('#*WRITE*#i''<img src="/s-klub/smiles/mail1.gif" alt="*WRITE*" />'$msg);
$msg=preg_replace('#*MAIL*#i''<img src="/s-klub/smiles/mail1.gif" alt="*MAIL*" />'$msg);
$msg=preg_replace('#*WALL*#i''<img src="/s-klub/smiles/dash1.gif" alt="*WALL*" />'$msg);
$msg=preg_replace('#*DASH*#i''<img src="/s-klub/smiles/dash1.gif" alt="*DASH*" />'$msg);
$msg=preg_replace('#*YES*#i''<img src="/s-klub/smiles/yes3.gif" alt="*YES*" />'$msg);
$msg=preg_replace('#*SCRATCH*#i''<img src="/s-klub/smiles/scratch_one-s_head.gif" alt="*SCRATCH*" />'$msg);
$msg=preg_replace('#*LOL!**|:LOL:|LOL!{1,}#i''<img src="/s-klub/smiles/lol.gif" alt="\0" />'$msg);
$msg=preg_replace('#*HAPPY*|:happy:#i''<img src="/s-klub/smiles/i-m_so_happy.gif" alt="*HAPPY*" />'$msg);
$msg=preg_replace('#*db*|:db:#i''<img src="/s-klub/smiles/pleasantry.gif" alt="*db*" />'$msg);
return 
$msg;
}
?>
Онлайн: 2
Реклама