47 lines
1.5 KiB
PHP
47 lines
1.5 KiB
PHP
<?php
|
|
/*=======================================================================
|
|
*
|
|
* invoice.php
|
|
*
|
|
* Autor: Carsten Annacker
|
|
*
|
|
=======================================================================*/
|
|
|
|
include_once("../include/global.inc.php");
|
|
include_once("../include/caglobal.inc.php");
|
|
include_once("../include/auth.inc.php");
|
|
|
|
list ($csc_id, $currentNavigationItem) = getHttpVars(array("csc_id","currentNavigationItem"));
|
|
$usr_id = $HTTP_SESSION_VARS['usr_id'];
|
|
$usr_type = getFieldValueFromId("user", "usr_id", "$usr_id", "usr_type");
|
|
if ($usr_type != 3):
|
|
// no courier
|
|
reportDie ("$PHP_SELF: Ungültiger 'usr_type': '$usr_type'", false);
|
|
endif;
|
|
?>
|
|
|
|
<html>
|
|
<head>
|
|
<title>AUFTRÄGE</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta name="description" content="Aufträge">
|
|
<script type="text/javascript">
|
|
function checkWidth (curWidth) {
|
|
if (document.body.clientWidth < 1200) {
|
|
document.getElementById("winInvoice").rows = "150,*";
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<frameset id="winInvoice" rows="125,*" border=0 onLoad="checkWidth()">
|
|
<frame src="inv_header.php?currentNavigationItem=<?php echo $currentNavigationItem;?>" name="inv_header" scrolling="no" marginwidth=0 marginheight=0>
|
|
<frame src="inv_details_cr.php?deactivateMenu=1" name="inv_details_cr" scrolling="yes" marginwidth=0 marginheight=0>
|
|
<noframes>
|
|
<p>Diese Seite benutzt Frames. Bitte benutzen Sie einen Browser, der Frames darstellen kann
|
|
(z.B. Internet Explorer ab Version 3.0 oder Netscape ab Version 2.0).</p>
|
|
</noframes>
|
|
</frameset>
|
|
</html>
|