/[libdata]/trunk/admin/mastersubject_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 /trunk/admin/mastersubject_drill.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 74  if(isset($libsession) && $sess_access_le Line 74  if(isset($libsession) && $sess_access_le
74    
75          // printf("sql was: %s<BR>\n", $sql);          // printf("sql was: %s<BR>\n", $sql);
76    
77          $rs = mysql_query($sql, $con);          $rs = xx_query($sql, $con);
78    
79          // Initialize counter          // Initialize counter
80          $rowcount = 0;          $rowcount = 0;
81    
82          // Cycle through the result set          // Cycle through the result set
83          while ( $row = mysql_fetch_array ( $rs ) ) {          while ( $row = xx_fetch_array ( $rs ) ) {
84                  $subject_id = Trim($row["subject_id"]);                  $subject_id = Trim($row["subject_id"]);
85                  $subject = Trim($row["subject"]);                  $subject = Trim($row["subject"]);
86    
# Line 99  if(isset($libsession) && $sess_access_le Line 99  if(isset($libsession) && $sess_access_le
99    
100          // Summary of RQS page uses          // Summary of RQS page uses
101          printf("<tr><td align=\"right\" class=\"backLight\">Total contained Subjects:</td>\n");          printf("<tr><td align=\"right\" class=\"backLight\">Total contained Subjects:</td>\n");
102          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");
103          else printf("<td class=\"backLight\">%d</td>\n", mysql_num_rows($rs));          else printf("<td class=\"backLight\">%d</td>\n", xx_num_rows($rs));
104          printf("</tr>\n");          printf("</tr>\n");
105    
106          // Close table          // Close table
# Line 133  if(isset($libsession) && $sess_access_le Line 133  if(isset($libsession) && $sess_access_le
133    
134          // printf("sql was: %s<BR>\n", $sql);          // printf("sql was: %s<BR>\n", $sql);
135    
136          $rs = mysql_query($sql, $con);          $rs = xx_query($sql, $con);
137    
138          // Initialize counter          // Initialize counter
139          $rowcount = 0;          $rowcount = 0;
140    
141          // Cycle through the result set          // Cycle through the result set
142          while ( $row = mysql_fetch_array ( $rs ) ) {          while ( $row = xx_fetch_array ( $rs ) ) {
143                  $resource_id = Trim($row["resource_id"]);                  $resource_id = Trim($row["resource_id"]);
144                  $title = Trim($row["title"]);                  $title = Trim($row["title"]);
145    
# Line 158  if(isset($libsession) && $sess_access_le Line 158  if(isset($libsession) && $sess_access_le
158    
159          // Summary of RQS page uses          // Summary of RQS page uses
160          printf("<tr><td align=\"right\" class=\"backLight\">Total associated Resources:</td>\n");          printf("<tr><td align=\"right\" class=\"backLight\">Total associated Resources:</td>\n");
161          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");
162          else printf("<td class=\"backLight\">%d</td>\n", mysql_num_rows($rs));          else printf("<td class=\"backLight\">%d</td>\n", xx_num_rows($rs));
163          printf("</tr>\n");          printf("</tr>\n");
164    
165          // Close table          // Close table

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

  ViewVC Help
Powered by ViewVC 1.1.26