/[libdata]/branches/paul_xx/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 /branches/paul_xx/admin/res_results_brief.phtml

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

branches/paul/admin/res_results_brief.phtml revision 68 by dpavlin, Thu Mar 18 19:24:54 2004 UTC branches/paul_xx/admin/res_results_brief.phtml revision 69 by dpavlin, Thu Mar 18 20:01:09 2004 UTC
# Line 257  if(isset($libsession) && $sess_access_le Line 257  if(isset($libsession) && $sess_access_le
257                          $sql .= " ORDER BY " . $orderby . " " . $orderdir;                          $sql .= " ORDER BY " . $orderby . " " . $orderdir;
258                  }                  }
259    
260                  $rs = mysql_tryquery($sql);                  $rs = xx_tryquery($sql);
261                                    
262                  // Table                  // Table
263                  printf("<center><table width=\"90%%\" border =\"1\" bgcolor =\"#ffffff\" cellpadding=\"4\">");                  printf("<center><table width=\"90%%\" border =\"1\" bgcolor =\"#ffffff\" cellpadding=\"4\">");
# Line 281  if(isset($libsession) && $sess_access_le Line 281  if(isset($libsession) && $sess_access_le
281                  $rowcount = 0;                  $rowcount = 0;
282    
283                  // Cycle through the result set of unique reference id's.                  // Cycle through the result set of unique reference id's.
284                  while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) {                  while ( $row = xx_fetch_array ($rs, xx_ASSOC)) {
285                          $resource_id = $row["resource_id"];                          $resource_id = $row["resource_id"];
286                          $title = Trim($row["title"]);                          $title = Trim($row["title"]);
287                          $publisher = Trim($row["publisher"]);                          $publisher = Trim($row["publisher"]);
# Line 337  if(isset($libsession) && $sess_access_le Line 337  if(isset($libsession) && $sess_access_le
337                  // Search statistics                  // Search statistics
338                  printf("<tr><td align = \"right\" colspan =\"4\" class=\"backLight\">\n");                  printf("<tr><td align = \"right\" colspan =\"4\" class=\"backLight\">\n");
339                  $records = "record";                  $records = "record";
340                  printf("<BR>Returned %d ", mysql_num_rows($rs));                  printf("<BR>Returned %d ", xx_num_rows($rs));
341                  if (mysql_num_rows($rs) != 1) $records .= "s";                  if (xx_num_rows($rs) != 1) $records .= "s";
342                  printf($records);                  printf($records);
343                  printf(".");                  printf(".");
344    

Legend:
Removed from v.68  
changed lines
  Added in v.69

  ViewVC Help
Powered by ViewVC 1.1.26