$ix = 0; $st = "^a0"; foreach ($fp as $stats) { $stats = trim($stats); if ($stats != "") { if ($ix == 0) { $stats = explode('|', $stats); $st = '^a' . $stats[0] . '^b' . $stats[1]; break; } } } $Mfn = ""; for ($ix = 1; $ix <= $arrHttp["received"]; $ix++) { echo "<hr>"; $cn = ProximoNumero("copies"); echo "<p>" . $msgstr["createcopies"] . ": {$ix}"; echo "<br>" . $msgstr["inventory"] . ": {$cn}"; $ValorCapturado = "0001" . $arrHttp["objectid"]; //CONTROL NUMBER $ValorCapturado .= "\n0010" . $arrHttp["database"]; //DATABASE $ValorCapturado .= "\n0030" . $cn; //INVENTORY NUMBER // $ValorCapturado.="\n0035" //MAIN LIBRARY // $ValorCapturado.="\n0040" //BRANCH LIBRARY $ValorCapturado .= "\n0050" . $arrHttp["tome"]; //TOME $ValorCapturado .= "\n0060" . $arrHttp["volume"]; //VOLUME/PART // $ValorCapturado.="\n0063" //COPY NUMBER
<div class="spacer"> </div> </div> <div class="middle form"> <div class="formContent"> <?php //se lee la FDT de la base de datos para determinar el campo donde se almacena el número de control $Formato = $tag_ctl; if ($tag_ctl == "") { echo "<h4>" . $msgstr["missingctl"] . "</h4>"; } else { echo $msgstr["cn"] . " " . $msgstr["tag"] . ": {$tag_ctl}<br>"; echo "<table>"; echo "<th>Mfn</th><th>" . $msgstr["cn"] . "</th>"; for ($Mfn = $arrHttp["Mfn"]; $Mfn <= $arrHttp["to"]; $Mfn++) { $control = ProximoNumero($arrHttp["base"]); $tag_ctl = trim($tag_ctl); if (strlen($tag_ctl) == 1) { $tag_ctl = "000" . $tag_ctl; } if (strlen($tag_ctl) == 2) { $tag_ctl = "00" . $tag_ctl; } if (strlen($tag_ctl) == 3) { $tag_ctl = "0" . $tag_ctl; } $ValorCapturado = $tag_ctl . $control . "\n"; $IsisScript = $xWxis . "actualizar.xis"; $query = "&base=" . $arrHttp["base"] . "&cipar={$db_path}" . "par/" . $arrHttp["base"] . ".par&login="******"login"] . "&Mfn={$Mfn}&Opcion=actualizar&ValorCapturado=" . $ValorCapturado; include "../common/wxis_llamar.php"; echo "<tr><td>{$Mfn}</td><td>{$control}</td>";