-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtc_reg.php
486 lines (448 loc) · 32.2 KB
/
tc_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
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once('class.RegisterWizardPage.php');
$page = new RegisterWizardPage('Theme Camp', 'Camp');
$page->addJS('js/wizard.js');
$index = $page->add_wizard_step('Basic Questions');
$page->add_form_group($index, 'Number of campers', 'num_campers', 'number', '', array('required'=>true));
$page->add_form_group($index, 'This camp has been registered at Burning Flipside in a previous year.', 'camp_reg_prev', 'checkbox', 'This camp has been registered at Burning Flipside in a previous year.');
$page->add_form_group($index, 'This camp has amplified sound, not including personal bluetooth speakers.', 'has_sound', 'checkbox', 'This camp has any form of amplified sound not including something small like a bluetooth speaker.', array('onclick'=>'toggleClassVisible(this, \'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', array('groupClass' => 'sound d-none'));
$options = array(
array('value'=>'all', 'text'=>'All Day', 'selected'=>TRUE),
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, 'groupClass' => 'sound d-none'));
$page->add_form_group($index, 'Sound Hours - To:', 'sound_to', 'select', 'When will you stop sound on your project.', array('options'=>$options, 'groupClass' => 'sound d-none'));
$page->add_form_group($index, 'This camp will have burnable art or flame effects', 'has_burnable', 'checkbox', 'This camp will have burnable art or flame effects.');
$page->add_form_group($index, 'This camp will serve food to participants', 'has_food', 'checkbox', 'This camp will have Food (example: grilled cheese giveaway at noon).');
$page->add_form_group($index, 'This camp will have Drinks/Bar/Coffee/Tea', 'has_beverage', 'checkbox', 'This camp will have Drinks/Bar/Coffee/Tea.');
$page->add_form_group($index, 'This camp will have X-Rated Activities', 'has_sex', 'checkbox', 'This camp will have X-Rated Activities (sex/fetish/kink related).');
$page->add_form_group($index, 'This camp will have Spa/Massage', 'has_spa', 'checkbox', 'This camp will have Spa/Massage.');
$page->add_form_group($index, 'This camp is Kid-Friendly', 'has_kids', 'checkbox', 'This camp will be Kid-Friendly.');
$page->add_form_group($index, 'This camp will need heavy equipment', 'has_heavy', 'checkbox', 'This camp will need heavy equipment to build one or more structures.');
$page->add_raw_html($index, '<h3>About Early Arrival</h3>
<p>Early Arrival (arriving Wednesday afternoon) is ONLY to help ensure the safe and smooth arrival of Flipizens and certain infrastructure prior to the opening of the event. City Planning will review your request and determine if it’s in the best interest of the event to approve early arrival. Prior to requesting early arrival, please <a href="'.$page->wwwUrl.'/event/theme-camps/faq">review the FAQ</a>. If you would like to be considered for early arrival for art projects, please register your art on the art registration form.</p>
<p style="font-weight: bold;">Theme camp early arrival does not exist so that people can have a fully functional camp before the event starts Thursday morning.</p>
<p>It requires a great deal of work to help facilitate folk coming in who are setting up their projects. The event volunteers and safety teams work double time to make early arrival possible for those that really need it, so please understand that not everyone who is going to desire early arrival will get a positive response.</p>');
$page->add_form_group($index, 'I would like my camp to be considered for Early Arrival', 'earlyArrival_bool', 'checkbox', 'I feel that my camp meets the criterea for Early Arrival and would like the City Planning team to consider allowing us this gift. I understand that checking this does not guarantee my camp Early Arrival.', array('onclick'=>'toggleVisible(this, \'earlyArrival_desc\')'));
$page->add_form_group($index, 'Please describe the special circumstances which you believe require Early Arrival:', 'earlyArrival_desc', 'textarea', 'Describe why you believe you need Early Arrival.', array('groupClass' => 'd-none'));
$index = $page->add_wizard_step('Camp Contacts');
$page->add_raw_html($index, '<div class="alert alert-info" role="alert">The email provided for the theme camp lead will be automatically added to the theme camp lead’s newsletter. This newsletter is designed to provide theme camp leads with valuable event and community information. The email addresses will be purged just before theme camp registration opens next year.</div>');
$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">
Camp 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="campLead_name">Full Name:</label>
<input class="form-control" type="text" name="campLead_name" id="campLead_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="campLead_burnerName" class="non-required">Burner Name:</label>
<input class="form-control" type="text" name="campLead_burnerName" id="campLead_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="campLead_email">Email Address:</label>
<input class="form-control" type="text" name="campLead_email" id="campLead_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="campLead_alternateEmail">Alternate Email Address:</label>
<input class="form-control" type="email" name="campLead_alternateEmail" id="campLead_alternateEmail"
data-toggle="tooltip" data-placement="top" title="I never check the email associated with this account and can\'t be bothered to make a new account.">
</div>
<div class="form-group">
<label for="campLead_phone">Phone Number:</label>
<input class="form-control" type="text" name="campLead_phone" id="campLead_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-check">
<input class="form-check-input" type="checkbox" name="campLead_sms" id="campLead_sms"
data-toggle="tooltip" data-placement="top" title="" data-original-title="This phone number can be used to recieve text messages">
<label for="campLead_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="campLead_just_me" id="campLead_just_me"
data-toggle="tooltip" data-placement="top" title="" data-original-title="The camp lead will be contact for all issues about the camp including safety, cleanup, volunteering, and sound.">
<label for="campLead_just_me" class="form-check-label non-required">The camp 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="campLead_name"
data-copytrigger="#campLead_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="campLead_burnerName"
data-copytrigger="#campLead_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="campLead_email"
data-copytrigger="#campLead_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="campLead_phone"
data-copytrigger="#campLead_just_me" data-original-title="This is the phone number of the safety lead">
</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="campLead_sms"
data-copytrigger="#campLead_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 class="form-group">
<label for="safetyLead_plan">How will your camp handle Safety/Fire/Injury issues?</label>
<textarea class="form-control" rows="6" name="safetyLead_plan" id="safetyLead_plan"
data-toggle="tooltip" data-placement="top" title="" required="" data-original-title="How will your camp handle Safety/Fire/Injury issues?"></textarea>
</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="campLead_name"
data-copytrigger="#campLead_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="campLead_burnerName"
data-copytrigger="#campLead_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="campLead_email"
data-copytrigger="#campLead_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="campLead_phone"
data-copytrigger="#campLead_just_me" data-original-title="This is the phone number of the cleanup lead">
</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="campLead_sms"
data-copytrigger="#campLead_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 class="form-group">
<label for="cleanupLead_plan">How will your camp ensure you leave no trace?</label>
<textarea class="form-control" rows="6" name="cleanupLead_plan" id="cleanupLead_plan"
data-toggle="tooltip" data-placement="top" title="" required="" data-original-title="How will your camp ensure you leave no trace?"></textarea>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingFour">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapseFive" aria-expanded="false"
aria-controls="collapseFive">
Volunteer 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="volunteering_name">Full Name:</label>
<input class="form-control" type="text" name="volunteering_name" id="volunteering_name"
data-toggle="tooltip" data-placement="top" title="" required="" data-copyfrom="campLead_name"
data-copytrigger="#campLead_just_me" data-original-title="This is the name of the volunteering">
</div>
<div class="form-group">
<label for="volunteering_burnerName" class="non-required">Burner Name:</label>
<input class="form-control" type="text" name="volunteering_burnerName" id="volunteering_burnerName"
data-toggle="tooltip" data-placement="top" title="" data-copyfrom="campLead_burnerName"
data-copytrigger="#campLead_just_me" data-original-title="This is the burner name/nickname of the volunteering">
</div>
<div class="form-group">
<label for="volunteering_email">Email Address:</label>
<input class="form-control" type="text" name="volunteering_email" id="volunteering_email"
data-toggle="tooltip" data-placement="top" title="" required="" data-copyfrom="campLead_email"
data-copytrigger="#campLead_just_me" data-original-title="This is the email address of the volunteering">
</div>
<div class="form-group"><label for="volunteering_phone">Phone Number:</label>
<input class="form-control" type="text" name="volunteering_phone" id="volunteering_phone"
data-toggle="tooltip" data-placement="top" title="" required="" data-copyfrom="campLead_phone"
data-copytrigger="#campLead_just_me" data-original-title="This is the phone number of the volunteering">
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="volunteering_sms" id="volunteering_sms"
data-toggle="tooltip" data-placement="top" title="" data-copyfrom="campLead_sms"
data-copytrigger="#campLead_just_me" data-original-title="This phone number can be used to recieve text messages">
<label for="volunteering_sms" class="form-check-label non-required">This number can receive SMS messages:</label>
</div>
<div class="form-group">
<label for="volunteering_plan">Volunteer skills for the event:</label>
<textarea class="form-control" rows="6" name="volunteering_plan" id="volunteering_plan"
data-toggle="tooltip" data-placement="top" title="" required="" data-original-title="What skills would your camp like to share with the event?"></textarea>
</div>
</div>
</div>
</div>
</div>');
$index = $page->add_wizard_step('Placement Information');
$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>');
$options = array(
array('value'=>'any', 'text'=>'Any', 'selected'=>TRUE),
array('value'=>'borderlands', 'text'=>'Borderlands (includes RV Park)'),
array('value'=>'corral', 'text'=>'Corral'),
array('value'=>'effigy', 'text'=>'Effigy Loop'),
array('value'=>'mid', 'text'=>'Mid-City')
);
$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 camping spot. Please include any camps you would like to be near or to avoid.');
$page->add_form_group($index, 'Special Considerations:', 'placement_special', 'textarea', 'Does your camp have special considerations such as accessibility concerns?.');
$index = $page->add_wizard_step('Camp Infrastructure');
$page->add_raw_html($index, '
<input type="hidden" id="placement_tents" name="placement_tents" value=0/>
<table id="structs_table" class="table">
<thead>
<tr>
<th class="col-xs-1"></th>
<th class="col-xs-2">Type</th>
<th class="col-xs-1">Footprint</th>
<th class="col-xs-1">Height</th>
<th class="col-xs-4">Other</th>
</tr>
</thead>
<tbody></tbody>
<tfoot>
<tr>
<td colspan="6">
<div>
<button type="button" class="btn btn-primary" id="add_new_struct" onclick="$(\'#structureWizard\').modal(\'show\');">Add New Structure</button>
</div>
</td>
</tr>
</tfoot>
</table>');
$page->add_raw_html($index, '<div class="modal fade bd-example-modal-lg" id="structureWizard" tabindex="-1" role="dialog" aria-labelledby="structureWizardTitle" aria-hidden="true" data-backdrop="static" data-complete="addStruct">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="structureWizardTitle">New Structure</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="row flex-xl-nowrap">
<div class="d-none d-sm-none d-md-none d-lg-none d-xl-block col-xl-3 bd-sidebar">
<ul class="list-group">
<li class="list-group-item active">Structure Type</li>
<li class="list-group-item">Dimensions</li>
<li class="list-group-item">Additional Information</li>
</ul>
</div>
<div class="col-12 col-md-8 col-xl-8 bd-content">
<div id="structureType" class="d-block">
This is some basic information so we know what type of structure you are bringing.
<div class="alert alert-info" role="alert" id="alert-car" style="display:none;">
Please note that the only vehicles permitted to be left in theme camp spaces are artified cars/trucks used for car camping and registered RVs. To ensure your vehicle meets our guidelines, please visit <a href="'.$page->wwwUrl.'/sg" class="alert-link">'.$page->wwwUrl.'/sg</a> for more information. Vehicles that do not meet our criteria will need to be moved to Parking.
</div>
<div class="alert alert-danger" role="alert" id="alert-pyroart" style="display:none;">
<span class="fa fa-fire" aria-hidden="true"></span> Pyro art must be registered separately on the art registration form <a href="art_reg.php" class="alert-link">here</a>. Please do note on that form that this piece is part of a theme camp.
</div>
<div class="alert alert-info" role="alert" id="alert-art" style="display:none;">
<span class="fa fa-map" aria-hidden="true"></span> Any art pieces to be included on the map and art cars attending Flipside must also be registered on the art registration form or DMV form <a href="add.php" class="alert-link">here</a>.
</div>
<div class="row">
<label for="structClass" class="col-sm-2 col-form-label">Structure Class:</label>
<div class="col-sm-9">
<select id="structClass" name="structClass" class="form-control" onchange="changeStructClass();">
<option value="living">Living Structure</option>
<option value="art">Art Project</option>
<option value="infrastructure">Camp Infrastructure</option>
</select>
</div>
<div class="w-100"></div>
<label for="structType" class="col-sm-2 col-form-label">Structure Type:</label>
<div class="col-sm-9">
<select id="structType" name="structType" class="form-control" onchange="changeStructType();">
<option value="rv">RV/BoxTruck/Bus</option>
<option value="popup">Pop-up Camper (<200lbs otherwise it is an RV)</option>
<option value="trailer">Trailer</option>
<option value="car">Artified Car for Camping</option>
<option value="tent">Regular Tent (10\'x10\'x8\')</option>
<option value="bigtent">Oversized Tent</option>
<option value="dome" style="display:none;">Dome</option>
<option value="lounge" style="display:none;">Lounge</option>
<option value="bar" style="display:none;">Bar</option>
<option value="stage" style="display:none;">Stage</option>
<option value="art" style="display:none;">Non-Pyro Art</option>
<option value="pyroart" style="display:none;">Pyro Art</option>
<option value="artcar" style="display:none;">Mutant Vehicle</option>
</select>
</div>
</div>
</div>
<div id="structDimensions" class="d-none">
We need to know about how big a structure is so that we can give you enough space for it. If you don\'t know the size. Just guess...
<div class="row">
<label for="structLength" class="col-sm-2 col-form-label">Length:</label>
<div class="col-sm-9">
<input class="form-control" type="number" name="structLength" id="structLength" min="1" max="150" required/>
</div>
<div class="w-100"></div>
<label for="structWidth" class="col-sm-2 col-form-label">Width:</label>
<div class="col-sm-9">
<input class="form-control" type="number" name="structWidth" id="structWidth" min="1" max="150" required/>
</div>
<div class="w-100"></div>
<label for="structHeight" class="col-sm-2 col-form-label">Height:</label>
<div class="col-sm-9">
<input class="form-control" type="number" name="structHeight" id="structHeight" min="1" max="150" required/>
</div>
<div class="w-100"></div>
<label for="structWeight" class="col-sm-2 col-form-label vehicle">Weight:</label>
<div class="col-sm-9 vehicle">
<select id="structWeigth" name="structWeight" class="form-control">
<option value="lite">< 2500 lbs</option>
<option value="heavy">>= 2500 lbs</option>
</select>
</div>
</div>
</div>
<div id="additionalInfo" class="d-none">
We need some additional information to complete registration.
<div id="artRegAlert" class="alert alert-info classCond art d-none" role="alert">
<span class="fa fa-map" aria-hidden="true"></span> By putting this art piece on this form you are indicating it will be part of your camp and not placed at a seperate location. If you do not want this piece in your camp then it must be registered only on the art registration form <a href="add.php" class="alert-link">here</a>.
</div>
<div class="row">
<div class="form-check classCond infrastructure d-none">
<input class="form-check-input" type="checkbox" name="structFrontage" id="structFrontage" title="This structure should be along a road or path."/>
<label for="structFrontage" class="col-form-label">This will be part of your camp frontage</label>
</div>
<div class="w-100"></div>
<div class="form-check classCond infrastructure d-none">
<input class="form-check-input" type="checkbox" name="structLit" id="structLit" title="This structure is lit up well at night."/>
<label for="structLit" class="col-form-label">This structure will have lighting at night</label>
</div>
<div class="w-100"></div>
<div class="form-check typeCond infrastructure pyroart d-none">
<input class="form-check-input" type="checkbox" name="structFire" id="structFire" title="This structure will either burn or incorporates fire effects."/>
<label for="structFire" class="col-form-label">This will have burnable or flame effects</label>
</div>
<div class="w-100"></div>
<div class="form-check classCond infrastructure d-none">
<input class="form-check-input" type="checkbox" name="structHeavy" id="structHeavy" title="This structure needs heavy equipment to be setup."/>
<label for="structHeavy" class="col-form-label">This structure needs heavy equipment</label>
</div>
<div class="w-100"></div>
<label for="structCount" class="col-sm-2 col-form-label">How Many:</label>
<div class="col-sm-9">
<input class="form-control" type="number" name="structCount" id="structCount" min="1" max="150" value="1" required title="All must be the same size and thing!"/>
</div>
<div class="w-100"></div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button id="prevStep" type="button" class="btn btn-outline-primary" disabled onClick="prevWizardStep(this);">Previous</button>
<button id="nextStep" type="button" class="btn btn-outline-primary" onClick="nextWizardStep(this);">Next</button>
</div>
</div>
</div>
</div>');
if(isset($_GET['is_admin']))
{
$user = $page->user;
if($user->isInGroupNamed('RegistrationAdmins') || $user->isInGroupNamed('CampAdmins'))
{
$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->printPage();
function camelize($value)
{
return lcfirst(strtr(ucwords(strtr($value, array('_' => ' ', '.' => '_ ', '\\' => '_ '))), array(' ' => '')));
}