'; #some formatting...
list($old,$new) = explode("\|/", $smile);
#In this array object when it finds \|/ it seperates the left and right of it
#it turns them each into a variable, very useful PHP function
$old = trim($old);
#trims off the spaces before and after
echo ''.$old.' | ';
# displays our Deporter code deporting the old version of the smilie
#it can be clicked.
$new = trim($new);
#trims off the spaces before and after
echo ' | ';
#does the same as the old version, but it shows a picture to click
}
echo ' |
';
#the brace following this closes the if statement about the smilies
#the echo above will display an empty row for display purposes if the smilies ran
}
?>
[b]Bold[/b] | Bold |
[u]Underline[/u] | Underline |
[i]Italics[/i] | Italics |
| ';
#only adds this extra empty row if the colors are on
?>
[color='.$old.']'.$old.'[/color] | '.$old.'';
#I did them both on the same line, but it's similar to the smilies one
}
}
?>
|