-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrequest.php
178 lines (173 loc) · 10.3 KB
/
request.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
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once('class.TicketPage.php');
$page = new TicketPage('Burning Flipside - Tickets');
$page->addWellKnownJS(JS_DATATABLE);
$page->addWellKnownJS(JS_BOOTSTRAP_FH, false);
$page->addWellKnownCSS(CSS_DATATABLE);
$page->addWellKnownCSS(CSS_BOOTSTRAP_FH);
$email = '';
if($page->user)
{
$email = $page->user->mail;
}
$page->body .= '
<div id="content">
<form id="request" role="form">
<fieldset id="request_set">
<legend>Ticket Request</legend>
<div class="form-group">
<label for="mail" class="col-sm-2 control-label">Request ID:</label>
<div class="col-sm-10">
<input class="form-control" type="text" name="request_id" id="request_id" readonly data-toggle="tooltip" data-placement="top" title="This request ID uniquely identifies your request. Don\'t worry, it should be the same as in previous years."/>
</div>
</div>
<div class="clearfix visible-sm visible-md visible-lg"></div>
<div class="form-group">
<label for="givenName" class="col-sm-2 control-label">First Name:</label>
<div class="col-sm-10">
<input class="form-control" id="givenName" name="givenName" type="text" required data-toggle="tooltip" data-placement="top" title="This is the first name for the mailing address."/>
</div>
</div>
<div class="clearfix visible-sm visible-md visible-lg"></div>
<div class="form-group">
<label for="sn" class="col-sm-2 control-label">Last Name:</label>
<div class="col-sm-10">
<input class="form-control" id="sn" name="sn" type="text" required data-toggle="tooltip" data-placement="top" title="This is the last name for the mailing address."/>
</div>
</div>
<div class="clearfix visible-sm visible-md visible-lg"></div>
<div class="form-group">
<label for="mail" class="col-sm-2 control-label">Email:</label>
<div class="col-sm-10">
<input class="form-control" type="text" name="mail" id="mail" readonly data-toggle="tooltip" data-placement="top" title="This is the email address used for futher communications. This email address has been set and confirmed by your profile. If you need to use a different email address please edit your profile." value="'.$email.'"/>
</div>
</div>
<div class="form-group">
<label for="c" class="col-sm-2 control-label">Country:</label>
<div class="col-sm-10">
<select class="form-control bfh-countries" id="c" name="c" data-country="US" required data-toggle="tooltip" data-placement="top" title="The Country for the mailing address."></select>
</div>
</div>
<div class="form-group">
<label for="mobile" class="col-sm-2 control-label">Cell Number:</label>
<div class="col-sm-10">
<input id="mobile" name="mobile" type="text" class="form-control bfh-phone" required data-country="c" data-toggle="tooltip" data-placement="top" title="This phone number may be used by the ticket team in case of a problem with your request."/>
</div>
</div>
<div class="clearfix visible-sm visible-md visible-lg"></div>
<div class="form-group">
<label for="street" class="col-sm-2 control-label">Street Address:</label>
<div class="col-sm-10">
<textarea class="form-control" required id="street" name="street" rows="2" data-toggle="tooltip" data-placement="top" title="The street address for the mailing address."></textarea>
</div>
</div>
<div class="form-group">
<label for="zip" class="col-sm-2 control-label">Postal/Zip Code:</label>
<div class="col-sm-10">
<input class="form-control" required id="zip" name="zip" type="text" data-toggle="tooltip" data-placement="top" title="The zip or postal code for the mailing address."/>
</div>
</div>
<div class="clearfix visible-sm visible-md visible-lg"></div>
<div class="form-group">
<label for="l" class="col-sm-2 control-label">City:</label>
<div class="col-sm-10">
<input class="form-control" required id="l" name="l" type="text" data-toggle="tooltip" data-placement="top" title="The city for the mailing address."/>
</div>
</div>
<div class="form-group">
<label for="st" class="col-sm-2 control-label">State:</label>
<div class="col-sm-10">
<select class="form-control bfh-states" required data-country="c" id="st" name="st" type="text" data-toggle="tooltip" data-placement="top" title="The state/province/or other subdivision of the country for the mailing address."></select>
</div>
</div>
<div class="clearfix visible-md visible-lg"></div>
<table id="ticket_table" class="table">
<thead>
<tr>
<th></th>
<th>First Name</th>
<th>Last Name</th>
<th>Age</th>
<th>Ticket Cost</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<td colspan="3"><div id="new_ticket_tooltip"><button type="button" class="btn btn-primary" id="add_new_ticket">Add New Tickets</button></div></td>
<th>Ticket Subtotal:</th>
<th id="ticket_subtotal"></th>
</tr>
</tfoot>
</table>
<fieldset id="donations">
<legend>Donation</legend>
</fieldset>
<fieldset>
<legend>Envelope Art</legend>
<input id="envelopeArt" name="envelopeArt" type="checkbox"/>
<label for="envelopeArt">
Allow AAR to use my envelope art in the Survival Guide or Website. It will be credited by the name on the return address.
</label>
</fieldset>
<fieldset>
<legend>Mailing Lists</legend>
It is highly recommended that all Burning Flipside participants sign up for one or more email lists to allow
AAR, LLC to communicate important details about Burning Flipside before and after the event.<br/>
<br/>
Sign me up for the following lists:<br/>
<table id="email_lists" class="table">
</table>
</fieldset>
<button type="submit" name="submit" class="btn btn-primary">Submit Request</button>
</fieldset>
</form>
</div>
<div id="minor_dialog" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" aria-labelledby="minor-title">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 id="minor-title" class="modal-title">Important Information About Minors At Burning Flipside</h4>
</div>
<div class="modal-body">
<p>Your ticket request indicates that you are brining a minor child to Burning Flipside. If this is a mistake please hit
the correct button below and fix your request. If this is not a mistake and you are bringing minor children to Burning Flipside
then you must read the content below.</p>
<ul>
<li>For the protection of minor children and in accordance with Texas law, any minor child attending this event must be accompanied
by someone with legal authority to make decisions for the child.</li>
<li>A minor is anyone under the age of 18.</li>
<li>You must bring proper documentation to demonstrate your authority to make decisions for the child. For the child: physical copies of
birth certificate, passport, or other official document. For the parent: photo ID. An electronic copy of your documentation will be
stored along with the signed event waiver.</li>
<li>A special affidavit process is also available. See below:</li>
</ul>
<p>If you do not with to bring irreplaceable documents to Burning Flipside you may bring a notorized affidavit. NOTE: Many
parents consider this process much easier and quicker at Gate.</p>
<ol>
<li>Download a copy of the affidavit below</li>
<li>Print out the affidavit.</li>
<li>Bring the affidavit, along with your child\'s birth certificate and/or passport, to a Public Notary.</li>
<li>Have the affidavit notarized.</li>
<li>Put your other documents away and bring the notarized affidavit to Flipside with you.</li>
<li>Present the affidavit to the Gate staff with the minor\'s ticket and your legal ID. Gate will keep the affidavit for Flipside\'s records.</li>
</ol>
<center>
<a href="static/MinorAffidavit03222010.doc" target="_blank"><img src="/images/MS_word_DOC_icon.svg" style="width: 40px; height: 40px;" alt="Word Doc"/></a>
<a href="static/MinorAffidavit03222010.pdf" target="_blank"><img src="/images/Adobe_PDF_Icon.svg" style="width: 40px; height: 40px;" alt="PDF"/></a>
</center>
<input type="checkbox" id="minor_affirm" onchange="minor_affirm_clicked()"> <label for="minor_affirm">I have read and understand the above policies.</label>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Oops! I don\'t have any children attending the event!</button>
<button id="minor_dialog_continue" type="button" class="btn btn-primary" data-dismiss="modal" disabled>Continue</button>
</div>
</div>
</div>
</div>
';
$page->printPage();
// vim: set tabstop=4 shiftwidth=4 expandtab: