Kostenlos Gesamtkatalog anfordern:

Vielen Dank für Ihr Interesse

Wir werden Ihr Anliegen schnellstmöglichst bearbeiten.
'); $Formular_html ='

##kontakt_meldung##

Ja, bitte senden Sie Ihren neuen aktuellen Gesamtkatalog an meine folgende Adresse:

Wenn Dienstanschrift:
Schule, Einrichtung, Firma
Vorname *
Nachname *
Telefon
Strasse *
PLZ *
Ort *
Land *
e-Mail *
##check_add_to_mailinglist## Ja, senden Sie mir den Newsletter
Wie wurden Sie auf uns aufmerksam? ##Kontakt_Ursprung##
'; $flag[0] = 'Nein'; $flag[1] = 'JA'; $subject['de'][0] = my_encode_function('Bitte auswählen'); $subject['de'][1] = my_encode_function('Kollege/Kollegin'); $subject['de'][2] = my_encode_function('Weiterbildung'); $subject['de'][3] = my_encode_function('Seminar'); $subject['de'][4] = my_encode_function('Lernwerkstatt'); $subject['de'][5] = my_encode_function('Lehrmittelausstellung/Messe'); $subject['de'][6] = my_encode_function('Ich bin bereits Kundin/Kunde'); $subject['en'][0] = my_encode_function('Please select'); $subject['en'][1] = my_encode_function('Ordering Catalog'); $subject['en'][2] = my_encode_function('Customer-Service'); $subject['en'][3] = my_encode_function('Technical Service'); $subject['en'][4] = my_encode_function('Webdesign'); $anrede['de'][0] = my_encode_function('Anrede'); $anrede['de'][1] = my_encode_function('Herr'); $anrede['de'][2] = my_encode_function('Frau'); $anrede['de'][3] = my_encode_function('Dr.'); $anrede['de'][4] = my_encode_function('Prof.'); $anrede['de'][5] = my_encode_function('Prof. Dr.'); $anrede['en'][0] = my_encode_function('Title'); $anrede['en'][1] = my_encode_function('Mr'); $anrede['en'][2] = my_encode_function('Mrs'); $anrede['en'][3] = my_encode_function('Dr.'); $anrede['en'][4] = my_encode_function('Prof.'); $anrede['en'][5] = my_encode_function('Prof. Dr.'); // Auswahl zufällig aus der Liste: if(!isset($_SESSION[$mandant.'_contact'] ['zufallsprodukt_id'])) { $_SESSION[$mandant.'_contact'] ['zufallsprodukt_id'] = rand(0,7); } //echo $_SESSION[$mandant.'_contact'] ['zufallsprodukt_id']; $zufallsprodukte[0] = array('zwei plus zwei', 4); $zufallsprodukte[1] = array('fünf plus neun', 14); $zufallsprodukte[2] = array('eins plus elf',12); $zufallsprodukte[3] = array('fünf minus zwei', 3); $zufallsprodukte[4] = array('zwei plus drei', 5); $zufallsprodukte[5] = array('sieben minus sechs', 1); $zufallsprodukte[6] = array('sechs plus neun', 15); $zufallsprodukte[7] = array('acht minus zwei', 6); $conf['meldungen_kontakt']['bitte_spamschutz_eintragen']['de'] = '

Bitte tragen Sie unter "Spamschutz" das Ergebnis als Zahl ein.

'; $conf['meldungen_kontakt']['bitte_spamschutz_eintragen']['en'] = '

Please enter the result as a number into the field "Spam-Abuse Protection".

'; $conf['meldungen_kontakt']['bitte_spamschutz_eintragen']['nl'] = '

Geef "spam bescherming" als het resultaat van een aantal.

'; $conf['meldungen_kontakt']['bitte_alle_felder']['de'] = '

Bitte überprüfen Sie, ob alle notwendigen Felder ausgefüllt sind.

'; $conf['meldungen_kontakt']['bitte_alle_felder']['en'] = '

Please check whether all necessary fields are filled in.

'; $conf['meldungen_kontakt']['bitte_alle_felder']['nl'] = '

Controleer of alle benodigde velden zijn.

'; //$conf['meldungen_kontakt']['newsletter_']['de'] = '

Bitte überprüfen Sie, ob alle notwendigen Felder ausgefüllt sind.

'; //$conf['meldungen_kontakt']['newsletter_']['en'] = '

Please check whether all necessary fields are filled in.

'; //$conf['meldungen_kontakt']['newsletter_']['nl'] = '

Controleer of alle benodigde velden zijn.

'; $conf['meldungen_kontakt']['bestaetigung']['de'] = '

Vielen Dank für Deine Nachricht.

'; $conf['meldungen_kontakt']['bestaetigung']['en'] = '

Thank you for your message.

'; $conf['meldungen_kontakt']['bestaetigung']['nl'] = '

Bedankt voor uw bericht.

'; $kontakt_v2['zufallsfrage'] = $zufallsprodukte[$_SESSION[$mandant.'_contact'] ['zufallsprodukt_id']][0]; if(!isset($_SESSION[$mandant.'_contact']['counter'])) { $_SESSION[$mandant.'_contact'] = array(); $_SESSION[$mandant.'_contact']['counter']['count'] = 1; } else { $_SESSION[$mandant.'_contact']['counter']['count']++; } $form_felder = array(); // notnull,good_class,bad_class, pattern='', 'float' = 'null' $form_felder['Anrede'] =array (0,'normal','alert',''); $form_felder['Vorname'] =array (1,'normal','alert',''); $form_felder['Name'] =array (1,'normal','alert',''); $form_felder['Telefon'] =array (0,'normal','alert',''); $form_felder['Name2'] =array (0,'normal','alert',''); $form_felder['Name3'] =array (0,'normal','alert',''); $form_felder['Strasse'] =array (1,'normal','alert',''); $form_felder['Plz'] =array (1,'normal','alert',''); $form_felder['Ort'] =array (1,'normal','alert',''); $form_felder['Land'] =array (1,'normal','alert',''); $form_felder['Email'] =array (0,'normal','alert','|^[_a-z0-9-.]+(\.[_a-z0-9-]+)*@([a-z0-9-]+\.)+([a-z0-9]{2,4})$|i'); //$form_felder['Email'] =array (1,'normal','alert',''); $form_felder['Kontakt_Ursprung'] =array (0,'normal','alert',''); $form_felder['Nachricht'] =array (0,'normal','alert',''); $form_felder['check_add_to_mailinglist'] =array (0,'normal','alert',''); $form_felder['check_send_me_catalog'] =array (0,'normal','alert',''); $form_felder['check_call_me_back'] =array (0,'normal','alert',''); //$form_felder['check_interest_mentor'] =array (0,'normal','alert',''); //$form_felder['check_volunteer'] =array (0,'normal','alert',''); //$form_felder['check_interest_partner'] =array (0,'normal','alert',''); $headers = "From: $mailtoaddr\n"; $headers.= "X-Mailer: PHP "; $headers.="Return-Path: <$mailtoaddr>\n"; $headers.="Reply-To: $mailtoaddr\nErrors-To: $mailtoaddr\nContent-Type: text/plain; charset=iso-8859-1\n"; // REQUEST verarbeiten: //echo $zufallsprodukte[$_SESSION[$mandant.'_contact'] ['zufallsprodukt_id']][1]; if(is_array($_REQUEST['addr'])) { // antispam aushebeln: $_REQUEST['addr']['zufallsfrage'] = $zufallsprodukte[$_SESSION[$mandant.'_contact'] ['zufallsprodukt_id']][1]; if($_REQUEST['addr']['zufallsfrage'] != $zufallsprodukte[$_SESSION[$mandant.'_contact'] ['zufallsprodukt_id']][1]) { $kontakt_meldung.= $conf['meldungen_kontakt']['bitte_spamschutz_eintragen'][$contact_lang]; $fehlende_felder [] = 'Zufallsfrage'; } // addr Felder foreach ($form_felder as $field => $value) { $_SESSION[$mandant.'_contact']['addr'][$field] = (substr($_REQUEST['addr'][$field],0,2255)); // Muster prüfen if(!empty($value[3])) { if (!preg_match($value[3], $_SESSION[$mandant.'_contact']['addr'][$field])) { $fehlende_felder[] = $field; } } // leere prüfen if($value[0]==1) { if (empty($_SESSION[$mandant.'_contact']['addr'][$field])) { $fehlende_felder[] = $field; } } // checkfield prüfen if(substr($field,0,6) =='check_') { //echo $_REQUEST['addr'][$field]; if(substr($_REQUEST['addr'][$field],0,1)==1) { $_SESSION[$mandant.'_contact']['addr'][$field] = 1 ; } else { $_SESSION[$mandant.'_contact']['addr'][$field] = ''; } } } if(count($fehlende_felder)>=1) { $kontakt_meldung.= $conf['meldungen_kontakt']['bitte_alle_felder'][$contact_lang]; foreach ($fehlende_felder as $value) { $missing_css.= '#addr_'.$value.' {border: dashed 2px orange !important;}'."\n"; //$missing_css_js.= ' parent.top.document.form_contact.getElementById("addr['.$value.']").style.backgroundColor = "pink";'."\n"; } } else { $mail_template = $Mail_tpl; $_SESSION[$mandant.'_contact']['addr']['check_add_to_mailinglist'] = $flag[$_SESSION[$mandant.'_contact']['addr']['check_add_to_mailinglist']]; $_SESSION[$mandant.'_contact']['addr']['check_call_me_back'] = $flag[$_SESSION[$mandant.'_contact']['addr']['check_call_me_back']]; $_SESSION[$mandant.'_contact']['addr']['check_send_me_catalog'] = $flag[$_SESSION[$mandant.'_contact']['addr']['check_send_me_catalog']]; $_SESSION[$mandant.'_contact']['addr']['Anrede'] = $anrede[$contact_lang][$_SESSION[$mandant.'_contact']['addr']['Anrede']]; $_SESSION[$mandant.'_contact']['addr']['Kontakt_Ursprung'] = $subject[$contact_lang][$_SESSION[$mandant.'_contact']['addr']['Kontakt_Ursprung']]; foreach ($_SESSION[$mandant.'_contact']['addr'] as $k => $v) { $mail_template = str_replace('##'.$k.'##',utf8_encode($v),$mail_template); } //mail($mailtoaddr,'Anfrage von unserer Homepage',$body,$headers,"-f $mailtoaddr"); mail($mailtoaddr,'Katalog-Anfrage '.$_SESSION[$mandant.'_contact']['addr']['Name'],utf8_decode($mail_template),$headers,"-f $mailtoaddr"); $csvfile_rowdata=$_SESSION[$mandant.'_contact']['addr']; $csvfilename=dirname(__FILE__).'/../../admin/_csv_listen/katalog_anmeldungen.csv'; $csvfile_write_header=(!file_exists($csvfilename) || !filesize($csvfilename)); $csvfilehhandle=@fopen($csvfilename,'a'); if ($csvfile_write_header) { @fwrite($csvfilehhandle,implode("\t",array_keys($csvfile_rowdata))."\n"); } @fwrite($csvfilehhandle,implode("\t",$csvfile_rowdata)."\n"); // @fwrite($csvfilehhandle,"\n".print_r($csvfile_rowdata,true)."\n"); @fclose($csvfilehhandle); // till@mohr4u.de 2011-09-28: newsletteranmeldung in tabelle eintragen: if ($_SESSION[$mandant.'_contact']['addr']['check_add_to_mailinglist']==$flag[1]) { // aus newsletter.php: require_once (DIR_FS_INC.'xtc_render_vvcode.inc.php'); require_once (DIR_FS_INC.'xtc_random_charcode.inc.php'); require_once (DIR_FS_INC.'xtc_encrypt_password.inc.php'); require_once (DIR_FS_INC.'xtc_validate_password.inc.php'); require_once (DIR_FS_INC.'xtc_validate_email.inc.php'); //EOF - web28 - 2010-02-09: NEWSLETTER ERROR HANDLING $vlcode = xtc_random_charcode(32); // akt. link $link = xtc_href_link(FILENAME_NEWSLETTER, 'action=activate&email='.xtc_db_input($_SESSION[$mandant.'_contact']['addr']['Email']).'&key='.$vlcode, 'NONSSL'); // create mails $smarty->assign('language', $_SESSION['language']); $smarty->assign('tpl_path', 'templates/'.CURRENT_TEMPLATE.'/'); $smarty->assign('logo_path', HTTP_SERVER.DIR_WS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/img/'); // assign vars $smarty->assign('EMAIL', xtc_db_input($_POST['email'])); $smarty->assign('LINK', $link); // dont allow cache $smarty->caching = false; $html_mail = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/newsletter_mail.html'); $txt_mail = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/newsletter_mail.txt'); // Check if email exists if (xtc_validate_email(trim($_SESSION[$mandant.'_contact']['addr']['Email']))) { // if strtoupper($_POST['vvcode']) == $_SESSION['vvcode'])) { $check_mail_query = xtc_db_query("select customers_email_address, mail_status from ".TABLE_NEWSLETTER_RECIPIENTS." where customers_email_address = '".xtc_db_input($_SESSION[$mandant.'_contact']['addr']['Email'])."'"); if (!xtc_db_num_rows($check_mail_query)) { // noch nicht eingetragen if (isset ($_SESSION['customer_id'])) { $customers_id = $_SESSION['customer_id']; $customers_status = $_SESSION['customers_status']['customers_status_id']; $customers_firstname = $_SESSION['customer_first_name']; $customers_lastname = $_SESSION['customer_last_name']; } else { $check_customer_mail_query = xtc_db_query("select customers_id, customers_status, customers_firstname, customers_lastname, customers_email_address from ".TABLE_CUSTOMERS." where customers_email_address = '".xtc_db_input($_SESSION[$mandant.'_contact']['addr']['Email'])."'"); if (!xtc_db_num_rows($check_customer_mail_query)) { $customers_id = '0'; $customers_status = '1'; $customers_firstname = $_SESSION[$mandant.'_contact']['addr']['Vorname']; $customers_lastname = $_SESSION[$mandant.'_contact']['addr']['Name']; } else { $check_customer = xtc_db_fetch_array($check_customer_mail_query); $customers_id = $check_customer['customers_id']; $customers_status = $check_customer['customers_status']; $customers_firstname = $check_customer['customers_firstname']; $customers_lastname = $check_customer['customers_lastname']; } } $sql_data_array = array ('customers_email_address' => xtc_db_input($_SESSION[$mandant.'_contact']['addr']['Email']), 'customers_id' => xtc_db_input($customers_id), 'customers_status' => xtc_db_input($customers_status), 'customers_firstname' => xtc_db_input($customers_firstname), 'customers_lastname' => xtc_db_input($customers_lastname), 'mail_status' => '0', 'mail_key' => xtc_db_input($vlcode), 'date_added' => 'now()'); xtc_db_perform(TABLE_NEWSLETTER_RECIPIENTS, $sql_data_array); $info_message = TEXT_EMAIL_INPUT; if (SEND_EMAILS == true) { xtc_php_mail(EMAIL_SUPPORT_ADDRESS, EMAIL_SUPPORT_NAME, xtc_db_input($_SESSION[$mandant.'_contact']['addr']['Email']), '', '', EMAIL_SUPPORT_REPLY_ADDRESS, EMAIL_SUPPORT_REPLY_ADDRESS_NAME, '', '', TEXT_EMAIL_SUBJECT, $html_mail, $txt_mail); } } else { // 2do "ist bereits eingetragen !"" } } else { // 2do mohr4u: formfehler email error! } // captcha if (strtoupper($_POST['vvcode']) != $_SESSION['vvcode']) $info_message .= ERROR_VVCODE; } /* $_SESSION[$mandant.'_contact']['addr']['Email']=mysql_real_escape_string($_SESSION[$mandant.'_contact']['addr']['Email']); $nlc_query = xtc_db_query("select count(*) as ca from newsletter_recipients where customers_email_address='".$_SESSION[$mandant.'_contact']['addr']['Email']."'"); $nlc_row= xtc_db_fetch_array($nlc_query); if ($nlc_row['ca']==0) { $nlc_query = xtc_db_query("insert into newsletter_recipients ( mail_id , customers_email_address , customers_id , customers_status , customers_firstname , customers_lastname , mail_status , mail_key ) values ( null,'".$_SESSION[$mandant.'_contact']['addr']['Email']."',' )"; } */ unset($_SESSION[$mandant.'_contact']); $contact_template = $Danke_Tpl; } } $tags =array(); $contents =array(); if(!isset($contact_template)) { $contact_template = $Formular_html; $tags[] = '##Name##'; $contents[] = $_SESSION[$mandant.'_contact']['addr']['Name']; $tags[] = '##Name2##'; $contents[] = $_SESSION[$mandant.'_contact']['addr']['Name2']; $tags[] = '##Name3##'; $contents[] = $_SESSION[$mandant.'_contact']['addr']['Name3']; $tags[] = '##Vorname##'; $contents[] = $_SESSION[$mandant.'_contact']['addr']['Vorname']; $tags[] = '##Anrede##'; $contents[] = get_html_pulldown_frontend('addr[Anrede]',$_SESSION[$mandant.'_contact']['addr']['Anrede'], $anrede[$contact_lang], '',array(),0, 0); $tags[] = '##Kontakt_Ursprung##'; $contents[] = get_html_pulldown_frontend('addr[Kontakt_Ursprung]',$_SESSION[$mandant.'_contact']['addr']['Kontakt_Ursprung'], $subject[$contact_lang], '',array(),0, 0); $tags[] = '##Email##'; $contents[] = $_SESSION[$mandant.'_contact']['addr']['Email']; $tags[] = '##Strasse##'; $contents[] = $_SESSION[$mandant.'_contact']['addr']['Strasse']; $tags[] = '##Plz##'; $contents[] = $_SESSION[$mandant.'_contact']['addr']['Plz']; $tags[] = '##Land##'; $contents[] = $_SESSION[$mandant.'_contact']['addr']['Land']; $tags[] = '##Telefon##'; $contents[] = $_SESSION[$mandant.'_contact']['addr']['Telefon']; $tags[] = '##Nachricht##'; $contents[] = $_SESSION[$mandant.'_contact']['addr']['Nachricht']; $tags[] = '##Ort##'; $contents[] = $_SESSION[$mandant.'_contact']['addr']['Ort']; $tags[] = '##check_add_to_mailinglist##'; $contents[] = get_html_checkbox($_SESSION[$mandant.'_contact']['addr']['check_add_to_mailinglist'],'addr[check_add_to_mailinglist]',' ',1); $tags[] = '##check_send_me_catalog##'; $contents[] = get_html_checkbox($_SESSION[$mandant.'_contact']['addr']['check_send_me_catalog'],'addr[check_send_me_catalog]','',1); $tags[] = '##check_call_me_back##'; $contents[] = get_html_checkbox($_SESSION[$mandant.'_contact']['addr']['check_call_me_back'],'addr[check_call_me_back]','',1); $tags[] = '##zufallsfrage##'; $contents[] = $kontakt_v2['zufallsfrage']; $tags[] = '##kontakt_meldung##'; $contents[] = $kontakt_meldung; $tags[] = '##read##'; $contents[] = $theid; $tags[] = '##missing_css##'; $contents[] = $missing_css; $tags[] = '##M4_REQUEST_URI##'; $contents[] = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; } echo str_replace($tags, $contents, $contact_template); unset($tags); unset($contents); function get_html_pulldown_frontend($selectname, $thisval, $value_show_array, $styles='',$hide_this_keys,$start_item,$use_keys_as_values=0) { //print_r($value_show_array); $ret =''."\n"; return $ret; } function get_html_checkbox($thisval,$name,$style='',$myval=1) { //echo 'F_GETCHK:'.$thisval.$name; if(is_null($thisval) || empty($thisval) || $thisval==0) { $checked = ''; } else { $checked = ' checked '; } return ''; } function my_encode_function($str) { return utf8_decode($str); } ?>

Zurück

Warenkorb

Ihr Warenkorb ist leer.

Schnellkauf

Bitte geben Sie die Artikelnummer aus unserem Katalog ein.

Merkliste

Mehr über...

Willkommen zurück!

E-Mail-Adresse:
Passwort:
Passwort vergessen?

Newsletter-Anmeldung

Vorname::

Nachname::

E-Mail-Adresse::

Bestseller

01. "Lauthörfisch" zur akustischen Differenzierung

Stückpreis 0,50 EUR
inkl. 19 % MwSt. zzgl. Versandkosten

02. Der Kleine Karteikasten aus Wellpappe

Ab 0,90 EUR
Stückpreis 1,00 EUR
inkl. 19 % MwSt. zzgl. Versandkosten

03. Mathekartei 1 x 1

Stückpreis 12,50 EUR
inkl. 7 % MwSt. zzgl. Versandkosten

04. Mathekartei Klasse 1

Stückpreis 12,50 EUR
inkl. 7 % MwSt. zzgl. Versandkosten

05. Wo klingt das...?

Stückpreis 9,50 EUR
inkl. 7 % MwSt. zzgl. Versandkosten

06. Mathekartei Sachaufgaben zum 1 x 1

Stückpreis 10,50 EUR
inkl. 7 % MwSt. zzgl. Versandkosten

07. Setzleiste 30cm

Stückpreis 4,40 EUR
inkl. 19 % MwSt. zzgl. Versandkosten

08. Das Feuerbohnenzelt

Stückpreis 8,20 EUR
inkl. 7 % MwSt. zzgl. Versandkosten

09. Mathekartei Knobelei für kluge Köpfe II

Stückpreis 9,00 EUR
inkl. 7 % MwSt. zzgl. Versandkosten

10. Blankokartei für Mathematik mit Kästchen

Stückpreis 7,00 EUR
inkl. 7 % MwSt. zzgl. Versandkosten

Parse Time: 0.167s