<?php
/************************************************************************
- * MXChange v0.2.1 Start: 09/09/2008 *
- * ================ Last change: 09/09/2008 *
+ * Mailer v0.2.1-FINAL Start: 09/09/2008 *
+ * =================== Last change: 09/09/2008 *
* *
* -------------------------------------------------------------------- *
* File : what-reflist.php *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
FROM `{?_MYSQL_PREFIX?}_refdepths` AS r
WHERE r.level > 0
ORDER BY r.level ASC",
-array(getUserId()), __FILE__, __LINE__);
+array(getMemberId()), __FILE__, __LINE__);
// Are there some entries? (Shall be!)
if (SQL_NUMROWS($result) > 0) {
while ($content = SQL_FETCHARRAY($result)) {
// Init variables
$rows = '';
- $counter = 0;
+ $counter = '0';
$SW = 2;
// Check for users ref in this level
- foreach (getUserReferalPoints(getUserId(), $content['level']) as $refRow) {
+ foreach (getUserReferalPoints(getMemberId(), $content['level']) as $refRow) {
// Add/"translate" more content
$refRow['sw'] = $SW;
$refRow['points'] = translateComma($refRow['points']);