(TERMINER) Recherche codeur pour modification script autosurf

Voir le sujet précédent Voir le sujet suivant Aller en bas

(TERMINER) Recherche codeur pour modification script autosurf

Message  Invité le Jeu 10 Mar - 11:25

Bonjour a tous ,

Sa fais deux mois je recherche quelqu'un pour modification d'un script autosurf avec frame et le mette sans frame.

Et comme toujours sa tourne en rond .. très important je veux modifié le script que j'ai et non avoir un script autohits que j'ai déja et qui est modifié en sans frame ... Qui pour moi ne vaut rien...

Donc connaissance de Ajax nécessaire ... Voila si vous pouvez le faire faite moi signe .. je paye ... cash .. Laughing

merci et bonne semaine


Dernière édition par kebekgold le Sam 12 Mar - 9:03, édité 1 fois (Raison : Modification faite)

Invité
Invité


Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  xavmess le Jeu 10 Mar - 13:50

je veut bien t aider
c'est quoi ton site ?

xavmess
***
***

Messages : 212
Date d'inscription : 30/12/2010
Age : 36

Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  Invité le Jeu 10 Mar - 15:56

Very Happy c'est super sympa .. quebec-surf.com la base du script est la meme que le1er.net ..

dis moi si ont peux communiquer par msn ,sa iras surement mieux ..

a+

Invité
Invité


Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  xavmess le Jeu 10 Mar - 22:44

ok ,je ne connais pas le script .
j'en ai profiter pour m'inscrire
sinon regarde sur mon site (celui dans ma signature) la visio sans frame que j'ai ajouter je peut essayer de t'aider a faire dans le meme genre.
sinon tu n'aurai pas plutot skype ?Car je ne suis pas un fan de msn ?

xavmess
***
***

Messages : 212
Date d'inscription : 30/12/2010
Age : 36

Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  Invité le Jeu 10 Mar - 23:01

non pas skype! a la base phpmysurf est autohits ... j'ai se script ancienne version codé a l'ancienne pas de blèm avec lui pour modif ..

ont peux essayé dis moi se que ta besoin .. les page ou je peu te donner accès au ftp .. toi qui décide ! je te payerais pour cette aide super apprécier .

Invité
Invité


Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  xavmess le Jeu 10 Mar - 23:02

envoi moi les pages pour la visionneuse
envoi moi par mp ou je pourrai telecharger les pages

xavmess
***
***

Messages : 212
Date d'inscription : 30/12/2010
Age : 36

Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  Invité le Jeu 10 Mar - 23:07

ok je vais mettre les 3 pages

premiere page surf.php

Code:
<?php
session_start();
include("vars.php");
include("auth.php");
mysql_connect($db_host, $db_user, $db_pwd);
mysql_select_db($db_name);
$res = checkauth();
$usrid = mysql_result($res, 0, "id");
$acctype = mysql_result($res, 0, "acctype");
@mysql_free_result($res);
if ($acctype == 1) {$daily_max = $surf_max_free;} else {$daily_max = $surf_max_pro;}
if ($_SESSION['sess_data']['usrid'] != $usrid) {
   $_SESSION['sess_data']['cts'] = 0;
   $_SESSION['sess_data']['sts'] = 0;
   $_SESSION['sess_data']['pgv'] = 0;
   $_SESSION['sess_data']['usrid'] = $usrid;
}
$res = mysql_query("SELECT num FROM 7stat WHERE usrid=$usrid && date='".date('Y-m-d')."'");
if (mysql_num_rows($res) != 0)
{
   $crds_today = mysql_result($res, 0, "num");
}
else
{
   $crds_today = 0;
}
@mysql_free_result($res);
if ($crds_today >= $daily_max)
{
   echo("Sorry you have earned your daily maximum of $daily_max credits!<br />Please return tomorrow!<br /><br /><a href=\"$self_url\">Login to your account here</a>");
   session_destroy();
   mysql_close;
   exit;
}
@mysql_free_result($crds_today);
$res = mysql_query("select value from adminprops where field='negact'");
$_SESSION['sess_data']['negact'] = mysql_result($res, 0, "value");
@mysql_free_result($res);
$res = mysql_query("select value from adminprops where field='reftim'");
$_SESSION['sess_data']['reftim'] = mysql_result($res, 0, "value");
@mysql_free_result($res);
$res = mysql_query("select value from adminprops where field='contex'");
if (mysql_result($res, 0, "value") != 0) {
   $_SESSION['sess_data']['contex'] = mysql_result($res, 0, "value");
   @mysql_free_result($res);
   $res = mysql_query("select value from adminprops where field='contey'");
   $_SESSION['sess_data']['contey'] = mysql_result($res, 0, "value");
}
@mysql_free_result($res);
$res = mysql_query("select value from adminprops where field='contcx'");
if (mysql_result($res, 0, "value") != 0) {
   $_SESSION['sess_data']['contcx'] = mysql_result($res, 0, "value");
   @mysql_free_result($res);
   $res = mysql_query("select value from adminprops where field='contcy'");
   $_SESSION['sess_data']['contcy'] = mysql_result($res, 0, "value");
}
@mysql_free_result($res);
$res = mysql_query("select minmax from user where id=$usrid");
$rate = mysql_result($res, 0, "minmax");
$_SESSION['sess_data']['mmax'] = $rate;
switch($rate) {
   case 1:
      $rate = 'ratemin';
      break;
   case 0:
      $rate = 'ratemax';
      break;
   default:
      $rate = 'ratemax';
      break;
}
@mysql_free_result($res);
$res = mysql_query("select $rate, ref from acctype, user where acctype.id=user.acctype && user.id=$usrid");
$_SESSION['sess_data']['rate'] = mysql_result($res, 0, $rate);
$_SESSION['sess_data']['ref'] = mysql_result($res, 0, "ref");
@mysql_free_result($res);
$_SESSION['sess_data']['surfing'] = rand(9999, 9999999999);
$_SESSION['sess_data']['from'] = md5($_SESSION['sess_data']['surfing']);
if ($_GET['next'] == md5($_SESSION['sess_data']['surf_encoder_vals'])) {
   $s_bar_url = "surfbar.php?PHPSESSID=" . session_id() . "&vc_val=" . $_GET['next'];
} else {
   $s_bar_url = "surfbar.php?PHPSESSID=" . session_id() . "&vc_val=begin&coder=". md5($_SESSION['sess_data']['from']);
}
echo("<html>\n<head>\n<title>$title: Surf</title>\n<link rel=stylesheet type=text/css href=$self_url" . "style.css>\n</head>\n<frameset rows=80,*,60 border=0><frame marginheight=0 marginwidth=0 scrolling=no noresize border=0 src=\"$s_bar_url\"><frame marginheight=0 marginwidth=0 scrolling=auto noresize border=0 src=/target.php><frame marginheight=0 marginwidth=0 scrolling=no noresize border=0 src=/pub.html></frameset>\n</html>");
mysql_close;
exit;
?>

Invité
Invité


Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  Invité le Jeu 10 Mar - 23:09

Frame visio surfbar.php

Code:
<?php
session_start();
include("vars.php");
include("auth.php");
include("headfoot.php");
mysql_connect($db_host, $db_user, $db_pwd);
mysql_select_db($db_name);
$res = checkbarauth();
$usrid = mysql_result($res, 0, "id");
$my_investment = mysql_result($res, 0, "invested");
$my_acctype = mysql_result($res, 0, "acctype");
$my_last_roi = mysql_result($res, 0, "lastroi");
$my_ref = mysql_result($res, 0, "ref");
$lastsurfed = mysql_result($res, 0, "lastsurfed");
$dummyt = explode(" ", $lastsurfed);
if ($my_acctype == 1) {$daily_max = $surf_max_free;} else {$daily_max = $surf_max_pro;}
if ($dummyt[0] != $date) {
   $lastsurfed_time = "00:00:00";
} else {
   $lastsurfed_time = $dummyt[1];
}
$my_status = mysql_result($res, 0, "status");
$mref = $my_ref;
@mysql_free_result($res);
if ($my_acctype == 1) {
   $min_credits_to_earn = $min_credits_to_earn_free;
   $roi_conversion_ratio = $roi_conversion_ratio_free;
} else {
   $min_credits_to_earn = $min_credits_to_earn_pro;
   $roi_conversion_ratio = $roi_conversion_ratio_pro;
}
if ($_SESSION['sess_data']['usrid'] != $usrid) {
   header("Location: " . $self_url . "bar_break.php?error=session-expired");
   mysql_close;
   exit;
}
$credit_me = 'yes';
$hour = date('Y-m-d:H');
$date = date("Y-m-d");
$time_now = date("H:i:s");
if (!isset($_SESSION['sess_data']['usrid'])) {
   header("Location: " . $self_url . "bar_break.php?error=session-expired");
   mysql_close;
   exit;
}
if ($_SESSION['sess_data']['from'] != md5($_SESSION['sess_data']['surfing'])) {
   header("Location: " . $self_url . "bar_break.php?error=inv-access");
   mysql_close;
   exit;
}
$vf_time_amt = strftime("%H:%M:%S", strtotime("$lastsurfed_time + " . $_SESSION['sess_data']['reftim'] . " seconds"));
if ($vf_time_amt>$time_now) {
   $wait = $_SESSION['sess_data']['reftim'] - (time() - $_SESSION['sess_data']['time']);
   if ($wait > $_SESSION['sess_data']['reftim'] || $wait == "" || $wait < 0) {
      $wait = $_SESSION['sess_data']['reftim'];
   }
   echo("<head><title>$title</title><meta http-equiv=\"Refresh\" content=\"$wait;URL=" . $self_url . "surfbar.php?vc_val=" . md5($_SESSION['sess_data']['surf_encoder_vals']) . "\"></head><body><span style=\"font-size:150%\"><font face=$fontface>Surfing too fast! Re-connecting in $wait secs..</span></body></html>");
   mysql_close;
   exit;
}
if ($_GET['vc_val'] == 'begin' && $_GET['coder'] == md5($_SESSION['sess_data']['from'])) {
   $credit_me = 'no';
   $why = "Starting/Resuming Session";
} elseif ($_GET['vc_val'] != md5($_SESSION['sess_data']['surf_encoder_vals'])) {
   header("Location: " . $self_url . "?error=inv-access");
   mysql_close;
   exit;
}
if (!isset($_SESSION['sess_data']['time']) || (time() - $_SESSION['sess_data']['time']) >= $_SESSION['sess_data']['reftim']) {
   $_SESSION['sess_data']['time'] = time();
} else {
   $wait = $_SESSION['sess_data']['reftim'] - (time() - $_SESSION['sess_data']['time']);
   echo("<head><title>$title</title><meta http-equiv=\"Refresh\" content=\"$wait;URL=" . $self_url . "surfbar.php?vc_val=" . md5($_SESSION['sess_data']['surf_encoder_vals']) . "\"></head><body><span style=\"font-size:150%\"><font face=$fontface>Surfing too fast! Re-connecting in $wait secs..</span></body></html>");
   mysql_close;
   exit;
}
@mysql_query("update site set hour='$hour', cth=0 where hour!='$hour' && cph!=0");
$query = "select id, url from site where usrid!=" .$_SESSION['sess_data']['usrid'] . " && state='Enabled'";
if ($_SESSION['sess_data']['negact'] == 0) {$query = $query . " && credits>=1";}
$query = $query . " && (cth<cph || cph=0)";
$query = $query . " order by rand() limit 1";
$res = mysql_query($query);
if (mysql_num_rows($res) == 0) {
   $url = $default_site;
   $siteid = 0;
   @mysql_free_result($res);
} else {
   $url = mysql_result($res, 0, "url");
   $siteid = mysql_result($res, 0, "id");
   @mysql_free_result($res);
   if ($siteid != 0) {
      @mysql_query("update site set credits=credits-1, totalhits=totalhits+1, hitslastmail=hitslastmail+1, cth=cth+1 where id=$siteid");
      $res = mysql_query("select num from 7statsite where siteid=$siteid && date='$date'");
      if (mysql_num_rows($res) == 0) {
         $queryas = "insert into 7statsite (siteid, date, last_hit_time, num) values ($siteid, '$date', '$time_now', 1)";
      } else {
         $queryas = "update 7statsite set last_hit_time='$time_now', num=num+1 where siteid=$siteid && date='$date'";
      }
      @mysql_free_result($res);
      @mysql_query($queryas);
   }
}
$_SESSION['sess_data']['surf_encoder_vals'] = md5(rand(10000, 100000000));
$_SESSION['sess_data']['pgv']++;
if (!isset($delay)) {$delay = $_SESSION['sess_data']['reftim'];}
if ($credit_me == 'yes') {
   $why = "Credits Par Visite: <b>" . $_SESSION['sess_data']['rate'] . "</b>";
   $res = mysql_query("SELECT * FROM 7stat WHERE usrid=" . $_SESSION['sess_data']['usrid'] . " && date='$date'");
   if (mysql_num_rows($res) == 0) {
      $query = "insert into 7stat (usrid, date, time, pg_views, num) values (" . $_SESSION['sess_data']['usrid'] . ", '" . $date . "', '" . $time_now . "', 1, " . $_SESSION['sess_data']['rate'] . ")";
      $my_crds_today = $_SESSION['sess_data']['rate'];
      $iam_waiting = 'yes';
      @mysql_free_result($res);
   } else {
      $c_today = mysql_result($res, 0, "num");
      $laccess_time = mysql_result($res, 0, "time");
      $was_paid_t = mysql_result($res, 0, "received_pay");
      $thevftime = strftime("%H:%M:%S", strtotime("$laccess_time + " . $_SESSION['sess_data']['reftim'] . " seconds"));
      if ($thevftime>$time_now) {
         header("Location: $self_url" . "bar_break.php?error=cheating-timer");
         @mysql_free_result($res);
         session_destroy();
         mysql_close;
         exit;
      } elseif ($c_today >= $daily_max) {
         echo("Sorry you have earned your daily maximum of $daily_max credits!<br />Please return tomorrow!<br /><br /><a href=\"$self_url\" target=\"_top\">Login to your account here</a>");
         session_destroy();
         mysql_close;
         exit;
      } else {
         $query = "update 7stat set time='$time_now', pg_views=pg_views+1, num=num+" . $_SESSION['sess_data']['rate'] . " where usrid=" . $_SESSION['sess_data']['usrid'] . " && date='$date'";
         $my_crds_today = mysql_result($res, 0, "num") + $_SESSION['sess_data']['rate'];
         if ($was_paid_t == 'no') {
            $iam_waiting = 'yes';
         } elseif ($was_paid_t == 'yes') {
            $iam_waiting = 'no';
         }
      }
      @mysql_free_result($res);
   }
   $_SESSION['sess_data']['cts'] = $_SESSION['sess_data']['cts'] + $_SESSION['sess_data']['rate'];
   $_SESSION['sess_data']['sts']++;
}
if ($_SESSION['sess_data']['mmax'] == 0) {
   $extra_js = "top.window.moveTo(0,0);\nif (document.all) {\ntop.window.resizeTo(screen.availWidth,screen.availHeight);\n}\nelse if (document.layers||document.getElementById) {\nif\n(top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){\ntop.window.outerHeight = screen.availHeight;\ntop.window.outerWidth = screen.availWidth;\n}\n}\nwindow.focus();\n";
}
echo("<html>\n<head>\n<title>$title</title>\n<link rel=stylesheet type=text/css href=$self_url"."bar.css>\n");
echo("<script language=\"JavaScript\">\n<!--\ndefaultStatus = '$title';\nif (parent.location.href == self.location.href) {window.location.href = 'surf.php';}\n
var counter=1+parseInt($delay);
var paused=0;

function start_time()
{
do_count();
}

function do_count()
{
  if (paused==0){
   counter--;
  }
   if (counter>=0) {document.f.stimer.value=counter;
   setTimeout(\"do_count()\",1000);
   }
  if (counter<0)
  {
      document.f.submit();
  }
}

function pause_time()
{
  paused=1-paused;
  if (paused==1) {document.f.stopgo.value='� Start Surf �';} else {document.f.stopgo.value='� Pause Surf �';}
}

function open_w(imf){

    window.open(imf);
    return false;

}
$extra_js
//-->\n</script>\n");
if ($my_crds_today == "") {$my_crds_today = 0; }
echo("</head>\n<body onLoad=\"do_count();\"  bgcolor=\"#000000\">\n");
echo("<script language=JavaScript>window.status=\"$title\";top.frames[1].location.href = \"$url\";</script>\n");
echo("<script language=JavaScript>if (document.all) document.body.onmousedown=new Function(\"if (event.button==2||event.button==3)alert('Sorry, right click is disabled here!')\")</script>\n");
echo("<form name=f method=GET><input type=hidden name=\"".session_name()."\" value=" . session_id() . "><input type=hidden name=vc_val value=" . md5($_SESSION['sess_data']['surf_encoder_vals']) . ">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\"><tr>
<td width=\"20%\" valign=top><div align=\"center\">
<img src=$self_url" . "images/surflogo.jpg border=0>
</div></td>
<td width=\"40%\" valign=top><div align=\"center\">");
echo("<input type=button name=\"stimer\" size=4 style=\"border: 0px;border-style: none;Color: #FFFFFF;background-color: #000000;text-align: center; top: 0; position: relative; float: center;\" onClick=\"return false;\"> <input name=\"stopgo\" value=\"� Pause Surf �\" type=\"button\" style=\"border: 0px;border-style: none;Color: #FFFFFF;background-color: #000000;width:100px; height:20px; text-align: center; top: 0; position: relative; float: center; cursor: hand;\" onClick=\"pause_time();\"><br>
        [<a href=$self_url" . "members/ target=_top>Menu Membre</a>] [<a href=\"#\" onClick=\"open_w('$url');\">Ouvrir Site</a>] [<a href=report.php?s=$siteid target=_top><font color=#ff0000>Signaler abus</font></a>]");
if (isset($_SESSION['sess_data']['contex']) && $credit_me == 'yes') {
   if (($_SESSION['sess_data']['sts'] % $_SESSION['sess_data']['contex']) == 0) {
      $_SESSION['sess_data']['won'] = 'really';
      echo("<br><br><b>Vous avez gagn�  " . $_SESSION['sess_data']['contey'] . " cr�dits bonus!</b><br><a href=$self_url" . "bonus.php?next=" . md5($_SESSION['sess_data']['surf_encoder_vals']) . " target=_top>Cliquez ici pour les ajouter � votre compte!</a>\n");
   }
}
if (isset($_SESSION['sess_data']['contcx']) && $credit_me == 'yes' && $_SESSION['sess_data']['won'] != 'really') {
   if (($_SESSION['sess_data']['sts'] % $_SESSION['sess_data']['contcx']) == 0) {
      $_SESSION['sess_data']['ccwon'] = 'ccreallycc';
      echo("<br><br><b>Vous avez gagn� \$" . $_SESSION['sess_data']['contcy'] . " cash bonus!</b><br><a href=$self_url" . "bonus_cash.php?next=" . md5($_SESSION['sess_data']['surf_encoder_vals']) . " target=_top>Cliquez ici pour les ajouter � votre compte!</a>\n");
   }
}
echo("</div></td><td width=\"40%\"><center>
ID #<b>" . $_SESSION['sess_data']['usrid'] . "</b> | $why |  Surf Cr�dit: <b>" . $_SESSION['sess_data']['cts'] . "</b> | Cr�dits Aujourdhui: <b>$my_crds_today</b><br>
$surf_ban_rotator</center></td></tr></table>\n");
$surplus = 1;
if ($credit_me == 'yes') {
   @mysql_query("update user set credits=credits+" . $_SESSION['sess_data']['rate'] . ", lifetime_pages=lifetime_pages+1, lifetime_credits=lifetime_credits+" . $_SESSION['sess_data']['rate'] . " where id=" . $_SESSION['sess_data']['usrid']);
   if ($my_status == 'Verified' && $activation_pages >= 1) {
      $my_pages_are = mysql_result(mysql_query("SELECT lifetime_pages FROM user WHERE id=" . $_SESSION['sess_data']['usrid']), 0);
      $inibon = mysql_result(mysql_query("select value from adminprops where field='inibon'"), 0);
      if ($my_pages_are >= $activation_pages) {
         @mysql_query("update user set credits=credits+$inibon, lifetime_credits=lifetime_credits+$inibon, status='Active' where id=" . $_SESSION['sess_data']['usrid']);
         $surplus = $surplus - $inibon;
         if ($mref >= 1) {
            $accs = mysql_query("SELECT * FROM acctype");
            for ($i = 0; $i < mysql_num_rows($accs); $i++) {
               $accids = mysql_result($accs, $i, "id");
               $r_bons = mysql_result($accs, $i, "rbonuses");
               $r_bons2[$accids] = explode(",", $r_bons);
               $acc_r_bon[$accids] = count($r_bons2[$accids]);
            }
            @mysql_free_result($accs);
            if ($acc_r_bon[2] > $acc_r_bon[1]) {$greatest = 2; } elseif ($acc_r_bon[1] > $acc_r_bon[2]) {$greatest = 1; } else {$greatest = 2; }
            if ($my_ref >= 1 && ($acc_r_bon[1] > 0 || $acc_r_bon[2] > 0)) {
               $cc = 0;
               $ref_id[$cc]=$my_ref;
               for ($v = 0; $v < ($acc_r_bon[$greatest] - 1); $v++) {
                  $my_ref = get_referral($my_ref);
                  if(!$my_ref || $my_ref == 0)
                  break;
                  ++$cc;
                  $ref_id[$cc] = $my_ref;
               }
               credit_ref_bonuses($ref_id);
            }
         }
         echo("<center><font size=1>Votre compte vient d obtenir le bonus d inscription de $inibon credits! Vous �tes maintenant  � l �tat actif et peut d�sormais gagner des parrainages!</font></center>");
      }
   }
   if ($my_crds_today >= $min_credits_to_earn && $iam_waiting == 'yes' && $my_investment > 0) {
      if ($my_last_roi < $date) {
         $roi_rate = round($roi_conversion_ratio / 100, 3);
         $roi_credit_return = $my_investment * $roi_rate;
         @mysql_query("UPDATE user SET roi_cash=roi_cash+$roi_credit_return, lifetot_roi=lifetot_roi+$roi_credit_return, lifetime_cash=lifetime_cash+$roi_credit_return, lastroi='$date' WHERE id=$usrid") or die(mysql_error());
         @mysql_query("UPDATE 7stat SET received_pay='yes' WHERE usrid=$usrid && date='$date' && received_pay='no'") or die (mysql_error());
         @mysql_query("UPDATE adminprops SET value=value-$roi_credit_return WHERE field='csurpl'");
         $nns = explode('-', $date);
         $yearis = $nns[0];
         $monthis = $nns[1];
         $get_stats = mysql_query("SELECT * FROM monthly_stats WHERE usrid=$usrid && monthis=$monthis && yearis=$yearis");
         if (mysql_num_rows($get_stats) != 0) {
            @mysql_query("UPDATE monthly_stats SET roi_earned=roi_earned+$roi_credit_return, days_paid_roi=days_paid_roi+1, tot_owed=tot_owed+$roi_credit_return, this_month='$date' WHERE usrid=$usrid && monthis=$monthis && yearis=$yearis") or die(mysql_error());
         } else {
            @mysql_query("INSERT INTO monthly_stats (usrid, days_paid_roi, roi_earned, tot_owed, monthis, yearis, this_month) VALUES ($usrid, 1, $roi_credit_return, $roi_credit_return, $monthis, $yearis, '$date')") or die(mysql_error());
         }
         @mysql_free_result($get_stats);
         echo("<font color=#FF0000>Your account was just awarded \$$roi_credit_return for earning $min_credits_to_earn credits in one day!</font>");
      }
   }
   $surplus = $surplus - $_SESSION['sess_data']['rate'];
   if ($mref >= 1) {
      $accs = mysql_query("SELECT id, levels FROM acctype");
      for ($d = 0; $d < mysql_num_rows($accs); $d++) {
         $accida = mysql_result($accs, $d, "id");
         $r_cbons = mysql_result($accs, $d, "levels");
         $r_cbons2[$accida] = explode(",", $r_cbons);
         $acc_r_cbon[$accida] = count($r_cbons2[$accida]);
      }
      @mysql_free_result($accs);
      if ($acc_r_cbon[2] > $acc_r_cbon[1]) {$greatesta = 2; } elseif ($acc_r_cbon[1] > $acc_r_cbon[2]) {$greatesta = 1; } else {$greatesta = 2; }
      if ($mref >= 1 && ($acc_r_cbon[1] > 0 || $acc_r_cbon[2] > 0)) {
         $ccx = 0;
         $refs_id[$ccx]=$mref;
         for ($z = 0; $z < ($acc_r_cbon[$greatesta] - 1); $z++) {
            $mref = get_referral($mref);
            if(!$mref || $mref == 0)
            break;
            ++$ccx;
            $refs_id[$ccx] = $mref;
         }
         $givento_ref = credit_r_bonuses($refs_id,"credits",$_SESSION['sess_data']['rate']);
      }
      if ($givento_ref > 0) {
         @mysql_query("update user set toref=toref+$givento_ref where id=" . $_SESSION['sess_data']['usrid']);
      }
   }
}
@mysql_query("update adminprops set value=value+$surplus where field='surplu'");
$resins = @mysql_query($query);
$la = date("Y-m-d H:i:s");
@mysql_query("update user set lastaccess='$la', lastsurfed='$la' where id=" . $_SESSION['sess_data']['usrid']);
echo("</form>\n</body>\n</html>");
mysql_close;
exit;
?>

Invité
Invité


Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  xavmess le Jeu 10 Mar - 23:26

dit tu aurai pas oublier ta 3eme page ?

xavmess
***
***

Messages : 212
Date d'inscription : 30/12/2010
Age : 36

Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  Invité le Jeu 10 Mar - 23:30

ya pas de troisième page ... target.php rien d'utile Laughing

Invité
Invité


Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  xavmess le Jeu 10 Mar - 23:31

ok merci
je vais regarder ca demain matin

xavmess
***
***

Messages : 212
Date d'inscription : 30/12/2010
Age : 36

Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  Invité le Jeu 10 Mar - 23:38

c'est moi qui te remercie ... Wink

a demain

Invité
Invité


Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  xavmess le Ven 11 Mar - 11:42

J'aurai besoin que tu test ceci
surftest.php
Code:

<?php
session_start();
include("vars.php");
include("auth.php");
mysql_connect($db_host, $db_user, $db_pwd);
mysql_select_db($db_name);
$res = checkauth();
$usrid = mysql_result($res, 0, "id");
$acctype = mysql_result($res, 0, "acctype");
@mysql_free_result($res);
if ($acctype == 1) {$daily_max = $surf_max_free;} else {$daily_max = $surf_max_pro;}
if ($_SESSION['sess_data']['usrid'] != $usrid) {
  $_SESSION['sess_data']['cts'] = 0;
  $_SESSION['sess_data']['sts'] = 0;
  $_SESSION['sess_data']['pgv'] = 0;
  $_SESSION['sess_data']['usrid'] = $usrid;
}
$res = mysql_query("SELECT num FROM 7stat WHERE usrid=$usrid && date='".date('Y-m-d')."'");
if (mysql_num_rows($res) != 0)
{
  $crds_today = mysql_result($res, 0, "num");
}
else
{
  $crds_today = 0;
}
@mysql_free_result($res);
if ($crds_today >= $daily_max)
{
  echo("Sorry you have earned your daily maximum of $daily_max credits!<br />Please return tomorrow!<br /><br /><a href=\"$self_url\">Login to your account here</a>");
  session_destroy();
  mysql_close;
  exit;
}
@mysql_free_result($crds_today);
$res = mysql_query("select value from adminprops where field='negact'");
$_SESSION['sess_data']['negact'] = mysql_result($res, 0, "value");
@mysql_free_result($res);
$res = mysql_query("select value from adminprops where field='reftim'");
$_SESSION['sess_data']['reftim'] = mysql_result($res, 0, "value");
@mysql_free_result($res);
$res = mysql_query("select value from adminprops where field='contex'");
if (mysql_result($res, 0, "value") != 0) {
  $_SESSION['sess_data']['contex'] = mysql_result($res, 0, "value");
  @mysql_free_result($res);
  $res = mysql_query("select value from adminprops where field='contey'");
  $_SESSION['sess_data']['contey'] = mysql_result($res, 0, "value");
}
@mysql_free_result($res);
$res = mysql_query("select value from adminprops where field='contcx'");
if (mysql_result($res, 0, "value") != 0) {
  $_SESSION['sess_data']['contcx'] = mysql_result($res, 0, "value");
  @mysql_free_result($res);
  $res = mysql_query("select value from adminprops where field='contcy'");
  $_SESSION['sess_data']['contcy'] = mysql_result($res, 0, "value");
}
@mysql_free_result($res);
$res = mysql_query("select minmax from user where id=$usrid");
$rate = mysql_result($res, 0, "minmax");
$_SESSION['sess_data']['mmax'] = $rate;
switch($rate) {
  case 1:
      $rate = 'ratemin';
      break;
  case 0:
      $rate = 'ratemax';
      break;
  default:
      $rate = 'ratemax';
      break;
}
@mysql_free_result($res);
$res = mysql_query("select $rate, ref from acctype, user where acctype.id=user.acctype && user.id=$usrid");
$_SESSION['sess_data']['rate'] = mysql_result($res, 0, $rate);
$_SESSION['sess_data']['ref'] = mysql_result($res, 0, "ref");
@mysql_free_result($res);
$_SESSION['sess_data']['surfing'] = rand(9999, 9999999999);
$_SESSION['sess_data']['from'] = md5($_SESSION['sess_data']['surfing']);
if ($_GET['next'] == md5($_SESSION['sess_data']['surf_encoder_vals'])) {
  $s_bar_url = "surfbartest.php?PHPSESSID=" . session_id() . "&vc_val=" . $_GET['next'];
} else {
  $s_bar_url = "surfbartest.php?PHPSESSID=" . session_id() . "&vc_val=begin&coder=". md5($_SESSION['sess_data']['from']);
}
echo("<html>\n<head>\n<title>$title: Surf</title>\n<link rel=stylesheet type=text/css href=$self_url" . "style.css>\n</head>\n<frameset rows=* border=0><frame marginheight=0 marginwidth=0 scrolling=no noresize border=0 src=\"$s_bar_url\"><frame marginheight=0 marginwidth=0 scrolling=auto noresize border=0 src=/target.php><frame marginheight=0 marginwidth=0 scrolling=no noresize border=0 src=/pub.html></frameset>\n</html>");
mysql_close;
exit;
?>


il faut que tu ajoute une nouvelle page nommer affiche_sites.php
Ajoute le code pour la connection a la bdd est pour recuperer l'id du membre
puis



Code:

<html>
<head>
<title>Test sans frame</title>
<script type="text/javascript">
var temps = 2;
var timer =setInterval('CompteaRebour()',1000);
function CompteaRebour(){

  temps-- ;
  j = parseInt(temps) ;
  h = parseInt(temps/3600) ;
  m = parseInt((temps%3600)/60) ;
  s = parseInt((temps%3600)%60) ;
  document.getElementById('minutes').innerHTML= (h<10 ? "0"+h : h) + '  h :  ' +
                                                (m<10 ? "0"+m : m) + ' mn : ' +
                                                (s<10 ? "0"+s : s) + ' s ';
if ((s == 0 && m ==0 && h ==0)) {
  clearInterval(timer);
  url = "<? print $_SESSION[url01]; ?>"
  Redirection(url)
}
}
function Redirection(url) {
setTimeout("window.location=url", 500)
}
</script>
</head>

<body onload="timer">
<span style="font-size: 16px;"><b>Patientez pendant le chargement du site ....
<br /><br />Vous allez visiter le site</b> <I><? print $_SESSION[url01]; ?>  </I></span>
<div id="minutes" style="font-size: 0px;"></div></span>
<body>
<html>

[/code]

xavmess
***
***

Messages : 212
Date d'inscription : 30/12/2010
Age : 36

Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  xavmess le Ven 11 Mar - 11:43

surfbartest.php

Code:

<?php
session_start();
include("vars.php");
include("auth.php");
include("headfoot.php");
mysql_connect($db_host, $db_user, $db_pwd);
mysql_select_db($db_name);
$res = checkbarauth();
$usrid = mysql_result($res, 0, "id");
$my_investment = mysql_result($res, 0, "invested");
$my_acctype = mysql_result($res, 0, "acctype");
$my_last_roi = mysql_result($res, 0, "lastroi");
$my_ref = mysql_result($res, 0, "ref");
$lastsurfed = mysql_result($res, 0, "lastsurfed");
$dummyt = explode(" ", $lastsurfed);
if ($my_acctype == 1) {$daily_max = $surf_max_free;} else {$daily_max = $surf_max_pro;}
if ($dummyt[0] != $date) {
  $lastsurfed_time = "00:00:00";
} else {
  $lastsurfed_time = $dummyt[1];
}
$my_status = mysql_result($res, 0, "status");
$mref = $my_ref;
@mysql_free_result($res);
if ($my_acctype == 1) {
  $min_credits_to_earn = $min_credits_to_earn_free;
  $roi_conversion_ratio = $roi_conversion_ratio_free;
} else {
  $min_credits_to_earn = $min_credits_to_earn_pro;
  $roi_conversion_ratio = $roi_conversion_ratio_pro;
}
if ($_SESSION['sess_data']['usrid'] != $usrid) {
  header("Location: " . $self_url . "bar_break.php?error=session-expired");
  mysql_close;
  exit;
}
$credit_me = 'yes';
$hour = date('Y-m-d:H');
$date = date("Y-m-d");
$time_now = date("H:i:s");
if (!isset($_SESSION['sess_data']['usrid'])) {
  header("Location: " . $self_url . "bar_break.php?error=session-expired");
  mysql_close;
  exit;
}
if ($_SESSION['sess_data']['from'] != md5($_SESSION['sess_data']['surfing'])) {
  header("Location: " . $self_url . "bar_break.php?error=inv-access");
  mysql_close;
  exit;
}
$vf_time_amt = strftime("%H:%M:%S", strtotime("$lastsurfed_time + " . $_SESSION['sess_data']['reftim'] . " seconds"));
if ($vf_time_amt>$time_now) {
  $wait = $_SESSION['sess_data']['reftim'] - (time() - $_SESSION['sess_data']['time']);
  if ($wait > $_SESSION['sess_data']['reftim'] || $wait == "" || $wait < 0) {
      $wait = $_SESSION['sess_data']['reftim'];
  }
  echo("<head><title>$title</title><meta http-equiv=\"Refresh\" content=\"$wait;URL=" . $self_url . "surfbartest.php?vc_val=" . md5($_SESSION['sess_data']['surf_encoder_vals']) . "\"></head><body><span style=\"font-size:150%\"><font face=$fontface>Surfing too fast! Re-connecting in $wait secs..</span></body></html>");
  mysql_close;
  exit;
}
if ($_GET['vc_val'] == 'begin' && $_GET['coder'] == md5($_SESSION['sess_data']['from'])) {
  $credit_me = 'no';
  $why = "Starting/Resuming Session";
} elseif ($_GET['vc_val'] != md5($_SESSION['sess_data']['surf_encoder_vals'])) {
  header("Location: " . $self_url . "?error=inv-access");
  mysql_close;
  exit;
}
if (!isset($_SESSION['sess_data']['time']) || (time() - $_SESSION['sess_data']['time']) >= $_SESSION['sess_data']['reftim']) {
  $_SESSION['sess_data']['time'] = time();
} else {
  $wait = $_SESSION['sess_data']['reftim'] - (time() - $_SESSION['sess_data']['time']);
  echo("<head><title>$title</title><meta http-equiv=\"Refresh\" content=\"$wait;URL=" . $self_url . "surfbartest.php?vc_val=" . md5($_SESSION['sess_data']['surf_encoder_vals']) . "\"></head><body><span style=\"font-size:150%\"><font face=$fontface>Surfing too fast! Re-connecting in $wait secs..</span></body></html>");
  mysql_close;
  exit;
}
@mysql_query("update site set hour='$hour', cth=0 where hour!='$hour' && cph!=0");
$query = "select id, url from site where usrid!=" .$_SESSION['sess_data']['usrid'] . " && state='Enabled'";
if ($_SESSION['sess_data']['negact'] == 0) {$query = $query . " && credits>=1";}
$query = $query . " && (cth<cph || cph=0)";
$query = $query . " order by rand() limit 1";
$res = mysql_query($query);
if (mysql_num_rows($res) == 0) {
  $url = $default_site;
  $siteid = 0;
  @mysql_free_result($res);
} else {
  $url = mysql_result($res, 0, "url");
  $_SESSION['url01'] = $url1;
  $siteid = mysql_result($res, 0, "id");
  @mysql_free_result($res);
  if ($siteid != 0) {
      @mysql_query("update site set credits=credits-1, totalhits=totalhits+1, hitslastmail=hitslastmail+1, cth=cth+1 where id=$siteid");
      $res = mysql_query("select num from 7statsite where siteid=$siteid && date='$date'");
      if (mysql_num_rows($res) == 0) {
        $queryas = "insert into 7statsite (siteid, date, last_hit_time, num) values ($siteid, '$date', '$time_now', 1)";
      } else {
        $queryas = "update 7statsite set last_hit_time='$time_now', num=num+1 where siteid=$siteid && date='$date'";
      }
      @mysql_free_result($res);
      @mysql_query($queryas);
  }
}
$_SESSION['sess_data']['surf_encoder_vals'] = md5(rand(10000, 100000000));
$_SESSION['sess_data']['pgv']++;
if (!isset($delay)) {$delay = $_SESSION['sess_data']['reftim'];}
if ($credit_me == 'yes') {
  $why = "Credits Par Visite: <b>" . $_SESSION['sess_data']['rate'] . "</b>";
  $res = mysql_query("SELECT * FROM 7stat WHERE usrid=" . $_SESSION['sess_data']['usrid'] . " && date='$date'");
  if (mysql_num_rows($res) == 0) {
      $query = "insert into 7stat (usrid, date, time, pg_views, num) values (" . $_SESSION['sess_data']['usrid'] . ", '" . $date . "', '" . $time_now . "', 1, " . $_SESSION['sess_data']['rate'] . ")";
      $my_crds_today = $_SESSION['sess_data']['rate'];
      $iam_waiting = 'yes';
      @mysql_free_result($res);
  } else {
      $c_today = mysql_result($res, 0, "num");
      $laccess_time = mysql_result($res, 0, "time");
      $was_paid_t = mysql_result($res, 0, "received_pay");
      $thevftime = strftime("%H:%M:%S", strtotime("$laccess_time + " . $_SESSION['sess_data']['reftim'] . " seconds"));
      if ($thevftime>$time_now) {
        header("Location: $self_url" . "bar_break.php?error=cheating-timer");
        @mysql_free_result($res);
        session_destroy();
        mysql_close;
        exit;
      } elseif ($c_today >= $daily_max) {
        echo("Sorry you have earned your daily maximum of $daily_max credits!<br />Please return tomorrow!<br /><br /><a href=\"$self_url\" target=\"_top\">Login to your account here</a>");
        session_destroy();
        mysql_close;
        exit;
      } else {
        $query = "update 7stat set time='$time_now', pg_views=pg_views+1, num=num+" . $_SESSION['sess_data']['rate'] . " where usrid=" . $_SESSION['sess_data']['usrid'] . " && date='$date'";
        $my_crds_today = mysql_result($res, 0, "num") + $_SESSION['sess_data']['rate'];
        if ($was_paid_t == 'no') {
            $iam_waiting = 'yes';
        } elseif ($was_paid_t == 'yes') {
            $iam_waiting = 'no';
        }
      }
      @mysql_free_result($res);
  }
  $_SESSION['sess_data']['cts'] = $_SESSION['sess_data']['cts'] + $_SESSION['sess_data']['rate'];
  $_SESSION['sess_data']['sts']++;
}
if ($_SESSION['sess_data']['mmax'] == 0) {
  $extra_js = "top.window.moveTo(0,0);\nif (document.all) {\ntop.window.resizeTo(screen.availWidth,screen.availHeight);\n}\nelse if (document.layers||document.getElementById) {\nif\n(top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){\ntop.window.outerHeight = screen.availHeight;\ntop.window.outerWidth = screen.availWidth;\n}\n}\nwindow.focus();\n";
}
echo("<html>\n<head>\n<title>$title</title>\n<link rel=stylesheet type=text/css href=$self_url"."bar.css>\n");
echo("<script language=\"JavaScript\">\n<!--\ndefaultStatus = '$title';\nif (parent.location.href == self.location.href) {window.location.href = 'surftest.php';}\n
var counter=1+parseInt($delay);
var paused=0;

function start_time()
{
do_count();
}

function do_count()
{
  if (paused==0){
  counter--;
  }
  if (counter>=0) {document.f.stimer.value=counter;
  setTimeout(\"do_count()\",1000);
  }
  if (counter<0)
  {
      document.f.submit();
  }
}

function pause_time()
{
  paused=1-paused;
  if (paused==1) {document.f.stopgo.value='� Start Surf �';} else {document.f.stopgo.value='� Pause Surf �';}
}

function open_w(imf){

    window.open(imf);
    return false;

}
$extra_js
//-->\n</script>\n");
if ($my_crds_today == "") {$my_crds_today = 0; }
echo("</head>\n<body onLoad=\"do_count();\"  bgcolor=\"#000000\">\n");
echo("<script language=JavaScript>window.status=\"$title\";top.frames[1].location.href = \"$url\";</script>\n");
echo("<script language=JavaScript>window.opener.location.href="affiche_sites.php";</script>\n");
echo("<script language=JavaScript>if (document.all) document.body.onmousedown=new Function(\"if (event.button==2||event.button==3)alert('Sorry, right click is disabled here!')\")</script>\n");
echo("<form name=f method=GET><input type=hidden name=\"".session_name()."\" value=" . session_id() . "><input type=hidden name=vc_val value=" . md5($_SESSION['sess_data']['surf_encoder_vals']) . ">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\"><tr>
<td width=\"20%\" valign=top><div align=\"center\">
<img src=$self_url" . "images/surflogo.jpg border=0>
</div></td>
<td width=\"40%\" valign=top><div align=\"center\">");
echo("<input type=button name=\"stimer\" size=4 style=\"border: 0px;border-style: none;Color: #FFFFFF;background-color: #000000;text-align: center; top: 0; position: relative; float: center;\" onClick=\"return false;\"> <input name=\"stopgo\" value=\"� Pause Surf �\" type=\"button\" style=\"border: 0px;border-style: none;Color: #FFFFFF;background-color: #000000;width:100px; height:20px; text-align: center; top: 0; position: relative; float: center; cursor: hand;\" onClick=\"pause_time();\"><br>
        [<a href=$self_url" . "members/ target=_top>Menu Membre</a>] [<a href=\"#\" onClick=\"open_w('$url');\">Ouvrir Site</a>] [<a href=report.php?s=$siteid target=_top><font color=#ff0000>Signaler abus</font></a>]");
if (isset($_SESSION['sess_data']['contex']) && $credit_me == 'yes') {
  if (($_SESSION['sess_data']['sts'] % $_SESSION['sess_data']['contex']) == 0) {
      $_SESSION['sess_data']['won'] = 'really';
      echo("<br><br><b>Vous avez gagn�  " . $_SESSION['sess_data']['contey'] . " cr�dits bonus!</b><br><a href=$self_url" . "bonus.php?next=" . md5($_SESSION['sess_data']['surf_encoder_vals']) . " target=_top>Cliquez ici pour les ajouter � votre compte!</a>\n");
  }
}
if (isset($_SESSION['sess_data']['contcx']) && $credit_me == 'yes' && $_SESSION['sess_data']['won'] != 'really') {
  if (($_SESSION['sess_data']['sts'] % $_SESSION['sess_data']['contcx']) == 0) {
      $_SESSION['sess_data']['ccwon'] = 'ccreallycc';
      echo("<br><br><b>Vous avez gagn� \$" . $_SESSION['sess_data']['contcy'] . " cash bonus!</b><br><a href=$self_url" . "bonus_cash.php?next=" . md5($_SESSION['sess_data']['surf_encoder_vals']) . " target=_top>Cliquez ici pour les ajouter � votre compte!</a>\n");
  }
}
echo("</div></td><td width=\"40%\"><center>
ID #<b>" . $_SESSION['sess_data']['usrid'] . "</b> | $why |  Surf Cr�dit: <b>" . $_SESSION['sess_data']['cts'] . "</b> | Cr�dits Aujourdhui: <b>$my_crds_today</b><br>
$surf_ban_rotator</center></td></tr></table>\n");
$surplus = 1;
if ($credit_me == 'yes') {
  @mysql_query("update user set credits=credits+" . $_SESSION['sess_data']['rate'] . ", lifetime_pages=lifetime_pages+1, lifetime_credits=lifetime_credits+" . $_SESSION['sess_data']['rate'] . " where id=" . $_SESSION['sess_data']['usrid']);
  if ($my_status == 'Verified' && $activation_pages >= 1) {
      $my_pages_are = mysql_result(mysql_query("SELECT lifetime_pages FROM user WHERE id=" . $_SESSION['sess_data']['usrid']), 0);
      $inibon = mysql_result(mysql_query("select value from adminprops where field='inibon'"), 0);
      if ($my_pages_are >= $activation_pages) {
        @mysql_query("update user set credits=credits+$inibon, lifetime_credits=lifetime_credits+$inibon, status='Active' where id=" . $_SESSION['sess_data']['usrid']);
        $surplus = $surplus - $inibon;
        if ($mref >= 1) {
            $accs = mysql_query("SELECT * FROM acctype");
            for ($i = 0; $i < mysql_num_rows($accs); $i++) {
              $accids = mysql_result($accs, $i, "id");
              $r_bons = mysql_result($accs, $i, "rbonuses");
              $r_bons2[$accids] = explode(",", $r_bons);
              $acc_r_bon[$accids] = count($r_bons2[$accids]);
            }
            @mysql_free_result($accs);
            if ($acc_r_bon[2] > $acc_r_bon[1]) {$greatest = 2; } elseif ($acc_r_bon[1] > $acc_r_bon[2]) {$greatest = 1; } else {$greatest = 2; }
            if ($my_ref >= 1 && ($acc_r_bon[1] > 0 || $acc_r_bon[2] > 0)) {
              $cc = 0;
              $ref_id[$cc]=$my_ref;
              for ($v = 0; $v < ($acc_r_bon[$greatest] - 1); $v++) {
                  $my_ref = get_referral($my_ref);
                  if(!$my_ref || $my_ref == 0)
                  break;
                  ++$cc;
                  $ref_id[$cc] = $my_ref;
              }
              credit_ref_bonuses($ref_id);
            }
        }
        echo("<center><font size=1>Votre compte vient d obtenir le bonus d inscription de $inibon credits! Vous �tes maintenant  � l �tat actif et peut d�sormais gagner des parrainages!</font></center>");
      }
  }
  if ($my_crds_today >= $min_credits_to_earn && $iam_waiting == 'yes' && $my_investment > 0) {
      if ($my_last_roi < $date) {
        $roi_rate = round($roi_conversion_ratio / 100, 3);
        $roi_credit_return = $my_investment * $roi_rate;
        @mysql_query("UPDATE user SET roi_cash=roi_cash+$roi_credit_return, lifetot_roi=lifetot_roi+$roi_credit_return, lifetime_cash=lifetime_cash+$roi_credit_return, lastroi='$date' WHERE id=$usrid") or die(mysql_error());
        @mysql_query("UPDATE 7stat SET received_pay='yes' WHERE usrid=$usrid && date='$date' && received_pay='no'") or die (mysql_error());
        @mysql_query("UPDATE adminprops SET value=value-$roi_credit_return WHERE field='csurpl'");
        $nns = explode('-', $date);
        $yearis = $nns[0];
        $monthis = $nns[1];
        $get_stats = mysql_query("SELECT * FROM monthly_stats WHERE usrid=$usrid && monthis=$monthis && yearis=$yearis");
        if (mysql_num_rows($get_stats) != 0) {
            @mysql_query("UPDATE monthly_stats SET roi_earned=roi_earned+$roi_credit_return, days_paid_roi=days_paid_roi+1, tot_owed=tot_owed+$roi_credit_return, this_month='$date' WHERE usrid=$usrid && monthis=$monthis && yearis=$yearis") or die(mysql_error());
        } else {
            @mysql_query("INSERT INTO monthly_stats (usrid, days_paid_roi, roi_earned, tot_owed, monthis, yearis, this_month) VALUES ($usrid, 1, $roi_credit_return, $roi_credit_return, $monthis, $yearis, '$date')") or die(mysql_error());
        }
        @mysql_free_result($get_stats);
        echo("<font color=#FF0000>Your account was just awarded \$$roi_credit_return for earning $min_credits_to_earn credits in one day!</font>");
      }
  }
  $surplus = $surplus - $_SESSION['sess_data']['rate'];
  if ($mref >= 1) {
      $accs = mysql_query("SELECT id, levels FROM acctype");
      for ($d = 0; $d < mysql_num_rows($accs); $d++) {
        $accida = mysql_result($accs, $d, "id");
        $r_cbons = mysql_result($accs, $d, "levels");
        $r_cbons2[$accida] = explode(",", $r_cbons);
        $acc_r_cbon[$accida] = count($r_cbons2[$accida]);
      }
      @mysql_free_result($accs);
      if ($acc_r_cbon[2] > $acc_r_cbon[1]) {$greatesta = 2; } elseif ($acc_r_cbon[1] > $acc_r_cbon[2]) {$greatesta = 1; } else {$greatesta = 2; }
      if ($mref >= 1 && ($acc_r_cbon[1] > 0 || $acc_r_cbon[2] > 0)) {
        $ccx = 0;
        $refs_id[$ccx]=$mref;
        for ($z = 0; $z < ($acc_r_cbon[$greatesta] - 1); $z++) {
            $mref = get_referral($mref);
            if(!$mref || $mref == 0)
            break;
            ++$ccx;
            $refs_id[$ccx] = $mref;
        }
        $givento_ref = credit_r_bonuses($refs_id,"credits",$_SESSION['sess_data']['rate']);
      }
      if ($givento_ref > 0) {
        @mysql_query("update user set toref=toref+$givento_ref where id=" . $_SESSION['sess_data']['usrid']);
      }
  }
}
@mysql_query("update adminprops set value=value+$surplus where field='surplu'");
$resins = @mysql_query($query);
$la = date("Y-m-d H:i:s");
@mysql_query("update user set lastaccess='$la', lastsurfed='$la' where id=" . $_SESSION['sess_data']['usrid']);
echo("</form>\n</body>\n</html>");
mysql_close;
exit;
?>

test et dis moi ensuite

xavmess
***
***

Messages : 212
Date d'inscription : 30/12/2010
Age : 36

Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  Invité le Ven 11 Mar - 21:48

salut , avais une erreur de syntax ligne 190 .. sa c'est régler voici le message que jai maintenant

Code:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/quebecsu/public_html/surfbartest.php:2) in /home/quebecsu/public_html/surfbartest.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /home/quebecsu/public_html/surfbartest.php:2) in /home/quebecsu/public_html/surfbartest.php on line 66

Je pense qu'il faut lignes 190 ajouté la session après
Code:
echo("<script language=JavaScript>window.opener.location.href=" . $self_url . "affiche_sites.php\";</script>\n");

Invité
Invité


Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  Invité le Sam 12 Mar - 9:02

Salut , j'ai modifier l'autre script et il fonctionne sans frame .. donc je ferme le sujet .. un gros merci a xavmess pour son coup de mains ! Very Happy si je peux t'aider a mon tours sa sera avec grand plaisir .. bonne fin de semaine

Invité
Invité


Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  xavmess le Sam 12 Mar - 11:15

salut de rien pour le coup de main Wink mais je n'ai pas fait grand chose Crying or Very sad


si je peux t'aider a mon tours sa sera avec grand plaisir .. bonne fin de semaine
merci et moi aussi j'espere etre plus utile la prochaine fois

xavmess
***
***

Messages : 212
Date d'inscription : 30/12/2010
Age : 36

Revenir en haut Aller en bas

Re: (TERMINER) Recherche codeur pour modification script autosurf

Message  Contenu sponsorisé


Contenu sponsorisé


Revenir en haut Aller en bas

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

 
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum