$count += SQL_AFFECTEDROWS();
// Prepare data for the template
- $content['timestamp'] = generateDateTime($content['timestamp'], 0);
- $content['cnt'] = $count;
+ $content['timestamp'] = generateDateTime($content['timestamp'], '0');
+ $content['count'] = $count;
// Load template
loadTemplate('admin_delete_email_bonus', false, $content);
$count += SQL_AFFECTEDROWS();
// Prepare data for the template
- $content['timestamp'] = generateDateTime($content['timestamp'], 0);
- $content['cnt'] = $count;
+ $content['timestamp'] = generateDateTime($content['timestamp'], '0');
+ $content['count'] = $count;
// Load template
loadTemplate('admin_delete_email_notify', false, $content);
'last_online' => generateDateTime($content['last_online'], 2),
'win1' => $WIN1,
'win2' => $WIN2,
- 'cnt' => $count,
+ 'count' => $count,
);
// Load template and add it
$content['last_online'] = generateDateTime($content['last_online'], 2);
$content['win1'] = $WIN1;
$content['win2'] = $WIN2;
- $content['cnt'] = $count;
+ $content['count'] = $count;
// Load template and add it
$OUT .= loadTemplate('admin_list_bonus_rows', true, $content);
} // END - if
// Add more elements
- $content['cnt'] = $count;
- $content['sel'] = $selection;
+ $content['count'] = $count;
+ $content['sel'] = $selection;
// Load row template and count up
$OUT .= loadTemplate('admin_list_user_cats_row', true, $content);
'bold_l' => $bl ,
'bold_r' => $br ,
'refs' => $row['refs'],
- 'cnt' => $count,
+ 'count' => $count,
'opoints' => ($points - $row['curr_points']),
);
<a href="{%pipe,generateDerefererUrl=$content[url]%}" target="_blank">{--ADMIN_TEST_URL--}</a>
</td>
<td class="right" align="center">$content[timestamp]</td>
- <td align="center">$content[cnt]</td>
+ <td align="center">$content[count]</td>
</tr>
</table>
</div>
<td class="right" align="center">$content[subject]</td>
<td class="right" align="center"><a href="{%pipe,generateDerefererUrl=$content[url]%}" target="_blank">{--ADMIN_TEST_URL--}</a></td>
<td class="right" align="center">$content[timestamp]</td>
- <td align="center">$content[cnt]</td>
+ <td align="center">$content[count]</td>
</tr>
</table>
</div>
<tr>
- <td class="{%template,ColorSwitch%} bottom right" align="center">$content[win1]$content[cnt]$content[win2]</td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">$content[win1]{%pipe,generateUserProfileLink=$content[userid]%}$content[win2]</td>
- <td class="{%template,ColorSwitch%} bottom right">$content[win1]<a href="$content[email]">{%pipe,translateGender=$content[gender]%} $content[surname] $content[family]</a>$content[win2]</td>
- <td class="{%template,ColorSwitch%} bottom right">{%pipe,translateComma=$content[beg_points]%} {?POINTS?}</td>
- <td class="{%template,ColorSwitch%} bottom">$content[last_online]</td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[win1]$content[count]$content[win2]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[win1]{%pipe,generateUserProfileLink=$content[userid]%}$content[win2]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right">
+ $content[win1]<a href="$content[email]">{%pipe,translateGender=$content[gender]%} $content[surname] $content[family]</a>$content[win2]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right">
+ {%pipe,translateComma=$content[beg_points]%} {?POINTS?}
+ </td>
+ <td class="{%template,ColorSwitch%} bottom">
+ $content[last_online]
+ </td>
</tr>
<tr>
<td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[win1]$content[cnt]$content[win2]
+ $content[win1]$content[count]$content[win2]
</td>
<td class="{%template,ColorSwitch%} bottom right" align="center">
$content[win1]{%pipe,generateUserProfileLink=$content[userid]%}$content[win2]
$content[bold_l]$content[refs]$content[bold_r]
</td>
<td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[bold_l]$content[cnt]$content[bold_r]
+ $content[bold_l]$content[count]$content[bold_r]
</td>
<td align="center" class="{%template,ColorSwitch%} bottom">
$content[bold_l]{%pipe,translateComma=$content[opoints]%}$content[bold_r]
$content[bold_l]$content[old]$content[bold_r]
</td>
<td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[bold_l]$content[cnt]$content[bold_r]
+ $content[bold_l]$content[count]$content[bold_r]
</td>
<td align="center" class="{%template,ColorSwitch%} bottom">
$content[bold_l]$content[points]$content[bold_r]
<tr>
<td class="bottom {%template,ColorSwitch%}" width="30" align="right">
- $content[cnt].
+ $content[count].
</td>
<td class="bottom {%template,ColorSwitch%}">
$content[cat]