101 |
subject_id = " |
subject_id = " |
102 |
. $subject_id; |
. $subject_id; |
103 |
|
|
104 |
$rs = mysql_query($sql, $con); |
$rs = xx_query($sql, $con); |
105 |
$row = mysql_fetch_array ($rs); |
$row = xx_fetch_array ($rs); |
106 |
$rqs_date_modified = $row["rqs_date_modified"]; |
$rqs_date_modified = $row["rqs_date_modified"]; |
107 |
$rqs_date_created = $row["rqs_date_created"]; |
$rqs_date_created = $row["rqs_date_created"]; |
108 |
$rqs_account_created = $row["rqs_account_created"]; |
$rqs_account_created = $row["rqs_account_created"]; |
301 |
rsi.infotype_id = i.infotype_id |
rsi.infotype_id = i.infotype_id |
302 |
ORDER BY mi.masterinfotype, i.infotype"; |
ORDER BY mi.masterinfotype, i.infotype"; |
303 |
|
|
304 |
$rs = mysql_query($sql, $con); |
$rs = xx_query($sql, $con); |
305 |
|
|
306 |
$rows = mysql_num_rows($rs); |
$rows = xx_num_rows($rs); |
307 |
|
|
308 |
// initialize |
// initialize |
309 |
$last_masterinfotype_id = 0; |
$last_masterinfotype_id = 0; |
310 |
|
|
311 |
$rowcount = 0; |
$rowcount = 0; |
312 |
while ($row = mysql_fetch_array ($rs)) { |
while ($row = xx_fetch_array ($rs)) { |
313 |
|
|
314 |
// Fetch information types for this subject |
// Fetch information types for this subject |
315 |
$infotype_id = $row["infotype_id"]; |
$infotype_id = $row["infotype_id"]; |
369 |
rsi.resource_id = r.resource_id |
rsi.resource_id = r.resource_id |
370 |
ORDER BY m.masterinfotype, i.infotype, r.title"; |
ORDER BY m.masterinfotype, i.infotype, r.title"; |
371 |
|
|
372 |
$rs = mysql_query($sql, $con); |
$rs = xx_query($sql, $con); |
373 |
|
|
374 |
// printf("sql was: %s<BR><BR>", $sql); |
// printf("sql was: %s<BR><BR>", $sql); |
375 |
|
|
376 |
while ($row = mysql_fetch_array ($rs)) { |
while ($row = xx_fetch_array ($rs)) { |
377 |
|
|
378 |
// Fetch information types for this subject |
// Fetch information types for this subject |
379 |
$description = $row["description"]; |
$description = $row["description"]; |