Changeset 9498 for trunk/MagicSoft/Mars/datacenter/db/sources.php
- Timestamp:
- 08/20/09 14:43:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/sources.php
r8621 r9498 4 4 { 5 5 6 $query0 = "SELECT ";6 $query0 = "SELECT SQL_CALC_FOUND_ROWS "; 7 7 if ($_GET["fLinks"]=="Off" || !empty($_GET["fSendTxt"])) 8 8 $query0 .= " fSourceName as 'Source' "; … … 112 112 113 113 $result0 = mysql_query($query0, $db_id); 114 $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id); 114 115 115 116 if ($result0) 116 117 { 117 118 if ($html=="1") 118 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);119 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1); 119 120 else 120 121 PrintText($result0); 121 122 122 123 mysql_free_result($result0); 124 mysql_free_result($result1); 123 125 } 124 126 mysql_close($db_id);
Note:
See TracChangeset
for help on using the changeset viewer.