-
Notifications
You must be signed in to change notification settings - Fork 1
/
art_reg.php
489 lines (432 loc) · 30.7 KB
/
art_reg.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
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once('class.RegisterWizardPage.php');
$page = new RegisterWizardPage('Art Project');
$page->addWellKnownJS(JS_BOOTBOX, false);
$page->addJS('js/art_reg.js');
$index = $page->add_wizard_step('Basic Questions');
$page->add_raw_html($index, '<div class="form-check">
<input class="form-check-input" type="checkbox" name="need_logistics" id="need_logistics"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="This project has logistical needs such as needing help transporting to the site, heavy equipment needs, outside volunteers etc.">
<label for="need_logistics" class="form-check-label non-required">This project needs logistical help</label>
</div>');
$page->add_raw_html($index, '<div class="form-check">
<input class="form-check-input" type="checkbox" name="has_sound" id="has_sound"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="This project will utilize amplified sound in some form.">
<label for="has_sound" class="form-check-label non-required">This project has sound</label>
</div>');
$page->add_raw_html($index, '<div class="form-check">
<input class="form-check-input" type="checkbox" name="has_fe" id="has_fe"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="This project has flame effects (propane or other combustable non-consuming effects).">
<label for="has_fe" class="form-check-label non-required">This project has flame effects</label>
</div>');
$page->add_raw_html($index, '<div class="form-check">
<input class="form-check-input" type="checkbox" name="will_burn" id="will_burn"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="This project has flame effects or I would like to burn this piece.">
<label for="will_burn" class="form-check-label non-required">I would like to burn this project</label>
</div>');
$index = $page->add_wizard_step('Images');
$page->add_form_group($index, 'Image #1', 'image_1', 'file', 'A picture or drawing of your art.');
$page->add_form_group($index, 'Image #2', 'image_2', 'file', 'A picture or drawing of your art.');
$page->add_form_group($index, 'Image #3', 'image_3', 'file', 'A picture or drawing of your art.');
$index = $page->add_wizard_step('Art Team Contacts');
$page->add_raw_html($index, '<div id="accordion">
<div class="card">
<div class="card-header" id="headingOne">
<h5 class="mb-0">
<button class="btn btn-link" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true"
aria-controls="collapseOne">
Art Lead
</button>
</h5>
</div>
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
<div class="card-body">
<div class="form-group">
<label for="artlead_name">Full Name:</label>
<input class="form-control" type="text" name="artlead_name" id="artlead_name" data-toggle="tooltip"
data-placement="top" title="" required="" data-original-title="This is the name of the camp lead">
</div>
<div class="form-group">
<label for="artlead_burnerName" class="non-required">Burner Name:</label>
<input class="form-control" type="text" name="artlead_burnerName" id="artlead_burnerName"
data-toggle="tooltip" data-placement="top" title="" data-original-title="This is the burner name/nickname of the camp lead"
aria-describedby="tooltip633155">
<div class="tooltip fade top in" role="tooltip" id="tooltip633155" style="top: -50px; left: 341.336px; display: block;">
<div class="tooltip-arrow" style="left: 50%;"></div>
<div class="tooltip-inner">This is the burner name/nickname of the camp lead</div>
</div>
</div>
<div class="form-group">
<label for="artlead_email">Email Address:</label>
<input class="form-control" type="text" name="artlead_email" id="artlead_email"
data-toggle="tooltip" data-placement="top" title="" required="" disabled=""
data-original-title="This is the email address of the camp lead">
</div>
<div class="form-group">
<label for="artlead_phone">Phone Number:</label>
<input class="form-control" type="text" name="artlead_phone" id="artlead_phone"
data-toggle="tooltip" data-placement="top" title="" required="" data-original-title="This is the phone number of the camp lead">
</div>
<div class="form-group">
<label for="artLead_camp">Theme Camp Affiliation:</label>
<input class="form-control" type="text" name="artLead_camp" id="artLead_camp"
data-toggle="tooltip" data-placement="top" title="" required="" data-original-title="The Theme Camp where art lead will camp.">
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="artlead_sms" id="artlead_sms"
data-toggle="tooltip" data-placement="top" title="" data-original-title="This phone number can be used to recieve text messages">
<label for="artlead_sms" class="form-check-label non-required">This number can receive SMS messages:</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="artlead_just_me" id="artlead_just_me"
data-toggle="tooltip" data-placement="top" title="" data-original-title="The art lead will be contact for all issues about the art including safety, cleanup, fire, and sound.">
<label for="artlead_just_me" class="form-check-label non-required">The art lead is the only contact</label>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingTwo">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false"
aria-controls="collapseTwo">
Safety Lead
</button>
</h5>
</div>
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
<div class="card-body">
<div class="form-group">
<label for="safetyLead_name">Full Name:</label>
<input class="form-control" type="text" name="safetyLead_name" id="safetyLead_name"
data-toggle="tooltip" data-placement="top" title="" required="" data-copyfrom="artlead_name"
data-copytrigger="#artlead_just_me" data-original-title="This is the name of the safety lead">
</div>
<div class="form-group">
<label for="safetyLead_burnerName" class="non-required">Burner Name:</label>
<input class="form-control" type="text" name="safetyLead_burnerName" id="safetyLead_burnerName"
data-toggle="tooltip" data-placement="top" title="" data-copyfrom="artlead_burnerName"
data-copytrigger="#artlead_just_me" data-original-title="This is the burner name/nickname of the safety lead">
</div>
<div class="form-group">
<label for="safetyLead_email">Email Address:</label>
<input class="form-control" type="text" name="safetyLead_email" id="safetyLead_email"
data-toggle="tooltip" data-placement="top" title="" required="" data-copyfrom="artlead_email"
data-copytrigger="#artlead_just_me" data-original-title="This is the email address of the safety lead">
</div>
<div class="form-group">
<label for="safetyLead_phone">Phone Number:</label>
<input class="form-control" type="text" name="safetyLead_phone" id="safetyLead_phone"
data-toggle="tooltip" data-placement="top" title="" required="" data-copyfrom="artlead_phone"
data-copytrigger="#artlead_just_me" data-original-title="This is the phone number of the safety lead">
</div>
<div class="form-group">
<label for="safetylead_camp">Theme Camp Affiliation:</label>
<input class="form-control" type="text" name="safetylead_camp" id="safetylead_camp"
data-toggle="tooltip" data-placement="top" title="" required="" data-original-title="The Theme Camp where safety lead will camp.">
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="safetyLead_sms" id="safetyLead_sms"
data-toggle="tooltip" data-placement="top" title="" data-copyfrom="artlead_sms"
data-copytrigger="#artlead_just_me" data-original-title="This phone number can be used to recieve text messages">
<label for="safetyLead_sms" class="form-check-label non-required">This number can receive SMS messages:</label>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingThree">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapseThree"
aria-expanded="false" aria-controls="collapseThree">
Cleanup Lead
</button>
</h5>
</div>
<div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordion">
<div class="card-body">
<div class="form-group">
<label for="cleanupLead_name">Full Name:</label>
<input class="form-control" type="text" name="cleanupLead_name" id="cleanupLead_name"
data-toggle="tooltip" data-placement="top" title="" required="" data-copyfrom="artlead_name"
data-copytrigger="#artlead_just_me" data-original-title="This is the name of the cleanup lead">
</div>
<div class="form-group">
<label for="cleanupLead_burnerName" class="non-required">Burner Name:</label>
<input class="form-control" type="text" name="cleanupLead_burnerName" id="cleanupLead_burnerName"
data-toggle="tooltip" data-placement="top" title="" data-copyfrom="artlead_burnerName"
data-copytrigger="#artlead_just_me" data-original-title="This is the burner name/nickname of the cleanup lead">
</div>
<div class="form-group">
<label for="cleanupLead_email">Email Address:</label>
<input class="form-control" type="text" name="cleanupLead_email" id="cleanupLead_email"
data-toggle="tooltip" data-placement="top" title="" required="" data-copyfrom="artlead_email"
data-copytrigger="#artlead_just_me" data-original-title="This is the email address of the cleanup lead">
</div>
<div class="form-group">
<label for="cleanupLead_phone">Phone Number:</label>
<input class="form-control" type="text" name="cleanupLead_phone" id="cleanupLead_phone"
data-toggle="tooltip" data-placement="top" title="" required="" data-copyfrom="artlead_phone"
data-copytrigger="#artlead_just_me" data-original-title="This is the phone number of the cleanup lead">
</div>
<div class="form-group">
<label for="cleanupLead_camp">Theme Camp Affiliation:</label>
<input class="form-control" type="text" name="cleanupLead_camp" id="cleanupLead_camp"
data-toggle="tooltip" data-placement="top" title="" required="" data-original-title="The Theme Camp where cleanup lead will camp.">
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="cleanupLead_sms" id="cleanupLead_sms"
data-toggle="tooltip" data-placement="top" title="" data-copyfrom="artlead_sms"
data-copytrigger="#artlead_just_me" data-original-title="This phone number can be used to recieve text messages">
<label for="cleanupLead_sms" class="form-check-label non-required">This number can receive SMS messages:</label>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingFive">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapseFive" aria-expanded="false"
aria-controls="collapseFive">
Fire Lead
</button>
</h5>
</div>
<div id="collapseFive" class="collapse" aria-labelledby="headingFive" data-parent="#accordion">
<div class="card-body">
<div class="form-group">
<label for="firelead_name">Full Name:</label>
<input class="form-control" type="text" name="firelead_name" id="firelead_name"
data-toggle="tooltip" data-placement="top" title="" required="" data-copyfrom="artlead_name"
data-copytrigger="#artlead_just_me" data-original-title="This is the name of the volunteering">
</div>
<div class="form-group">
<label for="firelead_burnerName" class="non-required">Burner Name:</label>
<input class="form-control" type="text" name="firelead_burnerName" id="firelead_burnerName"
data-toggle="tooltip" data-placement="top" title="" data-copyfrom="artlead_burnerName"
data-copytrigger="#artlead_just_me" data-original-title="This is the burner name/nickname of the volunteering">
</div>
<div class="form-group">
<label for="firelead_email">Email Address:</label>
<input class="form-control" type="text" name="firelead_email" id="firelead_email"
data-toggle="tooltip" data-placement="top" title="" required="" data-copyfrom="artlead_email"
data-copytrigger="#artlead_just_me" data-original-title="This is the email address of the volunteering">
</div>
<div class="form-group"><label for="firelead_phone">Phone Number:</label>
<input class="form-control" type="text" name="firelead_phone" id="firelead_phone"
data-toggle="tooltip" data-placement="top" title="" required="" data-copyfrom="artlead_phone"
data-copytrigger="#artlead_just_me" data-original-title="This is the phone number of the volunteering">
</div>
<div class="form-group">
<label for="firelead_camp">Theme Camp Affiliation:</label>
<input class="form-control" type="text" name="firelead_camp" id="firelead_camp"
data-toggle="tooltip" data-placement="top" title="" required="" data-original-title="The Theme Camp where fire lead will camp.">
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="firelead_sms" id="firelead_sms"
data-toggle="tooltip" data-placement="top" title="" data-copyfrom="artlead_sms"
data-copytrigger="#artlead_just_me" data-original-title="This phone number can be used to recieve text messages">
<label for="firelead_sms" class="form-check-label non-required">This number can receive SMS messages:</label>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingSix">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapseSix" aria-expanded="false"
aria-controls="collapseSix">
Sound Lead
</button>
</h5>
</div>
<div id="collapseSix" class="collapse" aria-labelledby="headingSix" data-parent="#accordion">
<div class="card-body">
<div class="form-group">
<label for="soundlead_name">Full Name:</label>
<input class="form-control" type="text" name="soundlead_name" id="soundlead_name" data-toggle="tooltip"
data-placement="top" title="" required="" data-copyfrom="artlead_name" data-copytrigger="#artlead_just_me"
data-original-title="This is the name of the volunteering">
</div>
<div class="form-group">
<label for="soundlead_burnerName" class="non-required">Burner Name:</label>
<input class="form-control" type="text" name="soundlead_burnerName" id="soundlead_burnerName"
data-toggle="tooltip" data-placement="top" title="" data-copyfrom="artlead_burnerName"
data-copytrigger="#artlead_just_me" data-original-title="This is the burner name/nickname of the volunteering">
</div>
<div class="form-group">
<label for="soundlead_email">Email Address:</label>
<input class="form-control" type="text" name="soundlead_email" id="soundlead_email" data-toggle="tooltip"
data-placement="top" title="" required="" data-copyfrom="artlead_email" data-copytrigger="#artlead_just_me"
data-original-title="This is the email address of the volunteering">
</div>
<div class="form-group"><label for="soundlead_phone">Phone Number:</label>
<input class="form-control" type="text" name="soundlead_phone" id="soundlead_phone" data-toggle="tooltip"
data-placement="top" title="" required="" data-copyfrom="artlead_phone" data-copytrigger="#artlead_just_me"
data-original-title="This is the phone number of the volunteering">
</div>
<div class="form-group">
<label for="soundlead_camp">Theme Camp Affiliation:</label>
<input class="form-control" type="text" name="soundlead_camp" id="soundlead_camp" data-toggle="tooltip"
data-placement="top" title="" required="" data-original-title="The Theme Camp where fire lead will camp.">
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="soundlead_sms" id="soundlead_sms" data-toggle="tooltip"
data-placement="top" title="" data-copyfrom="artlead_sms" data-copytrigger="#artlead_just_me"
data-original-title="This phone number can be used to recieve text messages">
<label for="soundlead_sms" class="form-check-label non-required">This number can receive SMS messages:</label>
</div>
</div>
</div>
</div>
</div>');
$index = $page->add_wizard_step('Placement Information');
$page->add_raw_html($index, '<div class="alert alert-info" role="alert"><span class="fa fa-bed" aria-hidden="true"></span> If this piece is to be placed with your theme camp, be sure it\'s footprint is included on the theme camp registration form <a href="add.php" class="alert-link" target="_blank">here</a>.</div>');
$page->add_raw_html($index, '<div class="embed-responsive embed-responsive-4by3">
<object class="embed-responsive-item" type="application/pdf" data="img/guide_map16a.pdf">
<p>
<img src="img/guide_map16a.png" class="img-responsive"/>
Sorry, your browser is unable to display the full res map in line. Click <a href="img/guide_map16a.pdf">here</a> to download it
</p>
</object>
</div>');
$page->add_form_group($index, 'Show on map:', 'placement_on_map', 'checkbox', 'Check this box if you want your art installation to be shown on city planning map.');
$page->add_form_group($index, 'In Theme Camp:', 'placement_in_camp', 'text', 'If your art will be placed within the borders of a theme camp enter the camp name here.');
$page->add_form_group($index, 'Width (in feet):', 'placement_width', 'number', 'Approximate project width, in feet');
$page->add_form_group($index, 'Length (in feet):', 'placement_length', 'number', 'Approximate project length, in feet');
$page->add_form_group($index, 'Height (in feet):', 'placement_height', 'number', 'Approximate project height, in feet');
$options = array(
array('value'=>'any', 'text'=>'Any', 'selected'=>TRUE),
array('value'=>'corral', 'text'=>'Corral'),
array('value'=>'crossroads', 'text'=>'Cross roads'),
array('value'=>'effigy', 'text'=>'Effigy Field'),
array('value'=>'island', 'text'=>'Island'),
array('value'=>'onRoad', 'text'=>'Along a Roadway'),
array('value'=>'riverwalk', 'text'=>'Riverwalk'),
array('value'=>'ownCamp', 'text'=>'Own Themecamp'),
array('value'=>'otherCamp', 'text'=>'Other Themecamp')
);
$page->add_form_group($index, 'Preference 1:', 'placement_pref1', 'select', 'Your first choice for a general type of placement.', array('options'=>$options));
$page->add_form_group($index, 'Preference 2:', 'placement_pref2', 'select', 'Your second choice for a general type of placement.', array('options'=>$options));
$page->add_form_group($index, 'Preference 3:', 'placement_pref3', 'select', 'Your third choice for a general type of placement.', array('options'=>$options));
$page->add_form_group($index, 'Preference Description:', 'placement_desc', 'textarea', 'Describe your ideal installation spot.');
$index = $page->add_wizard_step('Logistics Information', 'logistics');
$page->add_raw_html($index, '<div class="form-check">
<input class="form-check-input" type="checkbox" name="logistics_needsTranspo" id="logistics_needsTranspo"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="I need help transporting this project to Burning Flipside.">
<label for="logistics_needsTranspo" class="form-check-label non-required">I need help transporting this project to Flipside</label>
</div>');
$page->add_form_group($index, 'What are the packed dimensions and the weight of the project', 'logistics_transpoSize', 'textarea');
$page->add_raw_html($index, '<div class="form-check">
<input class="form-check-input" type="checkbox" name="logistics_needsHE" id="logistics_needsHE"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="I will need use of the Variable Reach forklift, Trencher, Cherry Picker, or other Heavy Equipment on site if available.">
<label for="logistics_needsHE" class="form-check-label non-required">I will need help from the heavy equipment on site</label>
</div>');
$page->add_form_group($index, 'Please describe what Heavy Equipment you will need, what it needs to do, and how long you think you will need it for', 'logistics_descHE', 'textarea');
$page->add_raw_html($index, '<div class="form-check">
<input class="form-check-input" type="checkbox" name="logistics_needsVols" id="logistics_needsVols"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="I will need help from Flipside volunteers such as Shaven Apes to help assemble, Fire Team, or other volunteers.">
<label for="logistics_needsVols" class="form-check-label non-required">I will need help from volunteers other than the crew I can bring</label>
</div>');
$page->add_form_group($index, 'Please describe what volunteers you will need, what you need them to do, and for how long you will need them', 'logistics_descVols', 'textarea');
$index = $page->add_wizard_step('Sound', 'sound');
$page->add_form_group($index, 'Sound System Description', 'sound_desc', 'textarea', 'Describe your sound equipment and how you plan to adhere to the Event Sound Policy');
$options = array(
array('value'=>'', 'text'=>'', 'selected'=>TRUE),
array('value'=>'all', 'text'=>'All Day'),
array('value'=>'0100', 'text'=>'1 AM'),
array('value'=>'0200', 'text'=>'2 AM'),
array('value'=>'0300', 'text'=>'3 AM'),
array('value'=>'0400', 'text'=>'4 AM'),
array('value'=>'0500', 'text'=>'5 AM'),
array('value'=>'0600', 'text'=>'6 AM'),
array('value'=>'0700', 'text'=>'7 AM'),
array('value'=>'0800', 'text'=>'8 AM'),
array('value'=>'0900', 'text'=>'9 AM'),
array('value'=>'1000', 'text'=>'10 AM'),
array('value'=>'1100', 'text'=>'11 AM'),
array('value'=>'1200', 'text'=>'Noon'),
array('value'=>'1300', 'text'=>'1 PM'),
array('value'=>'1400', 'text'=>'2 PM'),
array('value'=>'1500', 'text'=>'3 PM'),
array('value'=>'1600', 'text'=>'4 PM'),
array('value'=>'1700', 'text'=>'5 PM'),
array('value'=>'1800', 'text'=>'6 PM'),
array('value'=>'1900', 'text'=>'7 PM'),
array('value'=>'2000', 'text'=>'8 PM'),
array('value'=>'2100', 'text'=>'9 PM'),
array('value'=>'2200', 'text'=>'10 PM'),
array('value'=>'2300', 'text'=>'11 PM'),
array('value'=>'0000', 'text'=>'Midnight')
);
$page->add_form_group($index, 'Sound Hours - From:', 'sound_from', 'select', 'When will you start sound on your project.', array('options'=>$options));
$page->add_form_group($index, 'Sound Hours - To:', 'sound_to', 'select', 'When will you stop sound on your project.', array('options'=>$options));
$index = $page->add_wizard_step('Fire', 'fire');
$page->add_raw_html($index, '<div class="form-check">
<input class="form-check-input" type="checkbox" name="fire_hasFlameEffects" id="fire_hasFlameEffects"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="">
<label for="fire_hasFlameEffects" class="form-check-label non-required">This project has fire effects</label>
</div>');
$page->add_form_group($index, 'Flame Effects Description', 'fire_flameEffects', 'textarea', 'Describe any flame effects such as propane or other flame effects that do not consume your artwork.');
$options = array(
array('value'=>'', 'text'=>'', 'selected'=>TRUE),
array('value'=>'thrusday', 'text'=>'Thursday'),
array('value'=>'friday', 'text'=>'Friday'),
array('value'=>'saturday', 'text'=>'Saturday'),
array('value'=>'sunday', 'text'=>'Sunday')
);
$page->add_form_group($index, 'When do you want to burn?', 'fire_burnDay', 'select', 'When do you plan to burn your project.', array('options'=>$options, 'required'=>TRUE));
$page->add_form_group($index, 'Burn Plan', 'fire_burnPlan', 'textarea', 'Describe how you anticipate burning your art project. Describe what fuel you would use, any pyrotechic effects, when you would enact perimeter, and any other special considerations the fire team would need to know about.', array('required'=>TRUE));
$page->add_form_group($index, 'Cleanup Plan', 'fire_cleanupPlan', 'textarea', 'Describe how you anticipate cleaning your art project after burning.', array('required'=>TRUE));
$index = $page->add_wizard_step('Installation Information');
$page->add_form_group($index, 'Art Removal or UnBurn Plan', 'information_unburn', 'textarea', 'Describe how you intend to remove your project after the event. Please note that "We will burn it." is not an acceptible plan as we may have a burn ban or other reasons why your piece cannot burn.', array('required'=>TRUE));
$page->add_form_group($index, 'Setup/teardown time and requirements', 'information_setup', 'textarea', 'Describe how much time you will need to setup/teardown this project and any special requirements you may have.', array('required'=>TRUE));
$options = array(
array('value'=>'', 'text'=>'', 'selected'=>TRUE),
array('value'=>'thrusday', 'text'=>'Thursday'),
array('value'=>'friday', 'text'=>'Friday'),
array('value'=>'saturday', 'text'=>'Saturday'),
array('value'=>'sunday', 'text'=>'Sunday')
);
$page->add_form_group($index, 'Arrival at Flipside:', 'information_arrival', 'select', 'When do you plan to arrive at Flipside.', array('options'=>$options, 'required'=>TRUE));
$page->add_raw_html($index, '<div class="form-check">
<input class="form-check-input" type="checkbox" name="information_power" id="information_power"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="This project will use a generator.">
<label for="information_power" class="form-check-label non-required">This project requires a generator</label>
</div>');
$page->add_form_group($index, 'Power Requirements/Generator Information', 'information_powerStats', 'textarea', 'Please describe your power needs. And if you are bringing a generator and are interested in power sharing describe how much available power you will have.');
$page->add_raw_html($index, '<div class="form-check">
<input class="form-check-input" type="checkbox" name="information_laser" id="information_laser"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="This project will use lasers.">
<label for="information_laser" class="form-check-label non-required">This project includes lasers</label>
</div>');
$page->add_form_group($index, 'Laser installation details', 'information_laserStats', 'textarea', 'Tell us about your lasers. What kind? How high will they be mounted?');
$page->add_form_group($index, 'Other Information', 'information_other', 'textarea', 'Please tell us ANYTHING that we may have missed');
if(isset($_GET['is_admin']))
{
$user = $page->user;
if($user->isInGroupNamed('RegistrationAdmins') || $user->isInGroupNamed('ArtAdmins'))
{
$index = $page->add_wizard_step('Admin Data');
$page->add_form_group($index, 'Placement ID:', 'location', 'text', 'The ID on the map.');
$page->add_form_group($index, 'City Planning Notes:', 'cityplanning_notes', 'textarea');
$page->add_form_group($index, 'Art Notes:', 'art_notes', 'textarea');
}
}
$page->printPage();
function camelize($value)
{
return lcfirst(strtr(ucwords(strtr($value, array('_' => ' ', '.' => '_ ', '\\' => '_ '))), array(' ' => '')));
}