<?php
/************************************************************************
- * MXChange v0.2.1 Start: 10/07/2004 *
+ * Mailer v0.2.1-FINAL Start: 10/07/2004 *
* ================ Last change: 10/14/2004 *
* *
* -------------------------------------------------------------------- *
// We only need outgoing transfers
$result = SQL_QUERY("SELECT userid, to_userid, trans_id, points, reason, time_trans FROM `{?_MYSQL_PREFIX?}_user_transfers_out` ORDER BY trans_id", __FILE__, __LINE__);
-$total = 0;
+$total = '0';
if (SQL_NUMROWS($result) > 0) {
// Output rows
$OUT = ''; $SW = 2;
while ($content = SQL_FETCHARRAY($result)) {
// Prepare data for the row template
$content = array(
- 'sw' => $SW,
- 'trans_id' => $content['trans_id'],
- 'stamp' => generateDateTime($content['time_trans'], '3'),
- 'from_link' => generateUserProfileLink($content['userid']),
- 'to_link' => generateUserProfileLink($content['to_userid']),
- 'reason' => wordwrap($content['reason'], 15),
- 'points' => translateComma($content['points']),
+ 'sw' => $SW,
+ 'trans_id' => $content['trans_id'],
+ 'time_trans' => generateDateTime($content['time_trans'], 3),
+ 'from_link' => generateUserProfileLink($content['userid']),
+ 'to_link' => generateUserProfileLink($content['to_userid']),
+ 'reason' => wordwrap($content['reason'], 15),
+ 'points' => translateComma($content['points']),
);
// Load row template add points and switch color
} else {
// Nothing for in and out
$OUT = "<tr>
- <td colspan=\"6\" align=\"center\" class=\"bottom2\" height=\"70\">
+ <td colspan=\"6\" align=\"center\" class=\"bottom\">
".loadTemplate('admin_settings_saved', true, getMessage('TRANSFER_NO_INOUT_TRANSFERS'))."
</td>
</tr>";