/[libdata]/branches/pear-db/admin/masterinfotype_drill.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/pear-db/admin/masterinfotype_drill.phtml

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

trunk/admin/masterinfotype_drill.phtml revision 1 by dpavlin, Fri Dec 5 18:34:18 2003 UTC branches/pear-db/admin/masterinfotype_drill.phtml revision 62 by dpavlin, Sat Mar 6 19:26:11 2004 UTC
# Line 5  require_once ("global_vars.php"); Line 5  require_once ("global_vars.php");
5  // Includes  // Includes
6  require_once ($GLOBAL_ADMIN_INC."sessionClass.php");  require_once ($GLOBAL_ADMIN_INC."sessionClass.php");
7  require_once ($GLOBAL_ADMIN_INC."accessClass.php");  require_once ($GLOBAL_ADMIN_INC."accessClass.php");
8  require_once ($GLOBAL_ADMIN_INC."db_connect.php");  require_once ("db_connect.php");
9  require_once ($GLOBAL_ADMIN_INC."app_controls.php");  require_once ($GLOBAL_ADMIN_INC."app_controls.php");
10    
11    
# Line 69  if(isset($libsession) && $sess_access_le Line 69  if(isset($libsession) && $sess_access_le
69          // Debugging          // Debugging
70          // printf("sql was: %s<BR>\n", $sql);          // printf("sql was: %s<BR>\n", $sql);
71    
72          $rs = mysql_query($sql, $con);          $rs = xx_query($sql, $con);
73    
74          // Initialize counter          // Initialize counter
75          $rowcount = 0;          $rowcount = 0;
76    
77          // Cycle through the result set          // Cycle through the result set
78          while ( $row = mysql_fetch_array ( $rs ) ) {          while ( $row = xx_fetch_array ( $rs ) ) {
79                  $infotype_id = Trim($row["infotype_id"]);                  $infotype_id = Trim($row["infotype_id"]);
80                  $infotype = Trim($row["infotype"]);                  $infotype = Trim($row["infotype"]);
81    
# Line 95  if(isset($libsession) && $sess_access_le Line 95  if(isset($libsession) && $sess_access_le
95    
96          // Summary of RQS page uses          // Summary of RQS page uses
97          printf("<tr><td align=\"right\" class=\"backLight\">Total mapped Information Types:</td>\n");          printf("<tr><td align=\"right\" class=\"backLight\">Total mapped Information Types:</td>\n");
98          if (mysql_num_rows($rs) == 0) printf("<td class=\"backLight\">(None)</td>\n");          if (xx_num_rows($rs) == 0) printf("<td class=\"backLight\">(None)</td>\n");
99          else printf("<td class=\"backLight\">%d</td>\n", mysql_num_rows($rs));          else printf("<td class=\"backLight\">%d</td>\n", xx_num_rows($rs));
100          printf("</tr>\n");          printf("</tr>\n");
101    
102          // Close table          // Close table

Legend:
Removed from v.1  
changed lines
  Added in v.62

  ViewVC Help
Powered by ViewVC 1.1.26