]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_bank_package.php
Floater added, admin_header.tpl added, EL code improved:
[mailer.git] / inc / modules / admin / what-list_bank_package.php
index 385b3c2d39b40abddfde41ca4723a85fe596c6f6..e6c0e1556ac8e119b42c5b81d026fa7d3a37e04e 100644 (file)
@@ -14,8 +14,6 @@
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
@@ -87,16 +85,12 @@ ORDER BY
        `id` ASC", __FILE__, __LINE__);
 
 // Is there at lease one package?
-if (SQL_NUMROWS($result) > 0) {
+if (!SQL_HASZERONUMS($result)) {
        // List all packages
-       $OUT = ''; $SW = 2;
+       $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {
-               // Add color switch
-               $content['sw']     = $SW;
-
                // Load row template
                $OUT .= loadTemplate('admin_list_bank_package_row', true, $content);
-               $SW = 3 - $SW;
        } // END - while
 
        // Load main template