Ignore:
Timestamp:
08/20/09 14:43:59 (15 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/sources.php

    r8621 r9498  
    44    {
    55
    6         $query0 = "SELECT ";
     6        $query0 = "SELECT SQL_CALC_FOUND_ROWS ";
    77        if ($_GET["fLinks"]=="Off" || !empty($_GET["fSendTxt"]))
    88            $query0 .= " fSourceName as 'Source' ";
     
    112112
    113113        $result0 = mysql_query($query0, $db_id);
     114        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    114115
    115116        if ($result0)
    116117        {
    117118            if ($html=="1")
    118                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     119                PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1);
    119120            else
    120121                PrintText($result0);
    121122
    122123            mysql_free_result($result0);
     124            mysql_free_result($result1);
    123125        }
    124126        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.