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

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

revision 41 by dpavlin, Fri Dec 5 18:34:18 2003 UTC revision 42 by dpavlin, Thu Mar 4 22:43:50 2004 UTC
# Line 257  if(isset($libsession) && $sess_access_le Line 257  if(isset($libsession) && $sess_access_le
257                  // Debugging                  // Debugging
258                  // printf("sql was: %s<BR>", $sql);                  // printf("sql was: %s<BR>", $sql);
259    
260                  if ( !$rs = mysql_query ( $sql, $con ) ) {                  if ( !$rs = xx_query ( $sql, $con ) ) {
261                          sql_err ( $sql ) And bailout();                          sql_err ( $sql ) And bailout();
262                  }                  }
263    
# Line 297  if(isset($libsession) && $sess_access_le Line 297  if(isset($libsession) && $sess_access_le
297                  $rowcount = 0;                  $rowcount = 0;
298    
299                  // Cycle through the result set                  // Cycle through the result set
300                  while ( $row = mysql_fetch_array ( $rs ) ) {                  while ( $row = xx_fetch_array ( $rs ) ) {
301                          $page_id = $row["page_id"];                          $page_id = $row["page_id"];
302                          $page_title = Trim($row["page_title"]);                          $page_title = Trim($row["page_title"]);
303                          $date_created = substr($row["date_created"], 0, 10);                          $date_created = substr($row["date_created"], 0, 10);
# Line 358  if(isset($libsession) && $sess_access_le Line 358  if(isset($libsession) && $sess_access_le
358                  // Search statistics                  // Search statistics
359                  printf("<tr><td align = \"right\" colspan =\"6\" class=\"backLight\">");                  printf("<tr><td align = \"right\" colspan =\"6\" class=\"backLight\">");
360                  $records = "record";                  $records = "record";
361                  printf("<BR>Returned %d ", mysql_num_rows($rs));                  printf("<BR>Returned %d ", xx_num_rows($rs));
362                  if (mysql_num_rows($rs) != 1) $records .= "s";                  if (xx_num_rows($rs) != 1) $records .= "s";
363                  printf($records);                  printf($records);
364                  printf(".");                  printf(".");
365    

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

  ViewVC Help
Powered by ViewVC 1.1.26