/[libdata]/trunk/admin/res_results_brief.phtml
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/admin/res_results_brief.phtml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 41 by dpavlin, Tue Jan 27 20:34:29 2004 UTC revision 42 by dpavlin, Thu Mar 4 22:43:50 2004 UTC
# Line 233  if(isset($libsession) && $sess_access_le Line 233  if(isset($libsession) && $sess_access_le
233                  //printf("sql was: %s<BR>", $sql);                  //printf("sql was: %s<BR>", $sql);
234    
235    
236                  if ( !$rs = mysql_query ( $sql, $con ) ) {                  if ( !$rs = xx_query ( $sql, $con ) ) {
237                          sql_err ( $sql ) And bailout();                          sql_err ( $sql ) And bailout();
238                  }                  }
239    
# Line 259  if(isset($libsession) && $sess_access_le Line 259  if(isset($libsession) && $sess_access_le
259                  $rowcount = 0;                  $rowcount = 0;
260    
261                  // Cycle through the result set of unique reference id's.                  // Cycle through the result set of unique reference id's.
262                  while ( $row = mysql_fetch_array ( $rs ) ) {                  while ( $row = xx_fetch_array ( $rs ) ) {
263                          $resource_id = $row["resource_id"];                          $resource_id = $row["resource_id"];
264                          $title = Trim($row["title"]);                          $title = Trim($row["title"]);
265                          $publisher = Trim($row["publisher"]);                          $publisher = Trim($row["publisher"]);
# Line 315  if(isset($libsession) && $sess_access_le Line 315  if(isset($libsession) && $sess_access_le
315                  // Search statistics                  // Search statistics
316                  printf("<tr><td align = \"right\" colspan =\"4\" class=\"backLight\">\n");                  printf("<tr><td align = \"right\" colspan =\"4\" class=\"backLight\">\n");
317                  $records = "record";                  $records = "record";
318                  printf("<BR>Returned %d ", mysql_num_rows($rs));                  printf("<BR>Returned %d ", xx_num_rows($rs));
319                  if (mysql_num_rows($rs) != 1) $records .= "s";                  if (xx_num_rows($rs) != 1) $records .= "s";
320                  printf($records);                  printf($records);
321                  printf(".");                  printf(".");
322    

Legend:
Removed from v.41  
changed lines
  Added in v.42

  ViewVC Help
Powered by ViewVC 1.1.26