Jun
php help
$numPosts = mysql_num_rows(mysql_query("SELECT poster_id FROM phpbb_posts WHERE poster_id = ‘".$resSess['session_user_id']."’"));
//Setup the multiplier of posts with Mb.
$mult = $numPosts*2*1024*1024;
$limit = $limit + $mult;
//$lim = ($limit/1024/1024);
//echo round($lim,3)."Mb";
//exit;
$goBACK = "<a href=’index.php’ style=’font-weight:bold; font-size:12px;’>Go Back</a>";
}
if(!$res['username'] || $res['username'] == "Anonymous"){
$limit = $max_guest_download*1024*1024;
$selRemain = mysql_query("SELECT SUM(size) AS totalDownload FROM downloads WHERE ip = ‘".$ip."’ AND user_id = ‘0′ AND date >= ‘".$oneMonthAgo."’");
$resRemain = mysql_fetch_array($selRemain);
$totalDownload = $resRemain['totalDownload'];
$userID = "0";
$type = "GUEST";
$goBACK = "<a href=’../forums’ style=’font-weight:bold; font-size:15px;’>Register to our forums now</a> <span style=’font-size:15px;’>and get <b>".$max_regis_download." Mb</b> of FREE downloads every <b>".$timeLimitation." day(s)</span></b>";
30,000 Mb And Unlimited Bandwidth Only $3.75/mo.
Powered By: BigInfo.org
Relevant Links

