]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/user_functions.php
More fixes on cache to reduce queries
[mailer.git] / inc / libs / user_functions.php
index 8faadd570efad6352c86ae9d8e9088db4f86fef9..533dded2603b1c82f61b5a379ed236919d74ac4f 100644 (file)
@@ -40,7 +40,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 
 function alpha($sortby, $colspan, $return=false)
 {
-       global $CONFIG;
+       global $_CONFIG;
        if (empty($_GET['offset'])) $_GET['offset'] = "0";
        $ADD = "&page=".$_GET['page']."&offset=".$_GET['offset'];
        if (!empty($_GET['mode'])) $ADD .= "&mode=".SQL_ESCAPE($_GET['mode']);
@@ -63,9 +63,9 @@ function alpha($sortby, $colspan, $return=false)
                        if (!empty($_GET['mode'])) $OUT .= "&mode=".SQL_ESCAPE($_GET['mode']);
                        $OUT .= "&amp;letter=".$ltr."&amp;sortby=".$sortby.$ADD."\">".$ltr."</A>";
                }
-               if ((($counter / $CONFIG['user_alpha']) == round($counter / $CONFIG['user_alpha'])) && ($counter > 0))
+               if ((($counter / $_CONFIG['user_alpha']) == round($counter / $_CONFIG['user_alpha'])) && ($counter > 0))
                {
-                       $OUT .= "&nbsp;]<BR>[&nbsp;";
+                       $OUT .= "&nbsp;]<br />[&nbsp;";
                }
                 elseif ( $counter != $num )
                {
@@ -84,7 +84,7 @@ function alpha($sortby, $colspan, $return=false)
         else
        {
                // Output generated code
-               OUTPUT_HTML ($OUT);
+               OUTPUT_HTML($OUT);
        }
 }
 //
@@ -130,7 +130,7 @@ function SortLinks($letter, $sortby, $colspan, $return=false)
         else
        {
                // Output code
-               OUTPUT_HTML ($OUT);
+               OUTPUT_HTML($OUT);
        }
 }
 //
@@ -195,7 +195,7 @@ function ADD_PAGENAV($PAGES, $offset, $show_form, $colspan,$return=false)
         else
        {
                // Output code
-               OUTPUT_HTML ($OUT);
+               OUTPUT_HTML($OUT);
        }
 }
 // Create email link to user's account