24 |
|
|
25 |
$sql = "SELECT subject, description FROM subject WHERE subject_id = " |
$sql = "SELECT subject, description FROM subject WHERE subject_id = " |
26 |
. $subject_id; |
. $subject_id; |
27 |
$rs = mysql_query($sql, $con); |
$rs = xx_query($sql, $con); |
28 |
$row = mysql_fetch_array ($rs); |
$row = xx_fetch_array ($rs); |
29 |
$subject = $row["subject"]; |
$subject = $row["subject"]; |
30 |
$description = $row["description"]; |
$description = $row["description"]; |
31 |
|
|
64 |
rsi.resource_id = r.resource_id |
rsi.resource_id = r.resource_id |
65 |
ORDER BY m.masterinfotype, i.infotype, r.title"; |
ORDER BY m.masterinfotype, i.infotype, r.title"; |
66 |
|
|
67 |
$rs = mysql_query($sql, $con); |
$rs = xx_query($sql, $con); |
68 |
|
|
69 |
// printf("sql was: %s<BR><BR>", $sql); |
// printf("sql was: %s<BR><BR>", $sql); |
70 |
|
|
71 |
while ($row = mysql_fetch_array ($rs)) { |
while ($row = xx_fetch_array ($rs)) { |
72 |
|
|
73 |
// Fetch information types for this subject |
// Fetch information types for this subject |
74 |
$masterinfotype = $row["masterinfotype"]; |
$masterinfotype = $row["masterinfotype"]; |
94 |
|
|
95 |
// Link to ALEPH |
// Link to ALEPH |
96 |
if (strlen($cat_num) > 0) |
if (strlen($cat_num) > 0) |
97 |
printf("<BR><a href=\"yourlibrarycatalog.here.edu\">Check Catalog</a>", $cat_num); |
printf("<BR><a href=\"libdata.knjiznice.ffzg.hr\">Check Catalog</a>", $cat_num); |
98 |
|
|
99 |
printf("<BR><a href = \"resource.phtml?subject_id=%s&resource_id=%s\">[Detail]</a><BR><BR>", $subject_id, $resource_id); |
printf("<BR><a href = \"resource.phtml?subject_id=%s&resource_id=%s\">[Detail]</a><BR><BR>", $subject_id, $resource_id); |
100 |
|
|