Instructions
Put in the correct answers, fill in all the requested fields and win a Adventure Package in Interlaken.
Your Price
Adventure Package for two People:
- 2 nights in a Double Room of a Member Hostel
- Paraglidingtandemflight
- Canyoning Saxeten or Canyon Jump
- Trip to the Schilthorn
$formhandler_file = 'formhandler.php';
$path = 'www.vw/';
if (!file_exists($path.$formhandler_file)) {
$path = '../';
}
include($path.$formhandler_file);
?>
$error = '';
if ($_POST['form_send']) {
switch (SendMail ('webform@verein-web.ch', 'a:20:{s:8:"ab_titel";s:7:"Contest";s:10:"ab_formtyp";s:1:"0";s:10:"ab_betreff";s:16:"Contest IHA 2010";s:8:"ab_email";s:29:"info@interlaken-adventure.com";s:12:"ab_save_file";s:1:"1";s:12:"ab_form_name";a:6:{i:0;s:31:"In which Country is Interlaken?";i:1;s:79:"How many Airactivities are offered by Interlaken Hostels & Adventure in Summer?";i:2;s:9:"Firstname";i:3;s:8:"Lastname";i:4;s:7:"Country";i:5;s:6:"E-Mail";}s:11:"ab_form_typ";a:6:{i:0;s:6:"select";i:1;s:6:"select";i:2;s:4:"text";i:3;s:4:"text";i:4;s:4:"text";i:5;s:4:"text";}s:10:"ab_options";a:2:{i:0;s:28:" Italy; Switzerland; Germany";i:1;s:8:"2; 5; 10";}s:12:"ab_form_must";a:4:{i:2;s:5:"check";i:3;s:5:"check";i:4;s:5:"check";i:5;s:5:"check";}s:13:"ab_form_check";a:4:{i:2;s:2:"no";i:3;s:2:"no";i:4;s:2:"no";i:5;s:5:"email";}s:8:"ab_knopf";s:4:"send";s:15:"ab_bestaetigung";s:28:"Thank you for participation!";s:11:"ab_spam_url";s:1:"1";s:15:"ab_spam_captcha";s:1:"1";s:8:"ab_bild1";N;s:8:"ab_bild2";N;s:8:"ab_bild3";N;s:7:"ab_text";s:0:"";s:7:"options";a:2:{i:0;a:3:{i:0;s:6:" Italy";i:1;s:12:" Switzerland";i:2;s:8:" Germany";}i:1;a:3:{i:0;s:1:"2";i:1;s:2:" 5";i:2;s:3:" 10";}}s:5:"ab_id";s:5:"33678";}')) {
case 1:
$error = "To block spam, you are not allowed to enter links.";
break;
case 2:
$error = "Your entry was not accepted because:\na) Your code does not match the image.\nb) Cookies must be enabled.";
break;
}
if (!$error) { ?>
Thank you for participation!
}
}
if (!$_POST['form_send'] || $error) {
?>
} ?>
Terms and conditions
You can take part on the contest if you possess a valid e-mail adress.
The drawing will take place on:
1. Drawing: 30. June 2011
2. Drawing: 31. December 2011
The winner will be informed over the denoted e-mail adress.
endif; ?>
sponsor links
if (!function_exists('doConnect'))
include ('../../mysql.inc.php');
$banners = array(110,122,124,178,168,186,180,182);
$banner_platziert = array();
for ($i=1; $i<=3;$i++) {
$ba_id = $banners[mt_rand(0, 8 - 1)];
while (in_array($ba_id, $banner_platziert) && $retry < 100) {
$ba_id = $banners[mt_rand(0, 8 - 1)];
$retry++;
}
$banner_platziert[] = $ba_id;
$row = mySQL_Get_Row("SELECT * FROM ba_banner WHERE ba_id=$ba_id");
if ($row['attach'] == '.swf') {
?>
}
else
echo "\n";
query ("UPDATE ba_summe SET anz=anz+1 WHERE id_banner=$ba_id and aktion=1 and datum=date(NOW())");
if (mysql_affected_rows() == 0)
query ("INSERT INTO ba_summe VALUES (NULL, $ba_id, 1, NOW(), 1)");
}
?>