Give plusses for lavalair

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

    Give plusses for lavalair

    Hello i would like the code for a user donate plusses to another through the user profile. If possible post the code and complete tables in the database

    #2
    ill share the code when im on my pc have it for u

    Comment


      #3
      your code are the downloads via upload or url? I want to go the url

      Comment


        #4
        u want the plusses share code there only a place in profile for text then u type in the amount u wona share what u mean url

        Comment


          #5
          just copy the code for share game plusses.... change the sql query (gplus to plusses) and thats it
          sigpiceeeeerrr....

          Comment


            #6
            in index.php
            Code:
            //////////////////////////////////////////Share Plusses
            
            else if($action=="sharepl")
            {
              $who = $_GET["who"];
              addonline(getuid_sid($sid),"Sharring Plusses","");
                echo "<card id=\"main\" title=\"$sitename\">";
                echo "<onevent type=\"onenterforward\">";
                echo "<refresh>
                    <setvar name=\"tfgp\" value=\"0\"/>";
                echo "</refresh></onevent>";
              echo "<p align=\"center\">";
            echo "script by Rukiya";
            echo "<br/>";
              echo "<b>Give Plusses To ".getnick_uid($who)."</b><br/><br/>";
              $ps = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".getuid_sid($sid)."'"));
              echo "You have $ps[0] Plusses<br/><br/>";
              echo "Plusses to give<br/>";
              echo "<input name=\"tfgp\" format=\"*N\" maxlength=\"2\"/>";
              echo "<br/><anchor>Give";
              echo "<go href=\"genproc.php?action=sharepl&amp;sid=$sid&amp;who=$who\" method=\"post\">";
              echo "<postfield name=\"ptg\" value=\"$(tfgp)\"/>";
              echo "</go></anchor>";
              echo "<br/><br/><a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
            echo "Home</a>";
              echo "</p>";
              echo "</card>";
            }
            
            usage
            CODE
            echo "<a href=\"index.php?action=sharepl&amp;who=$who&amp;sid=$sid\">Share Plusses</a><br/>";
            in genproc.php
            Code:
            //////////////////////////////////////////Share plusses
            else if($action=="sharepl")
            {
                addonline(getuid_sid($sid),"Sharring Plusses","");
                $who = $_GET["who"];
                $ptg = $_POST["ptg"];
                echo "<card id=\"main\" title=\"$sitename\">";
              echo "<p align=\"center\">";
              //$uid = getuid_sid($sid);
              $psf = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
              $pst = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$who."'"));
              if($psf[0]>=$ptg){
                $psf = $psf[0]-$ptg;
                $pst = $pst[0]+$ptg;
                $res = mysql_query("UPDATE ibwf_users SET plusses='".$pst."' WHERE id='".$who."'");
              if($res)
                    {
                      $res = mysql_query("UPDATE ibwf_users SET plusses='".$psf."' WHERE id='".$uid."'");
                        echo "<img src=\"../images/ok.gif\" alt=\"o\"/>Plusses Updated Successfully<br/>";
                    }else{
                      echo "<img src=\"../images/notok.gif\" alt=\"x\"/>Database Error!<br/>";
                    }
                  }else{
                      echo "<img src=\"../images/notok.gif\" alt=\"x\"/>You don't have enough Plusses to give<br/>";
                    }
            echo " script by rukiya";
                    echo "<br/>";
              
                 echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
            echo "Home</a>";
            echo "</p>";
              echo "</card>";
            }

            Comment


              #7
              as i said.... lol
              sigpiceeeeerrr....

              Comment


                #8
                haha yea alesh just making it easy for them

                Comment


                  #9
                  they'll never learn this way....
                  sigpiceeeeerrr....

                  Comment


                    #10
                    Mmm i guess so i agree with u but still like to make this place a community if u request u get help

                    Comment


                      #11
                      thts okay but... still if u only give, they'll just ask/want/need....
                      theres no end...

                      i was the same lol
                      but i was boooooooored 2 do tht and wait to sum1 make it for me....
                      sooooo i visited php.net....
                      sigpiceeeeerrr....

                      Comment


                        #12
                        plusses are not updated..:confused:

                        now i got it working.. i used codes from wap.net.ph
                        Last edited by capofret; 10.05.09, 03:57. Reason: edit
                        LDSWAPWORLD sigpic
                        site closed.
                        im busy with other things in life like facebook , send me PM so i can add you
                        www.pinoySG.com

                        don't ask for help if you're not even helping yourself!
                        i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.


                        Comment


                          #13
                          no wml

                          Hello test the code for it is more like a version wml xhtml version set to go in this version of wml not give the option to acces

                          Comment


                            #14
                            Originally posted by doriann View Post
                            Hello test the code for it is more like a version wml xhtml version set to go in this version of wml not give the option to acces
                            which version u want? wml or xhtml? so i can post here. but i was only able to get it work in xhtml..havent tried wml. u can also check my site to see. i called it "share coins" in user's profile:D
                            LDSWAPWORLD sigpic
                            site closed.
                            im busy with other things in life like facebook , send me PM so i can add you
                            www.pinoySG.com

                            don't ask for help if you're not even helping yourself!
                            i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.


                            Comment


                              #15
                              Originally posted by capofret View Post
                              which version u want? wml or xhtml? so i can post here. but i was only able to get it work in xhtml..havent tried wml. u can also check my site to see. i called it "share coins" in user's profile:D
                              This same code that I want. Xhtml version

                              Comment

                              Working...
                              X