17 include_once (
"FDL/Class.Doc.php");
25 header(
'Content-type: text/xml; charset=utf-8');
29 $docid = GetHttpVars(
"id");
30 $attrid = strtolower(GetHttpVars(
"attrid"));
33 $action->lay->set(
"warning",
"");
38 if (!
$doc->isAlive())
$err = sprintf(_(
"document [%s] not found") ,
$docid);
42 if ($attrid) $values[$attrid] =
$doc->getRawValue($attrid);
43 else $values =
$doc->getValues();
44 foreach ($values as $aid => $v) {
45 $a =
$doc->getAttribute($aid);
46 if (
$a->visibility !=
"I") {
57 $action->lay->setBlockData(
"VALUES", $tvalues);
58 $action->lay->set(
"CODE",
"OK");
print< H1 > Check Database< i > $dbaccess</i ></H1 > $a
if($file) if($subject==""&&$file) if($subject=="") $err