includes/namespaces/default.php
changeset 997 07a26bd567a5
parent 980 d13fad911955
child 1042 13ad9c1cb7d4
equal deleted inserted replaced
996:914273203298 997:07a26bd567a5
   637       $html .= '<tr>';
   637       $html .= '<tr>';
   638       $ticker = 0;
   638       $ticker = 0;
   639       $counter = 0;
   639       $counter = 0;
   640       $switched = false;
   640       $switched = false;
   641       $class  = 'row1';
   641       $class  = 'row1';
   642       while ( $row = $db->fetchrow() )
   642       while ( $row = $db->fetchrow($q) )
   643       {
   643       {
   644         if ( $row['is_category'] == 0 && !$switched )
   644         if ( $row['is_category'] == 0 && !$switched )
   645         {
   645         {
   646           if ( $counter > 0 )
   646           if ( $counter > 0 )
   647           {
   647           {