Pls! Check this recode! If correct,

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • arg0s12
    replied
    echo "<option value=\"10000\">10000</option>";
    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&amp;sid=$sid\">Chatroom </a>";
    echo "<a href=\"index.php?action=main&amp;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:


  • arg0s12
    replied
    //////////////////////////C2p Converter

    else if ($action=="w3c")
    {

    addonline(getuid_sid($sid)
    "xhtml - chatpost convert","");
    echo "<title>Plusses Converter</title>";
    echo "<p align="\center"\>
    echo "Convert 5 chatpost to 1 plusses!<br/>Choose Plusses!<br/>";
    echo "Choose: <form action=\"index.php?action=cptop&amp;sid=$sid\" method=\"post\">";
    echo "choose:<br/><select name=\"hmany\">";
    echo "<option value=\"5\">5</option>";
    echo "<option value=\"20\">20</option>";
    echo "<option value=\"80\">80</option>";
    echo "<option value=\"100\">100</option>";
    echo "<option value=\"200\">200</option>";
    echo "<option value=\"300\">300</option>";
    echo "<option value=\"500\">500</option>";
    echo "<option value=\"1000\">1000</option>";
    echo "<option value=\"2000\">2000</option>";
    echo "<option value=\"5000\">5000</option>";

    Leave a comment:


  • arg0s12
    replied
    echo "<do type=\"forums\" label=\"forum Index\"><go href=\"forum.php?action=main&amp;sid=$sid\"/></do>";
    echo "<do type=\"my setting\" label=\"my setting\"><go href=\"index.php?action=cpanel&amp;sid=$sid\"/></do>";
    echo "</p>";
    echo "</card>";
    }
    sorry for posting, my phone have limit char.
    This is wml, and i convert in xhtml, pls. Check if correct, heres the code:

    Leave a comment:


  • arg0s12
    replied
    {
    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/>";
    echo "<a href=\"index.php?action=main&amp;sid=$sid&amp;brow se?\">";
    echo "main menu</a>";

    echo "<br/>";
    echo "<do type=\"chatroom\" label=\"chatroom\"><go href=\"index.php?action=chat&amp;sid=$sid\"/></do>";
    echo "<do type=\"whos online\" label=\"whos online\"><go href=\"index.php?action=online&amp;sid=$sid\"/></do>";
    echo "<do type=\"downloads\" label=\"downloads\"><go href=\"index.php?action=vault&amp;sid=$sid\"/></do>";
    echo "<do type=\"article\" label=\"article\"><go href=\"articles.php?action=articles&amp;sid=$sid\"/></do>";
    echo "<do type=\"kawap rpg\" label=\"kawap rpg\"><go href=\"rpg.php?action=main&amp;sid=$sid\"/></do>";

    Leave a comment:


  • arg0s12
    replied
    echo "<do type=\"kawap rpg\" label=\"kawap rpg\"><go href=\"rpg.php?action=main&amp;sid=$sid\"/></do>";
    echo "<do type=\"forums\" label=\"forum Index\"><go href=\"forum.php?action=main&amp;sid=$sid\"/></do>";
    echo "<do type=\"my setting\" label=\"my setting\"><go href=\"index.php?action=cpanel&amp;sid=$sid\"/></do>";

    echo "</p>";
    echo "</card>";
    }



    else if($action=="cptop")
    {
    $hmany = $_POST["hmany"];
    addonline(getuid_sid($sid),"wml - chat post convert","");
    echo "<card id=\"main\" title=\"CONVERTING\">";

    echo "<p>";
    echo "<do type=\"chatroom\" label=\"chatroom\"><go href=\"index.php?action=chat&amp;sid=$sid\"/></do>";
    echo "<do type=\"whos online\" label=\"whos online\"><go href=\"index.php?action=online&amp;sid=$sid\"/></do>";
    echo "<do type=\"forums\" label=\"forum Index\"><go href=\"forum.php?action=main&amp;sid=$sid\"/></do><br/>- - -<br/>";
    $noi = mysql_fetch_array(mysql_query("SELECT chmsgs FROM ibwf_users WHERE id='".$uid."'"));
    if($noi[0]>=$hmany)

    Leave a comment:


  • arg0s12
    replied
    echo "<option value=\"500\">500</option>";
    echo "<option value=\"1000\">1000</option>";
    echo "<option value=\"2000\">2000</option>";
    echo "<option value=\"5000\">5000</option>";
    echo "<option value=\"10000\">10000</option>";
    echo "</select>";
    echo "<br/><anchor>go";
    echo "<go href=\"index.php?action=cptop&amp;sid=$sid\" method=\"post\">";
    echo "<postfield name=\"hmany\" value=\"$(hmany)\"/>";
    echo "</go></anchor>";
    echo "<br/>- - -<br/>";
    echo "<br/><a href=\"index.php?action=main&amp;sid=$sid&amp;brow se?\">";
    echo "main menu</a><br/>";
    echo "<do type=\"chatroom\" label=\"chatroom\"><go href=\"index.php?action=chat&amp;sid=$sid\"/></do>";
    echo "<do type=\"whos online\" label=\"whos online\"><go href=\"index.php?action=online&amp;sid=$sid\"/></do>";
    echo "<do type=\"downloads\" label=\"downloads\"><go href=\"index.php?action=vault&amp;sid=$sid\"/></do>";
    echo "<do type=\"article\" label=\"article\"><go href=\"articles.php?action=articles&amp;sid=$sid\"/></do>";

    Leave a comment:


  • arg0s12
    started a topic Pls! Check this recode! If correct,

    Pls! Check this recode! If correct,

    Hi, to all coder's, since all my posted bout converter not working, i'll try to convert the wml to xhtml, as a newbie in php, will anyone help me or tell me if have a wrong syntax in my edit code,
    here's the code:
    for wml came from kaboom,
    5 chatpost = 1 plusses
    ($hmany)userchatpost/5 = plusses
    here my first mod in lava mod before ahehhe convert in xhtml ahehhe


    echo "<a href=\"index.php?action=w3c&amp;sid=$sid\">c2p converter</a><br/>";


    add in index.php
    [code]
    else if($action=="w3c")
    {

    addonline(getuid_sid($sid),"wml - chatpost convert","");
    echo "<card id=\"main\" title=\"CONVERTING\">";

    echo "<p align=\"center\">";

    echo "Convert 5 Chatpost to 1 Plusses choose chatpost.<br/>";
    echo "choose:<br/><select name=\"hmany\">";
    echo "<option value=\"5\">5</option>";
    echo "<option value=\"20\">20</option>";
    echo "<option value=\"80\">80</option>";
    echo "<option value=\"100\">100</option>";
    echo "<option value=\"200\">200</option>";
    echo "<option value=\"300\">300</option>";
Working...
X