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

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

branches/paul/admin/element_results_brief.phtml revision 68 by dpavlin, Thu Mar 18 19:24:54 2004 UTC branches/paul_xx/admin/element_results_brief.phtml revision 69 by dpavlin, Thu Mar 18 20:01:09 2004 UTC
# Line 173  if(isset($libsession) && $sess_access_le Line 173  if(isset($libsession) && $sess_access_le
173                  // Debugging                  // Debugging
174                  // printf("sql was: %s<BR>", $sql);                  // printf("sql was: %s<BR>", $sql);
175    
176                  $rs = mysql_tryquery($sql);                  $rs = xx_tryquery($sql);
177    
178                  // Table                  // Table
179                  printf("<center><table width=\"90%%\" border =\"1\" bgcolor =\"#ffffff\" cellpadding=\"4\">");                  printf("<center><table width=\"90%%\" border =\"1\" bgcolor =\"#ffffff\" cellpadding=\"4\">");
# Line 211  if(isset($libsession) && $sess_access_le Line 211  if(isset($libsession) && $sess_access_le
211                  $rowcount = 0;                  $rowcount = 0;
212    
213                  // Cycle through the result set                  // Cycle through the result set
214                  while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) {                  while ( $row = xx_fetch_array ($rs, xx_ASSOC)) {
215                          $page_id = $row["page_id"];                          $page_id = $row["page_id"];
216                          $page_title = Trim($row["page_title"]);                          $page_title = Trim($row["page_title"]);
217                          $date_created = substr($row["date_created"], 0, 10);                          $date_created = substr($row["date_created"], 0, 10);
# Line 269  if(isset($libsession) && $sess_access_le Line 269  if(isset($libsession) && $sess_access_le
269                  // Search statistics                  // Search statistics
270                  printf("<tr><td align = \"right\" colspan =\"6\" class=\"backLight\">");                  printf("<tr><td align = \"right\" colspan =\"6\" class=\"backLight\">");
271                  $records = "record";                  $records = "record";
272                  printf("<BR>Returned %d ", mysql_num_rows($rs));                  printf("<BR>Returned %d ", xx_num_rows($rs));
273                  if (mysql_num_rows($rs) != 1) $records .= "s";                  if (xx_num_rows($rs) != 1) $records .= "s";
274                  printf($records);                  printf($records);
275                  printf(".");                  printf(".");
276    

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

  ViewVC Help
Powered by ViewVC 1.1.26