PHP   39
smilies
Guest on 8th May 2022 06:58:21 AM


  1. <?
  2. /*********************************************************************************************************
  3.  This code is part of the ShoutBox software  copyright by
  4.  Gerd Tentler. Obtain permission before selling this code or hosting it on a commercial website or
  5.  redistributing it over the Internet or in any other medium. In all cases copyright must remain intact.
  6. *********************************************************************************************************/
  7.  
  8. //========================================================================================================
  9. // Smilies (code => image name)
  10. //========================================================================================================
  11.  
  12.   $sm[':D'] = $sm[':oD'] = $sm[':-D'] = $sm[':))'] = $sm[':o))'] = $sm[':-))'] = 'biggrin.gif';
  13.   $sm[':)'] = $sm[':o)'] = $sm[':-)'] = 'smile.gif';
  14.   $sm[';)'] = $sm[';o)'] = $sm[';-)'] = 'wink.gif';
  15.   $sm[':|'] = $sm[':o|'] = $sm[':-|'] = 'neutral.gif';
  16.   $sm[':/'] = $sm[':o/'] = $sm[':-/'] = 'unsure.gif';
  17.   $sm[':['] = $sm[':o['] = $sm[':-['] = $sm[':('] = $sm[':o('] = $sm[':-('] = 'sad.gif';
  18.   $sm[':P'] = $sm[':oP'] = $sm[':-P'] = 'tongue.gif';
  19.   $sm[':o'] = $sm[':oO'] = $sm[':-o'] = 'surprised.gif';
  20.   $sm[':x'] = $sm[':ox'] = $sm[':-x'] = 'angry.gif';
  21.   $sm['->'] = $sm['=>'] = $sm['-&gt;'] = $sm['=&gt;'] = 'arrow.gif';
  22.  
  23.   $sm[':blush:'] = 'blush.gif';
  24.   $sm[':confused:'] = 'confused.gif';
  25.   $sm[':cool:'] = 'cool.gif';
  26.   $sm[':cry:'] = 'cry.gif';
  27.   $sm[':eek:'] = 'eek.gif';
  28.   $sm[':evil:'] = 'evil.gif';
  29.   $sm[':exclaim:'] = 'exclaim.gif';
  30.   $sm[':glad:'] = 'glad.gif';
  31.   $sm[':idea:'] = 'idea.gif';
  32.   $sm[':lol:'] = 'lol.gif';
  33.   $sm[':naughty:'] = 'naughty.gif';
  34.   $sm[':question:'] = 'question.gif';
  35.   $sm[':roll:'] = 'rollseyes.gif';
  36.   $sm[':smirk:'] = 'smirk.gif';
  37.   $sm[':tired:'] = 'tired.gif';
  38.   $sm[':zonked:'] = 'zonked.gif';
  39. ?>

Raw Paste

Login or Register to edit or fork this paste. It's free.