84 |
|
|
85 |
// printf("sql was: %s<BR>\n", $sql); |
// printf("sql was: %s<BR>\n", $sql); |
86 |
|
|
87 |
$rs = mysql_tryquery($sql); |
$rs = xx_tryquery($sql); |
88 |
|
|
89 |
// Initialize counter |
// Initialize counter |
90 |
$rowcount = 0; |
$rowcount = 0; |
91 |
|
|
92 |
// Cycle through the result set |
// Cycle through the result set |
93 |
while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) { |
while ( $row = xx_fetch_array ($rs, xx_ASSOC)) { |
94 |
$subject_id = Trim($row["subject_id"]); |
$subject_id = Trim($row["subject_id"]); |
95 |
$subject = Trim($row["subject"]); |
$subject = Trim($row["subject"]); |
96 |
|
|
109 |
|
|
110 |
// Summary of RQS page uses |
// Summary of RQS page uses |
111 |
printf("<tr><td align=\"right\" class=\"backLight\">Total contained Subjects:</td>\n"); |
printf("<tr><td align=\"right\" class=\"backLight\">Total contained Subjects:</td>\n"); |
112 |
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"); |
113 |
else printf("<td class=\"backLight\">%d</td>\n", mysql_num_rows($rs)); |
else printf("<td class=\"backLight\">%d</td>\n", xx_num_rows($rs)); |
114 |
printf("</tr>\n"); |
printf("</tr>\n"); |
115 |
|
|
116 |
// Close table |
// Close table |
143 |
|
|
144 |
// printf("sql was: %s<BR>\n", $sql); |
// printf("sql was: %s<BR>\n", $sql); |
145 |
|
|
146 |
$rs = mysql_tryquery($sql); |
$rs = xx_tryquery($sql); |
147 |
|
|
148 |
// Initialize counter |
// Initialize counter |
149 |
$rowcount = 0; |
$rowcount = 0; |
150 |
|
|
151 |
// Cycle through the result set |
// Cycle through the result set |
152 |
while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) { |
while ( $row = xx_fetch_array ($rs, xx_ASSOC)) { |
153 |
$resource_id = Trim($row["resource_id"]); |
$resource_id = Trim($row["resource_id"]); |
154 |
$title = Trim($row["title"]); |
$title = Trim($row["title"]); |
155 |
|
|
168 |
|
|
169 |
// Summary of RQS page uses |
// Summary of RQS page uses |
170 |
printf("<tr><td align=\"right\" class=\"backLight\">Total associated Resources:</td>\n"); |
printf("<tr><td align=\"right\" class=\"backLight\">Total associated Resources:</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 |