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