111 |
subject_id = " |
subject_id = " |
112 |
. $subject_id; |
. $subject_id; |
113 |
|
|
114 |
$rs = mysql_tryquery($sql); |
$rs = xx_tryquery($sql); |
115 |
$row = mysql_fetch_array ($rs, MYSQL_ASSOC); |
$row = xx_fetch_array ($rs, xx_ASSOC); |
116 |
$rqs_date_modified = $row["rqs_date_modified"]; |
$rqs_date_modified = $row["rqs_date_modified"]; |
117 |
$rqs_date_created = $row["rqs_date_created"]; |
$rqs_date_created = $row["rqs_date_created"]; |
118 |
$rqs_account_created = $row["rqs_account_created"]; |
$rqs_account_created = $row["rqs_account_created"]; |
311 |
rsi.infotype_id = i.infotype_id |
rsi.infotype_id = i.infotype_id |
312 |
ORDER BY mi.masterinfotype, i.infotype"; |
ORDER BY mi.masterinfotype, i.infotype"; |
313 |
|
|
314 |
$rs = mysql_tryquery($sql); |
$rs = xx_tryquery($sql); |
315 |
|
|
316 |
$rows = mysql_num_rows($rs); |
$rows = xx_num_rows($rs); |
317 |
|
|
318 |
// initialize |
// initialize |
319 |
$last_masterinfotype_id = 0; |
$last_masterinfotype_id = 0; |
320 |
|
|
321 |
$rowcount = 0; |
$rowcount = 0; |
322 |
while ($row = mysql_fetch_array ($rs, MYSQL_ASSOC)) { |
while ($row = xx_fetch_array ($rs, xx_ASSOC)) { |
323 |
|
|
324 |
// Fetch information types for this subject |
// Fetch information types for this subject |
325 |
$infotype_id = $row["infotype_id"]; |
$infotype_id = $row["infotype_id"]; |
379 |
rsi.resource_id = r.resource_id |
rsi.resource_id = r.resource_id |
380 |
ORDER BY m.masterinfotype, i.infotype, r.title"; |
ORDER BY m.masterinfotype, i.infotype, r.title"; |
381 |
|
|
382 |
$rs = mysql_tryquery($sql); |
$rs = xx_tryquery($sql); |
383 |
|
|
384 |
// printf("sql was: %s<BR><BR>", $sql); |
// printf("sql was: %s<BR><BR>", $sql); |
385 |
|
|
386 |
while ($row = mysql_fetch_array ($rs, MYSQL_ASSOC)) { |
while ($row = xx_fetch_array ($rs, xx_ASSOC)) { |
387 |
|
|
388 |
// Fetch information types for this subject |
// Fetch information types for this subject |
389 |
$description = $row["description"]; |
$description = $row["description"]; |