View file chat_servis/smiles/convert_to_smiles.php

File size: 20.88Kb
<?
if(($posts>=0) or ($admin)) {
$msg=str_replace(".smirk.","<img src=\"smiles/smiles/smirk.gif\" alt=\".smirk.\"/>",$msg);
$msg=str_replace(".snow.","<img src=\"smiles/smiles/snow.gif\" alt=\".snow.\"/>",$msg);
$msg=str_replace(".str.","<img src=\"smiles/smiles/str.gif\" alt=\".str.\"/>",$msg);
$msg=str_replace(".sun.","<img src=\"smiles/smiles/sun.gif\" alt=\".sun.\"/>",$msg);
$msg=str_replace(".sunny.","<img src=\"smiles/smiles/sunny.gif\" alt=\".sunny.\"/>",$msg);
$msg=str_replace(".notsure.","<img src=\"smiles/smiles/notsure.gif\" alt=\".notsure.\"/>",$msg);
$msg=str_replace(".clock.","<img src=\"smiles/smiles/clock.gif\" alt=\".clock.\"/>",$msg);
$msg=str_replace(".vopros.","<img src=\"smiles/smiles/vopros.gif\" alt=\".vopros.\"/>",$msg);
$msg=str_replace(".smile.","<img src=\"smiles/smiles/smile.gif\" alt=\".smile.\"/>",$msg);
if(($posts>=100) or ($admin)) {
$msg=str_replace(".party.","<img src=\"smiles/smiles/party.gif\" alt=\".party.\"/>",$msg);
$msg=str_replace(".phone.","<img src=\"smiles/smiles/phone.gif\" alt=\".phone.\"/>",$msg);
$msg=str_replace(".present.","<img src=\"smiles/smiles/present.gif\" alt=\".present.\"/>",$msg);
$msg=str_replace(".pya.","<img src=\"smiles/smiles/pya.gif\" alt=\".pya.\"/>",$msg);
$msg=str_replace(".rain.","<img src=\"smiles/smiles/rain.gif\" alt=\".rain.\"/>",$msg);
$msg=str_replace(".rose.","<img src=\"smiles/smiles/rose.gif\" alt=\".rose.\"/>",$msg);
$msg=str_replace(".vis.","<img src=\"smiles/smiles/vis.gif\" alt=\".vis.\"/>",$msg);
$msg=str_replace(".zubastik.","<img src=\"smiles/smiles/zubastik.gif\" alt=\".zubastik.\"/>",$msg);
$msg=str_replace(".eda.","<img src=\"smiles/smiles/eda.gif\" alt=\".eda.\"/>",$msg);
$msg=str_replace(".elka.","<img src=\"smiles/smiles/elka.gif\" alt=\".elka.\"/>",$msg);
$msg=str_replace(".zloi.","<img src=\"smiles/smiles/zloi.gif\" alt=\".zloi.\"/>",$msg);
$msg=str_replace(".kruzhka.","<img src=\"smiles/smiles/kruzhka.gif\" alt=\".kruzhka.\"/>",$msg);
$msg=str_replace(".worry.","<img src=\"smiles/smiles/worry.gif\" alt=\".worry.\"/>",$msg);
$msg=str_replace(".rolleyes.","<img src=\"smiles/smiles/rolleyes.gif\" alt=\".rolleyes.\"/>",$msg);
$msg=str_replace(".sad.","<img src=\"smiles/smiles/sad.gif\" alt=\".sad.\"/>",$msg);
$msg=str_replace(".sleep.","<img src=\"smiles/smiles/sleep.gif\" alt=\".sleep.\"/>",$msg);
$msg=str_replace(".ooh.","<img src=\"smiles/smiles/ooh.gif\" alt=\".ooh.\"/>",$msg);
$msg=str_replace(".mad.","<img src=\"smiles/smiles/mad.gif\" alt=\".mad.\"/>",$msg);
$msg=str_replace(".eat.","<img src=\"smiles/smiles/eat.gif\" alt=\".eat.\"/>",$msg);
$msg=str_replace(".blush.","<img src=\"smiles/smiles/blush.gif\" alt=\".blush.\"/>",$msg);
if(($posts>=500) or ($admin)) {
$msg=str_replace(".hohol.","<img src=\"smiles/smiles/hohol.gif\" alt=\".hohol.\"/>",$msg);
$msg=str_replace(".ill.","<img src=\"smiles/smiles/ill.gif\" alt=\".ill.\"/>",$msg);
$msg=str_replace(".kisa.","<img src=\"smiles/smiles/kisa.gif\" alt=\".kisa.\"/>",$msg);
$msg=str_replace(".tongue.","<img src=\"smiles/smiles/tongue.gif\" alt=\".tongue.\"/>",$msg);
$msg=str_replace(".urgh.","<img src=\"smiles/smiles/urgh.gif\" alt=\".urgh.\"/>",$msg);
$msg=str_replace(".wink.","<img src=\"smiles/smiles/wink.gif\" alt=\".wink.\"/>",$msg);
$msg=str_replace(".ulibka.","<img src=\"smiles/smiles/biggrin.gif\" alt=\".ulibka.\"/>",$msg);
$msg=str_replace(".boggle.","<img src=\"smiles/smiles/boggle.gif\" alt=\".boggle.\"/>",$msg);
$msg=str_replace(".huh.","<img src=\"smiles/smiles/huh.gif\" alt=\".huh.\"/>",$msg);
if(($posts>=1000) or ($admin)) {
$msg=str_replace(".sleza.","<img src=\"smiles/smiles/sleza.gif\" alt=\".sleza.\"/>",$msg);
$msg=str_replace(".chmok.","<img src=\"smiles/smiles/chmok.gif\" alt=\".chmok.\"/>",$msg);
$msg=str_replace(".ne.znayu.","<img src=\"smiles/smiles/ne.znayu.gif\" alt=\".ne.znayu.\"/>",$msg);
$msg=str_replace(".jump.","<img src=\"smiles/smiles/jump.gif\" alt=\".jump.\"/>",$msg);
$msg=str_replace(".good.","<img src=\"smiles/smiles/good.gif\" alt=\".good.\"/>",$msg);
$msg=str_replace(".chmak.","<img src=\"smiles/smiles/chmak.gif\" alt=\".chmak.\"/>",$msg);
$msg=str_replace(".tired.","<img src=\"smiles/smiles/tired.gif\" alt=\".tired.\"/>",$msg);
$msg=str_replace(".confused.","<img src=\"smiles/smiles/confused.gif\" alt=\".confused.\"/>",$msg);
$msg=str_replace(".cool.","<img src=\"smiles/smiles/cool.gif\" alt=\".cool.\"/>",$msg);
$msg=str_replace(".eek.","<img src=\"smiles/smiles/eek.gif\" alt=\".eek.\"/>",$msg);
if(($posts>=3000) or ($admin)) {
$msg=str_replace(".toilet.","<img src=\"smiles/smiles/toilet.gif\" alt=\".toilet.\"/>",$msg);
$msg=str_replace(".toy2.","<img src=\"smiles/smiles/toy2.gif\" alt=\".toy2.\"/>",$msg);
$msg=str_replace(".toy.","<img src=\"smiles/smiles/toy.gif\" alt=\".toy.\"/>",$msg);
$msg=str_replace(".tv.","<img src=\"smiles/smiles/tv.gif\" alt=\".tv.\"/>",$msg);
$msg=str_replace(".vantuz.","<img src=\"smiles/smiles/vantuz.gif\" alt=\".vantuz.\"/>",$msg);
$msg=str_replace(".heart.","<img src=\"smiles/smiles/heart.gif\" alt=\".heart.\"/>",$msg);
$msg=str_replace(".talk.","<img src=\"smiles/smiles/talk.gif\" alt=\".talk.\"/>",$msg);
$msg=str_replace(".cvetok.","<img src=\"smiles/smiles/cvetok.gif\" alt=\".cvetok.\"/>",$msg);
$msg=str_replace(".loveyou.","<img src=\"smiles/smiles/love.you.gif\" alt=\".loveyou.\"/>",$msg);
$msg=str_replace(".4mok.","<img src=\"smiles/smiles/4mok.gif\" alt=\".4mok.\"/>",$msg);
$msg=str_replace(".love.","<img src=\"smiles/smiles/love.gif\" alt=\".love.\"/>",$msg);
$msg=str_replace(".smoke.","<img src=\"smiles/smiles/smoke.gif\" alt=\".smoke.\"/>",$msg);
$msg=str_replace(".daryu.","<img src=\"smiles/smiles/daryu.gif\" alt=\".daryu.\"/>",$msg);
$msg=str_replace(".loving.","<img src=\"smiles/smiles/loving.gif\" alt=\".loving.\"/>",$msg);
$msg=str_replace(".stress.","<img src=\"smiles/smiles/stress.gif\" alt=\".stress.\"/>",$msg);
$msg=str_replace(".inlove.","<img src=\"smiles/smiles/inlove.gif\" alt=\".inlove.\"/>",$msg);
if(($posts>=5000) or ($admin)) {
$msg=str_replace(".love2.","<img src=\"smiles/smiles/love2.gif\" alt=\".love2.\"/>",$msg);
$msg=str_replace(".love3.","<img src=\"smiles/smiles/love3.gif\" alt=\".love3.\"/>",$msg);
$msg=str_replace(".love4.","<img src=\"smiles/smiles/love4.gif\" alt=\".love4.\"/>",$msg);
$msg=str_replace(".love5.","<img src=\"smiles/smiles/love5.gif\" alt=\".love5.\"/>",$msg);
$msg=str_replace(".nono.","<img src=\"smiles/smiles/nono.gif\" alt=\".nono.\"/>",$msg);
$msg=str_replace(".oops.","<img src=\"smiles/smiles/oops.gif\" alt=\".oops.\"/>",$msg);
$msg=str_replace(".pa4ka.","<img src=\"smiles/smiles/pa4ka.gif\" alt=\".pa4ka.\"/>",$msg);
$msg=str_replace(".pizza.","<img src=\"smiles/smiles/pizza.gif\" alt=\".pizza.\"/>",$msg);
$msg=str_replace(".plak.","<img src=\"smiles/smiles/plak.gif\" alt=\".plak.\"/>",$msg);
$msg=str_replace(".plak2.","<img src=\"smiles/smiles/plak2.gif\" alt=\".plak2.\"/>",$msg);
$msg=str_replace(".rose2.","<img src=\"smiles/smiles/rose2.gif\" alt=\".rose2.\"/>",$msg);
$msg=str_replace(".shok2.","<img src=\"smiles/smiles/shok2.gif\" alt=\".shok2.\"/>",$msg);
$msg=str_replace(".skleroz.","<img src=\"smiles/smiles/skleroz.gif\" alt=\".skleroz.\"/>",$msg);
$msg=str_replace(".smutil.","<img src=\"smiles/smiles/smutil.gif\" alt=\".smutil.\"/>",$msg);
$msg=str_replace(".tog.","<img src=\"smiles/smiles/tog.gif\" alt=\".tog.\"/>",$msg);
$msg=str_replace(".tus.","<img src=\"smiles/smiles/tus.gif\" alt=\".tus.\"/>",$msg);
$msg=str_replace(".ura.","<img src=\"smiles/smiles/ura.gif\" alt=\".ura.\"/>",$msg);
$msg=str_replace(".vau.","<img src=\"smiles/smiles/vau.gif\" alt=\".vau.\"/>",$msg);
$msg=str_replace(".vau3.","<img src=\"smiles/smiles/vau3.gif\" alt=\".vau3.\"/>",$msg);
$msg=str_replace(".vgubki.","<img src=\"smiles/smiles/vgubki.gif\" alt=\".vgubki.\"/>",$msg);
$msg=str_replace(".vino.","<img src=\"smiles/smiles/vino.gif\" alt=\".vino.\"/>",$msg);
$msg=str_replace(".vkrasku2.","<img src=\"smiles/smiles/vkrasku2.gif\" alt=\".vkrasku2.\"/>",$msg);
$msg=str_replace(".vzglyad.","<img src=\"smiles/smiles/vzglyad.gif\" alt=\".vzglyad.\"/>",$msg);
$msg=str_replace(".wink2.","<img src=\"smiles/smiles/wink2.gif\" alt=\".wink2.\"/>",$msg);
$msg=str_replace(".woko.","<img src=\"smiles/smiles/woko.gif\" alt=\".woko.\"/>",$msg);
$msg=str_replace(".zev.","<img src=\"smiles/smiles/zev.gif\" alt=\".zev.\"/>",$msg);
$msg=str_replace(".pivo.","<img src=\"smiles/smiles/pivo.gif\" alt=\".pivo.\"/>",$msg);
$msg=str_replace(".be.","<img src=\"smiles/smiles/be.gif\" alt=\".be.\"/>",$msg);
$msg=str_replace(".priv.","<img src=\"smiles/smiles/priv.gif\" alt=\".priv.\"/>",$msg);
$msg=str_replace(".susel.","<img src=\"smiles/smiles/susel.gif\" alt=\".susel.\"/>",$msg);
$msg=str_replace(".dum.","<img src=\"smiles/smiles/dum.gif\" alt=\".dum.\"/>",$msg);
$msg=str_replace(".bumbum.","<img src=\"smiles/smiles/bumbum.gif\" alt=\".bumbum.\"/>",$msg);
if(($posts>=7000) or ($admin)) {
$msg=str_replace(".banan.","<img src=\"smiles/smiles/banan.gif\" alt=\".banan.\"/>",$msg);
$msg=str_replace(".bebe.","<img src=\"smiles/smiles/bebe.gif\" alt=\".bebe.\"/>",$msg);
$msg=str_replace(".beer.","<img src=\"smiles/smiles/beer.gif\" alt=\".beer.\"/>",$msg);
$msg=str_replace(".box.","<img src=\"smiles/smiles/box.gif\" alt=\".box.\"/>",$msg);
$msg=str_replace(".chmok2.","<img src=\"smiles/smiles/chmok2.gif\" alt=\".chmok2.\"/>",$msg);
$msg=str_replace(".chmoks.","<img src=\"smiles/smiles/chmoks.gif\" alt=\".chmoks.\"/>",$msg);
$msg=str_replace(".condom.","<img src=\"smiles/smiles/condom.gif\" alt=\".condom.\"/>",$msg);
$msg=str_replace(".drink.","<img src=\"smiles/smiles/drink.gif\" alt=\".drink.\"/>",$msg);
$msg=str_replace(".duel.","<img src=\"smiles/smiles/duel.gif\" alt=\".duel.\"/>",$msg);
$msg=str_replace(".dum2.","<img src=\"smiles/smiles/dum2.gif\" alt=\".dum2.\"/>",$msg);
$msg=str_replace(".dum3.","<img src=\"smiles/smiles/dum3.gif\" alt=\".dum3.\"/>",$msg);
$msg=str_replace(".flip.","<img src=\"smiles/smiles/flip.gif\" alt=\".flip.\"/>",$msg);
$msg=str_replace(".food.","<img src=\"smiles/smiles/food.gif\" alt=\".food.\"/>",$msg);
$msg=str_replace(".fuck2.","<img src=\"smiles/smiles/fuck2.gif\" alt=\".fuck2.\"/>",$msg);
$msg=str_replace(".ghost.","<img src=\"smiles/smiles/ghost.gif\" alt=\".ghost.\"/>",$msg);
$msg=str_replace(".heart2.","<img src=\"smiles/smiles/heart2.gif\" alt=\".heart2.\"/>",$msg);
$msg=str_replace(".hi2.","<img src=\"smiles/smiles/hi2.gif\" alt=\".hi2.\"/>",$msg);
$msg=str_replace(".hmm.","<img src=\"smiles/smiles/hmm.gif\" alt=\".hmm.\"/>",$msg);
$msg=str_replace(".hnyk.","<img src=\"smiles/smiles/hnyk.gif\" alt=\".hnyk.\"/>",$msg);
$msg=str_replace(".ign.","<img src=\"smiles/smiles/ign.gif\" alt=\".ign.\"/>",$msg);
$msg=str_replace(".idea.","<img src=\"smiles/smiles/idea.gif\" alt=\".idea.\"/>",$msg);
$msg=str_replace(".tecsha.","<img src=\"smiles/smiles/tecsha.gif\" alt=\".tecsha.\"/>",$msg);
$msg=str_replace(".hearts.","<img src=\"smiles/smiles/hearts.gif\" alt=\".hearts.\"/>",$msg);
$msg=str_replace(".candy.","<img src=\"smiles/smiles/candy.gif\" alt=\".candy.\"/>",$msg);
$msg=str_replace(".cens.","<img src=\"smiles/smiles/cens.gif\" alt=\".cens.\"/>",$msg);
$msg=str_replace(".chupa.","<img src=\"smiles/smiles/chupa.gif\" alt=\".chupa.\"/>",$msg);
$msg=str_replace(".cry.","<img src=\"smiles/smiles/cry.gif\" alt=\".cry.\"/>",$msg);
$msg=str_replace(".butylka.","<img src=\"smiles/smiles/butylka.gif\" alt=\".butylka.\"/>",$msg);
$msg=str_replace(".buhaem.","<img src=\"smiles/smiles/buhaem.gif\" alt=\".buhaem.\"/>",$msg);
$msg=str_replace(".money2.","<img src=\"smiles/smiles/money2.gif\" alt=\".money2.\"/>",$msg);
$msg=str_replace(".money.","<img src=\"smiles/smiles/money.gif\" alt=\".money.\"/>",$msg);
$msg=str_replace(".hitrost.","<img src=\"smiles/smiles/hitrost.gif\" alt=\".hitrost.\"/>",$msg);
}
}
}
}
}
}
}
if($vip) {
$msg=str_replace(".4moks.","<img src=\"smiles/smiles/4moks.gif\" alt=\".4moks.\"/>",$msg);
$msg=str_replace(".aaa.","<img src=\"smiles/smiles/aaa.gif\" alt=\".aaa.\"/>",$msg);
$msg=str_replace(".bann.","<img src=\"smiles/smiles/bann.gif\" alt=\".bann.\"/>",$msg);
$msg=str_replace(".cvetochek.","<img src=\"smiles/smiles/cvetochek.gif\" alt=\".cvetochek.\"/>",$msg);
$msg=str_replace(".gey.","<img src=\"smiles/smiles/gey.gif\" alt=\".gey.\"/>",$msg);
$msg=str_replace(".idu.","<img src=\"smiles/smiles/idu.gif\" alt=\".idu.\"/>",$msg);
$msg=str_replace(".kill.","<img src=\"smiles/smiles/kill.gif\" alt=\".kill.\"/>",$msg);
$msg=str_replace(".lozung.","<img src=\"smiles/smiles/lozung.gif\" alt=\".lozung.\"/>",$msg);
$msg=str_replace(".medik.","<img src=\"smiles/smiles/medik.gif\" alt=\".medik.\"/>",$msg);
$msg=str_replace(".nunu.","<img src=\"smiles/smiles/nunu.gif\" alt=\".nunu.\"/>",$msg);
$msg=str_replace(".otk.","<img src=\"smiles/smiles/otk.gif\" alt=\".otk.\"/>",$msg);
$msg=str_replace(".sigareta.","<img src=\"smiles/smiles/sigareta.gif\" alt=\".sigareta.\"/>",$msg);
$msg=str_replace(".uwelnafig.","<img src=\"smiles/smiles/uwelnafig.gif\" alt=\".uwelnafig.\"/>",$msg);
$msg=str_replace(".vau2.","<img src=\"smiles/smiles/vau2.gif\" alt=\".vau2.\"/>",$msg);
$msg=str_replace(".vip.","<img src=\"smiles/smiles/vip.gif\" alt=\".vip.\"/>",$msg);
$msg=str_replace(".wpion.","<img src=\"smiles/smiles/wpion.gif\" alt=\".wpion.\"/>",$msg);
$msg=str_replace(".warning.","<img src=\"smiles/smiles/warning.gif\" alt=\".warning.\"/>",$msg);
$msg=str_replace(".dont.","<img src=\"smiles/smiles/dont.gif\" alt=\".dont.\"/>",$msg);
$msg=str_replace(".ban.","<img src=\"smiles/smiles/ban.gif\" alt=\".ban.\"/>",$msg);
}
if($moder) {
$msg=str_replace(".4moks.","<img src=\"smiles/smiles/4moks.gif\" alt=\".4moks.\"/>",$msg);
$msg=str_replace(".aaa.","<img src=\"smiles/smiles/aaa.gif\" alt=\".aaa.\"/>",$msg);
$msg=str_replace(".bann.","<img src=\"smiles/smiles/bann.gif\" alt=\".bann.\"/>",$msg);
$msg=str_replace(".cvetochek.","<img src=\"smiles/smiles/cvetochek.gif\" alt=\".cvetochek.\"/>",$msg);
$msg=str_replace(".dead.","<img src=\"smiles/smiles/dead.gif\" alt=\".dead.\"/>",$msg);
$msg=str_replace(".gey.","<img src=\"smiles/smiles/gey.gif\" alt=\".gey.\"/>",$msg);
$msg=str_replace(".idu.","<img src=\"smiles/smiles/idu.gif\" alt=\".idu.\"/>",$msg);
$msg=str_replace(".kill.","<img src=\"smiles/smiles/kill.gif\" alt=\".kill.\"/>",$msg);
$msg=str_replace(".lozung.","<img src=\"smiles/smiles/lozung.gif\" alt=\".lozung.\"/>",$msg);
$msg=str_replace(".medik.","<img src=\"smiles/smiles/medik.gif\" alt=\".medik.\"/>",$msg);
$msg=str_replace(".nunu.","<img src=\"smiles/smiles/nunu.gif\" alt=\".nunu.\"/>",$msg);
$msg=str_replace(".otk.","<img src=\"smiles/smiles/otk.gif\" alt=\".otk.\"/>",$msg);
$msg=str_replace(".sigareta.","<img src=\"smiles/smiles/sigareta.gif\" alt=\".sigareta.\"/>",$msg);
$msg=str_replace(".Thumbs.","<img src=\"smiles/smiles/Thumbs.db\" alt=\".Thumbs.\"/>",$msg);
$msg=str_replace(".uwelnafig.","<img src=\"smiles/smiles/uwelnafig.gif\" alt=\".uwelnafig.\"/>",$msg);
$msg=str_replace(".vau2.","<img src=\"smiles/smiles/vau2.gif\" alt=\".vau2.\"/>",$msg);
$msg=str_replace(".vip.","<img src=\"smiles/smiles/vip.gif\" alt=\".vip.\"/>",$msg);
$msg=str_replace(".wpion.","<img src=\"smiles/smiles/wpion.gif\" alt=\".wpion.\"/>",$msg);
$msg=str_replace(".warning.","<img src=\"smiles/smiles/warning.gif\" alt=\".warning.\"/>",$msg);
$msg=str_replace(".dont.","<img src=\"smiles/smiles/dont.gif\" alt=\".dont.\"/>",$msg);
$msg=str_replace(".ban.","<img src=\"smiles/smiles/ban.gif\" alt=\".ban.\"/>",$msg);
$msg=str_replace(".killer.","<img src=\"smiles/smiles/killer.gif\" alt=\".killer.\"/>",$msg);
}
if($smoder) {
$msg=str_replace(".alc.","<img src=\"smiles/smiles/alc.gif\" alt=\".alc.\"/>",$msg);
$msg=str_replace(".blya.","<img src=\"smiles/smiles/blya.gif\" alt=\".blya.\"/>",$msg);
$msg=str_replace(".chapaev.","<img src=\"smiles/smiles/chapaev.gif\" alt=\".chapaev.\"/>",$msg);
$msg=str_replace(".fuckyou.","<img src=\"smiles/smiles/fuckyou.gif\" alt=\".fuckyou.\"/>",$msg);
$msg=str_replace(".4moks.","<img src=\"smiles/smiles/4moks.gif\" alt=\".4moks.\"/>",$msg);
$msg=str_replace(".aaa.","<img src=\"smiles/smiles/aaa.gif\" alt=\".aaa.\"/>",$msg);
$msg=str_replace(".bann.","<img src=\"smiles/smiles/bann.gif\" alt=\".bann.\"/>",$msg);
$msg=str_replace(".cvetochek.","<img src=\"smiles/smiles/cvetochek.gif\" alt=\".cvetochek.\"/>",$msg);
$msg=str_replace(".dead.","<img src=\"smiles/smiles/dead.gif\" alt=\".dead.\"/>",$msg);
$msg=str_replace(".gey.","<img src=\"smiles/smiles/gey.gif\" alt=\".gey.\"/>",$msg);
$msg=str_replace(".idu.","<img src=\"smiles/smiles/idu.gif\" alt=\".idu.\"/>",$msg);
$msg=str_replace(".kill.","<img src=\"smiles/smiles/kill.gif\" alt=\".kill.\"/>",$msg);
$msg=str_replace(".lozung.","<img src=\"smiles/smiles/lozung.gif\" alt=\".lozung.\"/>",$msg);
$msg=str_replace(".medik.","<img src=\"smiles/smiles/medik.gif\" alt=\".medik.\"/>",$msg);
$msg=str_replace(".nunu.","<img src=\"smiles/smiles/nunu.gif\" alt=\".nunu.\"/>",$msg);
$msg=str_replace(".otk.","<img src=\"smiles/smiles/otk.gif\" alt=\".otk.\"/>",$msg);
$msg=str_replace(".sigareta.","<img src=\"smiles/smiles/sigareta.gif\" alt=\".sigareta.\"/>",$msg);
$msg=str_replace(".uwelnafig.","<img src=\"smiles/smiles/uwelnafig.gif\" alt=\".uwelnafig.\"/>",$msg);
$msg=str_replace(".vau2.","<img src=\"smiles/smiles/vau2.gif\" alt=\".vau2.\"/>",$msg);
$msg=str_replace(".vip.","<img src=\"smiles/smiles/vip.gif\" alt=\".vip.\"/>",$msg);
$msg=str_replace(".wpion.","<img src=\"smiles/smiles/wpion.gif\" alt=\".wpion.\"/>",$msg);
$msg=str_replace(".warning.","<img src=\"smiles/smiles/warning.gif\" alt=\".warning.\"/>",$msg);
$msg=str_replace(".dont.","<img src=\"smiles/smiles/dont.gif\" alt=\".dont.\"/>",$msg);
$msg=str_replace(".ban.","<img src=\"smiles/smiles/ban.gif\" alt=\".ban.\"/>",$msg);
$msg=str_replace(".killer.","<img src=\"smiles/smiles/killer.gif\" alt=\".killer.\"/>",$msg);
}
if($admin) {
$msg=str_replace(".admin.","<img src=\"smiles/smiles/admin.gif\" alt=\".admin.\"/>",$msg);
$msg=str_replace(".killer.","<img src=\"smiles/smiles/killer.gif\" alt=\".killer.\"/>",$msg);
$msg=str_replace(".ban.","<img src=\"smiles/smiles/ban.gif\" alt=\".ban.\"/>",$msg);
$msg=str_replace(".dont.","<img src=\"smiles/smiles/dont.gif\" alt=\".dont.\"/>",$msg);
$msg=str_replace(".warning.","<img src=\"smiles/smiles/warning.gif\" alt=\".warning.\"/>",$msg);
$msg=str_replace(".wpion.","<img src=\"smiles/smiles/wpion.gif\" alt=\".wpion.\"/>",$msg);
$msg=str_replace(".vip.","<img src=\"smiles/smiles/vip.gif\" alt=\".vip.\"/>",$msg);
$msg=str_replace(".vau2.","<img src=\"smiles/smiles/vau2.gif\" alt=\".vau2.\"/>",$msg);
$msg=str_replace(".uwelnafig.","<img src=\"smiles/smiles/uwelnafig.gif\" alt=\".uwelnafig.\"/>",$msg);
$msg=str_replace(".otk.","<img src=\"smiles/smiles/otk.gif\" alt=\".otk.\"/>",$msg);
$msg=str_replace(".nunu.","<img src=\"smiles/smiles/nunu.gif\" alt=\".nunu.\"/>",$msg);
$msg=str_replace(".sigareta.","<img src=\"smiles/smiles/sigareta.gif\" alt=\".sigareta.\"/>",$msg);
$msg=str_replace(".medik.","<img src=\"smiles/smiles/medik.gif\" alt=\".medik.\"/>",$msg);
$msg=str_replace(".kill.","<img src=\"smiles/smiles/kill.gif\" alt=\".kill.\"/>",$msg);
$msg=str_replace(".dead.","<img src=\"smiles/smiles/dead.gif\" alt=\".dead.\"/>",$msg);
$msg=str_replace(".cvetochek.","<img src=\"smiles/smiles/cvetochek.gif\" alt=\".cvetochek.\"/>",$msg);
$msg=str_replace(".lozung.","<img src=\"smiles/smiles/lozung.gif\" alt=\".lozung.\"/>",$msg);
$msg=str_replace(".idu.","<img src=\"smiles/smiles/idu.gif\" alt=\".idu.\"/>",$msg);
$msg=str_replace(".gey.","<img src=\"smiles/smiles/gey.gif\" alt=\".gey.\"/>",$msg);
$msg=str_replace(".aaa.","<img src=\"smiles/smiles/aaa.gif\" alt=\".aaa.\"/>",$msg);
$msg=str_replace(".bann.","<img src=\"smiles/smiles/bann.gif\" alt=\".bann.\"/>",$msg);
$msg=str_replace(".4moks.","<img src=\"smiles/smiles/4moks.gif\" alt=\".4moks.\"/>",$msg);
$msg=str_replace(".alc.","<img src=\"smiles/smiles/alc.gif\" alt=\".alc.\"/>",$msg);
$msg=str_replace(".blya.","<img src=\"smiles/smiles/blya.gif\" alt=\".blya.\"/>",$msg);
$msg=str_replace(".chapaev.","<img src=\"smiles/smiles/chapaev.gif\" alt=\".chapaev.\"/>",$msg);
$msg=str_replace(".fuckyou.","<img src=\"smiles/smiles/fuckyou.gif\" alt=\".fuckyou.\"/>",$msg);
$msg=str_replace(".invalid.","<img src=\"smiles/smiles/invalid.gif\" alt=\".invalid.\"/>",$msg);
$msg=str_replace(".khekhe.","<img src=\"smiles/smiles/khekhe.gif\" alt=\".khekhe.\"/>",$msg);
$msg=str_replace(".pop.","<img src=\"smiles/smiles/pop.gif\" alt=\".pop.\"/>",$msg);
$msg=str_replace(".prizrak.","<img src=\"smiles/smiles/prizrak.gif\" alt=\".prizrak.\"/>",$msg);
$msg=str_replace(".solnca.","<img src=\"smiles/smiles/solnca.gif\" alt=\".solnca.\"/>",$msg);
$msg=str_replace(".trah.","<img src=\"smiles/smiles/trah.gif\" alt=\".trah.\"/>",$msg);
$msg=str_replace(".upl.","<img src=\"smiles/smiles/upl.gif\" alt=\".upl.\"/>",$msg);
//$msg=str_replace(".b.","<b>",$msg);
//$msg=str_replace(".;b.","</b>",$msg);
//$msg=str_replace(".big.","<big>",$msg);
//$msg=str_replace(".;big.","</big>",$msg);
//$msg=str_replace(".u.","<u>",$msg);
//$msg=str_replace(".;u.","</u>",$msg);
}


$msg=str_replace("фоцс","focs",$msg);



?>