function smileys($message) { $in=array( ":mellow:", ":huh:", "^_^", ":o", ";)", ":P", ":D", ":lol:", "B)", ":rolleyes:", "-_-", "<_<", ":)", ":wub:", ":angry:", ":(", ":unsure:", ":wacko:", ":blink:", ":ph34r:", ":blush:", ":excl:", ":mad:", ":->:", ); $out=array( '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '' ); return str_replace($in,$out,$message); } ?>