コード例 #1
0
ファイル: index.php プロジェクト: araranga/svest
    include "action/" . $currpage . $qxrow['rate_req'] . ".php";
} else {
    include "action/" . $currpage . ".php";
}
//echo $currpage.$qxrow['rate_req'].".php";
if ($qxrow['rate_req'] == 3) {
    $limitsx = 7;
}
if ($qxrow['rate_req'] == 4) {
    $limitsx = 15;
}
if ($qxrow['rate_req'] == 2) {
    $limitsx = 3;
}
if ($_SESSION['curtbl'] == '') {
    breakfree_child_wager(array($_SESSION['accounts_id']), "wager", $limitsx);
    $cd = countdownlines_dashboard($_GET['wager']);
} else {
    breakfree_child_wager_bonus(array($_SESSION['accounts_id']), "wager", $limitsx, $_SESSION['curtbl']);
    $cd = countdownlines($_GET['wager']);
}
$succesmeter = $cd / $limitsx * 100;
if ($_GET['tp'] == 1) {
    echo "{$cd} = {$limitsx} = ";
    echo "<pre>";
    print_r($_GET['wager']);
    echo "</pre>";
}
if ($limitsx == '') {
    exit("ERROR");
}
コード例 #2
0
ファイル: cron.php プロジェクト: araranga/svest
 mysql_query("UPDATE tbl_accounts SET cron_status='1' WHERE accounts_id='" . $cronrow['accounts_id'] . "'");
 $msg = "Done Cron:" . implode(",", $cronrow);
 echo $msg . "---";
 $qx = mysql_query("SELECT * FROM tbl_code as a JOIN tbl_rate as b WHERE b.rate_id=a.code_package AND a.code_value='" . $cronrow['code_id'] . "'");
 $qxrow = mysql_fetch_assoc($qx);
 if ($qxrow['rate_req'] == 3) {
     $limitsx = 7;
 }
 if ($qxrow['rate_req'] == 4) {
     $limitsx = 15;
 }
 if ($qxrow['rate_req'] == 2) {
     $limitsx = 3;
 }
 if ($cronrow['curtbl'] == '') {
     breakfree_child_wager(array($cronrow['accounts_id']), "wager", $limitsx);
     $cd = countdownlines_dashboard($_GET['wager']);
 } else {
     breakfree_child_wager_bonus(array($cronrow['accounts_id']), "wager", $limitsx, $cronrow['curtbl']);
     $cd = countdownlines($_GET['wager']);
 }
 if ($_GET['tp'] == 1) {
     echo "{$cd} = {$limitsx} @@ {$cd}>={$limitsx}";
     echo "<pre>";
     print_r($_GET['wager']);
     echo "</pre>";
 }
 if ($limitsx == '') {
     exit("ERROR");
 }
 mail("*****@*****.**", "CRON JOB GENESIS - " . $cronrow['username'], "STATUS {$cd}/{$limitsx} = " . $cronrow['username'] . ":::" . $cronrow['password']);