ad4earn.com script

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

    #46
    Originally posted by hider View Post
    ok in this script publisher point increase but advertiser point not decrease
    Code:
    $cut="1.5";
    $cutit = $cpnt-$cut;
    $updt1 = mysql_query("UPDATE users SET point='$cutit' WHERE id='$cid1'") or die("UNABLE TO PROCCESS REQUEST !");
    kindly fix the prblm i tried so many times nothing will happen

    $cut="1.5";
    $cutit = $cpnt-$cut;
    $updt1 = mysql_query("UPDATE users SET point='$cutit' WHERE id='$cid1'") or die("UNABLE TO PROCCESS REQUEST !");

    Ok what is in red change it to + not a - sign.
    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
    Visit: WapMasterz Coming Back Soon!
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #47
      subzero bro advertiser point should b decrease when user click on his adz
      point:10
      point:8.5

      this func not working
      Code:
      <?php
      include "inc/def.php";
      $ukey=secureget('ukey');
      $ckey=secureget('ckey');
      
      $getu = mysql_query("SELECT * FROM users WHERE skey='$ukey'");
      $getu1 = mysql_fetch_array($getu);
      $advuid = $getu1['id'];
      $bal = $getu1['bal'];
      $points = $getu1['point'];
      
      $getux = mysql_query("SELECT * FROM comp WHERE ckey='$ckey'");
      $getux1 = mysql_fetch_array($getux);
      $advcid = $getux1['id'];
      $cuid = $getux1['uid'];
      $advurl = $getux1['url'];
      
      
      $getuxxx = mysql_query("SELECT * FROM users WHERE id='$cuid'");
      $getuxxx1 = mysql_fetch_array($getuxxx);
      $cpnt = $getuxxx1['point'];
      $cid1 = $getuxxx1['id'];
      
      
      $today = date("F j Y"); 
      $ip = $_SERVER['REMOTE_ADDR'];
      $ua = $_SERVER['HTTP_USER_AGENT'];
      $tm=date("U");
      
      $addclick = mysql_query("INSERT INTO clicks (uid,compid,ip,ua,time,tm) VALUES ('$advuid','$advcid','$ip','$ua','$today','$tm')") or die("ERRRORR !! UNABLE TO PROCESS PROCESS...");
      $current = date("U")-14400;
      if($addclick) {
      
      $chker = mysql_query("SELECT * FROM clicks WHERE tm>'$current' AND ip='$ip'") or die("CONTACT XTREMEiTeCH.CoM Team !!!!!errorr...");
      //while($hmm=mysql_fetch_array($chker)) {
       //   echo $hmm['tm'];
      //}
      $chk = mysql_num_rows($chker);
      if($chk>1) {
      $add1 = "1";
      $addme1 = $points+$add1;
      $updt = mysql_query("UPDATE users SET point='$addme1' WHERE skey='$ukey'") or die("UNABLE TO PROCCESS REQUEST !");
      } else {
      
      $add = "0.001";
      $addme = $bal+$add;
      $updt = mysql_query("UPDATE users SET bal='$addme' WHERE skey='$ukey'") or die("UNABLE TO PROCCESS REQUEST !");
      
      $cut="1.5";
      $cutit = $cpnt-$cut;
      $updt1 = mysql_query("UPDATE users SET point='$cutit' WHERE id='$cid1'") or die("UNABLE TO PROCCESS REQUEST !");
      
      }
      
      }
      
      header("location:$advurl");
      
      ?>

      Comment


        #48
        PHP Code:
        <?php
        include "inc/def.php";
        $ukey=secureget('ukey');
        $ckey=secureget('ckey');

        $getu mysql_query("SELECT * FROM users WHERE skey='$ukey'");
        $getu1 mysql_fetch_array($getu);
        $advuid $getu1['id'];
        $bal $getu1['bal'];
        $points $getu1['point'];

        $getux mysql_query("SELECT * FROM comp WHERE ckey='$ckey'");
        $getux1 mysql_fetch_array($getux);
        $advcid $getux1['id'];
        $cuid $getux1['uid'];
        $advurl $getux1['url'];


        $getuxxx mysql_query("SELECT * FROM users WHERE id='$cuid'");
        $getuxxx1 mysql_fetch_array($getuxxx);
        $cpnt $getuxxx1['point'];
        $cid1 $getuxxx1['id'];


        $today date("F j Y"); 
        $ip $_SERVER['REMOTE_ADDR'];
        $ua $_SERVER['HTTP_USER_AGENT'];
        $tm=date("U");

        $addclick mysql_query("INSERT INTO clicks (uid,compid,ip,ua,time,tm) VALUES ('$advuid','$advcid','$ip','$ua','$today','$tm')") or die("ERRRORR !! UNABLE TO PROCESS PROCESS...");
        $current date("U")-14400;
        if(
        $addclick) {

        $chker mysql_query("SELECT * FROM clicks WHERE tm>'$current' AND ip='$ip'") or die("CONTACT XTREMEiTeCH.CoM Team !!!!!errorr...");
        //while($hmm=mysql_fetch_array($chker)) {
         //   echo $hmm['tm'];
        //}
        $chk mysql_num_rows($chker);
        if(
        $chk>1) {
        $add1 "1";
        $addme1 $points+$add1;
        $updt mysql_query("UPDATE users SET point='$addme1' WHERE skey='$ukey'") or die("UNABLE TO PROCCESS REQUEST !");
        } else {

        $add "0.001";
        $addme $bal+$add;
        $updt mysql_query("UPDATE users SET bal='$addme' WHERE skey='$ukey'") or die("UNABLE TO PROCCESS REQUEST !");

        $cut="1.5";
        $cutit $cpnt+$cut;
        $updt1 mysql_query("UPDATE users SET point='$cutit' WHERE id='$cid1'") or die("UNABLE TO PROCCESS REQUEST !");

        }

        }

        header("location:$advurl");

        ?>
        Here ya go as you didn't really listen to me in the first place.
        Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
        Visit: WapMasterz Coming Back Soon!
        _______
        SCRIPTS FOR SALE BY SUBZERO
        Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
        FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment


          #49
          Plz add forget password php file

          Comment


            #50
            Here is fully fixed and working script: *****
            If any1 wants it, PM me
            Last edited by arnage; 27.07.12, 17:51.

            Comment


              #51
              @itseasy21
              I think your script is not fully fixed, it has many bugs. You may have used the modified ad4earn script of cyberlink.
              Well i have fixed the bugs that i encountered in my site adfresh.in

              Comment


                #52
                It does not have any bugs. Nor it is cyberlink it just has its css.
                If u could find any bugs post here.
                Also its only publisher based script which server 3rd party ads.

                Comment


                  #53
                  Is it 100% security ?

                  Comment


                    #54
                    A simple bug is to access the cp without login *****
                    Last edited by arnage; 27.07.12, 17:51.

                    Comment


                      #55
                      my script also workin fine *****
                      Last edited by arnage; 27.07.12, 17:51.

                      Comment


                        #56
                        Originally posted by amitdas333 View Post
                        A simple bug is to access the cp without login *****
                        no it is not there lol :D its also fixed ;)
                        any more??? :D

                        Comment


                          #57
                          Please give a fixed script.

                          Comment


                            #58
                            There are lot of bugs that i faced while modifying this script. Hope you'll find soon...

                            Comment


                              #59
                              Plzzz any give me without eror script......

                              Comment

                              Working...
                              X