debug = false; # print debugging info /*== security defaults ==*/ $form->security = false; # match referers $form->bad_addresses = '205.245.185.21,127.0.0.1,10.1.1.4,host.domain.com'; /*== templates defaults - leave blank to disable ==*/ $form->tpl_thankyou = 'service_kontakt_thanks.tpl'; # thank you page template $form->tpl_mailform = 'service_kontakt_mailform.tpl'; # email template $form->tpl_mailreply = ''; # email reply template /*== other defaults ==*/ $form->mailfrom = 'info@duisburger-filmwoche.de'; # form mail-from $form->rep_subject = 'Duisburger Filmwoche: Bestaetigung Kontakt'; # reply subject $form->mailto = 'info@duisburger-filmwoche.de'; # form mail-to /*$form->mailto = 'info@uwe-ahlgrimm.de'; # form mail-to*/ $form->subject = 'Duisburger Filmwoche: Kontakt'; # email subject $form->details = false; # adds extra details to results /*== file uploads ==*/ $form->uploaddir = ""; # directory to place uploaded files. # leave blank to disable /*== database configuration ==*/ $form->database = false; # enable/disable database storage. # Uses PEAR's DBI class $form->dbtype = "mysql"; # (mysql, pgsql, sybase, ibase, odbc, ..etc) $form->dbname = "BLAH"; # name of the database to use $form->dbhost = "localhost"; # database host name $form->dbuser = ""; # database username (or blank) $form->dbpass = ""; # database password (or blank) $form->dbtable = "anmeldung"; # database table to insert into # stuff these fields into the database table /*$form->stuff("Filmtitel","Filmtitel"); $form->stuff("Website","Website"); $form->stuff("email","Email"); $form->stuff("Laufzeit","Laufzeit"); $form->stuff("Filmformat1","Filmformat1"); $form->stuff("Filmformat2","Filmformat2"); $form->stuff("Filmformat3","Filmformat3"); $form->stuff("Videoformat1","Videoformat1"); $form->stuff("Videoformat2","Videoformat2"); $form->stuff("Videoformat3","Videoformat3"); $form->stuff("Videoformat4","Videoformat4"); $form->stuff("Videoformat5","Videoformat5"); $form->stuff("Videoformat6","Videoformat6"); $form->stuff("Material1","Material1"); $form->stuff("Material2","Material2"); $form->stuff("Sichtungsformat1","Sichtungsformat1"); $form->stuff("Sichtungsformat2","Sichtungsformat2"); $form->stuff("Sichtungsformat3","Sichtungsformat3"); $form->stuff("andereFormate","andereFormate"); $form->stuff("Regie","Regie"); $form->stuff("AdresseRegie","AdresseRegie"); $form->stuff("Buch","Buch"); $form->stuff("Kamera","Kamera"); $form->stuff("Ton","Ton"); $form->stuff("Schnitt","Schnitt"); $form->stuff("Musik","Musik"); $form->stuff("Produktion","Produktion"); $form->stuff("AdresseProd","Adresse Produktion"); $form->stuff("Produzent","Produzent"); $form->stuff("CoProduzent","CoProduzent"); $form->stuff("Foerderungen","Foerderungen"); $form->stuff("Verleih","Verleih"); $form->stuff("SenderRedaktion","Sender/Redaktion"); $form->stuff("Produktionsland-jahr","Produktionsland/jahr"); $form->stuff("Rueckfragen","Rueckfragen"); $form->stuff("Archivierung","Archivierung"); $form->stuff("Fernsehausstrahlung","Fernsehausstrahlung"); $form->stuff("Anmerkungen","Anmerkungen");*/ /*== set validation hooks ==*/ # available functions # isBlank,isBlankRadio,isBadURL,isNumber,isEmail,isFirstOption $form->validate("email","isBlank","Bitte tragen Sie Ihre E-Mail-Adresse ein!"); $form->validate("email","!isEmail","Bitte tragen Sie Ihre E-Mail-Adresse korrekt ein!"); # make certain variable names human readable $form->humanize("email","E-Mail"); $form->humanize("name","Nachname"); $form->humanize("vorname","Vorname"); # execute the form $form->draw('service_kontakt.html'); ?>