// Translate/add some data
$content['sw'] = $SW;
$content['i'] = $i;
- $content['num_rows'] = translateComma($content['num_rows']);
- $content['affected'] = translateComma($content['affected']);
- $content['sql_str'] = secureString($content['sql_str']);
$content['timing'] = translateComma($content['timing'] * 1000);
// Load row template
// List all entries
$OUT = ''; $SW = 2;
while ($row = SQL_FETCHARRAY($result)) {
- // Add/translate some data
+ // Add color switching
$row['sw'] = $SW;
// Add it to network if the type matches selected
// List all entries
$OUT = ''; $SW = 2;
while ($row = SQL_FETCHARRAY($result)) {
- // Add/translate some data
+ // Add color switching
$row['sw'] = $SW;
// Add it to network if the type matches selected
// List all entries
$OUT = ''; $SW = 2;
while ($row = SQL_FETCHARRAY($result)) {
- // Add/translate some data
+ // Add color switching
$row['sw'] = $SW;
// Add it to network if the type matches selected
// List all
$SW = 2; $OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
- // Add/translate entries
+ // Add color switching
$content['sw'] = $SW;
// Load row template
if (empty($content['target_bank'])) $content['target_bank'] = '---';
}
- // Remember data in array for the template
- $content = array(
- 'sw' => $SW,
- 'ulink' => generateUserProfileLink($content['userid']),
- 'ptype' => translateComma($content['payout_total']) . ' ' . $content['type'],
- 'account' => $content['target_account'],
- 'bank' => $content['target_bank'],
- 'tstamp' => generateDateTime($content['payout_timestamp'], 2),
- 'status' => $content['status'],
- );
+ // Add/Translate some data
+ $content['sw'] = $SW;
+ $content['payout_timestamp'] = generateDateTime($content['payout_timestamp'], 2);
// Add row and switch color
$OUT .= loadTemplate('admin_list_payouts_row', true, $content);
// Some security stuff...
if ((!defined('__SECURITY')) || (!isAdmin())) {
die();
-}
+} // END - if
// Add description as navigation point
addMenuDescription('admin', __FILE__);
// Check for entries
-$result = SQL_QUERY("SELECT id, userid, primera_account, primera_amount, primera_timestamp, primera_type, primera_api_message, primera_api_status FROM `{?_MYSQL_PREFIX?}_user_primera` ORDER BY primera_timestamp DESC, id DESC",
-__FILE__, __LINE__);
+$result = SQL_QUERY("SELECT
+ `id`, `userid`, `primera_account`, `primera_amount`, `primera_timestamp`, `primera_type`, `primera_api_message`, `primera_api_status`
+FROM
+ `{?_MYSQL_PREFIX?}_user_primera`
+ORDER BY
+ `primera_timestamp` DESC,
+ `id` DESC",
+ __FILE__, __LINE__);
// Are there some entries to display?
if (SQL_NUMROWS($result) > 0) {
while ($content = SQL_FETCHARRAY($result)) {
// Translate some data and add color
$content['sw'] = $SW;
- $content['link'] = generateUserProfileLink($content['userid']);
- $content['primera_amount'] = translateComma($content['primera_amount']);
$content['primera_timestamp'] = generateDateTime($content['primera_timestamp'], 2);
- $content['raw_type'] = strtolower($content['primera_type']);
- $content['primera_type'] = PRIMERA_TRANSFER_STATUS($content['primera_type']);
// Fix empty message and status
if (empty($content['primera_api_message'])) $content['primera_api_message'] = '---';
// Some security stuff...
if ((!defined('__SECURITY')) || (!isAdmin())) {
die();
-}
+} // END - if
// Add description as navigation point
addMenuDescription('admin', __FILE__);
// Check if an entry is empty
foreach ($content as $k => $v) {
if (empty($v)) $content[$k] = '---';
- }
-
- // Check for sponsor's orders (only count)
- $result_orders = SQL_QUERY_ESC("SELECT COUNT(id) FROM `{?_MYSQL_PREFIX?}_sponsor_orders` WHERE sponsorid='%s'",
- array(bigintval(getRequestParameter('id'))), __FILE__, __LINE__);
- list($orders) = SQL_FETCHROW($result_orders);
- SQL_FREERESULT($result_orders);
- if (empty($orders)) $orders = '0';
+ } // END - foreach
// Prepare all data for the template
// Sponsor's id
- $content['id'] = getRequestParameter('id');
- // Personal data
- $content['gender'] = translateGender($content['gender']);
+ $content['id'] = getRequestParameter('id');
// Contact data
$content['email_link'] = generateEmailLink($content['email'], 'sponsor_data');
- $content['url'] = generateDerefererUrl($content['url']);
// Timestamps
$content['created'] = generateDateTime($content['sponsor_created'], 2);
$content['last_online'] = generateDateTime($content['last_online'], 2);
$content['last_change'] = generateDateTime($content['last_change'], 2);
- // Sponsor points
- $content['points_amount'] = translateComma($content['points_amount']);
- $content['points_used'] = translateComma($content['points_used']);
- // Warning because low points
- $content['receive_warnings'] = translateYesNo($content['receive_warnings']);
- $content['warning_interval'] = createFancyTime($content['warning_interval']);
// Orders total
- $content['orders'] = $orders;
- // Other data
- $content['status'] = sponsorTranslateUserStatus($content['status']);
+ $content['orders'] = countSumTotalData(bigintval(getRequestParameter('id')), 'sponsor_orders', 'id', 'sponsorid', true);
// Load template
loadTemplate('admin_list_sponsor_details', false, $content);
$OUT = ''; $SW = 2;
while ($content = SQL_FETCHARRAY($result_main)) {
// Transfer data to array
- // @TODO Rewritings: surname->surname,family->family,ip->remote_addr in template
$content = array(
- 'id' => $content['id'],
- 'sw' => $SW,
- 'gender' => translateGender($content['gender']),
- 'surname' => $content['surname'],
- 'family' => $content['family'],
- 'email' => generateEmailLink($content['email'], 'sponsor_data'),
- 'status' => sponsorTranslateUserStatus($content['status']),
- 'created' => generateDateTime($content['sponsor_created'], 2),
- 'last_online' => generateDateTime($content['last_online'], 2),
- 'points' => translateComma($content['points_amount'] - $content['points_used']),
- 'ip' => $content['remote_addr'],
+ 'id' => $content['id'],
+ 'sw' => $SW,
+ 'gender' => $content['gender'],
+ 'surname' => $content['surname'],
+ 'family' => $content['family'],
+ 'email' => generateEmailLink($content['email'], 'sponsor_data'),
+ 'status' => $content['status'],
+ 'created' => generateDateTime($content['sponsor_created'], 2),
+ 'last_online' => generateDateTime($content['last_online'], 2),
+ 'points' => translateComma($content['points_amount'] - $content['points_used']),
+ 'remote_addr' => $content['remote_addr'],
);
// Load row template
$OUT = ''; $SW = 2;
while ($content = SQL_FETCHARRAY($result)) {
// "Translate" some data
- $content['actions_status'] = translateSurfbarUrlStatus($content['actions_status']);
$content['actions_action'] = getMessage(sprintf("MEMBER_SURFBAR_ACTION_%s_SUBMIT", $content['actions_action']));
// New status set?
// Prepare data for template
$content['admin_links'] = generateMemberAdminActionLinks($userid, $content['status']);
- $content['gender'] = translateGender($content['gender']);
$content['email_link'] = generateEmailLink($content['email'], 'user_data');
- $content['status'] = translateUserStatus($content['status']);
$content['last_online'] = generateDateTime($content['last_online'], 0);
- $content['used_points'] = translateComma($content['used_points']);
if ($content['emails_sent'] > 0) $content['emails_sent'] = $base . '&what=email_details&userid=' . $userid . '%}">' . translateComma($content['emails_sent']) . '</a>]';
$content['joined'] = generateDateTime($content['joined'], 0);
$content['last_update'] = generateDateTime($content['last_update'], 0);
$content['click_rate'] = translateComma($content['mails_confirmed'] / $content['emails_received'] * 100);
} // END - if
- // "Translate" more data
- $content['mails_confirmed'] = translateComma($content['mails_confirmed']);
- $content['emails_received'] = translateComma($content['emails_received']);
-
// Is the extension 'country' installed?
if (isExtensionActive('country')) {
// Then overwrite country information
// Some security stuff...
if ((!defined('__SECURITY')) || (!isAdmin())) {
die();
-}
+} // END - if
// Add description as navigation point
addMenuDescription('admin', __FILE__);
$visits += $content['total_visits'];
// "Translate" some data
- $content['stats_userid'] = generateUserProfileLink($content['stats_userid']);
- $content['total_visits'] = translateComma($content['total_visits']);
$content['last_surfed'] = generateDateTime($content['last_surfed'], 2);
$content['sw'] = $SW;
$OUT = ''; $SW = 2; $urlArray = '0'; $visits = '0';
while ($content = SQL_FETCHARRAY($result)) {
// Count totals
- $urlArray += $content['visited_urls'];
- $visits += $content['total_visits'];
+ $urlArray += $content['visited_urls'];
+ $visits += $content['total_visits'];
- // "Translate" some data
- // @TODO Can't all these translation blocks moved into templates? This code looks ugly.
- $content['stats_userid'] = generateUserProfileLink($content['stats_userid']);
- $content['visited_urls'] = translateComma($content['visited_urls']);
- $content['total_visits'] = translateComma($content['total_visits']);
+ // Add color switch
$content['sw'] = $SW;
// Load row template
// Free result
SQL_FREERESULT($result);
-//
+// [EOF]
?>
// Some security stuff...
if ((!defined('__SECURITY')) || (!isAdmin())) {
die();
-}
+} // END - if
// Add description as navigation point
addMenuDescription('admin', __FILE__);
);
// Load his personal data
- $result_main = SQL_QUERY_ESC("SELECT gender, surname, family, email, remote_addr, sponsor_created, points_amount, refid
-FROM `{?_MYSQL_PREFIX?}_sponsor_data`
-WHERE `status`='PENDING' AND id='%s' LIMIT 1",
+ $result_main = SQL_QUERY_ESC("SELECT
+ `gender`, `surname`, `family`, `email`, `remote_addr`, `sponsor_created`, `points_amount`, `refid`
+FROM
+ `{?_MYSQL_PREFIX?}_sponsor_data`
+WHERE
+ `status`='PENDING' AND
+ `id`=%s
+LIMIT 1",
array($content['id']), __FILE__, __LINE__);
if (SQL_NUMROWS($result_main) == 1) {
$content = SQL_FETCHARRAY($result_main);
// Check for open payments and close them
- $result = SQL_QUERY_ESC("SELECT so.admin_id, so.pay_count, so.pay_ordered, so.pay_status,
-sp.pay_name, sp.pay_rate, sp.pay_currency
-FROM `{?_MYSQL_PREFIX?}_sponsor_orders` AS so
-LEFT JOIN `{?_MYSQL_PREFIX?}_sponsor_paytypes` AS sp
-ON sp.id=so.payid
-WHERE so.sponsorid='%s'
-ORDER BY sp.pay_name",
- array($content['id']), __FILE__, __LINE__);
+ $result = SQL_QUERY_ESC("SELECT
+ so.admin_id, so.pay_count, so.pay_ordered, so.pay_status,
+ sp.pay_name, sp.pay_rate, sp.pay_currency
+FROM
+ `{?_MYSQL_PREFIX?}_sponsor_orders` AS so
+LEFT JOIN
+ `{?_MYSQL_PREFIX?}_sponsor_paytypes` AS sp
+ON
+ sp.id=so.payid
+WHERE
+ so.sponsorid='%s'
+ORDER BY
+ sp.pay_name ASC",
+ array($content['id']), __FILE__, __LINE__);
if (SQL_NUMROWS($result) > 0) {
// Payment does exist
while ($content2 = SQL_FETCHARRAY($result)) {
// Transfer data to array
$data = array(
- 'admin_id' => $content['email'],
- 'order' => ($content['pay_count'] * $content['pay_rate']) . ' ' . $content['pay_currency'],
- 'stamp' => generateDateTime($content['pay_ordered'], 2),
- 'pname' => $content['pay_name'],
+ 'admin_id' => $content['email'],
+ 'order' => ($content['pay_count'] * $content['pay_rate']) . ' ' . $content['pay_currency'],
+ 'stamp' => generateDateTime($content['pay_ordered'], 2),
+ 'pname' => $content['pay_name'],
);
// Load email template
SQL_FREERESULT($result_main);
// Unlock sponsor account
- SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_sponsor_data` SET `status`='CONFIRMED'
-WHERE `id`='%s' AND `status`='PENDING' LIMIT 1",
+ SQL_QUERY_ESC("UPDATE
+ `{?_MYSQL_PREFIX?}_sponsor_data`
+SET
+ `status`='CONFIRMED'
+WHERE
+ `id`=%s AND
+ `status`='PENDING'
+LIMIT 1",
array($content['id']), __FILE__, __LINE__);
// Update, if applyable, referal count and points
SET
`points_amount`=`points_amount`+{?sponsor_ref_points?}, `ref_count`=`ref_count`+1
WHERE
- `id`='%s'
+ `id`=%s
LIMIT 1",
array(bigintval($content['refid'])), __FILE__, __LINE__);
// Whas that update fine?
if (SQL_AFFECTEDROWS() == 1) {
// Load referal's data
- $result = SQL_QUERY_ESC("SELECT id, gender, surname, family, email,
-(points_amount - points_used) AS points, receive_warnings, ref_count AS refs
-FROM `{?_MYSQL_PREFIX?}_sponsor_data`
-WHERE `id`='%s' LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT
+ `id`, `gender`, `surname`, `family`, `email`,
+ (`points_amount` - `points_used`) AS points,
+ `receive_warnings`, `ref_count` AS refs
+FROM
+ `{?_MYSQL_PREFIX?}_sponsor_data`
+WHERE
+ `id`=%s
+LIMIT 1",
array(bigintval($content['refid'])), __FILE__, __LINE__);
$REFERAL = SQL_FETCHARRAY($result);
// Send warnings out?
if ($REFERAL['receive_warnings'] == 'Y') {
- // Translate some data
- $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', $REFERAL);
sendEmail($REFERAL['email'], getMessage('SPONSOR_REF_NOTIFY_SUBJ'), $REF_MSG);
- }
+ } // END - if
// Free memory
SQL_FREERESULT($result);
- }
- }
+ } // END - if
+ } // END - if
// Transfer data to array
- $content['gender'] = translateGender($content['gender']);
- $content['sponsor'] = $content['id'];
$content['points'] = translateComma($content['points_amount']);
// So let's send the email away
$message = loadEmailTemplate('sponsor_unlocked', $content);
sendEmail($content['email'], getMessage('SPONSOR_UNLOCKED_SUBJ'), $message);
- }
+ } // END - foreach
} else {
// Nothing selected
loadTemplate('admin_settings_saved', false, getMessage('ADMIN_SPONSOR_NONE_SELECTED_UNLOCK'));
}
-
- // Add seperator
- outputHtml('<br />');
-}
+} // END - if
// Begin listing of all pending sponsor accounts
$result = SQL_QUERY("SELECT
// Load row template and switch colors
$OUT .= loadTemplate('admin_unlock_sponsor_row', true, $content);
$SW = 3 - $SW;
- }
+ } // END - while
// Load template
loadTemplate('admin_unlock_sponsor', false, $OUT);
Ihre Sponsor-Id lautet: $content[id]
------------------------------
-Soeben haben uns einen weiteren Sponsoren gebracht! Dafür haben wir Ihrem Sponsor-Account einmalig $content[ref_points] {?POINTS?} gutgeschrieben.
+Soeben haben uns einen weiteren Sponsoren gebracht! Dafür haben wir Ihrem Sponsor-Account einmalig {%config,translateComma=sponsor_ref_points%} {?POINTS?} gutgeschrieben.
-Sie haben jetzt ein Guthaben von $content[points] {?POINTS?} und uns schon $content[refs] neue Sponsoren gebracht. Vielen Dank für Ihre Mitarbeit!
+Sie haben jetzt ein Guthaben von {%pipe,translateComma=$content[points]%} {?POINTS?} und uns schon $content[refs] neue Sponsoren gebracht.
+
+Vielen Dank für Ihre Mitarbeit!
Mit freundlichen Grüßen,
Ihr {?MAIN_TITLE?} Team
Hallo {%sponsor,gender,translateGender=$userid%} {%sponsor,surname=$userid%} {%sponsor,family=$userid%},
------------------------------
-Ihre Sponsor-Id lautet: $content[sponsor]
+Ihre Sponsor-Id lautet: $content[id]
------------------------------
-Wir haben soeben Ihr Sponsoren-Account freigegeben! Sie können sich nun mit der Sponsor-Id und Ihrem Passwort (welches hier nicht genannt werden kann) im Sponsorenbereich einloggen und Ihre $content[points] {?POINTS?} zum Buchen von Aktionen benutzen.
+Wir haben soeben Ihr Sponsoren-Account freigegeben! Sie können sich nun mit der Sponsor-Id und Ihrem Passwort (welches hier nicht genannt werden kann) im Sponsorenbereich einloggen und Ihre {%pipe,translateComma=$content[points]%} {?POINTS?} zum Buchen von Aktionen benutzen.
Hinweis:
------------------------------
<tr>
- <td align="center" class="switch_sw$content[sw] bottom right">$content[ulink]</td>
- <td align="center" class="switch_sw$content[sw] bottom right">$content[ptype]</td>
- <td align="center" class="switch_sw$content[sw] bottom right">$content[account]</td>
- <td align="center" class="switch_sw$content[sw] bottom right">$content[bank]</td>
- <td align="center" class="switch_sw$content[sw] bottom right">$content[tstamp]</td>
+ <td align="center" class="switch_sw$content[sw] bottom right">{%pipe,generateUserProfileLink=$content[userid]%}</td>
+ <td align="center" class="switch_sw$content[sw] bottom right">{%pipe,translateComma=$content[payout_total]%} $content[type]</td>
+ <td align="center" class="switch_sw$content[sw] bottom right">$content[target_account]</td>
+ <td align="center" class="switch_sw$content[sw] bottom right">$content[target_bank]</td>
+ <td align="center" class="switch_sw$content[sw] bottom right">$content[payout_timestamp]</td>
<td align="center" class="switch_sw$content[sw] bottom">$content[status]</td>
-</tr>
\ No newline at end of file
+</tr>
<tr>
<td class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right">$content[id]</td>
- <td class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right">$content[link]</td>
+ <td class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right">{%pipe,generateUserProfileLink=$content[userid]%}</td>
<td class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right">$content[primera_account]</td>
- <td class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right">$content[primera_amount]</td>
+ <td class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right">{%pipe,translateComma=$content[primera_amount]%}</td>
<td class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right">$content[primera_timestamp]</td>
- <td class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right" align="center">$content[primera_type]</td>
+ <td class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right" align="center">{%pipe,PRIMERA_TRANSFER_STATUS=$content[primera_type]%}</td>
<td class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right" align="center">$content[primera_api_message]</td>
<td class="switch_sw$content[sw] primera_type_$content[raw_type] bottom" align="center">$content[primera_api_status]</td>
</tr>
</tr>
<tr>
<td align="right" class="bottom right" height="25">{--SPONSOR_ID--}: </td>
- <td class="bottom">$content[id] [<strong><a href="{%url=modules.php?module=admin&what=lock_sponsor&id=$content[id]%}">$content[status]</a></strong>]</td>
+ <td class="bottom">$content[id] [<strong><a href="{%url=modules.php?module=admin&what=lock_sponsor&id=$content[id]%}">{%pipe,sponsorTranslateUserStatus=$content[status]%}</a></strong>]</td>
</tr>
<tr>
<td colspan="2" align="center" class="admin_title bottom">
</tr>
<tr>
<td align="right" class="bottom right">{--SURNAME_FAMILY--}:</td>
- <td class="bottom">$content[gender] $content[surname] $content[family]</td>
+ <td class="bottom">{%pipe,translateGender=$content[gender]%} $content[surname] $content[family]</td>
</tr>
<tr>
<td align="right" class="bottom right">{--SPONSOR_ENTER_STREET_NR1--}:</td>
</tr>
<tr>
<td align="right" class="bottom right">{--SPONSOR_ENTER_URL--}:</td>
- <td class="bottom">[<a href="$content[url]" target="_blank"><strong>{--ADMIN_TEST_URL--}</strong></a>]</td>
+ <td class="bottom">[<a href="{%pipe,generateDerefererUrl=$content[url]%}" target="_blank"><strong>{--ADMIN_TEST_URL--}</strong></a>]</td>
</tr>
<tr>
<td colspan="2" align="center" class="admin_title bottom">
</tr>
<tr>
<td align="right" class="bottom right">{--SPONSOR_RECEIVE_WARNINGS_SHORT--}:</td>
- <td align="center" class="bottom">$content[receive_warnings]</td>
+ <td align="center" class="bottom">{%pipe,translateYesNo=$content[receive_warnings]%}</td>
<tr>
<tr>
<td align="right" class="bottom right">{--SPONSOR_WARNING_INTERVAL_SHORT--}:</td>
- <td align="center" class="bottom">$content[warning_interval]</td>
+ <td align="center" class="bottom">{%pipe,createFancyTime=$content[warning_interval]%}</td>
<tr>
<tr>
<td align="right" class="bottom right">{--SPONSOR_POINTS_AMOUNT--}:</td>
- <td align="center" class="bottom">[<a href="{%url=modules.php?module=admin&what=edit_sponsor&id=$content[id]&mode=add_points%}" title="{--ADMIN_SPONSOR_ADD_POINTS_LINK_TITLE--}"><strong>$content[points_amount]</strong></a>]</td>
+ <td align="center" class="bottom">[<a href="{%url=modules.php?module=admin&what=edit_sponsor&id=$content[id]&mode=add_points%}" title="{--ADMIN_SPONSOR_ADD_POINTS_LINK_TITLE--}"><strong>{%pipe,translateComma=$content[points_amount]%}</strong></a>]</td>
</tr>
<tr>
<td align="right" class="bottom right">{--SPONSOR_POINTS_USED--}:</td>
- <td align="center" class="bottom">[<a href="{%url=modules.php?module=admin&what=edit_sponsor&id=$content[id]&mode=sub_points%}" title="{--ADMIN_SPONSOR_SUB_POINTS_LINK_TITLE--}"><strong>$content[points_used]</strong></a>]</td>
+ <td align="center" class="bottom">[<a href="{%url=modules.php?module=admin&what=edit_sponsor&id=$content[id]&mode=sub_points%}" title="{--ADMIN_SPONSOR_SUB_POINTS_LINK_TITLE--}"><strong>{%pipe,translateComma=$content[points_used]%}</strong></a>]</td>
</tr>
<tr>
<td colspan="2" align="center" class="admin_title bottom">
[<strong><a href="{%url=modules.php?module=admin&what=list_sponsor&id=$content[id]%}" title="{--ADMIN_SPONSOR_DETAILS_LINK_TITLE--}">$content[id]</a></strong>]
</td>
<td align="center" class="switch_sw$content[sw] bottom right" width="240" colspan="2">
- <a href="$content[email]">$content[gender] $content[surname] $content[family]</a>
+ <a href="$content[email]">{%pipe,translateGender=$content[gender]%} $content[surname] $content[family]</a>
</td>
<td align="center" class="switch_sw$content[sw] bottom" width="160">
[<strong><a href="{%url=modules.php?module=admin&what=edit_sponsor&id=$content[id]&mode=add_points%}" title="{--ADMIN_SPONSOR_ADD_POINTS_LINK_TITLE--}">$content[points]</a></strong>]
</tr>
<tr>
<td align="center" class="switch_sw$content[sw] bottom right" width="100">
- [<strong><a href="{%url=modules.php?module=admin&what=lock_sponsor&id=$content[id]%}">$content[status]</a></strong>]
+ [<strong><a href="{%url=modules.php?module=admin&what=lock_sponsor&id=$content[id]%}">{%pipe,sponsorTranslateUserStatus=$content[status]%}</a></strong>]
</td>
<td align="center" class="switch_sw$content[sw] bottom right" width="120">
$content[created]
$content[last_online]
</td>
<td align="center" class="switch_sw$content[sw] bottom" width="160">
- $content[ip]
+ $content[remote_addr]
</td>
</tr>
<input type="checkbox" class="admin_normal" title="{--ID_SELECT--} $content[actions_id]" name="id[$content[actions_id]]" value="1" />
</td>
<td align="center" class="bottom right switch_sw$content[sw]">
- $content[actions_status]
+ {%pipe,translateSurfbarUrlStatus=$content[actions_status]%}
</td>
<td align="center" class="bottom right switch_sw$content[sw]">
$content[actions_action]
<div id="sql_row_$content[i]" class="sql_row switch_sw$content[sw] bottom">
- SQL-Abfrage: <span class="sql_data">$content[sql_str]</span>
- (numRows=<span class="sql_data">$content[num_rows]</span>,affected=<span class="sql_data">$content[affected]</span>) |
+ SQL-Abfrage: <span class="sql_data">{%pipe,secureString=$content[sql_str]%}</span>
+ (numRows=<span class="sql_data">{%pipe,translateComma=$content[num_rows]%}</span>,affected=<span class="sql_data">{%pipe,translateComma=$content[affected]%}</span>) |
Script: <span class="sql_data">$content[file]</span> |
Zeile: <span class="sql_data">$content[line]</span> |
Zeit: <span class="sql_data">$content[timing]ms</span>
<tr>
- <td align="center" class="switch_$content[sw] bottom right">$content[stats_userid]</td>
- <td align="center" class="switch_$content[sw] bottom right">$content[visited_urls]</td>
- <td align="center" class="switch_$content[sw] bottom">$content[total_visits]</td>
+ <td align="center" class="switch_$content[sw] bottom right">{%pipe,generateUserProfileLink=$content[stats_userid]%}</td>
+ <td align="center" class="switch_$content[sw] bottom right">{%pipe,translateComma=$content[visited_urls]%}</td>
+ <td align="center" class="switch_$content[sw] bottom">{%pipe,translateComma=$content[total_visits]%}</td>
</tr>
<tr>
- <td align="center" class="switch_$content[sw] bottom right">[<strong>$content[url_userid]</strong>]</td>
- <td align="center" class="switch_$content[sw] bottom right">$content[total_visits]</td>
+ <td align="center" class="switch_$content[sw] bottom right">[<strong>{%pipe,generateUserProfileLink=$content[url_userid]%}</strong>]</td>
+ <td align="center" class="switch_$content[sw] bottom right">{%pipe,translateComma=$content[total_visits]%}</td>
<td align="center" class="switch_$content[sw] bottom">$content[last_surfed]</td>
</tr>
<tr>
<td align="center" width="25%" class="top right">
{--GENDER--}:<br />
- <strong>$content[gender]</strong>
+ <strong>{%pipe,translateGender=$content[gender]%}</strong>
</td>
<td align="center" width="25%" class="top right">
{--SURNAME--}:<br />
</td>
<td align="center" class="top right">
{--ACCOUNT_STATUS--}:<br />
- <strong>$content[status]</strong>
+ <strong>{%pipe,translateUserStatus=$content[status]%}</strong>
</td>
<td align="center" class="top right">
{--RECEIVE_MAILS--}:<br />
<tr>
<td align="center" class="top right">
{--USED_POINTS--}:<br />
- <strong>$content[used_points]</strong>
+ <strong>{%pipe,translateComma$content[used_points]%}</strong>
</td>
<td align="center" class="top right">
{--TOTAL_POINTS--}:<br />
</td>
<td align="center" class="top">
{--EMAILS_RECEIVED--}:<br />
- <strong>$content[emails_received]</strong>
+ <strong>{%pipe,translateComma=$content[emails_received]%}</strong>
</td>
</tr>
<tr>
<td align="center" class="top right">
{--MAILS_CONFIRMED--}:<br />
- <strong>$content[mails_confirmed]</strong>
+ <strong>{%pipe,translateComma=$content[mails_confirmed]%}</strong>
</td>
<td align="center" class="top right">
{--RAND_CONFIRMED--}:<br />