# Make POST arg handling PHP cross compatible and put form elements in array
# (for easy conversion to email text)
reset ($_POST);
$form = array();
while (list ($key, $val) = each ($_POST)) {
$$key = $val;
if ($key != "function" && $key != "submit") {
$form[$key] = $val;
}
}
$form_text = "";
# Handle form validation (based on form element name prefixes)
reset ($form);
print "";
while (list ($key, $val) = each ($form)) {
# if a form element is named with any of the following prefixes,
# it will be subject to evaluation
$validation_type = substr($key, 0, 3);
$trimmed_name = "";
if (substr($validation_type, 2, 1) == "_") {
$trimmed_name = substr($key, 3, strlen($key)-3);
# check for NOT EMPTY validation type
if ($validation_type == "NE_") {
if (!$val) {
print "Please fill in the " . $trimmed_name . " field. ";
$validation_failed = 1;
}
}
}
# add form element to text (for emailing, etc.)
if ($trimmed_name) {
$form_text .= ucwords($trimmed_name) . ": '" . $val . "'\n";
} else {
$form_text .= ucwords($key) . ": '" . $val . "'\n";
}
}
print "";
if ($function == "email" && !$validation_failed) {
include("bigthanks.html");
mail($email_to_address, $email_subject . ": " . $form["NE_name"], $form_text);
?>
} else {
?>
VOLUNTEER INFO:
It's that time of the summer!
Under the Volcano is gearing up for its 15th
year Anniversary + is looking for volunteers!
Under the Volcano is 100% volunteer run!
Be a part of the Action!
To take part in this fabulous festival of resistance,
you can fill out the form at the bottom
of this page and let us know what you would like to do. You can
also send us an email at volcanovolunteers@resist.ca
Thanks! You Rawk!
Krisztina & Gisele
Volcano Volunteer Coordinators
VOLUNTEER POSITIONS:
Before the Festival:
Publicity: Equip yourself with
staples, wheatpaste, or your adhesive of choice and blitz your neighbourhood.
Go to festivals and concerts and leaflet. Help distro the program
around the neighbourhood.
Office Admin: Unleash the secretary
within. Answer phones, emails, make coffee for the boss.
Set Up: Sat Aug 7th 2004, help
set up booths, paint signs and get the park ready for the festival
During the Festival:
Gates: Stand at the gates, take
money, greet all the pretty people. Work it sugar, Under the Volcano
relies on donations to exist.
Info Table: Sit in the shade and
answer questions. Questions like: When is the last bus? What band
is on stage right now? Where are the workshops? Also includes directing
incoming volunteers to their stations. You will be equippd with
information and walkie talkies. You will feel smart and powerful.
Children’s Area: Play with
kids! Art! Sports! Fun! Sign up quick, this
area always fills up first!
Security: Feel tough, be tough,
but peace sister, no rough stuff.
Parking: Direct cars to empty
parking spaces, chastise single occupancy vehicles, get to say “No,
your other left, sir”
Food: Feed volunteers, munch on
stuff when people aren’t looking.
Recycling: ‘cuz it’s
better than taking out the trash.
After the Festival:
Take Down: Break down the stages,
pick up garbage. More fun than you might think.We usually go back
the next day and can provide rides if you need one.
VOLUNTEER INFORMATION FORM
All Volcano volunteers will get free entrance
to the festival, one meal, and in some cases a t-shirt.
} ?>
|