}
// Send notification to admin
function sendAdminNotification ($subject, $templateName, $content=array(), $userid = 0) {
- if (getExtensionVersion('admins') >= '0.4.1') {
+ if (isExtensionInstalledAndNewer('admins', '0.4.1')) {
// Send new way
sendAdminsEmails($subject, $templateName, $content, $userid);
} else {
loadIncludeOnce('inc/libs/refback_functions.php');
// Sanity-check: Do we have ref level 0?
-$result = SQL_QUERY("SELECT `id` FROM `{?_MYSQL_PREFIX?}_refsystem` WHERE level=0", __FILE__, __LINE__);
+$result = SQL_QUERY("SELECT `id` FROM `{?_MYSQL_PREFIX?}_refsystem` WHERE `level`=0", __FILE__, __LINE__);
if (SQL_NUMROWS($result) > 0) {
// Remove index temporaly
SQL_ALTER_TABLE("ALTER TABLE `{?_MYSQL_PREFIX?}_refsystem` DROP INDEX `userid_level`", __FILE__, __LINE__);
// Upgrade refsystem, ref-level 0 is silly here
- SQL_QUERY("UPDATE `{?_MYSQL_PREFIX?}_refsystem` SET level=level+1", __FILE__, __LINE__);
+ SQL_QUERY("UPDATE `{?_MYSQL_PREFIX?}_refsystem` SET `level`=`level`+1", __FILE__, __LINE__);
// Add it again
SQL_ALTER_TABLE("ALTER TABLE `{?_MYSQL_PREFIX?}_refsystem` ADD UNIQUE `userid_level` ( `userid`,`level` )", __FILE__, __LINE__);
'YOUR_PERSONAL_REFLINK' => "Ihr persönlicher Ref-Link zum Werben neuer Mitglieder lautet",
'YOUR_REFCLICKS' => "Klicks auf Ihren Referal-Link",
'CLICKS' => "Klicks",
- 'YOU_REFERRAL_ONE' => "Sie haben heute ein neues Mitglied für unseren {?mt_word?} geworben!\n\nHier sehen Sie genau, in welcher Ebene Sie ihn geworben haben:",
- 'YOU_THANX_REFERRAL' => "Sie werden nun auch weiterhin {?POINTS?} über diese geworbene Person erhalten.\n\nVielen Dank für Ihr Mitwerben! Wir wünschen Ihnen noch weiterhin viele neue Referals!\n\nMit freundlichen Grüßen,",
+ 'YOU_REFERAL_ONE' => "Sie haben heute ein neues Mitglied für unseren {?mt_word?} geworben!\n\nHier sehen Sie genau, in welcher Ebene Sie ihn geworben haben:",
+ 'YOU_THANX_REFERAL' => "Sie werden nun auch weiterhin {?POINTS?} über diese geworbene Person erhalten.\n\nVielen Dank für Ihr Mitwerben! Wir wünschen Ihnen noch weiterhin viele neue Referals!\n\nMit freundlichen Grüßen,",
'POINTS_REF_REGISTER' => "Referal-Pauschale und prozentual vom Anmeldebonus.",
'NO_REFLEVEL_LEFT' => "Keine Referal-Ebenen mehr verfügbar! Bitte melden Sie sich bei uns.",
'ENGINE' => "{?mt_word?}-Engine",
'MAILS_SENT' => "Mails versendet",
'HAS_JOINED' => "Beigetreten am",
'TOTAL_POINTS' => "{?POINTS?} gesamt",
- 'TOTAL_REFERRALS' => "Referals gesamt",
+ 'TOTAL_REFERALS' => "Referals gesamt",
'ADMIN_MEMBER_FUNCTIONS' => "Administrative Funktionen",
'ADMIN_DEL_USER' => "Löschen",
'ADMIN_LOCK_USER' => "Sperren",
'GUEST_CONFIRM_SUBJ' => "Bitte Ihre Email-Adresse bestätigen.",
'MEMBER_ORDER_ACCEPTED' => "Ihre Mailbuchung wurde freigeschaltet",
'MEMBER_ORDER_REJECTED' => "Ihre Mailbuchung wurde abgelehnt",
- 'THANX_REFERRAL_ONE' => "Vielen Dank für die Referal-Werbung.",
+ 'THANX_REFERAL_ONE' => "Vielen Dank für die Referal-Werbung.",
'ADMIN_SEND_MAIL' => "Bonusmail versenden",
'ADMIN_BONUS_SEND' => "Bonusmail wurde in den Sende-Pool eingefügt.",
'ENTER_POINTS' => "Vergütung",
'PAYMENT_ID' => "Vergütungs-Id",
'CHANGE_PAY' => "Ändern",
'REMOVE_PAY' => "Löschen",
- 'REFERRALS' => "Referals",
+ 'REFERALS' => "Referals",
'POINTS_SUM' => "Gesamtsumme",
'NEW_VERSION_AVAILABLE' => "Neue Version verfügbar.",
'YOUR_VERSION_IS' => "Installierte Version",
'ADMIN_ENTER_ALTERNATE_TEXT' => "Alternativen Text",
'ADMIN_SELECT_BANNER_ACTIVE' => "Ist der Banner aktiv?",
'ADMIN_SUBMIT_BANNER' => "Banner hinzufügen",
- 'ADMIN_LIST_REFERRALS_1' => "Referal-Übersicht des Mitgliedes ",
- 'ADMIN_LIST_REFERRALS_2' => " in allen Ebenen:",
- 'ADMIN_LIST_REFERRALS_LEVEL_1' => "Referals in Ebene ",
- 'ADMIN_LIST_REFERRALS_LEVEL_2' => ":",
- 'ADMIN_LIST_REFERRALS_NOTE' => "<strong>Änderung:</strong> Klicken Sie die Mitglieder-Id an und gelangen Sie zum Mitgliederprofil. Klicken Sie Anzahl Referals an, werden die Referals des jeweiligen Mitgliedes aufgelistet.",
+ 'ADMIN_LIST_REFERALS_1' => "Referal-Übersicht des Mitgliedes ",
+ 'ADMIN_LIST_REFERALS_2' => " in allen Ebenen:",
+ 'ADMIN_LIST_REFERALS_LEVEL_1' => "Referals in Ebene ",
+ 'ADMIN_LIST_REFERALS_LEVEL_2' => ":",
+ 'ADMIN_LIST_REFERALS_NOTE' => "<strong>Änderung:</strong> Klicken Sie die Mitglieder-Id an und gelangen Sie zum Mitgliederprofil. Klicken Sie Anzahl Referals an, werden die Referals des jeweiligen Mitgliedes aufgelistet.",
'ADMIN_NORMAL_MAIL_ALREADY_DELETED' => "Mitglieder-Mail bereits gelöscht.",
'INITIAL_RELEASE' => "Erste Alpha-Version",
'NO_UPDATE_NOTES' => "Keine Update-Hinweise gefunden.",
// Special user lists (what=list_user)
'ADMIN_LIST_STATUS_LOCKED_ACCOUNTS' => "Alle gesperrten Mitglieder-Accounts auflisten",
'ADMIN_LIST_STATUS_CONFIRMED_ACCOUNTS' => "Alle bestätigten Mitglieder-Accounts auflisten",
- 'ADMIN_LIST_MODE_NOREFS_ACCOUNTS' => "Alle Mitglieder-Accounts ohne Referrals auflisten",
+ 'ADMIN_LIST_MODE_NOREFS_ACCOUNTS' => "Alle Mitglieder-Accounts ohne Referals auflisten",
// Admin task lines
'ADMIN_TASK_IS_MEMBER_SUPPORT' => "Support-Anfrage eines Mitgliedes",
'ADMIN_DOUBLER_DISPLAY_NEW' => "Anzahl ersten X neuen Einträge",
'ADMIN_DOUBLER_DISPLAY_PAY' => "Anzahl ersten X vor Auszahlung stehender Verdoppelungen",
'ADMIN_DOUBLER_DISPLAY_OLD' => "Anzahl ersten X bereits ausgezahlter Verdoppelungen",
- 'ADMIN_DOUBLER_REFERRAL' => "Prozentuale Referal-Vergütung",
+ 'ADMIN_DOUBLER_REFERAL' => "Prozentuale Referal-Vergütung",
'ADMIN_DOUBLER_MINIMUM' => "Minimum {?POINTS?} die verdoppelt werden sollen",
'ADMIN_DOUBLER_MAXIMUM' => "Maximum {?POINTS?} die verdoppelt werden sollen",
'ADMIN_DOUBLER_LEFT' => "Auf dem Mitgliedsaccount nach Verdoppelung Minimum-{?POINTS?}-Guthaben",
'DOUBLER_EXAMPLE_2' => "Auszahlung:",
'DOUBLER_EXAMPLE_3' => ", sobald Sie an der Reihe sind, ohne(*) ein Risiko einzugehen.",
'DOUBLER_FULL_PAYOUT' => "100% Auszahlung",
- 'DOUBLER_REFERRAL_1' => "Refverdienst: Es gibt",
- 'DOUBLER_REFERRAL_2' => "Refverdienst. Wenn Sie {?POINTS?} auf dem Refkonto durch Werbung erwirtschaftet haben,",
- 'DOUBLER_REFERRAL_3' => "(Wichtig! Maximal Verdoppelung darf nicht überschritten werden)",
- 'DOUBLER_REFERRAL_4' => "werden diese bei Ihrer nächsten Verdoppelung aufgeschlagen.",
- 'DOUBLER_REFERRAL_5' => "Beispiel: Sie haben",
- 'DOUBLER_REFERRAL_6' => "Refverdienst und verdoppeln",
- 'DOUBLER_REFERRAL_7' => ", Sie bekommen - sobald Sie an der Reihe sind -",
- 'DOUBLER_REFERRAL_8' => "zurück.",
+ 'DOUBLER_REFERAL_1' => "Refverdienst: Es gibt",
+ 'DOUBLER_REFERAL_2' => "Refverdienst. Wenn Sie {?POINTS?} auf dem Refkonto durch Werbung erwirtschaftet haben,",
+ 'DOUBLER_REFERAL_3' => "(Wichtig! Maximal Verdoppelung darf nicht überschritten werden)",
+ 'DOUBLER_REFERAL_4' => "werden diese bei Ihrer nächsten Verdoppelung aufgeschlagen.",
+ 'DOUBLER_REFERAL_5' => "Beispiel: Sie haben",
+ 'DOUBLER_REFERAL_6' => "Refverdienst und verdoppeln",
+ 'DOUBLER_REFERAL_7' => ", Sie bekommen - sobald Sie an der Reihe sind -",
+ 'DOUBLER_REFERAL_8' => "zurück.",
'DOUBLER_TIMEOUT_1' => "Es werden Einträge nicht älter als",
'DOUBLER_TIMEOUT_2' => "angezeigt.",
- 'DOUBLER_REFERRAL_LINK' => "Den Reflink erfahren Sie nach jeder Verdoppelung.",
+ 'DOUBLER_REFERAL_LINK' => "Den Reflink erfahren Sie nach jeder Verdoppelung.",
'DOUBLER_NOT_YET_REGISTERED' => "Noch nicht angemeldet?",
'DOUBLER_REGISTER_NOW' => "Weiter zur Anmeldung.",
'DOUBLER_YOUR_ADVERTISING_HERE' => "Hier könnte auch Ihre Werbung stehen:",
'ADMIN_SPONSOR_ACTIONS' => "Aktionen am Sponsorenaccount",
'SPONSOR_ID' => "Sponsor-Id",
'SPONSOR_STATUS' => "Sponsor-Status",
- 'SPONSOR_REFERRALS' => "Sponsoren geworben",
+ 'SPONSOR_REFERALS' => "Sponsoren geworben",
'ADMIN_SPONSOR_INVALID_MODE' => "Ungütiger Modus <span class=\"data\">%s</span> angegeben.",
'ADMIN_SPONSOR_MODUS_TPL_404' => "Modus-Template <span class=\"data\">%s</span> nicht gefunden.",
'ADMIN_ADD_POINTS_TO_SPONSOR' => "{?POINTS?} gutschreiben",
'SPONSOR_PAY_ENTRIES_REMOVED' => "Buchungspakete gelöscht.",
'SPONSOR_PAYMENT_LIST_IS_EMPTY' => "Noch keine Buchungspakete eingerichtet.",
'ADMIN_SPONSOR_UNKNOWN_STATUS' => "Unbekannter Status <span class=\"data\">%s</span> wurde bei der Anmeldung zurückgeliefert.",
- 'SPONSOR_REFERRAL' => "Sponsoren-Referal",
+ 'SPONSOR_REFERAL' => "Sponsoren-Referal",
'SPONSOR_REFID_WAS' => "Sie wurden vom Sponsor geworben",
'SPONSOR_ACCOUNT_IS_PENDING' => "EMail-Adresse bestätigt! Sie haben soeben eine EMail mit weiteren Anweisungen erhalten.",
// Is the data there?
if (fetchUserData($content['refid'])) {
// Check for referals
- $refs_cnt = countSumTotalData(getUserData('userid'), 'refsystem', 'counter');
+ $refs_cnt = countSumTotalData(getUserData('userid'), 'user_refs', 'id', 'userid', true);
// Prepare data for the template
$content = array(
$content['locked'] = translateComma(countSumTotalData($content['userid'], 'user_points', 'locked_points'));
$content['lock_timestamp'] = generateDateTime($content['lock_timestamp'], 2);
$content['status'] = translateUserStatus($content['status']);
- $content['refs'] = countSumTotalData($content['userid'], 'refsystem', 'counter');
+ $content['refs'] = countSumTotalData($content['userid'], 'user_refs', 'id', 'userid', true);
// If we have at least one referal, make it clickable to referal list
if ($content['refs'] > 0) $content['refs'] = $base . '&what=list_refs&userid=' . $content['userid'] . '">' . $content['refs'] . '</a>]';
FROM `{?_MYSQL_PREFIX?}_sponsor_data`
WHERE `id`='%s' LIMIT 1",
array(bigintval($content['refid'])), __FILE__, __LINE__);
- $REFERRAL = SQL_FETCHARRAY($result);
+ $REFERAL = SQL_FETCHARRAY($result);
// Send warnings out?
- if ($REFERRAL['receive_warnings'] == 'Y') {
+ if ($REFERAL['receive_warnings'] == 'Y') {
// Translate some data
- $REFERRAL['points'] = translateComma($REFERRAL['points']);
- $REFERRAL['ref_points'] = translateComma(getConfig('sponsor_ref_points'));
- $REFERRAL['gender'] = translateGender($REFERRAL['gender']);
+ $REFERAL['points'] = translateComma($REFERAL['points']);
+ $REFERAL['ref_points'] = translateComma(getConfig('sponsor_ref_points'));
+ $REFERAL['gender'] = translateGender($REFERAL['gender']);
// Send notification to referal
- $REF_MSG = loadEmailTemplate('sponsor_ref_notify', $REFERRAL);
- sendEmail($REFERRAL['email'], getMessage('SPONSOR_REF_NOTIFY_SUBJ'), $REF_MSG);
+ $REF_MSG = loadEmailTemplate('sponsor_ref_notify', $REFERAL);
+ sendEmail($REFERAL['email'], getMessage('SPONSOR_REF_NOTIFY_SUBJ'), $REF_MSG);
}
// Free memory
$userid = 0;
// Search for an unconfirmed or confirmed account
- $result = SQL_QUERY_ESC("SELECT `userid`, `email`, `refid` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `user_hash`='%s' AND (`status`='UNCONFIRMED' OR `status`='CONFIRMED') LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `userid`, `email`, `refid`,`gender` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `user_hash`='%s' AND (`status`='UNCONFIRMED' OR `status`='CONFIRMED') LIMIT 1",
array(getRequestElement('hash')), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Ok, he want's to confirm now so we load some data
- list($userid, $email, $rid) = SQL_FETCHROW($result);
+ list($userid, $email, $rid, $gender) = SQL_FETCHROW($result);
+
+ // Fetch user data
+ if (!fetchUserData($userid)) {
+ // Not found, should not happen
+ debug_report_bug('User account ' . $userid . ' not found.');
+ } // END - if
+
+ // Load all data and add points
+ $content = getUserDataArray();
+ $content['gender'] = translateGender($content['gender']);
+ $content['points'] = getConfig('points_register');
// Unlock his account (but only when it is on UNCONFIRMED!)
SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `status`='CONFIRMED', ref_payout={?ref_payout?}, `user_hash`=NULL WHERE `user_hash`='%s' AND `status`='UNCONFIRMED' LIMIT 1",
array(getRequestElement('hash')), __FILE__, __LINE__);
if (SQL_AFFECTEDROWS() == 1) {
- $message = loadEmailTemplate('confirm-member', array('points' => getConfig('points_register')), bigintval($userid));
+ // Send email if updated
+ $message = loadEmailTemplate('confirm-member', $content, bigintval($userid));
// And send him right away the confirmation mail
sendEmail($email, getMessage('GUEST_THANX_CONFIRM'), $message);
}
// Load template
- loadTemplate('guest_confirm_table', false, $content);
+ loadTemplate('admin_settings_saved', false, $content['message']);
} elseif ((isFormSent()) && (isPostRequestElementSet('email'))) {
// Confirmation link requested 0 1 2
if (fetchUserData(postRequestElement('email'), 'email')) {
}
// Return value
+ //* DEBUG: */ print 'ret='.$ret.'<br />';
return $ret;
}
// Getter fro ref level percents
// Load email template
$message = loadEmailTemplate('confirm-referal', $content, bigintval($userid));
- sendEmail(getUserData('email'), THANX_REFERRAL_ONE, $message);
+ sendEmail(getUserData('email'), THANX_REFERAL_ONE, $message);
} elseif (($sendNotify) && (getUserData('refid') == 0) && ($locked === false) && ($add_mode == 'direct')) {
// Prepare content
$content = array(
if (($ref > 0) && ($ref != $userid)) {
// Move to next referal level and count his counter one up!
//* DEBUG: */ print(__FUNCTION__."(<font color=\"#0000aa\">".__LINE__."</font>):ref={$ref} - ADVANCE!<br />");
- $GLOBALS['cache_array']['ref_level'][$userid]++; updateReferalCounter($ref);
- } elseif ((($ref == $userid) || ($ref == 0)) && (getExtensionVersion('cache') >= '0.1.2')) {
+ $GLOBALS['cache_array']['ref_level'][$userid]++;
+ updateReferalCounter($ref);
+ } elseif ((($ref == $userid) || ($ref == 0)) && (isExtensionInstalledAndNewer('cache', '0.1.2'))) {
// Remove cache here
//* DEBUG: */ print(__FUNCTION__."(<font color=\"#0000aa\">".__LINE__."</font>):ref={$ref} - CACHE!<br />");
rebuildCacheFile('refsystem', 'refsystem');
// Geter for whole user data array
function getUserDataArray () {
+ // User id should not be zero
+ if (getCurrentUserId() == 0) debug_report_bug('User id is zero.');
+
// Get the whole array
- return $GLOBALS['user_data'];
+ return $GLOBALS['user_data'][getCurrentUserId()];
}
// Checks if the user data is valid, this may indicate that the user has logged
</tr>
<tr>
<td align="right" width="300" height="20">
- {--ADMIN_DOUBLER_REFERRAL--}:
+ {--ADMIN_DOUBLER_REFERAL--}:
</td>
<td class="seperator" width="5"> </td>
<td width="195" style="padding-left: 5px">
<table border="0" cellspacing="0" cellpadding="0" width="99%" class="admin_table dashed">
<tr>
<td colspan="6" class="admin_title" height="30">
- <strong>{--ADMIN_LIST_REFERRALS_1--}<u>$content[userid]</u>{--ADMIN_LIST_REFERRALS_2--}</strong>
+ <strong>{--ADMIN_LIST_REFERALS_1--}<u>$content[userid]</u>{--ADMIN_LIST_REFERALS_2--}</strong>
</td>
</tr>
<tr>
$content[rows]
<tr>
<td colspan="6" class="admin_footer" style="padding-top: 7px; padding-bottom: 7px">
- <div class="admin_note">{--ADMIN_LIST_REFERRALS_NOTE--}</div>
+ <div class="admin_note">{--ADMIN_LIST_REFERALS_NOTE--}</div>
</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="99%" class="admin_table dashed">
<tr>
<td class="admin_title bottom2" height="30">
- <strong>{--ADMIN_LIST_REFERRALS_1--}<u>$content[userid]</u>{--ADMIN_LIST_REFERRALS_2--}</strong>
+ <strong>{--ADMIN_LIST_REFERALS_1--}<u>$content[userid]</u>{--ADMIN_LIST_REFERALS_2--}</strong>
</td>
</tr>
<tr><td class="seperator" height="6"> </td></tr>
<tr><td class="seperator bottom2" height="1"> </td></tr>
<tr>
<td class="admin_footer" style="padding-top: 7px; padding-bottom: 7px">
- <span class="admin_note">{--ADMIN_LIST_REFERRALS_NOTE--}</span>
+ <span class="admin_note">{--ADMIN_LIST_REFERALS_NOTE--}</span>
</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="99%" class="admin_table dashed">
<tr>
<td colspan="6" class="admin_title" height="30" align="center">
- <strong>{--ADMIN_LIST_REFERRALS_LEVEL_1--}<u>$content[level]</u>{--ADMIN_LIST_REFERRALS_LEVEL_2--}</strong><br />
+ <strong>{--ADMIN_LIST_REFERALS_LEVEL_1--}<u>$content[level]</u>{--ADMIN_LIST_REFERALS_LEVEL_2--}</strong><br />
$content[info]
</td>
</tr>
<td align="center" class="bottom2">$content[refid]</td>
</tr>
<tr>
- <td align="right" class="bottom2 right2">{--SPONSOR_REFERRALS--}: </td>
+ <td align="right" class="bottom2 right2">{--SPONSOR_REFERALS--}: </td>
<td align="center" class="bottom2">[ <a href="{?URL?}/modules.php?module=admin&what=list_sponsor&rid=$content[id]"><strong>$content[ref_count]</strong></a> ]</td>
</tr>
<tr>
<td align="center" class="right2 switch_sw$content[sw]"><strong>{--MAILS_SENT--}:</strong></td>
<td align="center" class="right2 switch_sw$content[sw]"><strong>{--CLICK_RATE--}:</strong></td>
<td align="center" class="right2 switch_sw$content[sw]"><strong>{--POINTS_LOCKED--}:</strong></td>
- <td align="center" class="switch_sw$content[sw]"><strong>{--TOTAL_REFERRALS--}:</strong></td>
+ <td align="center" class="switch_sw$content[sw]"><strong>{--TOTAL_REFERALS--}:</strong></td>
</tr>
<tr>
<td class="switch_sw$content[sw] seperator bottom2" width="5"> </td>
<td align="center" class="top right">{--TOTAL_POINTS--}:<br />
<strong>$content[total]</strong>
</td>
- <td align="center" class="top right">{--TOTAL_REFERRALS--}:<br />
+ <td align="center" class="top right">{--TOTAL_REFERALS--}:<br />
<strong>$content[refs]</strong>
</td>
<td align="center" class="top right">{--TOTAL_CATS--}:<br />
<br />
<div class="big">{--DOUBLER_FULL_PAYOUT--}</div><br />
<br />
- {--DOUBLER_REFERRAL_1--} <strong>$content[ref]%</strong>
- {--DOUBLER_REFERRAL_2--} {--DOUBLER_REFERRAL_3--}
- {--DOUBLER_REFERRAL_4--} {--DOUBLER_REFERRAL_5--} <strong>100
- {?POINTS?}</strong> {--DOUBLER_REFERRAL_6--} <strong>100 {?POINTS?}</strong>
- {--DOUBLER_REFERRAL_8--} <strong>300 {?POINTS?}</strong>
- {--DOUBLER_REFERRAL_8--} {--DOUBLER_REFERRAL_LINK--}<br />
+ {--DOUBLER_REFERAL_1--} <strong>$content[ref]%</strong>
+ {--DOUBLER_REFERAL_2--} {--DOUBLER_REFERAL_3--}
+ {--DOUBLER_REFERAL_4--} {--DOUBLER_REFERAL_5--} <strong>100
+ {?POINTS?}</strong> {--DOUBLER_REFERAL_6--} <strong>100 {?POINTS?}</strong>
+ {--DOUBLER_REFERAL_8--} <strong>300 {?POINTS?}</strong>
+ {--DOUBLER_REFERAL_8--} {--DOUBLER_REFERAL_LINK--}<br />
$content[message]<br />
{--DOUBLER_NOT_YET_REGISTERED--} <a
href="{?URL?}/ref.php?refid=$content[refid]">{--DOUBLER_REGISTER_NOW--}</a><br />
<li><strong>{--DOUBLER_FULL_PAYOUT--}</strong></li>
<li>{--DOUBLER_POINTS_1--} <strong>$content[charge]%</strong> {--DOUBLER_POINTS_2--}</li>
<li>{--DOUBLER_EXAMPLE_1--} <strong>500 {?POINTS?}</strong> »» {--DOUBLER_EXAMPLE_2--} <strong>1000 {?POINTS?}</strong>{--DOUBLER_EXAMPLE_3--}</li>
- <li>{--DOUBLER_REFERRAL_1--} <strong>$content[ref]%</strong> {--DOUBLER_REFERRAL_2--} {--DOUBLER_REFERRAL_3--} {--DOUBLER_REFERRAL_4--}
- <li>{--DOUBLER_REFERRAL_5--} <strong>100 {?POINTS?}</strong> {--DOUBLER_REFERRAL_6--} <strong>100 {?POINTS?}</strong> {--DOUBLER_REFERRAL_8--} <strong>300 {?POINTS?}</strong> {--DOUBLER_REFERRAL_8--}</li>
- <li>{--DOUBLER_REFERRAL_LINK--}</li>
+ <li>{--DOUBLER_REFERAL_1--} <strong>$content[ref]%</strong> {--DOUBLER_REFERAL_2--} {--DOUBLER_REFERAL_3--} {--DOUBLER_REFERAL_4--}
+ <li>{--DOUBLER_REFERAL_5--} <strong>100 {?POINTS?}</strong> {--DOUBLER_REFERAL_6--} <strong>100 {?POINTS?}</strong> {--DOUBLER_REFERAL_8--} <strong>300 {?POINTS?}</strong> {--DOUBLER_REFERAL_8--}</li>
+ <li>{--DOUBLER_REFERAL_LINK--}</li>
<li>{--DOUBLER_TIMEOUT_1--} <strong>$content[timeout_mark]</strong> {--DOUBLER_TIMEOUT_2--}</li>
<li>{--DOUBLER_HAVE_FUN--}</li>
<li><strong><a href="{?URL?}/doubler.php">{--DOUBLER_WANNA_TRY--}</a></strong></li>
<tr>
<td class="guest_title2 bottom2" width="10" height="30"> </td>
<td class="guest_title2 bottom2" colspan="3" align="center">
- <strong>{--SPONSOR_REFERRAL--}</strong>
+ <strong>{--SPONSOR_REFERAL--}</strong>
</td>
<td class="guest_title2 bottom2" width="10"> </td>
</tr>
<strong>{--_UID--}:</strong>
</td>
<td class="guest_title2 bottom2 right2">
- <strong>{--TOTAL_REFERRALS--}:</strong>
+ <strong>{--TOTAL_REFERALS--}:</strong>
</td>
<td class="guest_title2 bottom2 right2">
<strong>{--TOTAL_POINTS--}:</strong>
{--DOUBLER_POINTS_2--}</li>
<li>{--DOUBLER_EXAMPLE_1--} <strong>500 {?POINTS?}</strong>
»» {--DOUBLER_EXAMPLE_2--} <strong>1000 {?POINTS?}</strong>{--DOUBLER_EXAMPLE_3--}</li>
- <li>{--DOUBLER_REFERRAL_1--} <strong>$content[ref]%</strong>
- {--DOUBLER_REFERRAL_2--} {--DOUBLER_REFERRAL_3--}
- {--DOUBLER_REFERRAL_4--}
- <li>{--DOUBLER_REFERRAL_5--} <strong>100 {?POINTS?}</strong>
- {--DOUBLER_REFERRAL_6--} <strong>100 {?POINTS?}</strong>
- {--DOUBLER_REFERRAL_8--} <strong>300 {?POINTS?}</strong>
- {--DOUBLER_REFERRAL_8--}</li>
- <li>{--DOUBLER_REFERRAL_LINK--}</li>
+ <li>{--DOUBLER_REFERAL_1--} <strong>$content[ref]%</strong>
+ {--DOUBLER_REFERAL_2--} {--DOUBLER_REFERAL_3--}
+ {--DOUBLER_REFERAL_4--}
+ <li>{--DOUBLER_REFERAL_5--} <strong>100 {?POINTS?}</strong>
+ {--DOUBLER_REFERAL_6--} <strong>100 {?POINTS?}</strong>
+ {--DOUBLER_REFERAL_8--} <strong>300 {?POINTS?}</strong>
+ {--DOUBLER_REFERAL_8--}</li>
+ <li>{--DOUBLER_REFERAL_LINK--}</li>
<li>{--DOUBLER_TIMEOUT_1--} <strong>$content[timeout_mark]</strong>
{--DOUBLER_TIMEOUT_2--}</li>
<li>{--DOUBLER_HAVE_FUN--}</li>
<td width="2" class="member_header"></td>
<td align="center" width="228" class="member_header"><strong>{?POINTS?}</strong></td>
<td width="2" class="member_header"></td>
- <td align="center" width="100" class="member_header"><strong>{--REFERRALS--}</strong></td>
+ <td align="center" width="100" class="member_header"><strong>{--REFERALS--}</strong></td>
<td width="10" rowspan="$content[rowspan]"></td>
</tr>
$content[rows]