function html_displaymarc($ID) {
global $_TBWIDTH;
$sql = "select * from media where ID='$ID' ";
$result = tmq($sql);
$r = tmq_fetch_array($result);
$retstr="";
$retstr.="
";
$isshowleader=getval("_SETTING","display_LEADERatupac");
if ($isshowleader=="yes") {
$retstr.="
| LEADER : $r[leader] |
";
}
$sql82="select * from bkedit order by ordr";
$result=tmq($sql82, $conn);
echo mysql_error();
while ($rowd=tmq_fetch_array($result)) {
$allR=explode("\n",$r[$rowd[fid]]);
foreach ($allR as $value) {
echo mysql_error();
$x = str_replace("$","$",$rowd[val]);
$str = $value;
if (trim(dspmarc($str))!="") {
$retstr.="
| ";
$tmprowdfid=$rowd[fid];
$tmprowdfid=str_replace("tag","",$tmprowdfid);
$tmprowdfid=str_replace("ulib","",$tmprowdfid);
$retstr.= $tmprowdfid;
$retstr.=" | ";
if ($rowd[ishasindi]=="YES") {
$retstr.="";
$retstr.= substr($str,0,1);
$retstr.=" |
";
$retstr.=substr($str,1,1);
$retstr.=" | ";
} else {
$retstr.="
- | ";
}
$retstr.=" ";
if ($rowd[ishasindi]=="YES") {
$retstr.= substr($str,2);
} else {
$retstr.= $str;
}
$retstr.=" |
";
}
} //loop for splited \n
}
$retstr.="
";
return $retstr;
}
?>
mysqli: Can't create/write to file '/tmp/#sql_434_0.MYI' (Errcode: 28)
select distinct mdtype from index_db where 1 and mdtype<>',' and mdtype<>''
ไม่มีรายการที่ตรงเงื่อนไข
mysqli: Can't create/write to file '/tmp/#sql_434_0.MYI' (Errcode: 28)
select distinct placelist from index_db where 1 and placelist<>',' and placelist<>''
ไม่มีรายการที่ตรงเงื่อนไข
1. Thai (1,133)2. English (262)
1. 2557 (21)2. 2556 (253)3. 2555 (294)4. 2554 (64)5. 2553 (19)