* *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
$menge_lck = countSumTotalData($userid, 'user_data', 'userid', 'refid', true, " AND `status` != 'CONFIRMED'");
// Output info message
$menge_lck = countSumTotalData($userid, 'user_data', 'userid', 'refid', true, " AND `status` != 'CONFIRMED'");
// Output info message
- loadTemplate('admin_settings_saved', false, sprintf(getMessage('ADMIN_USER_TOTAL_REFS'), generateUserProfileLink(getRequestParameter('userid')), $menge, $menge_lck));
+ displayMessage(sprintf(getMessage('ADMIN_USER_TOTAL_REFS'), generateUserProfileLink(getRequestParameter('userid')), $menge, $menge_lck));
`level` ASC", __FILE__, __LINE__);
// Are there some levels (VERY BAD IF NONE!)
`level` ASC", __FILE__, __LINE__);
// Are there some levels (VERY BAD IF NONE!)
// Is the refback still active? ;-)
if (isExtensionActive('refback')) {
// Load all refs of this user
// Is the refback still active? ;-)
if (isExtensionActive('refback')) {
// Load all refs of this user
array($userid, $levels['level']), __FILE__, __LINE__);
//* DEBUG: */ debugOutput($userid.'/'.$levels['level'].'/'.SQL_NUMROWS($result_refs));
// Do we have levels?
array($userid, $levels['level']), __FILE__, __LINE__);
//* DEBUG: */ debugOutput($userid.'/'.$levels['level'].'/'.SQL_NUMROWS($result_refs));
// Do we have levels?
// Count entries
$menge = countSumTotalData($userid, 'user_data', 'userid', 'refid', true);
$menge_lck = countSumTotalData($userid, 'user_data', 'userid', 'refid', true, " AND `status` != 'CONFIRMED'");
// Count entries
$menge = countSumTotalData($userid, 'user_data', 'userid', 'refid', true);
$menge_lck = countSumTotalData($userid, 'user_data', 'userid', 'refid', true, " AND `status` != 'CONFIRMED'");
$levels['info'] = sprintf(getMessage('ADMIN_USER_TOTAL_REFS'), generateUserProfileLink($userid), $menge, $menge_lck);
// Init variables
$levels['info'] = sprintf(getMessage('ADMIN_USER_TOTAL_REFS'), generateUserProfileLink($userid), $menge, $menge_lck);
// Init variables
'userid' => getUserData('userid'),
'gender' => getUserData('gender'),
'refs_link' => 0,
'userid' => getUserData('userid'),
'gender' => getUserData('gender'),
'refs_link' => 0,
- if ($refs_cnt > 0) $content['refs_link'] = generateUserProfileLink(getUserData('userid'), $refs_cnt, 'list_refs');
+ if ($refs_cnt > 0) {
+ $content['refs_link'] = generateUserProfileLink(getUserData('userid'), $refs_cnt, 'list_refs');
+ } // END - if
// Load template for level one
$OUT_REFS .= loadTemplate('admin_list_refs_row', true, $content);
// Load template for level one
$OUT_REFS .= loadTemplate('admin_list_refs_row', true, $content);
'userid' => $levels['userid'],
'gender' => $levels['gender'],
'refs_link' => 0,
'userid' => $levels['userid'],
'gender' => $levels['gender'],
'refs_link' => 0,
// Load template for level one
$OUT .= loadTemplate('admin_list_refs_row', true, $content);
// Load template for level one
$OUT .= loadTemplate('admin_list_refs_row', true, $content);
}
} elseif (isExtensionActive('refback')) {
// No levels found, very bad!
}
} elseif (isExtensionActive('refback')) {
// No levels found, very bad!
- loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_MEMBER_404', getRequestParameter('userid')));
+ displayMessage('{%message,ADMIN_MEMBER_404=' . getRequestParameter('userid') . '%}');