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

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

branches/paul/admin/page_results_brief.phtml revision 68 by dpavlin, Thu Mar 18 19:24:54 2004 UTC branches/paul_xx/admin/page_results_brief.phtml revision 69 by dpavlin, Thu Mar 18 20:01:09 2004 UTC
# Line 264  if(isset($libsession) && $sess_access_le Line 264  if(isset($libsession) && $sess_access_le
264                  $sql .= " ORDER BY " . $orderby . " " . $orderdir;                  $sql .= " ORDER BY " . $orderby . " " . $orderdir;
265                  }                  }
266    
267                  $rs = mysql_tryquery ($sql);                  $rs = xx_tryquery ($sql);
268    
269                  // Table                  // Table
270                  printf("<center><table width=\"90%%\" border =\"1\" bgcolor =\"#ffffff\" cellpadding=\"4\">");                  printf("<center><table width=\"90%%\" border =\"1\" bgcolor =\"#ffffff\" cellpadding=\"4\">");
# Line 302  if(isset($libsession) && $sess_access_le Line 302  if(isset($libsession) && $sess_access_le
302                  $rowcount = 0;                  $rowcount = 0;
303    
304                  // Cycle through the result set                  // Cycle through the result set
305                  while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) {                  while ( $row = xx_fetch_array ($rs, xx_ASSOC)) {
306                          $page_id = $row["page_id"];                          $page_id = $row["page_id"];
307                          $page_title = Trim($row["page_title"]);                          $page_title = Trim($row["page_title"]);
308                          $date_created = substr($row["date_created"], 0, 10);                          $date_created = substr($row["date_created"], 0, 10);
# Line 363  if(isset($libsession) && $sess_access_le Line 363  if(isset($libsession) && $sess_access_le
363                  // Search statistics                  // Search statistics
364                  printf("<tr><td align = \"right\" colspan =\"6\" class=\"backLight\">");                  printf("<tr><td align = \"right\" colspan =\"6\" class=\"backLight\">");
365                  $records = "record";                  $records = "record";
366                  printf("<BR>Returned %d ", mysql_num_rows($rs));                  printf("<BR>Returned %d ", xx_num_rows($rs));
367                  if (mysql_num_rows($rs) != 1) $records .= "s";                  if (xx_num_rows($rs) != 1) $records .= "s";
368                  printf($records);                  printf($records);
369                  printf(".");                  printf(".");
370    

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

  ViewVC Help
Powered by ViewVC 1.1.26