$cont = "S";
 if ($nv > 0 and isset($arrHttp["inventory"]) and $obj[12] != "Y") {
     $ec_output .= "<font color=red><h3>" . $msgstr["useroverdued"] . "</h3></font>";
     $cont = "N";
 } else {
     //	echo "$np /$tprestamos_p/";
     if (trim($tprestamos_p) != "") {
         if ($np >= $tprestamos_p) {
             $ec_output .= " <font color=red><h3>" . $msgstr["nomoreloans"] . "</h3></font>";
             $cont = "N";
         }
     }
 }
 if ($cont == "S") {
     // Se localiza el registro catalográfico utilizando los datos anteriores
     $ref_cat = ReadCatalographicRecord($control_number, $catalog_db);
     if ($ref_cat == "") {
         //The catalographic record is not found
         $ec_output .= "<h3><font color=red>" . $arrHttp["inventory"] . " " . $msgstr["catalognotfound"] . "</font></h3>";
         $cont = "N";
         ProduceOutput($ec_output, "");
         die;
     }
     $tt = explode('###', trim($titulo));
     $obj_store = $tt[1];
     $tt = explode('||', $tt[0]);
     $titulo = $tt[0];
     $signatura = $tt[1];
     //signatura topográfica
     $ec_output .= "<blockquote>{$titulo}</blockquote>";
     //		$ec_output.= "</ul>";
?>
</a>&nbsp &nbsp;
<?php 
if (isset($_SESSION["permiso"]["CENTRAL_EDHLPSYS"])) {
    echo "<a href=../documentacion/edit.php?archivo=" . $_SESSION["lang"] . "/situacion_de_un_objeto.html target=_blank>" . $msgstr["edhlp"] . "</a>";
}
echo "<font color=white>&nbsp; &nbsp; Script: situacion_de_un_objeto_ex.php</font>\n";
echo "\r\n\t</div>\r\n<div class=\"middle form\">\r\n\t<div class=\"formContent\">";
// se lee la tabla de tipos de objeto
unset($fp);
$archivo = $db_path . "circulation/def/" . $_SESSION["lang"] . "/items.tab";
if (!file_exists($archivo)) {
    $archivo = $db_path . "circulation/def/" . $lang_db . "/items.tab";
}
$fp = file($archivo);
foreach ($fp as $value) {
    $value = trim($value);
    if ($value != "") {
        $t = explode('|', $value);
        if (!isset($t[1])) {
            $t[1] = $t[0];
        }
        $type_items[$t[0]] = $t[1];
    }
}
//GET THE INFORMATION OF THE DATABASE SELECTED
$b = explode('|', $arrHttp["db"]);
$catalog_db = $b[0];
$arrHttp["db"] = $catalog_db;
require_once "databases_configure_read.php";
$total = ReadCatalographicRecord($arrHttp["code"], $catalog_db);