<?
function smile($text){
$text = strtr($text, array(
':)'=>'<img src="/sheet/smiles/aga.gif" alt="aga" />',
';)'=>'<img src="/sheet/smiles/agas.gif" alt="agas" />',
':('=>'<img src="/sheet/smiles/jx.gif" alt="jx" />',
':d'=>'<img src="/sheet/smiles/rhy.gif" alt="rhy" />'));
return $text;
}
?>