-
Notifications
You must be signed in to change notification settings - Fork 0
/
bestell.php
292 lines (267 loc) · 8.99 KB
/
bestell.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
<html>
<head><meta charset="utf-8"></meta></head>
<body>
<style type="text/css">
<!--
#apDiv1 {
position:absolute;
left: 110px;
top:100px;
width:485px;
height:26px;
z-index:1;
padding-bottom:15px;
}
#apDiv2 {
position:absolute;
left:189px;
top:10px;
width:287px;
height:79px;
z-index:2;
}
#apDiv3 {
position:absolute;
left:41px;
top:685px;
width:870px;
height:273px;
z-index:3;
}
#apDiv4 {
position:absolute;
left:100px;
top:128px;
width:484px;
height:515px;
z-index:4;
}
#bestell_1 {
font-family: Verdana, Geneva, sans-serif;
font-size: 10px;
color: #59635e;
}
#apDiv4 table tr td {
font-size: 10px;
font-family: Verdana, Geneva, sans-serif;
color: #59635e;
}
#apDiv4 table tr td .bestellformular {
font-size: 9px;
}
#apDiv5 {
position:absolute;
left:99px;
top:632px;
width:461px;
height:34px;
z-index:5;
}
.bestellformular_txt {
font-size: 9px;
text-align: center;
}
.bestellformular_txt {
font-family: Verdana, Geneva, sans-serif;
font-size: 10px;
font-style: normal;
line-height: normal;
font-variant: normal;
text-transform: none;
color: #59635e;
text-align: center;
}
.bestellformular_bold {
font-family: Verdana, Geneva, sans-serif;
font-size: 10px;
font-style: italic;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
color: #59635e;
text-align: center;
}
.mittelachse_txt {
font-family: Verdana, Geneva, sans-serif;
font-size: 10px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #59635e;
letter-spacing: 120%;
text-align: center;
}
-->
</style>
<script type="text/javascript">
function validateForm()
{
if (document.getElementById('mailvorname').value == '') {
alert ("Bitte Vorname Feld eintragen!");
return false;
}
if (document.getElementById('mailname').value == '') {
alert ("Bitte Nachname Feld eintragen!");
return false;
}
if (document.getElementById('mailfrommail').value == '') {
alert ("Bitte email Feld eintragen!");
return false;
}
//if (document.getElementById('mailanzahl1').value == '0' && document.getElementById('mailanzahl2').value == '0' && document.getElementById('mailanzahl3').value == '0') {
// alert ("Bitte Anzahl der Karten eintragen!");
// return false;
//}
return true;
}
</script>
<div id="bestell" >
<div id="apDiv1" style="vertical-align: text-bottom; text-align: center; font-style: normal; font-size: 15px; color: #ee6600; font-family: Verdana, Geneva, sans-serif; font-weight: bold;">
Kartenbestellung-Online für <?php echo $_GET['verantyp']; ?>
</div>
<div id="apDiv2"><span style="float:left; margin-left: 5px;">
<img src="" /></span>
</div>
<div id="apDiv4" style="clear:both; font-family: Verdana, Geneva, sans-serif; margin: 0px; margin-left:10px; color: #59635e;">
<form id="kartenmail" name="input" onSubmit="return validateForm()" action="mailit.php" method="post" enctype="multipart/form-data">
<div style="text-align: center;">
<span class="bestellformular_bold">Vor dem Ausfüllen der Felder beachten Sie bitte folgende Hinweise:<br />
</span>
<span class="bestellformular_txt">Die Kasse im Foyer unseres Theaters öffnet für Sie 45 Minuten vor Beginn der Vorstellung.<br />
Ihr Anspruch auf vorbestellte Karten besteht bis 30 Minuten vor Vorstellungsbeginn. <br />
<br />
Bitte haben Sie Verständnis dafür, dass wir nicht abgeholte Karten in Rechnung
stellen müssen, wenn diese verbindliche Reservierung nicht einen Tag vor der Vorstellung
von Ihnen abgesagt wurde. Gekaufte Karten können wir leider nicht zurücknehmen.
Im Interesse unserer Besucher und Spieler ist ein Einlass nach Vorstellungsbeginn nur in einer Stückpause möglich. Wir bitten Sie, die angegebenen Altersempfehlungen zu beachten.<br />
<br />
Ermäßigung erhalten Schüler, Studenten, Schwerbehinderte, Arbeitslose, Sozialhilfeempfänger und Senioren bei Vorlage des entsprechenden Dokuments.<br />
<br />
<b>Onlinebestellungen sind leider nur bis vier Tage vor einer Vorstellung
möglich. Kurzfristige Kartenbestellungen nehmen wir gerne telefonisch unter
XXXXXXXXXXXX entgegen.<br></b><br/>
Mit dem Absenden der Bestellung akzeptieren Sie die oben genannten Bedingungen. Es gelten die Regeln des
<a href="" target="_blank">Datenschutzes</a>.
</span><br/><br/>
</div>
<table width="460" border="0" cellspacing="0" class="bestellformular_bold">
<tr>
<td valign="baseline">
Stücktitel:
</td>
<td valign="baseline">
am:
</td>
<td valign="baseline">
um:
</td>
</tr>
<tr>
<td valign="baseline">
<? echo $_GET['titel']; ?>
<input type="text" name="titel" style="display:none;" value="<? echo $_GET['titel']; ?>"/>
</td>
<td>
<? echo $_GET['datum']; ?>
<input type="text" name="datum" style="display:none;" value="<? echo $_GET['datum']; ?>"/>
</td>
<td>
<? echo $_GET['zeit']; ?>
<input type="text" name="zeit" style="display:none;" value="<? echo $_GET['zeit']; ?>"/>
</td>
</tr>
</table>
<div> <br/> </div>
<table width="475" border="0" cellspacing="0" style="margin-left: 15px;">
<tr>
<td width="172" align="left" valign="baseline"><span class="bestellformular_txt">Vorname</span></td>
<td width="261" align="left" valign="baseline"><span class="bestellformular_txt">Nachname</span></td>
</tr>
<tr>
<td align="left" valign="baseline">
<input type="text" class="bestellformular_txt" name="mailvorname" id="mailvorname" value="" tabindex="1" />
</td>
<td align="left" valign="baseline">
<input SIZE="45" type="text" class="bestellformular_txt" name="mailname" id="mailname" value="" tabindex="2" />
</td>
</tr>
<tr>
<td align="left" valign="baseline"><span class="bestellformular_txt">Strasse</span></td>
<td align="left" valign="baseline"><span class="bestellformular_txt">PLZ/Ort</span></td>
</tr>
<tr>
<td align="left" valign="baseline">
<input name="street" type="text" class="bestellformular_txt" id="street" value="" tabindex="3" />
</td>
<td align="left" valign="baseline">
<input name="zipcode" type="text" class="bestellformular_txt" id="zipcode" size="9" maxlength="7" tabindex="4" />
<input name="city" type="text" class="bestellformular_txt" id="city" size="34" tabindex="5" />
</td>
</tr>
<tr>
<td align="left" valign="baseline"><span class="bestellformular_txt">Telefon</span></td>
<td align="left" valign="baseline"><span class="bestellformular_txt">E-Mail</span></td>
</tr>
<tr>
<td align="left" valign="baseline">
<input name="phone" type="text" class="bestellformular_txt" name="phone" id="phone" value="" tabindex="6" />
</td>
<td align="left" valign="baseline">
<input style="margin-left:2px;" class="bestellformular_txt" SIZE="45" type="text" name="mailfrommail" id="mailfrommail" value="" tabindex="7"/>
</td>
</tr>
<tr>
<td>Ihre Nachricht an uns:
</td>
</tr>
<tr>
<td colspan="2"><TEXTAREA Name="persnach" id="persnach" ROWS="5" COLS="51" tabindex="8" ></TEXTAREA>
</td>
</tr>
</table>
<table width="460" border="0" cellspacing="0" style="margin-top: 15px;margin-left: 10px;">
<tr>
<td colspan="2"><p>Wie viele Karten möchten Sie bestellen? <br />
Bitte die jeweilige Anzahl in die vorgesehenen Kästchen eintragen.</p></td>
</tr>
<?php if( $_GET['p1'] != 0): ?>
<tr>
<td >* Kinderkarte(n) zur <?php echo $_GET['verantyp']; ?> zu je <?php echo $_GET['p1']?> €</td>
<td width="72"><span style="padding-top: 5px;">
<input type="text" name="mailanzahl1" id="mailanzahl1" value="0" size="3" maxlength="2" tabindex="9" />
</span> Stück</td>
</tr>
<?php endif;?>
<?php if( $_GET['p2'] != 0): ?>
<tr>
<td>* Erwachsenenkarte(n) zur <?php echo $_GET['verantyp']; ?> zu je <?php echo $_GET['p2']?> €</td>
<td><span style="padding-top: 5px;">
<input type="text" name="mailanzahl2" id="mailanzahl2" value="0" size="3" maxlength="2" tabindex="10" />
</span> Stück</td>
</tr>
<?php endif;?>
<?php if( $_GET['p3'] != 0): ?>
<tr>
<td>* Erwachsenenkarte(n) für Ermäßigungsberechtigte zu je <?php echo $_GET['p3']?> €</td>
<td><span style="padding-top: 5px;">
<input type="text" name="mailanzahl3" id="mailanzahl3" value="0" size="3" maxlength="2" tabindex="11" />
</span> Stück</td>
</tr>
<?php endif;?>
</table>
<div style="clear:both; font-size: 10px; font-family: Verdana, Geneva, sans-serif; margin: 0px; margin-left:10px; color: #59635e;">
Die Onlinebestellung ist erst dann gültig, wenn Sie eine Bestätigung von
uns erhalten haben.
</div>
<div style="margin-top:15px;">
<input type="submit" id="abschicken" value="Abschicken" tabindex="12"/>
</div>
</form>
</div>
<?php //echo print_r( $_GET );
?>
</body>
</html>