the topic where this code was wanted has been closed.so I posted here
use this SQL query in your phpmyadmin
copy and paste this code in index.php
replace your $action=="online" in index.php with this code
for socalled lavalair script
[attachment=1659:1.php]
for socalled wapdesire script
[attachment=1658:2.php]
dnt erase the copyright line if you are not enough stupid
use this SQL query in your phpmyadmin
Code:
ALTER TABLE `ibwf_users` ADD `onlinemsg` VARCHAR( 100 ) NOT NULL AFTER `battlep`;
Code:
//////////////////////////////////////////Update online msg & mood
else if($action=="mood")
{
addonline(getuid_sid($sid),"Updating online msg & mood","");
echo "<card id=\"main\" title=\"Updating online msg & mood\">";
echo "
";
echo "Mood msg: <input name=\"kiss\" maxlength=\"100\"/>
";
echo "<anchor>Update";
echo "<go href=\"index.php?action=upolm&sid=$sid\" method=\"post\">";
echo "<postfield name=\"kiss\" value=\"$(kiss)\"/>";
echo "</go></anchor>";
echo "
";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>
";
echo "© coded by Rukiya";
echo "</p>";
echo "</card>";
}
//////////////////////////////////////////Update online msg & mood
else if($action=="upolm")
{
addonline(getuid_sid($sid),"Updating online msg & mood","");
$kiss = $_POST["kiss"];
echo "<card id=\"main\" title=\"Updating online msg & mood\">";
echo "<p align=\"center\">";
$res = mysql_query("UPDATE ibwf_users SET onlinemsg='".$kiss."' WHERE id='".$uid."'");
if($res)
{
echo "<img src=\"images/ok.gif\" alt=\"o\"/>Your online msg was updated successfully
";
}else{
echo "<img src=\"images/notok.gif\" alt=\"x\"/>Error updating your online msg
";
}
echo "
<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>
";
echo "© coded by Rukiya";
echo "</p></card>";
}
for socalled lavalair script
[attachment=1659:1.php]
for socalled wapdesire script
[attachment=1658:2.php]
dnt erase the copyright line if you are not enough stupid
Comment