/[libdata]/trunk/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 /trunk/admin/element_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 163  if(isset($libsession) && $sess_access_le Line 163  if(isset($libsession) && $sess_access_le
163                  // Debugging                  // Debugging
164                  // printf("sql was: %s<BR>", $sql);                  // printf("sql was: %s<BR>", $sql);
165    
166                  if ( !$rs = mysql_query ( $sql, $con ) ) {                  if ( !$rs = xx_query ( $sql, $con ) ) {
167                          sql_err ( $sql ) And bailout();                          sql_err ( $sql ) And bailout();
168                  }                  }
169    
# Line 203  if(isset($libsession) && $sess_access_le Line 203  if(isset($libsession) && $sess_access_le
203                  $rowcount = 0;                  $rowcount = 0;
204    
205                  // Cycle through the result set                  // Cycle through the result set
206                  while ( $row = mysql_fetch_array ( $rs ) ) {                  while ( $row = xx_fetch_array ( $rs ) ) {
207                          $page_id = $row["page_id"];                          $page_id = $row["page_id"];
208                          $page_title = Trim($row["page_title"]);                          $page_title = Trim($row["page_title"]);
209                          $date_created = substr($row["date_created"], 0, 10);                          $date_created = substr($row["date_created"], 0, 10);
# Line 261  if(isset($libsession) && $sess_access_le Line 261  if(isset($libsession) && $sess_access_le
261                  // Search statistics                  // Search statistics
262                  printf("<tr><td align = \"right\" colspan =\"6\" class=\"backLight\">");                  printf("<tr><td align = \"right\" colspan =\"6\" class=\"backLight\">");
263                  $records = "record";                  $records = "record";
264                  printf("<BR>Returned %d ", mysql_num_rows($rs));                  printf("<BR>Returned %d ", xx_num_rows($rs));
265                  if (mysql_num_rows($rs) != 1) $records .= "s";                  if (xx_num_rows($rs) != 1) $records .= "s";
266                  printf($records);                  printf($records);
267                  printf(".");                  printf(".");
268    

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

  ViewVC Help
Powered by ViewVC 1.1.26