/[libdata]/trunk/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 /trunk/admin/res_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 90  if(isset($libsession) && $sess_access_le Line 90  if(isset($libsession) && $sess_access_le
90                  // Initialize counter                  // Initialize counter
91                  $rowcount = 0;                  $rowcount = 0;
92    
93                  $rs = mysql_query($sql, $con);                  $rs = xx_query($sql, $con);
94    
95                  // Cycle through the result set                  // Cycle through the result set
96                  while ( $row = mysql_fetch_array ( $rs ) ) {                  while ( $row = xx_fetch_array ( $rs ) ) {
97                          $subject = Trim($row["subject"]);                          $subject = Trim($row["subject"]);
98                          $subject_id = Trim($row["subject_id"]);                                          $subject_id = Trim($row["subject_id"]);                
99                          $infotype = Trim($row["infotype"]);                          $infotype = Trim($row["infotype"]);
# Line 116  if(isset($libsession) && $sess_access_le Line 116  if(isset($libsession) && $sess_access_le
116    
117                  // Summary of RQS page uses                  // Summary of RQS page uses
118                  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");
119                  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");
120                  else printf("<td class=\"backLight\">%d</td>\n", mysql_num_rows($rs));                  else printf("<td class=\"backLight\">%d</td>\n", xx_num_rows($rs));
121                  printf("</tr>\n");                  printf("</tr>\n");
122    
123                  // Close table                  // Close table
# Line 144  if(isset($libsession) && $sess_access_le Line 144  if(isset($libsession) && $sess_access_le
144                  // Initialize counter                  // Initialize counter
145                  $rowcount = 0;                  $rowcount = 0;
146    
147                  $rs = mysql_query($sql, $con);                  $rs = xx_query($sql, $con);
148    
149                  // Cycle through the result set                  // Cycle through the result set
150                  while ( $row = mysql_fetch_array ( $rs ) ) {                  while ( $row = xx_fetch_array ( $rs ) ) {
151    
152                          $page_id = Trim($row["page_id"]);                          $page_id = Trim($row["page_id"]);
153                          $course_concat = Trim($row["course_concat"]);                          $course_concat = Trim($row["course_concat"]);
# Line 168  if(isset($libsession) && $sess_access_le Line 168  if(isset($libsession) && $sess_access_le
168    
169                  // Summary of CourseScribe page uses                  // Summary of CourseScribe page uses
170                  printf("<tr><td align=\"right\" class=\"backLight\">Total CourseLib+ Uses:</td>\n");                  printf("<tr><td align=\"right\" class=\"backLight\">Total CourseLib+ Uses:</td>\n");
171                  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");
172                  else printf("<td class=\"backLight\">%d</td>\n", mysql_num_rows($rs));                  else printf("<td class=\"backLight\">%d</td>\n", xx_num_rows($rs));
173                  printf("</tr>\n");                  printf("</tr>\n");
174    
175                  // Close table                  // Close table
# Line 195  if(isset($libsession) && $sess_access_le Line 195  if(isset($libsession) && $sess_access_le
195                  // Initialize counter                  // Initialize counter
196                  $rowcount = 0;                  $rowcount = 0;
197    
198                  $rs = mysql_query($sql, $con);                  $rs = xx_query($sql, $con);
199    
200                  // Cycle through the result set                  // Cycle through the result set
201                  while ( $row = mysql_fetch_array ( $rs ) ) {                  while ( $row = xx_fetch_array ( $rs ) ) {
202    
203                          $page_id = Trim($row["page_id"]);                          $page_id = Trim($row["page_id"]);
204                          $page_title = Trim($row["page_title"]);                          $page_title = Trim($row["page_title"]);
# Line 219  if(isset($libsession) && $sess_access_le Line 219  if(isset($libsession) && $sess_access_le
219    
220                  // Summary of FreeForm page uses                  // Summary of FreeForm page uses
221                  printf("<tr><td align=\"right\" class=\"backLight\">Total PageScribe Uses:</td>\n");                  printf("<tr><td align=\"right\" class=\"backLight\">Total PageScribe Uses:</td>\n");
222                  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");
223                  else printf("<td class=\"backLight\">%d</td>\n", mysql_num_rows($rs));                  else printf("<td class=\"backLight\">%d</td>\n", xx_num_rows($rs));
224                  printf("</tr>\n");                  printf("</tr>\n");
225    
226                  // Close table                  // Close table

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

  ViewVC Help
Powered by ViewVC 1.1.26