]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-rallyes.php
More bugs resolved, thanks to profi-concept
[mailer.git] / inc / modules / member / what-rallyes.php
index 7d280f18259dc7e41999767f543b8e9e50f36feb..673401e1c496b6208697b0cd9cf8c7590de1cc41 100644 (file)
@@ -38,14 +38,14 @@ if (!defined('__SECURITY')) {
 } elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
 } elseif ((!EXT_IS_ACTIVE("rallye")) && (!IS_ADMIN())) {
-       ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "rallye");
+       addFatalMessage(EXTENSION_PROBLEM_EXT_INACTIVE, "rallye");
        return;
 }
 
 // Add description as navigation point
 ADD_DESCR("member", __FILE__);
 
-OUTPUT_HTML("<DIV align=\"center\">");
+OUTPUT_HTML("<div align=\"center\">");
 
 // Check for possible running rallyes
 $ADMIN = " AND d.is_active='Y'";
@@ -75,10 +75,10 @@ if (SQL_NUMROWS($result) == 1)
        }
         else
        {
-               define('__RALLYE_EXTRAS', "<A href=\"".URL."/modules.php?module=login&amp;what=reflinks\">".RALLYE_GET_REFLINK."</A>");
+               define('__RALLYE_EXTRAS', "<a href=\"".URL."/modules.php?module=login&amp;what=reflinks\">".RALLYE_GET_REFLINK."</a>");
        }
        // Set admin line (currently set to impressum, later to contact form)
-       define('__RALLYE_ADMIN', "<A href=\"".URL."/modules.php?module=index&amp;what=impressum&amp;admin=".$aid."\">".$login."</A>");
+       define('__RALLYE_ADMIN', "<a href=\"".URL."/modules.php?module=index&amp;what=impressum&amp;admin=".$aid."\">".$login."</a>");
 
        // Set title
        define('__RALLYE_TITLE', COMPILE_CODE($title));
@@ -123,7 +123,7 @@ if (SQL_NUMROWS($result) == 1)
        if ($expired)
        {
                define('__RALLYE_PRICES', RALLYE_LIST_WINNERS($id));
-               define('__RALLYE_TOP_USERS', "<DIV align=\"center\" class=\"big\">".__RALLYE_EXTRAS."</DIV>");
+               define('__RALLYE_TOP_USERS', "<div align=\"center\" class=\"big\">".__RALLYE_EXTRAS."</div>");
                define('__RALLYE_CAN_WIN_THIS', RALLYE_OUR_WINNERS_ARE);
        }
         else
@@ -142,6 +142,6 @@ if (SQL_NUMROWS($result) == 1)
        LOAD_TEMPLATE("guest_no_rallyes");
 }
 //
-OUTPUT_HTML("</DIV>");
+OUTPUT_HTML("</div>");
 //
 ?>