Beispiel #1
0
/acquisitions/suggestions_new_update.html target=_blank><?php 
echo $msgstr["help"];
?>
</a>&nbsp &nbsp;
<?php 
if (isset($_SESSION["permiso"]["CENTRAL_EDHLPSYS"])) {
    echo "<a href=../documentacion/edit.php?archivo=" . $_SESSION["lang"] . "/acquisitions/order_new_update.html target=_blank>" . $msgstr["edhlp"] . "</a>";
}
echo "<font color=white>&nbsp; &nbsp; Script: order_new_update.php</font>\n";
?>
	</div>
	<div class="middle form">
		<div class="formContent">
<?php 
if ($err == "") {
    $arrHttp["Formato"] = "purchaseorder";
    $regSal = LeerRegistroFormateado($arrHttp["Formato"]);
    echo $regSal;
} else {
    echo "<h4>{$err}</h4>";
    echo "<p><a href=javascript:document.forma2.submit()>" . $msgstr["back"] . "</a>";
}
echo "<form name=forma2 method=post action=order_new.php>\n";
echo "<input type=hidden name=wks value=" . $arrHttp["wks"] . ">";
echo "<input type=hidden name=base value=" . $arrHttp["base"] . ">";
echo "<input type=hidden name=mov value=" . $arrHttp["mov"] . ">";
echo "<input type=hidden name=cipar value=" . $arrHttp["cipar"] . ">";
foreach ($arrHttp as $var => $value) {
    if (substr($var, 0, 3) == "tag") {
        echo "<input type=hidden name={$var} value=\"{$value}\">\n";
    }
echo $msgstr["help"];
?>
</a>&nbsp &nbsp;
<?php 
if (isset($_SESSION["permiso"]["CENTRAL_EDHLPSYS"])) {
    echo "<a href=../documentacion/edit.php?archivo=" . $_SESSION["lang"] . "/acquisitions/suggestions_new_update.html target=_blank>" . $msgstr["edhlp"] . "</a>";
}
echo "<font color=white>&nbsp; &nbsp; Script: suggestions_new_update.php</font>\n";
?>
	</div>
	<div class="middle form">
		<div class="formContent">
<?php 
if ($cn != "") {
    $arrHttp["Formato"] = $arrHttp["base"];
    echo LeerRegistroFormateado($arrHttp["Formato"]);
} else {
    echo "<h5>" . $msgstr["noseq"] . "</h5>";
    $url = "";
    echo "<form name=enviar method=post action=suggestions_new_update.php>\n";
    foreach ($arrHttp as $var => $value) {
        echo "<input type=hidden name={$var} value=\"{$value}\">\n";
    }
    echo "<input type=submit value=\"" . $msgstr["tryagain"] . "\">\r\n\r\n    </form>";
    echo "<p>{$url}";
    //	$permisos=VerificarPermisos($perms);
    //	echo $permisos."<p>";
    die;
}
die;
//------------------------------------------------------