// Just count...
$TOTAL = 0;
- foreach($prices['uid'] as $key=>$uid)
+ foreach($prices['uid'] as $key => $uid)
{
// Check status
// active = 1: account is still confirmed
array(bigintval($id)), __FILE__, __LINE__);
// Run array through (by uid is the most important 2nd-level-array)
- foreach($prices['uid'] as $key=>$uid)
+ foreach($prices['uid'] as $key => $uid)
{
// Allow valid and active users with at least one ref to get points
if (($uid > 0) && ($prices['ref'][$key] > 0) && ($prices['active'][$key] == 1) && ($prices['cpoints'][$key] > 0))
$prices = RALLYE_LOAD_PRICES_ARRAY($rallye);
// Merge users into prices
- foreach ($prices['level'] as $k=>$lvl)
+ foreach ($prices['level'] as $k => $lvl)
{
$prices['uid'][$k] = $users['uid'][$k];
if (empty($prices['uid'][$k])) $prices['uid'][$k] = "---";
{
// Get refs from cache
$cnt = 0;
- foreach ($cacheArray['ref_system']['userid'] as $id=>$u_id)
+ foreach ($cacheArray['ref_system']['userid'] as $id => $u_id)
{
if (($u_id == $uid) && ($cacheArray['ref_system']['level'][$id] == 0))
{