]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-transfer.php
More bugs resolved, thanks to profi-concept
[mailer.git] / inc / modules / member / what-transfer.php
index a615d259e71b7b59cce8e965aa1fa609f424e2c4..701f13352decd19728bb7373ca237e39527a3fb6 100644 (file)
@@ -319,23 +319,23 @@ case "list_out": // List only outgoing transactions
                $OUT = ""; $SW = 2;
                while (list($tid, $uid, $points, $reason, $stamp) = SQL_FETCHROW($result)) {
                        if ($type == "OUT") $points = "$points-";
-                       $OUT .= "<TR>
-  <TD class=\"transfer_row1 switch_sw".$SW." bottom2 right2\">
+                       $OUT .= "<tr>
+  <td class=\"transfer_row1 switch_sw".$SW." bottom2 right2\">
     <div class=\"transfer_row1\">".$tid."</div>
-  </TD>
-  <TD class=\"transfer_row2 switch_sw".$SW." bottom2 right2\">
+  </td>
+  <td class=\"transfer_row2 switch_sw".$SW." bottom2 right2\">
     <div class=\"transfer_row2\">".MAKE_DATETIME($stamp, "3")."</div>
-  </TD>
-  <TD class=\"transfer_row3 switch_sw".$SW." bottom2 right2\">
+  </td>
+  <td class=\"transfer_row3 switch_sw".$SW." bottom2 right2\">
     <div class=\"transfer_row3\">".$uid."</div>
-  </TD>
-  <TD class=\"transfer_row4 switch_sw".$SW." bottom2 right2\">
+  </td>
+  <td class=\"transfer_row4 switch_sw".$SW." bottom2 right2\">
     <div class=\"transfer_row4\">".$reason."</div>
-  </TD>
-  <TD class=\"transfer_row5 switch_sw".$SW." bottom2\">
+  </td>
+  <td class=\"transfer_row5 switch_sw".$SW." bottom2\">
     <div class=\"transfer_row5\">".$points."</div>
-  </TD>
-</TR>\n";
+  </td>
+</tr>\n";
                        $total += $points;
                        $SW = 3 - $SW;
                }
@@ -344,11 +344,11 @@ case "list_out": // List only outgoing transactions
                SQL_FREERESULT($result);
        } else {
                // Nothing for in or out
-               $OUT = "<TR>
-  <TD colspan=\"5\" align=\"center\" class=\"bottom2\" height=\"70\">
+               $OUT = "<tr>
+  <td colspan=\"5\" align=\"center\" class=\"bottom2\" height=\"70\">
     ".LOAD_TEMPLATE("admin_settings_saved", true, $NOTHING)."
-  </TD>
-</TR>";
+  </td>
+</tr>";
        }
 
        // ... and add them to a constant for the template
@@ -408,23 +408,23 @@ array($GLOBALS['userid'], getConfig('transfer_max')), __FILE__, __LINE__);
                $result = SQL_QUERY("SELECT party_uid, trans_id, points, reason, time_trans, trans_type FROM "._MYSQL_PREFIX."_transfers_tmp ORDER BY time_trans DESC", __FILE__, __LINE__);
                while(list($uid, $idx, $points, $reason, $stamp, $type) = SQL_FETCHROW($result)) {
                        if ($type == "OUT") $points = "-$points";
-                       $OUT .= "<TR>
-  <TD class=\"transfer_row1 switch_sw".$SW." bottom2 right2\">
+                       $OUT .= "<tr>
+  <td class=\"transfer_row1 switch_sw".$SW." bottom2 right2\">
     <div class=\"transfer_row1\">".$idx."</div>
-  </TD>
-  <TD class=\"transfer_row2 switch_sw".$SW." bottom2 right2\">
+  </td>
+  <td class=\"transfer_row2 switch_sw".$SW." bottom2 right2\">
     <div class=\"transfer_row2\">".MAKE_DATETIME($stamp, "3")."</div>
-  </TD>
-  <TD class=\"transfer_row3 switch_sw".$SW." bottom2 right2\">
+  </td>
+  <td class=\"transfer_row3 switch_sw".$SW." bottom2 right2\">
     <div class=\"transfer_row3\">".$uid."</div>
-  </TD>
-  <TD class=\"transfer_row4 switch_sw".$SW." bottom2 right2\">
+  </td>
+  <td class=\"transfer_row4 switch_sw".$SW." bottom2 right2\">
     <div class=\"transfer_row4\">".$reason."</div>
-  </TD>
-  <TD class=\"transfer_row5 switch_sw".$SW." bottom2\">
+  </td>
+  <td class=\"transfer_row5 switch_sw".$SW." bottom2\">
     <div class=\"transfer_row5\">".$points."</div>
-  </TD>
-</TR>\n";
+  </td>
+</tr>\n";
                        $total += $points;
                        $SW = 3 - $SW;
                }
@@ -433,11 +433,11 @@ array($GLOBALS['userid'], getConfig('transfer_max')), __FILE__, __LINE__);
                SQL_FREERESULT($result);
        } else {
                // Nothing for in and out
-               $OUT = "<TR>
-  <TD colspan=\"5\" align=\"center\" class=\"bottom2\" height=\"70\">
+               $OUT = "<tr>
+  <td colspan=\"5\" align=\"center\" class=\"bottom2\" height=\"70\">
     ".LOAD_TEMPLATE("admin_settings_saved", true, TRANSFER_NO_INOUT_TRANSFERS)."
-  </TD>
-</TR>";
+  </td>
+</tr>";
        }
 
        // ... and add them to a constant for the template