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

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

branches/paul/admin/res_drill.phtml revision 67 by dpavlin, Thu Mar 18 19:24:54 2004 UTC branches/paul_xx/admin/res_drill.phtml revision 69 by dpavlin, Thu Mar 18 20:01:09 2004 UTC
# Line 100  if(isset($libsession) && $sess_access_le Line 100  if(isset($libsession) && $sess_access_le
100                  // Initialize counter                  // Initialize counter
101                  $rowcount = 0;                  $rowcount = 0;
102    
103                  $rs = mysql_tryquery($sql);                  $rs = xx_tryquery($sql);
104    
105                  // Cycle through the result set                  // Cycle through the result set
106                  while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) {                  while ( $row = xx_fetch_array ($rs, xx_ASSOC)) {
107                          $subject = Trim($row["subject"]);                          $subject = Trim($row["subject"]);
108                          $subject_id = Trim($row["subject_id"]);                                          $subject_id = Trim($row["subject_id"]);                
109                          $infotype = Trim($row["infotype"]);                          $infotype = Trim($row["infotype"]);
# Line 126  if(isset($libsession) && $sess_access_le Line 126  if(isset($libsession) && $sess_access_le
126    
127                  // Summary of RQS page uses                  // Summary of RQS page uses
128                  printf("<tr><td colspan=\"2\" align=\"right\" class=\"backLight\">Total Research QuickStart Uses:</td>\n");                  printf("<tr><td colspan=\"2\" align=\"right\" class=\"backLight\">Total Research QuickStart Uses:</td>\n");
129                  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");
130                  else printf("<td class=\"backLight\">%d</td>\n", mysql_num_rows($rs));                  else printf("<td class=\"backLight\">%d</td>\n", xx_num_rows($rs));
131                  printf("</tr>\n");                  printf("</tr>\n");
132    
133                  // Close table                  // Close table
# Line 154  if(isset($libsession) && $sess_access_le Line 154  if(isset($libsession) && $sess_access_le
154                  // Initialize counter                  // Initialize counter
155                  $rowcount = 0;                  $rowcount = 0;
156    
157                  $rs = mysql_tryquery($sql);                  $rs = xx_tryquery($sql);
158    
159                  // Cycle through the result set                  // Cycle through the result set
160                  while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) {                  while ( $row = xx_fetch_array ($rs, xx_ASSOC)) {
161    
162                          $page_id = Trim($row["page_id"]);                          $page_id = Trim($row["page_id"]);
163                          $course_concat = Trim($row["course_concat"]);                          $course_concat = Trim($row["course_concat"]);
# Line 178  if(isset($libsession) && $sess_access_le Line 178  if(isset($libsession) && $sess_access_le
178    
179                  // Summary of CourseScribe page uses                  // Summary of CourseScribe page uses
180                  printf("<tr><td align=\"right\" class=\"backLight\">Total CourseLib+ Uses:</td>\n");                  printf("<tr><td align=\"right\" class=\"backLight\">Total CourseLib+ Uses:</td>\n");
181                  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");
182                  else printf("<td class=\"backLight\">%d</td>\n", mysql_num_rows($rs));                  else printf("<td class=\"backLight\">%d</td>\n", xx_num_rows($rs));
183                  printf("</tr>\n");                  printf("</tr>\n");
184    
185                  // Close table                  // Close table
# Line 205  if(isset($libsession) && $sess_access_le Line 205  if(isset($libsession) && $sess_access_le
205                  // Initialize counter                  // Initialize counter
206                  $rowcount = 0;                  $rowcount = 0;
207    
208                  $rs = mysql_tryquery($sql);                  $rs = xx_tryquery($sql);
209    
210                  // Cycle through the result set                  // Cycle through the result set
211                  while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) {                  while ( $row = xx_fetch_array ($rs, xx_ASSOC)) {
212    
213                          $page_id = Trim($row["page_id"]);                          $page_id = Trim($row["page_id"]);
214                          $page_title = Trim($row["page_title"]);                          $page_title = Trim($row["page_title"]);
# Line 229  if(isset($libsession) && $sess_access_le Line 229  if(isset($libsession) && $sess_access_le
229    
230                  // Summary of FreeForm page uses                  // Summary of FreeForm page uses
231                  printf("<tr><td align=\"right\" class=\"backLight\">Total PageScribe Uses:</td>\n");                  printf("<tr><td align=\"right\" class=\"backLight\">Total PageScribe Uses:</td>\n");
232                  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");
233                  else printf("<td class=\"backLight\">%d</td>\n", mysql_num_rows($rs));                  else printf("<td class=\"backLight\">%d</td>\n", xx_num_rows($rs));
234                  printf("</tr>\n");                  printf("</tr>\n");
235    
236                  // Close table                  // Close table

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

  ViewVC Help
Powered by ViewVC 1.1.26