// Debug messages
if (isset($this->version[$this->name][$ext_name])) {
// Does it match?
- $GLOBALS[__METHOD__][$ext_name] = ((isset($this->version[$this->name][$ext_name])) && ($this->version[$this->name][$ext_name] == $ext_ver));
+ $GLOBALS[__METHOD__][$ext_name] = ($this->version[$this->name][$ext_name] == $ext_ver);
} elseif ($this->isCacheReadable()) {
// No cache version found
logDebugMessage(__METHOD__, __LINE__, 'Cache ' . $this->name . ' has missing version entry for extension ext-' . $ext_name . '! Purging cache...');
// Search for hostname in cache
$result = sqlQueryEscaped("SELECT `ip` FROM `{?_MYSQL_PREFIX?}_dns_cache` WHERE `hostname`='%s' LIMIT 1",
- array($hostname), __METHOD__, __LINE__);
+ array(
+ $hostname
+ ), __METHOD__, __LINE__
+ );
// Does an entry exist?
if (sqlNumRows($result) == 1) {
if (($matches[0] == $ip) && ($matches[1] >= 0) && ($matches[1] <= 255) && ($matches[2] >= 0) && ($matches[2] <= 255) && ($matches[3] >= 0) && ($matches[3] <= 255) && ($matches[4] > 0) && ($matches[4] < 255)) {
// We also cache IP addresses
sqlQueryEscaped("INSERT INTO `{?_MYSQL_PREFIX?}_dns_cache` (`ip`, `hostname`, `added`) VALUES ('%s', '%s', NOW())",
- array($ip, $hostname), __METHOD__, __LINE__);
+ array(
+ $ip,
+ $hostname
+ ), __METHOD__, __LINE__
+ );
// Set return value to $ip
//* DEBUG: */ logDebugMessage(__METHOD__, __LINE__, sprintf("IP detected, cache entry written: %s->%s", $hostname, $ip));
} else {
// Put entry in DB
sqlQueryEscaped("INSERT INTO `{?_MYSQL_PREFIX?}_dns_cache` (`ip`, `hostname`, `added`) VALUES ('%s', '%s', NOW())",
- array($ip, $hostname), __METHOD__, __LINE__);
+ array(
+ $ip,
+ $hostname
+ ), __METHOD__, __LINE__
+ );
// Set return value to $ip
$ret = $ip;
$filterData = runFilterChain('pre_category_mail_order_check', $filterData);
// Still all fine?
- if ($filterData['pre_okay']) === TRUE) {
+ if ($filterData['pre_okay'] === TRUE) {
// Check if the user want's to receive mails?
$result_ver = sqlQueryEscaped("SELECT `zip` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `userid`=%s" . $HTML . " AND `receive_mails` > 0 AND `status`='CONFIRMED' LIMIT 1",
array(bigintval($userid)), __FILE__, __LINE__);
<td align="center" class="header_column bottom">{--POINTS_ORDER--}</td>
<td align="center" class="header_column bottom">{--REFERRAL_COUNT--}</td>
</tr>
+
$content[rows]
+
<tr>
<td class="member_data bottom top">
<strong>{--MEMBER_PART_POINTS--}</strong>
</td>
<td class="member_data bottom top" align="center">-</td>
</tr>
+
<tr>
<td class="member_data bottom">{--POINTS_USED--}</td>
<td class="member_data bottom">-{%user,used_points,translateComma=$content[userid]%} {?POINTS?}</td>
<td class="member_data bottom">-</td>
<td class="member_data bottom" align="center">-</td>
</tr>
+
<tr>
<td class="member_data bottom">
<strong>{--MEMBER_TOTAL_POINTS--}</strong>
<strong>{%pipe,translateComma=$content[part_referrals]%}</strong>
</td>
</tr>
+
<tr>
<td class="member_data">{--LOCKED_POINTS--}</td>
<td class="member_data">{%pipe,translateComma=$content[part_locked]%} {?POINTS?}</td>
<td class="member_data">{%pipe,translateComma=$content[part_locked_order]%} {?POINTS?}</td>
<td class="member_data" align="center">-</td>
</tr>
+
$content[special_rows]
+
<tr>
<td colspan="4" class="header_column bottom top">
<div align="center"><strong>{--MEMBER_CLICK_STATISTICS--}</strong></div>
</td>
</tr>
+
<tr>
<td class="member_data">{--MEMBER_RECEIVED_MAILS--}:</td>
<td class="member_data" align="center">{%user,emails_received,translateComma%}</td>
<td class="member_data">-</td>
<td class="member_data" align="center">-</td>
</tr>
+
<tr>
<td class="member_data">{--MEMBER_UNCONFIRMED_LOCKED--}:</td>
<td class="member_data" align="center">{%user,ref_payout,translateComma%}</td>
<td class="member_data">-</td>
<td class="member_data" align="center">-</td>
</tr>
+
<tr>
<td class="member_data">{--MEMBER_CONFIRMED_MAILS--}:</td>
<td class="member_data" align="center">{%user,mails_confirmed,translateComma%}</td>
<td class="member_data">-</td>
<td class="member_data" align="center">-</td>
</tr>
+
<tr>
<td class="member_data">{--MEMBER_SENT_MAILS--}:</td>
<td class="member_data" align="center">{%user,emails_sent,translateComma%}</td>