-
Notifications
You must be signed in to change notification settings - Fork 0
/
registration2.php
440 lines (395 loc) · 22.3 KB
/
registration2.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
<!DOCTYPE html>
<?php
/*
* registration2.php v1.6.1 - pdweek
*/
$flt_time_start = (float) microtime( true );
require_once( "data/environment.php" );
require_once( "lib/logging.php" );
?>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Georgian College :: <?=$str_pdweekName;?> <?=$str_currentYear;?></title>
<!--
JQuery-UI css definitions were manually implemented in gl.css
to fix IE v11 performance issue when full jquery-ui.css was
loaded.
-->
<link rel="stylesheet" href="css/gl.css" type="text/css">
<!--
Legacy JQuery and JQuery-UI used for IE8 functionality.
-->
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.min.js"></script>
<script src="js/accordion.js"></script>
<script src="js/checkregfields.js"></script>
<script src="js/formControlLogic.js"></script>
<?php
// Connect to the Database
require_once 'lib/dbConnect.php';
// Keynote functions
require_once 'lib/keynotes.php';
// Pull keynote information from DB and initialize arrays to contain them
getKeynotes( $dbConnectionObject );
// Populate JQuery dialog boxes ("more info" buttons) using arrays
showKeynotes();
?>
</head>
<body>
<?php
require_once 'lib/init.php';
if( isset( $userProfile ) ) {
if( isset( $userProfile[0] ) ) {
extract($userProfile[0]); //user's profile
}// end if statement
} else {
//user's sessions
if( isset( $userProfile[1] ) ) {
extract($userProfile[1]);
} else {
$mon_amworkshop = $tue_amworkshop = $wed_amworkshop = $thur_amworkshop = (int) 100;
$mon_pmworkshop = $tue_pmworkshop = $wed_pmworkshop = $wed_pmworkshop2 = $thur_pmworkshop = (int) 101;
}// end if statement
}// end if statement
?>
<div class="main ui-corner-bottom">
<?php
include "pdweek.php";
if ($prevfound == 0) {
showPrettyError( '<strong>Alert:</strong> Our system has indicated that you have not completed Part 1 of the registration process. Please go back to the <a href="index.php" style="color: blue;">Registration Page</a> to begin the process. If you continue to get this error, please contact <a href="' . $str_supportEmail . '" style="color: blue;">' . $str_supportEmail . '</a> for technical support. Thank you.', 'error', true );
} else {
?>
<h3>Session Registration</h3>
<p>If you have any questions or problems regarding the session registrations, please contact <a href="mailto:<?=$str_supportEmail;?>"><?=$str_supportEmail;?></a></p>
<div class="formbox2">
<form name="registration" action="register3.php" method="post" accept-charset="utf-8" onsubmit="return checkFields();">
<script>lastEntered = '';</script>
<div class="ui-widget">
<div class="ui-state-info ui-corner-all" style="padding: 0 .7em;">
<p>Before choosing your sessions, please check your profile and make changes (if necessary).</p>
</div><!-- ui-state-info -->
</div><!-- ui-widget -->
<p>Note that your first name, last name, and department on your profile specify what will appear on your conference name tag. Please click on the Submit button only after selecting your sessions.</p>
<p>Reminder to Presenters: Please do not choose your own session - do not make a selection for that time slot.</p>
<!-- Begin Profile -->
<div class="regbox">
<h3 class="regboxtitle">Profile</h3>
<div class="regLabelContainer">
<div class="lower-space"><label for="firstname">First name</label></div>
<div class="lower-space"><label for="lastname">Last name</label></div>
<div class="lower-space"><label for="email">Email</label></div>
<div class="lower-space"><label for="department">Department</label></div>
<div class="lower-space"><label for="otherdept">If Other, please specify</label></div>
<div class="lower-space"><label>By attending, you consent to have your photo taken and used for the conference</label></div>
</div><!-- regLabelContainer -->
<div class="regControlContainer">
<input class="regControlTop input-text" type="text" id="firstname" name="firstname" width="100" maxlength="40" value="<?php echo htmlentities( stripslashes($firstname) ); ?>" onClick="lastEntered=this.value; this.value='';" onBlur="this.value=!this.value?lastEntered:this.value;">
<input class="regControl input-text" type="text" id="lastname" name="lastname" width="100" maxlength="40" value="<?php echo htmlentities( stripslashes($lastname) ); ?>" onClick="lastEntered=this.value; this.value='';" onBlur="this.value=!this.value?lastEntered:this.value;">
<input class="regControl input-text" type="text" id="email" name="email" width="100" maxlength="40" value="<?php echo htmlentities( stripslashes($email) ); ?>" readonly>
<select class="regControl input-text" name="department" id="department">
<?php
$departmentListArray_bottom = array(
"School of Business, Automotive, and Hospitality; OMVIC",
"School of Technology and Visual Arts",
"Centre for Applied Research",
"Midland Campus",
"Owen Sound Campus",
"School of Health and Wellness",
"Centre for Teaching and Learning",
"School of Human Services and Community Safety (Orillia)",
"Continuing Education and Workforce Development",
"School of Liberal Arts and Access Programs",
"Government and Employment Programs",
"John Di Poce South Georgian Bay Campus",
"Muskoka Campus",
"Orangeville Campus",
"School College Partnerships",
"University Partnership Centre",
"VP, Corporate Services and Innovation",
"Physical Resources",
"Accounting",
"Financial Planning and Risk Management",
"Kempenfelt Conference Centre",
"Purchasing and Printing",
"Human Resources and Organizational Development",
"Information Technology",
"Institutional Research",
"Campus Safety and Security",
"VP, Communications, Marketing and External Relations",
"Marketing and Communications",
"Office of Development and Alumni Relations/Conference Services",
"VP, Student Engagement and University Partnerships",
"Athletics and Fitness Centre",
"Student Life",
"Coop Education and Career Services",
"Georgian Stores",
"International Recruitment and Partnerships",
"Libraries and Learning Resources",
"Office of the Registrar",
"Student Centre Food/Beverage Operations",
"Student Success Services",
"Other"
);
asort( $departmentListArray_bottom );
$departmentListArray = array(
"Choose your department",
"President's Office",
"VP, Academic and University Programming"
);
$departmentListArray = array_merge( $departmentListArray, $departmentListArray_bottom );
foreach ($departmentListArray as $departmentListItem) {
if ($department == $departmentListItem) {
echo " <option value=\"$departmentListItem\" selected>$departmentListItem</option>\n";
} else {
echo " <option value=\"$departmentListItem\">$departmentListItem</option>\n";
}// end if statement
}// end foreach loop
?>
</select>
<input class="regControl input-text" type="text" id="otherdept" name="otherdept" width="150" maxlength="80" value="<?php echo htmlentities( stripslashes($otherdept) ); ?>" onClick="lastEntered=this.value; this.value='';" onBlur="this.value=!this.value?lastEntered:this.value;">
<button class="regControl" id="photodialog">More info</button>
<input type="hidden" name="userid" value="<?php echo $userid; ?>">
</div><!-- regControlContainer -->
<div class="clear"></div><!-- clear -->
</div><!-- regbox -->
<!-- End Profile -->
<div class="ui-widget lower-space">
<div class="ui-state-info ui-corner-all" style="padding: 0 .7em;">
<p><strong>Please note</strong> that your selections are not guaranteed until you hit Submit at the bottom of this page. There could be many people registering at the same time, the seats available for each event/session could change before you click Submit.</p>
</div><!-- ui-state-info -->
</div><!-- ui-widget -->
<div class="regbox">
<h3 class="regboxtitle">Event Selection</h3>
<span class="block upper-space lower-space center">Click on a date below to reveal the available options.</span>
<!-- Start Workshop Accordion -->
<div id="workshopAccordion">
<!-- Begin Monday Workshops -->
<h3>Monday, April 28th - Keynote, BoG Awards, PD Sessions</h3>
<div class="subordinateRegbox">
<div class="upper-space lower-space">
<div class="ui-state-info">
<?php
if( !isset( $GLOBALS['noMondayKeynote'] ) ) {
?>
<span class="block">Will you be attending the Board of Governor`s Awards & Keynote?</span>
<?php if ($mon_keynote == "yes") { ?>
<label><input id="mon_keynote" type="radio" name="mon_keynote" value="yes" checked>Yes</label> <label><input id="mon_keynote" type="radio" name="mon_keynote" value="no">No</label>
<?php } else { ?>
<label><input id="mon_keynote" type="radio" name="mon_keynote" value="yes">Yes</label> <label><input id="mon_keynote" type="radio" name="mon_keynote" value="no" checked>No</label>
<?php } ?>
<button id="mon-keynote-info">More Info</button>
<?php
}// end if statement
?>
<span class="block">Will you attend the BBQ lunch? (<em>Barrie Campus` TLC @ 12pm - 1pm</em>.)<br></span>
<?php if ($mon_lunch == "nnn") { ?>
<span class="regControl">Lunch tickets are "sold out"</span>
<input type="hidden" name="lunch" value="nnn">
<?php } else {
if ($mon_lunch == "yes") {
echo " <label><input id=\"mon_lunch\" type=\"radio\" name=\"mon_lunch\" value=\"yes\" checked onClick=\"javascript:showElement('regBbqVegetarian');enableOption('regBbqVegetarianYes');enableOption('regBbqVegetarianNo');\">Yes</label> <label><input id=\"mon_lunch\" type=\"radio\" name=\"mon_lunch\" value=\"no\" onClick=\"javascript:hideElement('regBbqVegetarian');disableOption('regBbqVegetarianYes');disableOption('regBbqVegetarianNo');\">No</label>\n";
echo ' <div class="block left-margin" id="regBbqVegetarian">
Would you prefer a Vegetarian lunch? ';
if ($vegetarian == "yes") {
echo " <label><input id=\"regBbqVegetarianYes\" type=\"radio\" name=\"vegetarian\" value=\"yes\" checked>Yes</label> <label><input id=\"regBbqVegetarianNo\" type=\"radio\" name=\"vegetarian\" value=\"no\">No</label>\n";
} else {
echo " <label><input id=\"regBbqVegetarianYes\" type=\"radio\" name=\"vegetarian\" value=\"yes\">Yes</label> <label><input id=\"regBbqVegetarianNo\" type=\"radio\" name=\"vegetarian\" value=\"no\" checked>No</label>\n";
}
echo " </div><!-- vegetarianOption -->\n";
} else {
echo " <label><input id=\"mon_lunch\" type=\"radio\" name=\"mon_lunch\" value=\"yes\" onClick=\"javascript:showElement('regBbqVegetarian');enableOption('regBbqVegetarianYes');enableOption('regBbqVegetarianNo');\">Yes</label> <label><input id=\"mon_lunch\" type=\"radio\" name=\"mon_lunch\" value=\"no\" checked onClick=\"javascript:hideElement('regBbqVegetarian');disableOption('regBbqVegetarianYes');disableOption('regBbqVegetarianNo');\">No</label>\n";
echo ' <div class="block left-margin" id="regBbqVegetarian" style="display: none;">
Would you prefer a Vegetarian lunch? ';
if ($vegetarian == "yes") {
echo " <label><input id=\"regBbqVegetarianYes\" type=\"radio\" name=\"vegetarian\" value=\"yes\" checked>Yes</label> <label><input id=\"regBbqVegetarianNo\" type=\"radio\" name=\"vegetarian\" value=\"no\">No</label>\n";
} else {
echo " <label><input id=\"regBbqVegetarianYes\" type=\"radio\" name=\"vegetarian\" value=\"yes\">Yes</label> <label><input id=\"regBbqVegetarianNo\" type=\"radio\" name=\"vegetarian\" value=\"no\" checked>No</label>\n";
}
echo " </div><!-- vegetarianOption -->\n";
}
} ?>
</div><!-- ui-state-info -->
</div><!-- spacer -->
<?php require_once( 'lib/listworkshops.php' ); ?>
<span class="regboxtitle">Concurrent Sessions (Starting in the Afternoon)</span>
<span class="block left-margin lower-space">Please select a session from the list below.</span>
<?php
enumerateSessions( $dbConnectionObject, 'AM', 'mon', "(start_time='1:00pm')", 100, $userProfile[1]['mon_amworkshop'], 'mon_amworkshop' );
?>
<span class="regboxtitle">Concurrent Sessions (Starting at: 2:30pm)</span>
<span class="block left-margin lower-space">Please select a session from the list below.</span>
<?php
enumerateSessions( $dbConnectionObject, 'PM', 'mon', "(start_time='2:30pm')", 101, $userProfile[1]['mon_pmworkshop'], 'mon_pmworkshop' );
?>
</div><!-- subordinateRegbox -->
<!-- End Monday Workshops -->
<!-- Begin Tuesday Workshops -->
<h3>Tuesday, April 29th - Focus on Teaching Conference</h3>
<div class="subordinateRegbox">
<div class="upper-space lower-space">
<?php
include( "fotc.php" );
require_once( "lib/releaseDate.php" );
$tueDaysRemaining = daysRemaining( 'tue' );
require_once( "lib/fotcSeats.php" );
$fotcSeatsRemaining = fotcSeatsRemaining();
if( $tueDaysRemaining == 0 ) {
echoToConsole( "FoTC workshops have been released!", true );
if( $fotcSeatsRemaining == 0 ) {
echo <<<END
<div class="lower-space ui-state-info">
<label>The Conference is currently full. Would you like to be added to a Waiting list in case a seat becomes available?</label>
END;
} else {
echo <<<END
<div class="lower-space ui-state-info">
<label>Will you attend the Focus on Teaching Conference? ({$fotcSeatsRemaining} seats remaining)</label>
END;
}// end if statement
if( $fotc == "yes" || $fotc == "wl" ) {
echo( " <label><input id=\"attendFotc\" type=\"radio\" name=\"attendFotc\" value=\"yes\" checked>Yes</label> <label><input id=\"attendFotc\" type=\"radio\" name=\"attendFotc\" value=\"no\">No</label><br>\n" );
} else {
echo( " <label><input id=\"attendFotc\" type=\"radio\" name=\"attendFotc\" value=\"yes\">Yes</label> <label><input id=\"attendFotc\" type=\"radio\" name=\"attendFotc\" value=\"no\" checked>No</label><br>\n" );
}// end if statement
?>
<br><span class="block lower-space left-margin"><em>The Focus on Teaching Conference includes:
<ul>
<li>Keynote at 9:00am</li>
<li><a href="#" id="tcdialog" style="color: blue;">TechCafé</a> & <a href="#" id="hldialog" style="color: blue">The Human Library</a> at 10:30am</li>
<li>Lunch at 12:00pm</li>
</ul>
<strong>Note:</strong> If you choose Yes, you will receive an email once session registration is open.</em></span>
</div><!-- ui-state-info: FoTC -->
<span class="regboxtitle">Concurrent Sessions (From 1:15pm to 2:15pm)</span>
<span class="block left-margin lower-space">Please select a session from the list below.</span>
<?php
enumerateSessions($dbConnectionObject, 'AM', 'tue', "(start_time='1:15pm')", 100, $userProfile[1]['tue_amworkshop'], 'tue_amworkshop' );
?>
<span class="regboxtitle">Concurrent Sessions (From 2:30pm to 3:30pm)</span>
<span class="block left-margin lower-space">Please select a session from the list below.</span>
<?php
enumerateSessions( $dbConnectionObject, 'PM', 'tue', "(start_time='2:30pm')", 101, $userProfile[1]['tue_pmworkshop'], 'tue_pmworkshop' );
} else {
echoToConsole( "FoTC workshops have not yet been released. Days remaining: {$tueDaysRemaining}", true );
if( $fotcSeatsRemaining == 0 ) {
echo <<<END
<div class="lower-space ui-state-info">
<p>Session registration for the conference will be ready soon. In the meantime, please let us know if you will be attending the conference so that we can email you when session registration becomes available.</p>
<label>The Conference is currently full. Would you like to be added to a Waiting list in case a seat becomes available?</label>
END;
} else {
echo <<<END
<div class="lower-space ui-state-info">
<p>Session registration for the conference will be ready soon. In the meantime, please let us know if you will be attending the conference so that we can email you when session registration becomes available.</p>
<label>Will you attend the Focus on Teaching Conference? ({$fotcSeatsRemaining} seats remaining)</label>
END;
}// end if statement
if( $fotc == "yes" || $fotc == "wl" ) {
echo( " <label><input id=\"attendFotc\" type=\"radio\" name=\"attendFotc\" value=\"yes\" checked>Yes</label> <label><input id=\"attendFotc\" type=\"radio\" name=\"attendFotc\" value=\"no\">No</label><br>\n" );
} else {
echo( " <label><input id=\"attendFotc\" type=\"radio\" name=\"attendFotc\" value=\"yes\">Yes</label> <label><input id=\"attendFotc\" type=\"radio\" name=\"attendFotc\" value=\"no\" checked>No</label><br>\n" );
}// end if statement
echo " <br><span class=\"block lower-space left-margin\"><em>The Focus on Teaching Conference includes:
<ul>
<li>Keynote at 9:00am</li>
<li><a href=\"#\" id=\"tcdialog\" style=\"color: blue;\">TechCafé</a> & <a href=\"#\" id=\"hldialog\" style=\"color: blue\">The Human Library</a> at 10:30am</li>
<li>Lunch at 12:00pm</li>
</ul>
<strong>Note:</strong> If you choose Yes, you will receive an email once session registration is open.</em>
</span>\n
</div><!-- ui-state-info: FoTC -->\n";
}// end if statement
?>
</div><!-- spacer -->
</div><!-- subordinateRegbox -->
<!-- End Tuesday Workshops -->
<!-- Begin Wednesday Workshops -->
<h3>Wednesday, April 30th - PD Sessions</h3>
<div class="subordinateRegbox">
<?php
if( !isset( $GLOBALS['noWednesdayKeynote'] ) ) {
?>
<div class="lower-space ui-state-info">
<span class="block">Will you be attending Wednesday's Keynote?</span>
<?php if ($wed_keynote == "yes") { ?>
<label><input id="wed_keynote" type="radio" name="wed_keynote" value="yes" checked>Yes</label> <label><input id="wed_keynote" type="radio" name="wed_keynote" value="no">No</label>
<?php } else { ?>
<label><input id="wed_keynote" type="radio" name="wed_keynote" value="yes">Yes</label> <label><input id="wed_keynote" type="radio" name="wed_keynote" value="no" checked>No</label>
<?php } ?>
<button id="wed-keynote-info">More Info</button>
</div><!-- ui-state-info -->
<?php
}// end if statement
?>
<span class="regboxtitle">Concurrent Sessions (Starting in the Morning)</span>
<span class="block left-margin lower-space">Please select a session from the list below.</span>
<?php
enumerateSessions( $dbConnectionObject, 'AM', 'wed', "(start_time='9:00am' OR start_time='9:30am' OR start_time='10:00am' OR start_time='10:30am' OR start_time='11:00am' OR start_time='11:30am')", 100, $userProfile[1]['wed_amworkshop'], 'wed_amworkshop' );
?>
<span class="regboxtitle">Concurrent Sessions (Starting in the Afternoon)</span>
<span class="block left-margin lower-space">Please select a session from the list below.</span>
<?php
enumerateSessions( $dbConnectionObject, 'PM', 'wed', "(start_time='12:00pm' OR start_time='12:30pm' OR start_time='1:00pm' OR start_time='1:30pm' OR start_time='2:00pm')", 101, $userProfile[1]['wed_pmworkshop'], 'wed_pmworkshop' );
?>
<span class="regboxtitle">Concurrent Sessions (Starting at: 2:30pm)</span>
<span class="block left-margin lower-space">Please select a session from the list below.</span>
<?php
$select = "SELECT * FROM workshops WHERE time='PM' AND day='wed' AND datediff(now(), release_date)>=0 AND start_time='2:30pm' OR workshopid=101 ORDER BY title;";
enumerateSessions( $dbConnectionObject, 'PM', 'wed', "start_time='2:30pm'", 101, $userProfile[1]['wed_pmworkshop2'], 'wed_pmworkshop2' )
?>
</div><!-- subordinateRegbox -->
<!-- End Wednesday Workshops -->
<!-- Begin Thursday Workshops -->
<h3>Thursday, May 1st - Extraordinary Experience, College-wide Update</h3>
<div class="subordinateRegbox">
<span class="regboxtitle">Concurrent Sessions (Starting in the Morning)</span>
<span class="block left-margin lower-space">Please select a session from the list below.</span>
<?php
enumerateSessions( $dbConnectionObject, 'AM', 'thu', "(start_time='9:00am' OR start_time='9:30am' OR start_time='10:00am' OR start_time='10:30am' OR start_time='11:00am' OR start_time='11:30am')", 100, $userProfile[1]['thur_amworkshop'], 'thur_amworkshop' );
if( !isset( $GLOBALS['noThursdayKeynote'] ) ) {
?>
<span class="regboxtitle upper-space">Starting in the Afternoon (1:00pm)</span>
<div class="upper-space lower-space">
<div class="ui-state-info">
<span class="block">Will you be attending the College-wide update?</span>
<?php
if( !$GLOBALS['thursdayKeynoteFull'] ) {
echo '<span class="left-margin">';
if ($thur_keynote == "yes") {
echo ' <label><input id="thur_keynote" type="radio" name="thur_keynote" value="yes" checked>Yes</label> <label><input id="thur_keynote" type="radio" name="thur_keynote" value="no">No</label>';
} else {
echo ' <label><input id="thur_keynote" type="radio" name="thur_keynote" value="yes">Yes</label> <label><input id="thur_keynote" type="radio" name="thur_keynote" value="no" checked>No</label>';
}// end if statement
echo '</span>';
} else {
echo '<span class="left-margin"><strong>(We\'re sorry, but the seats are FULL)</strong></span> ';
}// end if statement
?>
<button id="thur-keynote-info">More Info</button><br>
</div><!-- ui-state-info -->
</div><!-- spacer -->
</div><!-- subordinateRegbox -->
<!-- End Thursday Workshops -->
<?php
}// end if statement (no thur_keynote)
?>
</div><!-- workshopAccordion -->
<!-- End Workshop Accordion -->
</div><!-- regbox -->
<p class="warning">Please click on the Submit button only after selecting your sessions.</p>
<p style="text-align: right">
<input type="submit" value="Submit" class="button-green">
</p>
</form>
</div><!-- formbox2 -->
<?php
} // end if statement (prevfound=0)
$flt_time_end = (float) microtime( true );
$flt_time_duration = (float) $flt_time_end - $flt_time_start;
echoToConsole( "Executed in: {$flt_time_duration} seconds.", true );
?>
</div><!-- main -->
</body>
</html>