Просмотр файла mafia/smile.php

Размер файла: 14.91Kb
<?                  
//Цветные смайлы (доступны всем)
$smiles = array(".yag.",".tyu.",".angry.",".bezzub.",".zloi.",".hriu.",".kaska.",".kniga.",".princ.",".sleza.",".smile.",".uti.",".rulez.",".kitaec.",".etoon.",".redsmile.",".boy.",".alien.",".alien2.",".angel.",".bandana.",".ulibka.",".zubastik.",".bot.",".captain.",".censored.",".detective.",".devil.",".figvam.",".fingal.",".hehe.",".dum.",".hm.",".vopros.",".kid.",".kurica.",".splyu.",".vkrasku.",".shock.",".baby.",".appl.",".confused.",".lam.",".hi.",".crazy.",".lad.",".kar.",".ga.",".obida.",".apple.",".trufel.",".tucha.",".smoke.",".sleep.",".rtyu.",".rolleyes.",".rev.",".polzovatel.",".warning.",".znaika.",".gitar.",".rulez2.",".apple2.",".nerv.",".zub.");
$replaces = array("<img src=\"smile/yag.gif\" alt=\".yag.\"/>","<img src=\"smile/tyu.gif\" alt=\".tyu.\"/>","<img src=\"smile/angry.gif\" alt=\".angry.\"/>","<img src=\"smile/bezzub.gif\" alt=\".bezzub.\"/>","<img src=\"smile/zloi.gif\" alt=\".zloi.\"/>","<img src=\"smile/hriu.gif\" alt=\".hriu.\"/>","<img src=\"smile/kaska.gif\" alt=\".kaska.\"/>","<img src=\"smile/kniga.gif\" alt=\".kniga.\"/>","<img src=\"smile/princ.gif\" alt=\".princ.\"/>","<img src=\"smile/sleza.gif\" alt=\".sleza.\"/>","<img src=\"smile/smile.gif\" alt=\".smile.\"/>","<img src=\"smile/uti.gif\" alt=\".uti.\"/>","<img src=\"smile/rulez.gif\" alt=\".rulez.\"/>","<img src=\"smile/kitaec.gif\" alt=\".kitaec.\"/>","<img src=\"smile/etoon.gif\" alt=\".etoon.\"/>","<img src=\"smile/redsmile.gif\" alt=\".redsmile.\"/>","<img src=\"smile/boy.gif\" alt=\".boy.\"/>","<img src=\"smile/alien.gif\" alt=\".alien.\"/>","<img src=\"smile/alien2.gif\" alt=\".alien2.\"/>","<img src=\"smile/angel.gif\" alt=\".angel.\"/>","<img src=\"smile/bandana.gif\" alt=\".bandana.\"/>","<img src=\"smile/ulibka.gif\" alt=\".ulibka.\"/>","<img src=\"smile/zubastik.gif\" alt=\".zubastik.\"/>","<img src=\"smile/bot.gif\" alt=\".bot.\"/>","<img src=\"smile/captain.gif\" alt=\".captain.\"/>","<img src=\"smile/censored.gif\" alt=\".censored.\"/>","<img src=\"smile/detective.gif\" alt=\".detective.\"/>","<img src=\"smile/devil.gif\" alt=\".devil.\"/>","<img src=\"smile/figvam.gif\" alt=\".figvam.\"/>","<img src=\"smile/fingal.gif\" alt=\".fingal.\"/>","<img src=\"smile/hehe.gif\" alt=\".hehe.\"/>","<img src=\"smile/dum.gif\" alt=\".dum.\"/>","<img src=\"smile/hm.gif\" alt=\".hm.\"/>","<img src=\"smile/vopros.gif\" alt=\".vopros.\"/>","<img src=\"smile/kid.gif\" alt=\".kid.\"/>","<img src=\"smile/kurica.gif\" alt=\".kurica.\"/>","<img src=\"smile/splyu.gif\" alt=\".splyu.\"/>","<img src=\"smile/vkrasku.gif\" alt=\".vkrasku.\"/>","<img src=\"smile/shock.gif\" alt=\".shock.\"/>","<img src=\"smile/baby.gif\" alt=\".baby.\"/>","<img src=\"smile/appl.gif\" alt=\".appl.\"/>","<img src=\"smile/confused.gif\" alt=\".confused.\"/>","<img src=\"smile/lam.gif\" alt=\".lam.\"/>","<img src=\"smile/hi.gif\" alt=\".hi.\"/>","<img src=\"smile/crazy.gif\" alt=\".crazy.\"/>","<img src=\"smile/lad.gif\" alt=\".lad.\"/>","<img src=\"smile/kar.gif\" alt=\".kar.\"/>","<img src=\"smile/ga.gif\" alt=\".ga.\"/>","<img src=\"smile/obida.gif\" alt=\".obida.\"/>","<img src=\"smile/apple.gif\" alt=\".apple.\"/>","<img src=\"smile/trufel.gif\" alt=\".trufel.\"/>","<img src=\"smile/tucha.gif\" alt=\".tucha.\"/>","<img src=\"smile/smoke.gif\" alt=\".smoke.\"/>","<img src=\"smile/sleep.gif\" alt=\".sleep.\"/>","<img src=\"smile/rtyu.gif\" alt=\".rtyu.\"/>","<img src=\"smile/rolleyes.gif\" alt=\".rolleyes.\"/>","<img src=\"smile/rev.gif\" alt=\".rev.\"/>","<img src=\"smile/polzovatel.gif\" alt=\".polzovatel.\"/>","<img src=\"smile/warning.gif\" alt=\".warning.\"/>","<img src=\"smile/znaika.gif\" alt=\".znaika.\"/>","<img src=\"smile/gitar.gif\" alt=\".gitar.\"/>","<img src=\"smile/rulez2.gif\" alt=\".rulez2.\"/>","<img src=\"smile/apple2.gif\" alt=\".apple2.\"/>","<img src=\"smile/nerv.gif\" alt=\".nerv.\"/>","<img src=\"smile/zub.gif\" alt=\".zub.\"/>");

//Черно-белые (доступны всем)
array_push($smiles,".zlyuk.",".slez.",".sad.",".rul.",".oo.",".oi.",".o4ki.",".net.",".mm.",".mil.",".mig.",".mi.",".lyub.",".fuck.", ".figu.",".dia.",".bzz.", ".ang.", ".4mok." ,".gm.", ".be.", ".uu." ,".gy.");
array_push($replaces,"<img src=\"smile/zlyuk.wbmp\" alt=\".zlyuk.\"/>","<img src=\"smile/slez.wbmp\" alt=\".slez.\"/>","<img src=\"smile/sad.wbmp\" alt=\".sad.\"/>","<img src=\"smile/rul.wbmp\" alt=\".rul.\"/>","<img src=\"smile/oo.wbmp\" alt=\".oo.\"/>","<img src=\"smile/oi.wbmp\" alt=\".oi.\"/>","<img src=\"smile/o4ki.wbmp\" alt=\".o4ki.\"/>","<img src=\"smile/net.wbmp\" alt=\".net.\"/>","<img src=\"smile/mm.wbmp\" alt=\".mm.\"/>","<img src=\"smile/mil.wbmp\" alt=\".mil.\"/>","<img src=\"smile/mig.wbmp\" alt=\".mig.\"/>","<img src=\"smile/mi.wbmp\" alt=\".mi.\"/>","<img src=\"smile/lyub.wbmp\" alt=\".lyub.\"/>","<img src=\"smile/fuck.wbmp\" alt=\".fuck.\"/>","<img src=\"smile/figu.wbmp\" alt=\".figu.\"/>","<img src=\"smile/dia.wbmp\" alt=\".dia.\"/>","<img src=\"smile/bzz.wbmp\" alt=\".bzz.\"/>","<img src=\"smile/ang.wbmp\" alt=\".ang.\"/>","<img src=\"smile/4mok.wbmp\" alt=\".4mok.\"/>","<img src=\"smile/gm.wbmp\" alt=\".gm.\"/>","<img src=\"smile/be.wbmp\" alt=\".be.\"/>","<img src=\"smile/uu.wbmp\" alt=\".uu.\"/>","<img src=\"smile/gy.wbmp\" alt=\".gy.\"/>");

//Смайлы анимированные(доступны всем):

array_push($smiles,".tort.",".morojka.",".haha.",".doktor.",".devka.",".beremen.",".baby2.",".apl2.",".batman.",".vah.",".venus.",".stp.",".slezy.",".sleep2.",".heart2.",".apl2.",".batman.",".lamp.",".morgaet.",".flagist.",".byl.",".protest.");
array_push($replaces,"<img src=\"smilean/tort.gif\" alt=\".tort.\"/>","<img src=\"smilean/morojka.gif\" alt=\".morojka.\"/>","<img src=\"smilean/haha.gif\" alt=\".haha.\"/>","<img src=\"smilean/doktor.gif\" alt=\".doktor.\"/>","<img src=\"smilean/devka.gif\" alt=\".devka.\"/>","<img src=\"smilean/beremen.gif\" alt=\".beremen.\"/>","<img src=\"smilean/baby2.gif\" alt=\".baby2.\"/>","<img src=\"smilean/apl2.gif\" alt=\".apl2.\"/>","<img src=\"smilean/batman.gif\" alt=\".batman.\"/>","<img src=\"smilean/vah.gif\" alt=\".vah.\"/>","<img src=\"smilean/venus.gif\" alt=\".venus.\"/>","<img src=\"smilean/stp.gif\" alt=\".stp.\"/>","<img src=\"smilean/slezy.gif\" alt=\".slezy.\"/>","<img src=\"smilean/sleep2.gif\" alt=\".sleep2.\"/>","<img src=\"smilean/heart2.gif\" alt=\".heart2.\"/>","<img src=\"smilean/apl2.gif\" alt=\".apl2.\"/>","<img src=\"smilean/batman.gif\" alt=\".batman.\"/>","<img src=\"smilean/lamp.gif\" alt=\".lamp.\"/>","<img src=\"smilean/morgaet.gif\" alt=\".morgaet.\"/>","<img src=\"smilean/flagist.gif\" alt=\".flagist.\"/>","<img src=\"smilean/byl.gif\" alt=\".byl.\"/>","<img src=\"smilean/protest.gif\" alt=\".protest.\"/>");

//Смайлы, доступные уровню Продвинутый пользователь:
if ($row["level"] > 0){
array_push($smiles,".knight.",".bolen.",".good.",".priv.",".telefonist.",".susel.",".pri.",".woko.",".vau.",".vkrasku2.",".dum2.",".pa4ka.");
array_push($replaces,"<img src=\"smile/knight.gif\" alt=\".knight.\"/>","<img src=\"smile/bolen.gif\" alt=\".bolen.\"/>","<img src=\"smile/good.gif\" alt=\".good.\"/>","<img src=\"smile/priv.gif\" alt=\".priv.\"/>","<img src=\"smile/telefonist.gif\" alt=\".telefonist.\"/>","<img src=\"smile/susel.gif\" alt=\".susel.\"/>","<img src=\"smile/pri.gif\" alt=\".pri.\"/>","<img src=\"smile/woko.gif\" alt=\".woko.\"/>","<img src=\"smile/vau.gif\" alt=\".vau.\"/>","<img src=\"smile/vkrasku2.gif\" alt=\".vkrasku2.\"/>","<img src=\"smile/dum2.gif\" alt=\".dum2.\"/>","<img src=\"smile/pa4ka.gif\" alt=\".pa4ka.\"/>");
//+анимированные:

array_push($smiles,".ura.",".sin.",".eat.",".plak2.",".plak.",".bebe.",".slonik.",".pizza.",".zev.",".zloy2.");
array_push($replaces,"<img src=\"smilean/ura.gif\" alt=\".ura.\"/>","<img src=\"smilean/sin.gif\" alt=\".sin.\"/>","<img src=\"smilean/eat.gif\" alt=\".eat.\"/>","<img src=\"smilean/plak2.gif\" alt=\".plak2.\"/>","<img src=\"smilean/plak.gif\" alt=\".plak.\"/>","<img src=\"smilean/bebe.gif\" alt=\".bebe.\"/>","<img src=\"smilean/slonik.gif\" alt=\".slonik.\"/>","<img src=\"smilean/pizza.gif\" alt=\".pizza.\"/>","<img src=\"smilean/zev.gif\" alt=\".zev.\"/>","<img src=\"smilean/zloy2.gif\" alt=\".zloy2.\"/>");

}

//Смайлы, доступные уровню Чаттер:
if ($row["level"] > 1){
array_push($smiles,".hi2.",".4atter.",".hnyk.",".broke.",".heart.",".tong.",".vis.",".devils.",".shok2.",".smutil.");
array_push($replaces,"<img src=\"smile/hi2.gif\" alt=\".hi2.\"/>","<img src=\"smile/4atter.gif\" alt=\".4atter.\"/>","<img src=\"smile/hnyk.gif\" alt=\".hnyk.\"/>","<img src=\"smile/broke.gif\" alt=\".broke.\"/>","<img src=\"smile/heart.gif\" alt=\".heart.\"/>","<img src=\"smile/tong.gif\" alt=\".tong.\"/>","<img src=\"smile/vis.gif\" alt=\".vis.\"/>","<img src=\"smile/devils.gif\" alt=\".devils.\"/>","<img src=\"smile/shok2.gif\" alt=\".shok2.\"/>","<img src=\"smile/smutil.gif\" alt=\".smutil.\"/>");
//+анимированные: 

array_push($smiles,".tong2.",".fuck2.",".vau3.",".ign.",".love3.",".love4.",".vzglyad.",".nono.",".skleroz.",".dum3.",".condom.");
array_push($replaces,"<img src=\"smilean/tong2.gif\" alt=\".tong2.\"/>","<img src=\"smilean/fuck2.gif\" alt=\".fuck2.\"/>","<img src=\"smilean/vau3.gif\" alt=\".vau3.\"/>","<img src=\"smilean/ign.gif\" alt=\".ign.\"/>","<img src=\"smilean/love4.gif\" alt=\".love4.\"/>","<img src=\"smilean/love3.gif\" alt=\".love3.\"/>","<img src=\"smilean/vzglyad.gif\" alt=\".vzglyad.\"/>","<img src=\"smilean/nono.gif\" alt=\".nono.\"/>","<img src=\"smilean/skleroz.gif\" alt=\".skleroz.\"/>","<img src=\"smilean/dum3.gif\" alt=\".dum3.\"/>","<img src=\"smilean/condom.gif\" alt=\".condom.\"/>");

}


//Смайлы, доступные уровню Тусовщик:
if ($row["level"] > 2){
array_push($smiles,".oops.",".chmok.",".box.",".drink.",".food.",".love.",".rose.",".duel.",".beer.",".vino.",".chmok2.");
array_push($replaces,"<img src=\"smile/oops.gif\" alt=\".oops.\"/>","<img src=\"smile/chmok.gif\" alt=\".chmok.\"/>","<img src=\"smile/box.gif\" alt=\".box.\"/>","<img src=\"smile/drink.gif\" alt=\".drink.\"/>","<img src=\"smile/food.gif\" alt=\".food.\"/>","<img src=\"smile/love.gif\" alt=\".love.\"/>","<img src=\"smile/rose.gif\" alt=\".rose.\"/>","<img src=\"smile/duel.gif\" alt=\".duel.\"/>","<img src=\"smile/beer.gif\" alt=\".beer.\"/>","<img src=\"smile/vino.gif\" alt=\".vino.\"/>","<img src=\"smile/chmok2.gif\" alt=\".chmok2.\"/>");
//+анимированные: 

array_push($smiles,".flip.",".wink.",".tog.",".hmm.",".ghost.",".gitarist.",".banan.",".vgubki.",".tus.",".love2.");
array_push($replaces,"<img src=\"smilean/flip.gif\" alt=\".flip.\"/>","<img src=\"smilean/wink.gif\" alt=\".wink.\"/>","<img src=\"smilean/tog.gif\" alt=\".tog.\"/>","<img src=\"smilean/hmm.gif\" alt=\".hmm.\"/>","<img src=\"smilean/ghost.gif\" alt=\".ghost.\"/>","<img src=\"smilean/gitarist.gif\" alt=\".gitarist.\"/>","<img src=\"smilean/banan.gif\" alt=\".banan.\"/>","<img src=\"smilean/vgubki.gif\" alt=\".vgubki.\"/>","<img src=\"smilean/tus.gif\" alt=\".tus.\"/>","<img src=\"smilean/love2.gif\" alt=\".love2.\"/>");

}

//Смайлы, Модерские смайлы:
if ($row["level"] > 3){
array_push($smiles,".pivo2.",".zapoi.",".lubov.",".bann.",".vip.",".wpion.",".lozung.",".medik.",".dead.",".cvetok.",".killer.");
array_push($replaces,"<img src=\"smile/pivo2.gif\" alt=\".pivo2.\"/>","<img src=\"smile/zapoi.gif\" alt=\".zapoi.\"/>","<img src=\"smile/lubov.gif\" alt=\".lubov.\"/>","<img src=\"smile/bann.gif\" alt=\".bann.\"/>","<img src=\"smile/vip.gif\" alt=\".vip.\"/>","<img src=\"smile/wpion.gif\" alt=\".wpion.\"/>","<img src=\"smile/lozung.gif\" alt=\".lozung.\"/>","<img src=\"smile/medik.gif\" alt=\".medik.\"/>","<img src=\"smile/dead.gif\" alt=\".dead.\"/>","<img src=\"smile/cvetok.gif\" alt=\".cvetok.\"/>","<img src=\"smile/killer.gif\" alt=\".killer.\"/>");
//+анимированные: 
array_push($smiles,".avtomat.",".birth.",".sail.",".otk.",".nunu.",".idu.",".gey.",".aaa.",".4moks.",".sigareta.",".vau2.",".uwelnafig.");
array_push($replaces,"<img src=\"smilean/avtomat.gif\" alt=\".avtomat.\"/>","<img src=\"smilean/birth.gif\" alt=\".birth.\"/>","<img src=\"smilean/wapsail.gif\" alt=\".sail.\"/>","<img src=\"smilean/otk.gif\" alt=\".otk.\"/>","<img src=\"smilean/nunu.gif\" alt=\".nunu.\"/>","<img src=\"smilean/idu.gif\" alt=\".idu.\"/>","<img src=\"smilean/gey.gif\" alt=\".gey.\"/>","<img src=\"smilean/aaa.gif\" alt=\".aaa.\"/>","<img src=\"smilean/4moks.gif\" alt=\".4moks.\"/>","<img src=\"smilean/sigareta.gif\" alt=\".sigareta.\"/>","<img src=\"smilean/vau2.gif\" alt=\".vau2.\"/>","<img src=\"smilean/uwelnafig.gif\" alt=\".uwelnafig.\"/>");
}

//Смайлы, Админские смайлы:
if ($row["level"] > 6||$id==6||$id==188||$id==454){
array_push($smiles,".vodka.",".tank.",".off.",".mafia.",".love6.",".love5.",".mog.",".admin.",".alc.",".pivo.",".sysadm.",".kowka.",".kowka2.",".kowka3.",".kowka4.",".kowka5.",".blya.");
array_push($replaces,"<img src=\"smile/vodka.gif\" alt=\".vodka.\"/>","<img src=\"smile/tank.gif\" alt=\".tank.\"/>","<img src=\"smile/off.gif\" alt=\".off.\"/>","<img src=\"smile/mafia.gif\" alt=\".mafia.\"/>","<img src=\"smile/love6.gif\" alt=\".love6.\"/>","<img src=\"smile/love5.gif\" alt=\".love5.\"/>","<img src=\"smile/mog.gif\" alt=\".mog.\"/>","<img src=\"smile/admin.gif\" alt=\".admin.\"/>","<img src=\"smile/alc.gif\" alt=\".alc.\"/>","<img src=\"smile/pivo.gif\" alt=\".pivo.\"/>","<img src=\"smile/sysadm.gif\" alt=\".sysadm.\"/>","<img src=\"smile/kowka.gif\" alt=\".kowka.\"/>","<img src=\"smile/kowka2.gif\" alt=\".kowka2.\"/>","<img src=\"smile/kowka3.gif\" alt=\".kowka3.\"/>","<img src=\"smile/kowka4.gif\" alt=\".kowka4.\"/>","<img src=\"smile/kowka5.gif\" alt=\".kowka5.\"/>","<img src=\"smile/blya.gif\" alt=\".blya.\"/>");
//+анимированные: 
array_push($smiles,".gorilla.",".horovod.",".puwka.",".raketa.",".smert.",".pop.",".upl.",".trah.",".fuckyou.",".mad.",".khekhe.",".prizrak.",".solnca.",".invalid.",".chapaev.");
array_push($replaces,"<img src=\"smilean/gorilla.gif\" alt=\".gorilla.\"/>","<img src=\"smilean/horovod.gif\" alt=\".horovod.\"/>","<img src=\"smilean/puwka.gif\" alt=\".puwka.\"/>","<img src=\"smilean/raketa.gif\" alt=\".raketa.\"/>","<img src=\"smilean/smert.gif\" alt=\".smert.\"/>","<img src=\"smilean/pop.gif\" alt=\".pop.\"/>","<img src=\"smilean/upl.gif\" alt=\".upl.\"/>","<img src=\"smilean/trah.gif\" alt=\".trah.\"/>","<img src=\"smilean/fuckyou.gif\" alt=\".fuckyou.\"/>","<img src=\"smilean/mad.gif\" alt=\".mad.\"/>","<img src=\"smilean/khekhe.gif\" alt=\".khekhe.\"/>","<img src=\"smilean/prizrak.gif\" alt=\".prizrak.\"/>","<img src=\"smilean/solnca.gif\" alt=\".solnca.\"/>","<img src=\"smilean/invalid.gif\" alt=\".invalid.\"/>","<img src=\"smilean/chapaev.gif\" alt=\".chapaev.\"/>");
}


// ягодкины смайлики     ,                 :
if ($id==6){
array_push($smiles,".buket.",".str.");
array_push($replaces,"<img src=\"smilean/buket.gif\" alt=\".buket.\"/>","<img src=\"smilean/str.gif\" alt=\".str.\"/>");
}   
if ($id==454){
array_push($smiles,".no4ka.");
array_push($replaces,"<img src=\"smilean/no4ka.gif\" alt=\".no4ka.\"/>");
}
// в сортир                    ,                 :
if ($rm==9){
array_push($smiles,".huy.");
array_push($replaces,"<img src=\"smilean/huy.gif\" alt=\".huy.\"/>");
}




?>