]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-stats.php
More HTML tags ported to XHTML (all lower-case), bug #33 resolved
[mailer.git] / inc / modules / guest / what-stats.php
index c7cfbdd3bcdc07663e46bd0263a96e70666fb56b..f4e5f589e63e8099f58e12a7cf71c049999755dc 100644 (file)
@@ -113,7 +113,7 @@ case "MEMBERS": // Statistics about your members
        $SW = 2; $r2 = " right2"; $l = "ll"; $r = "lr"; $OUT = "";
        foreach ($months as $month => $cnt)
        {
-               if ($SW == 2) $OUT .= "<TR>\n";
+               if ($SW == 2) $OUT .= "<tr>\n";
 
                // Prepare data for template
                $content = array(
@@ -134,7 +134,7 @@ case "MEMBERS": // Statistics about your members
                }
                 else
                {
-                       $OUT .= "</TR>\n";
+                       $OUT .= "</tr>\n";
                        $r2 = " right2";
                        $l = "ll"; $r = "lr";
                }
@@ -171,56 +171,56 @@ case "MODULES": // TOP10 module clicks
        if ((SQL_NUMROWS($guest_t10) > 0) || (SQL_NUMROWS($mem_t10) > 0))
        {
                // Output header
-               OUTPUT_HTML("<TABLE border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"guest_table dashed\" width=\"310\">
-<TR>
-  <TD align=\"center\" class=\"guest_stats_title bottom2\" colspan=\"2\"><STRONG>".GUEST_TOPTEN_STATS."</STRONG></TD>
-</TR>");
+               OUTPUT_HTML("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"guest_table dashed\" width=\"310\">
+<tr>
+  <td align=\"center\" class=\"guest_stats_title bottom2\" colspan=\"2\"><strong>".GUEST_TOPTEN_STATS."</strong></td>
+</tr>");
        }
 
        if (SQL_NUMROWS($guest_t10) > 0)
        {
                // Guest clicks
-               OUTPUT_HTML("<TR>
-  <TD align=\"center\" class=\"guest_title2 bottom2\" colspan=\"2\">".GUEST_TOP_GUEST_STATS."</TD>
-</TR>");
+               OUTPUT_HTML("<tr>
+  <td align=\"center\" class=\"guest_title2 bottom2\" colspan=\"2\">".GUEST_TOP_GUEST_STATS."</td>
+</tr>");
                $SW = 2;
                while (list($clicks, $title) = SQL_FETCHROW($guest_t10))
                {
-                       OUTPUT_HTML("<TR>
-  <TD class=\"switch_sw".$SW." bottom2 right2\" align=\"right\" width=\"250\">".$title."&nbsp;</TD>
-  <TD class=\"switch_sw".$SW." bottom2\" width=\"50\">&nbsp;".$clicks."</TD>
-</TR>");
+                       OUTPUT_HTML("<tr>
+  <td class=\"switch_sw".$SW." bottom2 right2\" align=\"right\" width=\"250\">".$title."&nbsp;</td>
+  <td class=\"switch_sw".$SW." bottom2\" width=\"50\">&nbsp;".$clicks."</td>
+</tr>");
                        $SW = 3 - $SW;
                }
        }
        if (SQL_NUMROWS($guest_t10) > 0)
        {
                // Guest clicks
-               OUTPUT_HTML("<TR>
-  <TD align=\"center\" class=\"guest_title2 bottom2\" colspan=\"2\">".GUEST_TOP_MEMBER_STATS."</TD>
-</TR>");
+               OUTPUT_HTML("<tr>
+  <td align=\"center\" class=\"guest_title2 bottom2\" colspan=\"2\">".GUEST_TOP_MEMBER_STATS."</td>
+</tr>");
                $SW = 2;
                while (list($clicks, $title) = SQL_FETCHROW($mem_t10))
                {
-                       OUTPUT_HTML("<TR>
-  <TD class=\"switch_sw".$SW." bottom2 right2\" align=\"right\" width=\"250\">".$title."&nbsp;</TD>
-  <TD class=\"switch_sw".$SW." bottom2\" width=\"50\">&nbsp;".$clicks."</TD>
-</TR>");
+                       OUTPUT_HTML("<tr>
+  <td class=\"switch_sw".$SW." bottom2 right2\" align=\"right\" width=\"250\">".$title."&nbsp;</td>
+  <td class=\"switch_sw".$SW." bottom2\" width=\"50\">&nbsp;".$clicks."</td>
+</tr>");
                        $SW = 3 - $SW;
                }
        }
        if ((SQL_NUMROWS($guest_t10) > 0) || (SQL_NUMROWS($mem_t10) > 0))
        {
                // Output footer
-               OUTPUT_HTML("<TR>
-  <TD align=\"center\" class=\"guest_stats_footer\" colspan=\"2\"><A href=\"".URL."/modules.php?module=index&amp;what=stats&amp;mode=".$lmode."\">".$ltitle."</A></TD>
-</TR>
-</TABLE>");
+               OUTPUT_HTML("<tr>
+  <td align=\"center\" class=\"guest_stats_footer\" colspan=\"2\"><a href=\"".URL."/modules.php?module=index&amp;what=stats&amp;mode=".$lmode."\">".$ltitle."</a></td>
+</tr>
+</table>");
        }
        break;
 
 case "INACTIVE": // Deactivated stats
-       LOAD_TEMPLATE("admin_settings_saved", false, "<STRONG>".GUEST_STATS_DEACTIVATED."</STRONG>");
+       LOAD_TEMPLATE("admin_settings_saved", false, "<strong>".GUEST_STATS_DEACTIVATED."</strong>");
        break;
 }