echo "</select>";
echo "<input name=\"hmany\" size=\"5\" maxlength=\"5\" format=\"*N\"/>";
echo "<input type=\"submit\" value=\"convert\"/>";
echo "</form>";
echo "<br/>";
echo "<a href=\chat.php?action=chat&sid=$sid\">Chatroom </a>";
echo "<a href=\"index.php?action=main&sid=$sid\">Home</a>";
}
else if ($action=="cptop")
{
$hmany = $_POST["hmany"]
addonline(getuid_sid($sid),
"xhtml - converter","";
echo "<title>Converter</title>
$noi = mysql_fetch_array(mysql_query("SELECT chmsgs FROM ibwf_users WHERE id='".$uid."'"));
if($noi[0]>=$hmany)
{
echo "Converted Succesfully
";$convert = $hmany/5;
mysql_query("UPDATE ibwf_users SET chmsgs=chmsgs-'$hmany' WHERE id='".$uid."'");
mysql_query("UPDATE ibwf_users SET plusses=plusses+'$convert' WHERE id='".$uid."'");
}else{
echo "You have insufficient Chatpost go to chat and flood
!";}
echo "<br/><br/>- - - - -<br/><br/>";
Leave a comment: