Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, November 12, 2026

Diff for Metafox/db.inc.php between version 1.16 and 1.17

version 1.16, 2006/03/29 09:38:31 version 1.17, 2006/05/19 07:11:16
Line 423  function ezin_get_article_list($section_
Line 423  function ezin_get_article_list($section_
                         $query .= ' AND sections.type != "hidden2" AND articles.status != "partly_showed"';                          $query .= ' AND sections.type != "hidden2" AND articles.status != "partly_showed"';
                 }                  }
         }          }
         $query .= ' ORDER BY';          $query .= ' ORDER BY articles.datetime '
         $query .= ' articles.datetime '.($ezin_cfg['order_articles_desc'] ? 'DESC' : 'ASC');                  .($ezin_cfg['order_articles_desc'] ? 'DESC' : 'ASC')
         $query .= ',articles.id '      .($ezin_cfg['order_articles_desc'] ? 'DESC' : 'ASC');                  .', articles.id DESC';
         if ($limit > 0) {          if ($limit > 0) {
                 $query .= ' LIMIT '.$limit;                  $query .= ' LIMIT '.$limit;
         }          }
Line 481  function ezin_get_article_list_counts($s
Line 481  function ezin_get_article_list_counts($s
         }          }
         $query .= ' ORDER BY articles.datetime '          $query .= ' ORDER BY articles.datetime '
                 .($ezin_cfg['order_articles_desc'] ? 'DESC' : 'ASC')                  .($ezin_cfg['order_articles_desc'] ? 'DESC' : 'ASC')
                 .', articles.id ASC';                  .', articles.id DESC';
         if ($limit > 0) {          if ($limit > 0) {
                 $query .= ' LIMIT '.$limit;                  $query .= ' LIMIT '.$limit;
         }          }

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top