Location: PHPKode > projects > PHPeasyblog > v1.13 RC2/includes/emotions/emotions.php
<?php
/*
#########################################################################################
##                                                                                     ##
##    PHPeasynews - An easy to use functional news management script written in PHP    ##
##                                  Copyright 2003                                     ##
##                                                                                     ##
#########################################################################################

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

emotions.php file
*/
// CODE FOR EMOTIONS - INCLUDED IN ALL PLACES WHERE EMOTIONS ARE USED.

$translate = str_replace(";)", "<img src=\"$pen_siteurl/$pen_includepath/includes/emotions/wink.gif\" alt=\"Wink\">", $translate);

$translate = str_replace(":)", "<img src=\"$pen_siteurl/$pen_includepath/includes/emotions/cool.gif\" alt=\"Smile\">", $translate);

$translate = str_replace(":s", "<img src=\"$pen_siteurl/$pen_includepath/includes/emotions/confused.gif\" alt=\"Confused\">", $translate);

$translate = str_replace(":S", "<img src=\"$pen_siteurl/$pen_includepath/includes/emotions/confused.gif\" alt=\"Confused\">", $translate);

$translate = str_replace(":D", "<img src=\"$pen_siteurl/$pen_includepath/includes/emotions/laugh.gif\" alt=\"Big Smile\">", $translate);

$translate = str_replace(":d", "<img src=\"$pen_siteurl/$pen_includepath/includes/emotions/laugh.gif\" alt=\"Big Smile\">", $translate);

$translate = str_replace(":p", "<img src=\"$pen_siteurl/$pen_includepath/includes/emotions/p.gif\" alt=\"Tounge\">", $translate);

$translate = str_replace(":P", "<img src=\"$pen_siteurl/$pen_includepath/includes/emotions/p.gif\" alt=\"Tounge\">", $translate);

$translate = str_replace("<:o)", "<img src=\"$pen_siteurl/$pen_includepath/includes/emotions/party.gif\" alt=\"Party\">", $translate);

$translate = str_replace(":'(", "<img src=\"$pen_siteurl/$pen_includepath/includes/emotions/cry.gif\" alt=\"Crying\">", $translate);

$translate = str_replace(":(", "<img src=\"$pen_siteurl/$pen_includepath/includes/emotions/sad.gif\" alt=\"Sad\">", $translate);

?>
Return current item: PHPeasyblog