if ($user_lock) :
include('login_pagexy.php');
else : ?>
$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:16:{s:8:"ab_titel";s:0:"";s:10:"ab_formtyp";s:1:"0";s:10:"ab_betreff";s:0:"";s:8:"ab_email";s:16:"weiterempfehlung";s:12:"ab_form_name";a:5:{i:0;s:14:"Dein/Your Name";i:1;s:17:"Deine/Your E-Mail";i:2;s:30:"Name Empfänger / Name receiver";i:3;s:34:"E-Mail Empfänger / E-Mail receiver";i:4;s:20:"Mitteilung / Message";}s:11:"ab_form_typ";a:5:{i:0;s:4:"text";i:1;s:4:"text";i:2;s:4:"text";i:3;s:4:"text";i:4;s:8:"textarea";}s:12:"ab_form_must";a:4:{i:0;s:5:"check";i:1;s:5:"check";i:2;s:5:"check";i:3;s:5:"check";}s:13:"ab_form_check";a:5:{i:0;s:2:"no";i:1;s:2:"no";i:2;s:2:"no";i:3;s:2:"no";i:4;s:2:"no";}s:8:"ab_knopf";s:4:"Send";s:15:"ab_bestaetigung";s:276:"Danke für die Weiterempfehlung unserer Website.
|Schau mal auf www.interlaken-adventure.com
|Hallo [NameEmpfnger]
[DeinName] recommends this site to you! Have a look at
www.interlaken-adventure.com and find out why Interlaken is # 1 for
adventure & fun!
[Mitteilung]";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:5:"ab_id";s:4:"4520";}')) {
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) { ?>
Danke für die Weiterempfehlung unserer Website.
|Schau mal auf www.interlaken-adventure.com
|Hallo [NameEmpfnger]
[DeinName] recommends this site to you! Have a look at
www.interlaken-adventure.com and find out why Interlaken is # 1 for
adventure & fun!
[Mitteilung]
}
}
if (!$_POST['form_send'] || $error) {
?>
} ?>
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)");
}
?>