{*
RentStock
Lager und Planungs dispositions Software für den Messebau und eventbasierte Unternemen
Copyright (C) 2007-2008 Stefan Brinkmann
Dieses Programm ist freie Software.
Sie können es unter den Bedingungen der GNU General Public License,
wie von der Free Software Foundation veröffentlicht,
weitergeben und/oder modifizieren,
entweder gemäà Version 3 der Lizenz oder (nach Ihrer Option) jeder späteren Version.
Die Veröffentlichung dieses Programms erfolgt in der Hoffnung,
daà es Ihnen von Nutzen sein wird,
aber OHNE IRGENDEINE GARANTIE,
sogar ohne die implizite Garantie der MARKTREIFE oder der VERWENDBARKEIT FÃR EINEN BESTIMMTEN ZWECK.
Details finden Sie in der GNU General Public License.
Sie sollten ein Exemplar der GNU General Public License zusammen mit diesem Programm erhalten haben.
Falls nicht, siehe <http://www.gnu.org/licenses/>.
*}
{config_load file=statics.conf section="setup"}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Expires" content="Fri, Jan 01 1900 00:00:00 GMT">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; utf-8">
<meta http-equiv="content-language" content="de">
<meta name="author" content="Stefan Brinkmann (www.stb-webdev.de)">
<meta http-equiv="Reply-to" content="hide@address.com">
<meta name="generator" content="PhpED 4.5">
<meta name="description" content="">
<meta name="keywords" content="">
<base href="{$url_base}" >
<title>{T v="page title (ext)"}</title>
<link href="{#dir_style#}style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="JavaScript" src="js/functions.js"></script>
</head>
<body>
{if $success}
<script type="text/javascript">
// <![CDATA[
{if $booking.notice}
var t = '<img id="img-left" src="style/default/img/warn.png" onclick="return overlib(\'{$booking.notice|script}\',CAPTION,\'{T v="booking notice (ext)" js=1}\',STICKY);" onmouseout="nd();" onmouseover="return overlib(\'{$booking.notice|script}\');"/>';
rs_replace_html(parent.document, 'tip_{$art_id}', t);
{else}
rs_replace_html(parent.document, 'tip_{$art_id}', '');
{/if}
{if $booking.count}
rs_replace_html(parent.document, 'count_{$art_id}', {$booking.count});
{else}
rs_replace_html(parent.document, 'count_{$art_id}', '');
{/if}
// ajax
{if $exit}
parent.window.location.reload();
{else}
parent.cClick(); // close popup overlib window
{/if}
// ]]>
</script>
{else}
<form action="index.php?page=edit_booking" method="post">
<input type="hidden" name="a" value="{$art_id}" />
<input type="hidden" name="h" value="{checksum value=$art_id}" />
<table>
<tr>
<td class="tableheader-top" colspan="2" >{$art_name}</td>
</tr>
<tr>
<td class="inp" >{T v="count (ext)"}: </td>
<td class="inp" ><input type="text" name="count" value="{if $booking.xcount > 0}{$booking.xcount|html}{/if}" size="6" /></td>
</tr>
<tr>
<td class="inp" >{T v="notice (ext)"}: </td>
<td class="inp" ><textarea name="notice" cols="30" rows="3">{$booking.notice|html}</textarea></td>
</tr>
<tr>
<td class="inp" colspan="2" ><input type="submit" name="submit" value="{T v="submit order now! (ext)"}"/></td>
</tr>
</table>
</form>
{/if}
</body>
</html>