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"]); |
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 |
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"]); |
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 |
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"]); |
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 |