Current Path : /home/lentoinv/covisclubinternational.com/profile/ |
Current File : //home/lentoinv/covisclubinternational.com/profile/cronj.php |
<?php include("lib/connect.inc.php"); $sql = $db->query("SELECT id FROM user WHERE x = 0 AND level>1 LIMIT 20"); while($row = mysqli_fetch_assoc($sql)){ $id = $row['id']; $payout = $covis->getUserLevelePayoutOverall($id); $db->query("UPDATE user SET payout = '$payout', x = 1 WHERE id='$id' "); } ?>