in inbox.php i added this
if($action=="sendpm")
{
addonline(getuid_sid($sid),"Sending Inbox","inbox.php?action=$action");
echo "<head>";
echo "<title>Inbox</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<b>";
echo "<body>";
echo "<p align=\"center\">";
$whonick = getnick_uid($who);
echo "Send Inbox to $whonick<br/><br/>";
echo "<form action=\"inbxproc.php?action=sendpm&who=$who&a mp;sid=$sid\" method=\"post\"><p align=\"center\">";
echo "<input name=\"pmtext\" maxlength=\"500\"/><br/>";
echo "<select name=\"color\">\n";
echo "<option value=\"white\">White</option>\n";
echo "<option value=\"blue\">Blue</option>\n";
echo "<option value=\"lime\">Lime</option>\n";
echo "<option value=\"yellow\">Yellow</option>\n";
echo "<option value=\"grey\">Grey</option>\n";
echo "<option value=\"white\">White</option>\n";
echo "<option value=\"silver\">Silver</option>\n";
echo "<option value=\"orange\">Orange</option>\n";
echo "<option value=\"red\">Red</option>\n";
echo "<option value=\"magenta\">Magenta</option>\n";
echo "<option value=\"cyan\">Cyan</option>\n";
echo "<option value=\"pink\">Pink</option>\n";
echo "<option value=\"purple\">Purple</option>\n";
echo "</select>\n";
in core.php i added this
function getbrum($text)
$pmtext = htmlspecialchars($pmtext);
$pmtext=preg_replace("/\lime(.*?)","<font color=\"lime\">\\1</font>", $pmtext);
and so on with all my other colors!
when reading the inbox,,,,color doesnt change! what am i not seeing here? lol anyone can help me pls n thx
if($action=="sendpm")
{
addonline(getuid_sid($sid),"Sending Inbox","inbox.php?action=$action");
echo "<head>";
echo "<title>Inbox</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<b>";
echo "<body>";
echo "<p align=\"center\">";
$whonick = getnick_uid($who);
echo "Send Inbox to $whonick<br/><br/>";
echo "<form action=\"inbxproc.php?action=sendpm&who=$who&a mp;sid=$sid\" method=\"post\"><p align=\"center\">";
echo "<input name=\"pmtext\" maxlength=\"500\"/><br/>";
echo "<select name=\"color\">\n";
echo "<option value=\"white\">White</option>\n";
echo "<option value=\"blue\">Blue</option>\n";
echo "<option value=\"lime\">Lime</option>\n";
echo "<option value=\"yellow\">Yellow</option>\n";
echo "<option value=\"grey\">Grey</option>\n";
echo "<option value=\"white\">White</option>\n";
echo "<option value=\"silver\">Silver</option>\n";
echo "<option value=\"orange\">Orange</option>\n";
echo "<option value=\"red\">Red</option>\n";
echo "<option value=\"magenta\">Magenta</option>\n";
echo "<option value=\"cyan\">Cyan</option>\n";
echo "<option value=\"pink\">Pink</option>\n";
echo "<option value=\"purple\">Purple</option>\n";
echo "</select>\n";
in core.php i added this
function getbrum($text)
$pmtext = htmlspecialchars($pmtext);
$pmtext=preg_replace("/\lime(.*?)","<font color=\"lime\">\\1</font>", $pmtext);
and so on with all my other colors!
when reading the inbox,,,,color doesnt change! what am i not seeing here? lol anyone can help me pls n thx
Comment