74 |
|
|
75 |
// printf("sql was: %s<BR>\n", $sql); |
// printf("sql was: %s<BR>\n", $sql); |
76 |
|
|
77 |
$rs = mysql_query($sql, $con); |
$rs = xx_query($sql, $con); |
78 |
|
|
79 |
// Initialize counter |
// Initialize counter |
80 |
$rowcount = 0; |
$rowcount = 0; |
81 |
|
|
82 |
// Cycle through the result set |
// Cycle through the result set |
83 |
while ( $row = mysql_fetch_array ( $rs ) ) { |
while ( $row = xx_fetch_array ( $rs ) ) { |
84 |
$subject_id = Trim($row["subject_id"]); |
$subject_id = Trim($row["subject_id"]); |
85 |
$subject = Trim($row["subject"]); |
$subject = Trim($row["subject"]); |
86 |
|
|
99 |
|
|
100 |
// Summary of RQS page uses |
// Summary of RQS page uses |
101 |
printf("<tr><td align=\"right\" class=\"backLight\">Total contained Subjects:</td>\n"); |
printf("<tr><td align=\"right\" class=\"backLight\">Total contained Subjects:</td>\n"); |
102 |
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"); |
103 |
else printf("<td class=\"backLight\">%d</td>\n", mysql_num_rows($rs)); |
else printf("<td class=\"backLight\">%d</td>\n", xx_num_rows($rs)); |
104 |
printf("</tr>\n"); |
printf("</tr>\n"); |
105 |
|
|
106 |
// Close table |
// Close table |
133 |
|
|
134 |
// printf("sql was: %s<BR>\n", $sql); |
// printf("sql was: %s<BR>\n", $sql); |
135 |
|
|
136 |
$rs = mysql_query($sql, $con); |
$rs = xx_query($sql, $con); |
137 |
|
|
138 |
// Initialize counter |
// Initialize counter |
139 |
$rowcount = 0; |
$rowcount = 0; |
140 |
|
|
141 |
// Cycle through the result set |
// Cycle through the result set |
142 |
while ( $row = mysql_fetch_array ( $rs ) ) { |
while ( $row = xx_fetch_array ( $rs ) ) { |
143 |
$resource_id = Trim($row["resource_id"]); |
$resource_id = Trim($row["resource_id"]); |
144 |
$title = Trim($row["title"]); |
$title = Trim($row["title"]); |
145 |
|
|
158 |
|
|
159 |
// Summary of RQS page uses |
// Summary of RQS page uses |
160 |
printf("<tr><td align=\"right\" class=\"backLight\">Total associated Resources:</td>\n"); |
printf("<tr><td align=\"right\" class=\"backLight\">Total associated Resources:</td>\n"); |
161 |
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"); |
162 |
else printf("<td class=\"backLight\">%d</td>\n", mysql_num_rows($rs)); |
else printf("<td class=\"backLight\">%d</td>\n", xx_num_rows($rs)); |
163 |
printf("</tr>\n"); |
printf("</tr>\n"); |
164 |
|
|
165 |
// Close table |
// Close table |