Location: PHPKode > scripts > WH Social > wh_social/admin/handler/grafics.php
<?php

	function smileys($msg) {
		$msg = $msg;
		$msg = str_replace(":P","<img src=\"../style/smileys/000.gif\" width=\"15\" height=\"14\" border=\"0\">",$msg);
		$msg = str_replace(":)","<img src=\"../style/smileys/001.gif\" width=\"15\" height=\"14\" border=\"0\">",$msg);
		$msg = str_replace(";)","<img src=\"../style/smileys/002.gif\" width=\"15\" height=\"14\" border=\"0\">",$msg);
		$msg = str_replace(":(","<img src=\"../style/smileys/003.gif\" width=\"15\" height=\"14\" border=\"0\">",$msg);
		$msg = str_replace("*grr*","<img src=\"../style/smileys/004.gif\" width=\"15\" height=\"14\" border=\"0\">",$msg);
		$msg = str_replace("o_o","<img src=\"../style/smileys/005.gif\" width=\"15\" height=\"14\" border=\"0\">",$msg);
		$msg = str_replace("*_*","<img src=\"../style/smileys/006.gif\" width=\"15\" height=\"14\" border=\"0\">",$msg);
		$msg = str_replace("._.","<img src=\"../style/smileys/007.gif\" width=\"15\" height=\"14\" border=\"0\">",$msg);
		$msg = str_replace("-_-","<img src=\"../style/smileys/008.gif\" width=\"15\" height=\"14\" border=\"0\">",$msg);
		$msg = str_replace(":D","<img src=\"../style/smileys/009.gif\" width=\"15\" height=\"14\" border=\"0\">",$msg);

    return $msg;
	}

?>
Return current item: WH Social