17 |
printf("</HEAD>\n"); |
printf("</HEAD>\n"); |
18 |
|
|
19 |
|
|
20 |
|
// Default access settings |
21 |
|
$sess_time_human = ""; |
22 |
|
$sess_staff_account = ""; |
23 |
|
$sess_staff_id = 0; |
24 |
|
$sess_access_level = 0; |
25 |
|
$sess_access = ""; |
26 |
|
$sess_last_name = ""; |
27 |
|
$sess_first_name = ""; |
28 |
|
|
29 |
|
|
30 |
// Page header |
// Page header |
31 |
require_once ($GLOBAL_ADMIN_HEADER); |
require_once ($GLOBAL_ADMIN_HEADER); |
32 |
|
|
53 |
|
|
54 |
|
|
55 |
// Fetch the information type descr. field |
// Fetch the information type descr. field |
56 |
$infotype = lookupField($con, "infotype", "infotype_id", $infotype_id, "infotype"); |
$infotype = lookupField("infotype", "infotype_id", $infotype_id, "infotype"); |
57 |
|
|
58 |
printf("<center>\n"); |
printf("<center>\n"); |
59 |
printf("<h3>Information Type '%s' (#%d) used on the following RQS Pages:</h3>", $infotype, $infotype_id); |
printf("<h3>Information Type '%s' (#%d) used on the following RQS Pages:</h3>", $infotype, $infotype_id); |
88 |
// Initialize counter |
// Initialize counter |
89 |
$rowcount = 0; |
$rowcount = 0; |
90 |
|
|
91 |
$rs = mysql_query($sql, $con); |
$rs = mysql_tryquery($sql); |
92 |
|
|
93 |
// Cycle through the result set |
// Cycle through the result set |
94 |
while ( $row = mysql_fetch_array ( $rs ) ) { |
while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) { |
95 |
$subject = Trim($row["subject"]); |
$subject = Trim($row["subject"]); |
96 |
$subject_id = Trim($row["subject_id"]); |
$subject_id = Trim($row["subject_id"]); |
97 |
$title = Trim($row["title"]); |
$title = Trim($row["title"]); |
145 |
// Initialize counter |
// Initialize counter |
146 |
$rowcount = 0; |
$rowcount = 0; |
147 |
|
|
148 |
$rs = mysql_query($sql, $con); |
$rs = mysql_tryquery($sql); |
149 |
|
|
150 |
// Cycle through the result set |
// Cycle through the result set |
151 |
while ( $row = mysql_fetch_array ( $rs ) ) { |
while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) { |
152 |
$resource_id = Trim($row["resource_id"]); |
$resource_id = Trim($row["resource_id"]); |
153 |
$title = Trim($row["title"]); |
$title = Trim($row["title"]); |
154 |
|
|