home *** CD-ROM | disk | FTP | other *** search
Wrap
<? include ("../lib/config/global_config.php3"); include ("../lib/phpDB/connect.php3"); include ("../lib/phpDB/db.php3"); $db=new db_connect; $db->openDB($global_DBServer,$global_DBUser,$global_DBPassword); $db->setDatabase($global_DBName); // fuer anmerkungen neben falsch ausgefuellten feldern: $errormsg = "<span style=\"color:#ff0000;font-size=10px;\"><b>[</b>error!<b>]</b></span>" ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title><?echo$global_title?></title> <link rel="stylesheet" href="../main.css"> </head> <body> <? echo "<!-- error: $errors -->"; ?> <img src="/cgi-bin/ivw/CP<? echo $PHP_SELF;?>" width=1 height=1><br> <img src="gfx/regist.gif" width=135 height=29 alt="" border="0"><br><br> <table width="370" border="0" cellspacing="0" cellpadding="0"> <tr><td colspan="2"><h1>Rules of participation:</h1> <span>Everyone has the right to participate in the draw. Void where prohibited or restricted by law or regulation. Employees of Reemtsma and their immediate family members, regardless of where they live, or persons who reside in the same household, whether related or not, are not eligible to play. In order to particepate you must be at least 18 years old. Each person can participate only once.<br><br> All entrants agree that their addresses will be stored in accordance with the data protection law. Winners will be selected by a random draw. The draw will be performed electronically through a randomizer program. Reemtsma reserves the right in its sole discretion to suspend or terminate the sweepstakes. </span><br><br> <a name="eingaben"><span><i>Fields marked with * are optional, all others have to be completed in order to be able to participate.</i></span></a></td></tr> <form action="registrier_win2.php3" method="GET" enctype="application/x-www-form-urlencoded" name="Register2Form"> <input type=hidden name="bildid" value="<? echo $bildid; ?>"> <input type=hidden name="lwort" value="<? echo $lwort; ?>"> <input type=hidden name="version" value="<? echo $version;?>"> <tr> <td><font>First Name:</font></td> <td><input type="Text" name="firstname" size="15" maxlength="40" VALUE="<? echo $firstname;?>"><? if ($errors[0]==1) echo $errormsg; ?></td> </tr> <tr> <td><font>Last Name:</font></td> <td><input type="Text" name="lastname" size="15" maxlength="40" VALUE="<? echo $lastname?>"><? if ($errors[1]==1) echo $errormsg; ?></td> </tr> <tr> <td><font>Date of Birth:</font></td> <td ><input type="Text" name="month" size="2" maxlength="2" VALUE="<? if (isset($month)) echo $month; else echo "MM";?>"> <input type="Text" name="day" size="2" maxlength="2" VALUE="<? if (isset($day)) echo $day; else echo "DD";?>"> <input type="Text" name="year" size="4" maxlength="4" VALUE="<? if (isset($year)) echo $year; else echo "YYYY";?>"><? if ($errors[3]==1 || $errors[4]==1 || $errors[5]==1) echo $errormsg; ?></td> </tr> <tr> <td><font>Gender:</font></td> <td><input type="Radio" name="weiblich" value="1" checked> <font>female</font><input type="Radio" name="weiblich" value="0"> <font>male</font></td> </tr> <tr> <td><font>Street/No.:</font></td> <td><input type="Text" name="street" size="15" maxlength="40" value="<? echo $street; ?>"><? if ($errors[2]==1) echo $errormsg; ?></td> </tr> <tr> <td><font>Phone*:</font></td> <td ><input type="Text" name="phone" size="15" maxlength="40"></td> </tr> <tr> <td><font>Zip/City:</font></td> <td><input type="Text" name="zip" size="15" maxlength="40" VALUE="<? echo $zip; ?>"><? if ($errors[7]==1) echo $errormsg; ?></td> </tr> <tr> <td><font>Country:</font></td> <td><select name="country"> <option value=0>please choose</option> <option value='1'>ANDORRA</option><option value='2'>AUSTRIA</option><option value='3'>BELGIUM</option><option value='4'>BOSNIA AND HERZEGOWINA</option><option value='5'>BULGARIA</option><option value='6'>CROATIA</option><option value='7'>CYPRUS</option><option value='8'>CZECH REPUBLIC</option><option value='9'>DENMARK</option><option value='10'>ESTONIA</option><option value='11'>FINLAND</option><option value='12'>FRANCE</option><option value='13'>GERMANY</option><option value='14'>GIBRALTAR</option><option value='15'>GREECE</option><option value='16'>GREENLAND</option><option value='17'>HUNGARY</option><option value='18'>ICELAND</option><option value='19'>IRELAND</option><option value='20'>ISRAEL</option><option value='21'>ITALY</option><option value='22'>LATVIA</option><option value='23'>LIECHTENSTEIN</option><option value='24'>LITHUANIA</option><option value='25'>LUXEMBOURG</option><option value='26'>MACEDONIA</option><option value='27'>MOLDOVA</option><option value='28'>MONACO</option><option value='29'>MONTSERRAT</option><option value='30'>NETHERLANDS</option><option value='31'>NORWAY</option><option value='46'>other</option><option value='99'>others</option><option value='32'>POLAND</option><option value='33'>PORTUGAL</option><option value='34'>ROMANIA</option><option value='35'>SAN MARINO</option><option value='36'>SLOVAKIA</option><option value='37'>SLOVENIA</option><option value='38'>SPAIN</option><option value='39'>SWEDEN</option><option value='40'>SWITZERLAND</option><option value='41'>TURKEY</option><option value='42'>UKRAINE</option><option value='43'>UNITED KINGDOM</option><option value='44'>VATICAN CITY STATE</option><option value='45'>YUGOSLAVIA</option> </select><? if ($errors[8]==1) echo $errormsg; ?></td> </tr> <tr> <td valign="top"><font>Smoker/Brand*:</font></td> <td><input type="Radio" name="smoker" value="1" checked> <font>Yes</font><input type="Radio" name="smoker" value="0"> <font>No</font> <input type="text" name="brand" size="15" maxlength=40><? if ($errors[9]==1) echo $errormsg; ?> </td> </tr> <tr> <td colspan=2 align="center"><img src="../gfx/blank.gif" width=1 height=40 alt="" border="0"><input type="Submit" name="submit" value="Let me in"> <input type="reset" name="reset" value="Delete my entries"></td> </tr> <tr> <td colspan="3"><br><input type="Radio" name="ichwill" value="1" checked> <font>I agree to allow R1 to save the information that I have entered, and to use it in the future to inform me of events or promotions and/or send me trial products.</font><br><br></td> </tr> <tr> <td colspan="3"><input type="Radio" name="ichwill" value="0"> <font>I do not agree with the above! Ok, then please click on this field and your address will be deleted from R1<sup><span>®</span></sup> 's files.</font></td> </tr> </form> </table> <br> </body> </html> <!-- ####################################### --> <? include ("../lib/config/global_config.php3"); include ("../lib/phpDB/connect.php3"); include ("../lib/phpDB/db.php3"); include ("../lib/helper.php3"); $db=new db_connect; $db->openDB($global_DBServer,$global_DBUser,$global_DBPassword); $db->setDatabase($global_DBName); if ($DBRUN==1): /* ** Abfrage der Registrierungdaten */ if ($firstname=="") { $errormsg="Bitte Voramen eingeben."; $error_first=1; } elseif ($lastname=="") { $errormsg="* Bitte Namen eingeben."; $error_last=1; } elseif ($email=="" || !ereg("^([a-zA-Z0-9\.\_\-]+)@([a-zA-Z0-9\.\-]+\.[A-Za-z][A-Za-z]+)$", $email)) { $errormsg = "* Bitte E-Mail Adresse überprüfen.\n z.B.: name@email.de "; $error_email=1; } elseif (checkBirth($myDay,$myMonth,$myYear) != 1) { echo "<META HTTP-EQUIV='Refresh' CONTENT=0;URL=too_young.php3>"; } elseif ($street=="") { $errormsg="Bitte geben Sie eine Strasse ein."; $error_street = 1; } elseif ($zip=="" || $city=="") { $errormsg="Bitte fⁿllen die Felder PLZ und Ort aus."; $error_zip = 1; } elseif ($country==0) { $errormsg="Bitte wählen Sie ein Land aus."; } elseif ($brand==0) { $errormsg="Bitte wählen Sie eine Marke aus."; } else { /* Birthdate zusammensetzen */ $birthdate = "$myYear-$myMonth-$myDay 00:00:00"; /* CreationDate */ $creationdate = date("Y-m-d H:i:s"); $dbquery=new db_query; $dbquery->db_connect($db); $insert = "INSERT INTO gewinnspiel_user2 (first, last, email, birthdate, phone, street, zip, city, country, brand, werbung, pictureid, creationdate, gender, smoker) VALUES ('$firstname', '$lastname', '$email', '$birthdate', '$phone', '$street' ,'$zip', '$city', '$country', '$brand', '$werbung', '$bildid', '$creationdate', '$gender', '$smoker')"; $dbquery->sendQuery($insert); echo "<META HTTP-EQUIV='Refresh' CONTENT=0;URL=bestaet_win.php3>"; } endif; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title><?echo$global_title?></title> <link rel="stylesheet" href="../main.css"> </head> <body> <img src="/cgi-bin/ivw/CP<? echo $PHP_SELF;?>" width=1 height=1><br> <img src="gfx/regist.gif" width=135 height=29 alt="" border="0"><br><br> <table width="370" border="0" cellspacing="0" cellpadding="0"> <tr><td colspan="2"><h1>Rules of participation:</h1> <span>Everyone has the right to participate in the draw. Void where prohibited or restricted by law or regulation. Employees of Reemtsma and their immediate family members, regardless of where they live, or persons who reside in the same household, whether related or not, are not eligible to play. In order to particepate you must be at least 18 years old. Each person can participate only once.<br><br> All entrants agree that their addresses will be stored in accordance with the data protection law. Winners will be selected by a random draw. The draw will be performed electronically through a randomizer program. Reemtsma reserves the right in its sole discretion to suspend or terminate the sweepstakes. </span><br><br> <a name="eingaben"><span><i>Fields marked with * are optional, all others have to be completed in order to be able to participate.</i></span></a><br> <h4><? if ($errormsg) { echo $errormsg; } ?></h4> </td> </tr> <form action="registrier_win.php3" method="GET" enctype="application/x-www-form-urlencoded" name="Register2Form"> <input type=hidden name="DBRUN" value="1"> <input type=hidden name="bildid" value="<? echo $bildid; ?>"> <input type=hidden name="lwort" value="<? echo $lwort; ?>"> <input type=hidden name="version" value="<? echo $version;?>"> <tr> <td><font>first name:</font></td> <td><input type="Text" name="firstname" size="15" maxlength="40" VALUE="<? echo $firstname;?>"></td> </tr> <tr> <td><font>last name:</font></td> <td><input type="Text" name="lastname" size="15" maxlength="40" VALUE="<? echo $lastname; ?>"></td> </tr> <tr> <td><font>email:</font></td> <td><input type="Text" name="email" size="15" maxlength="40" VALUE="<? echo $email; ?>"></td> </tr> <tr> <td><font>birth date:</font></td> <td><input type="Text" name="myDay" size="2" maxlength="2" value="<? echo $myDay; ?>"><input type="Text" name="myMonth" size="2" maxlength="2" value="<? echo $myMonth; ?>"><input type="Text" name="myYear" size="4" maxlength="4" value="<? echo $myYear; ?>"></td> </tr> <tr> <td><font>gender:</font></td> <td><input type="Radio" name="gender" value="female" checked> <font>weiblich</font><input type="Radio" name="gender" value="male"> <font>männlich</font></td> </tr> <tr> <td><font>street:</font></td> <td><input type="Text" name="street" size="15" maxlength="40" value="<? echo $street; ?>"></td> </tr> <tr> <td><font>phone*:</font></td> <td ><input type="Text" name="phone" size="15" maxlength="40"></td> </tr> <tr> <td><font>zip / city:</font></td> <td><input type="Text" name="zip" size="5" maxlength="15" VALUE="<? echo $zip; ?>"><input type="Text" name="city" value="<? echo $city; ?>" size="10" maxlength="40"></td> </tr> <tr> <td><font>country:</font></td> <td><select name="country"> <option value=0>Please choose</option> <option value='1'>ANDORRA</option><option value='2'>AUSTRIA</option><option value='3'>BELGIUM</option><option value='4'>BOSNIA AND HERZEGOWINA</option><option value='5'>BULGARIA</option><option value='6'>CROATIA</option><option value='7'>CYPRUS</option><option value='8'>CZECH REPUBLIC</option><option value='9'>DENMARK</option><option value='10'>ESTONIA</option><option value='11'>FINLAND</option><option value='12'>FRANCE</option><option value='13'>GERMANY</option><option value='14'>GIBRALTAR</option><option value='15'>GREECE</option><option value='16'>GREENLAND</option><option value='17'>HUNGARY</option><option value='18'>ICELAND</option><option value='19'>IRELAND</option><option value='20'>ISRAEL</option><option value='21'>ITALY</option><option value='22'>LATVIA</option><option value='23'>LIECHTENSTEIN</option><option value='24'>LITHUANIA</option><option value='25'>LUXEMBOURG</option><option value='26'>MACEDONIA</option><option value='27'>MOLDOVA</option><option value='28'>MONACO</option><option value='29'>MONTSERRAT</option><option value='30'>NETHERLANDS</option><option value='31'>NORWAY</option><option value='46'>other</option><option value='99'>others</option><option value='32'>POLAND</option><option value='33'>PORTUGAL</option><option value='34'>ROMANIA</option><option value='35'>SAN MARINO</option><option value='36'>SLOVAKIA</option><option value='37'>SLOVENIA</option><option value='38'>SPAIN</option><option value='39'>SWEDEN</option><option value='40'>SWITZERLAND</option><option value='41'>TURKEY</option><option value='42'>UKRAINE</option><option value='43'>UNITED KINGDOM</option><option value='44'>VATICAN CITY STATE</option><option value='45'>YUGOSLAVIA</option> </select></td> </tr> <tr> <td valign="top"><font>Raucher/<br>Cigarettenmarke*:</font></td> <td><input type="Radio" name="smoker" value="1" checked> <font>Ja</font><input type="Radio" name="smoker" value="0"> <font>Nein</font> <select name="brand"> <option VALUE="0">-- Please choose your brand --</option> <option VALUE="10031883000">Pall Mall Light</option> <option VALUE="10031880100">Pall Mall de Luxe</option> <option VALUE="10031882000">Pall Mall 100</option> <option VALUE="10031881500">Pall Mall Filter</option> <option VALUE="10031883500">Pall Mall Menthol</option> <option VALUE="10011201000">P&S Filter</option> <option VALUE="10071770100">Nil Orient</option> <option VALUE="10071770500">Nil Filter</option> <option VALUE="10031740500">New Look Menthol</option> <option VALUE="10031741000">New Look Lights</option> <option VALUE="10031740100">New Look</option> <option VALUE="10061553500">Marlboro Ultra</option> <option VALUE="10061551000">Marlboro Menthol</option> <option VALUE="10061553000">Marlboro Medium</option> <option VALUE="10061552500">Marlboro Lights Menthol</option> <option VALUE="10061552000">Marlboro Lights 100</option> <option VALUE="10061550500">Marlboro Lights</option> <option VALUE="10061551500">Marlboro 100</option> <option VALUE="10061550100">Marlboro</option> <option VALUE="10031481500">Lucky Strike Ultra</option> <option VALUE="10031481000">Lucky Strike Lights</option> <option VALUE="10031480500">Lucky Strike Filter</option> <option VALUE="10031480100">Lucky Strike</option> <option VALUE="10042840500">LR Lights</option> <option VALUE="10042840100">LR Brand</option> <option VALUE="10041462000">Lord Ultra 100</option> <option VALUE="10041461000">Lord Ultra</option> <option VALUE="10041463000">Lord Lights</option> <option VALUE="10041460100">Lord Extra 100</option> <option VALUE="10041460100">Lord Extra</option> <option VALUE="10061391500">L+M Lights</option> <option VALUE="10061391000">L+M Full Flavour</option> <option VALUE="10061390500">L+M 100</option> <option VALUE="10011203100">JPS Am. Blend Lights</option> <option VALUE="10011203000">JPS Am. Blend</option> <option VALUE="10031121000">HB Lights</option> <option VALUE="10031121500">HB 907</option> <option VALUE="10031120500">HB 100</option> <option VALUE="10031120100">HB</option> <option VALUE="10041042000">Golden American Ultra <option VALUE="10041042500">Golden American Menthol <option VALUE="10041041000">Golden American Lights <option VALUE="10041041500">Golden American Classic <option VALUE="10041040600">Golden American 100 Big <option VALUE="10041040500">Golden American 100 <option VALUE="10041040100">Golden American <option VALUE="10031000500">Gitanes Bout Filtre <option VALUE="10031001500">Gitanes Blondes Legere <option VALUE="10031001000">Gitanes Blondes <option VALUE="10031000100">Gitanes <option VALUE="10030970100">Gauloises Caporal <option VALUE="10030970500">Gauloises Caporal filtre <option VALUE="10030972500">Gauloises Blondes Legere <option VALUE="10030972000">Gauloises Blondes <option VALUE="10060891000">F6 Lights <option VALUE="10060891500">F6 King Size <option VALUE="10060892000">F6 Blue <option VALUE="10060890500">F6 100 <option VALUE="10060890100">F6 <option VALUE="10010830100">Ernte 23 <option VALUE="10010661500">Davidoff Mild <option VALUE="10010660100">Davidoff Magnum <option VALUE="10010662000">Davidoff Lights <option VALUE="10010660500">Davidoff King Size <option VALUE="10010661000">Davidoff Classic <option VALUE="10060511000">Chesterfield O.C. Lights <option VALUE="10060510500">Chesterfield O.C. <option VALUE="10050433000">Camel Mild <option VALUE="10050433500">Camel Medium <option VALUE="10050434500">Camel Lights <option VALUE="10050435000">Camel Full Flavour <option VALUE="10050432000">Camel Filter 100 <option VALUE="10050430100">Camel Filter <option VALUE="10050431000">Camel <option VALUE="10010400500">Cabinet Wⁿrzig <option VALUE="10010400100">Cabinet Mild <option VALUE="10010401500">Cabinet Lights <option VALUE="10010401000">Cabinet 100 <option VALUE="10030271500">Benson & Hedges A.B. Lights <option VALUE="10030180100">Auslese de Luxe <option VALUE="10030180500">Auslese de Luxe 100 <option VALUE="10010400100">Cabinet <option VALUE="10030270100">Benson & Hedges <option VALUE="10030271000">Benson & Hedges A.B. <option VALUE="10030270500">Benson & Hedges 100 <option VALUE="10031881000">Pall Mall ohne Filter <option VALUE="10031884000">Pall Mall Ultra <option VALUE="10012070100">Peter Stuyvesant <option VALUE="10012070500">Peter Stuyvesant Lights <option VALUE="10061951000">Philip Morris Light American <option VALUE="10061952000">Philip Morris One-1 <option VALUE="10032040100">Prince Denmark <option VALUE="10032041000">Prince Denmark 100 <option VALUE="10032042000">Prince Lights <option VALUE="10032043000">Prince Medium <option VALUE="10032041500">Prince Menthol <option VALUE="10012080100">R1 <option VALUE="10012081500">R1 Forte <option VALUE="10012082000">R1 Longline <option VALUE="10012081000">R1 Minima <option VALUE="10012080500">R1 Slimline <option VALUE="10012090100">R6 <option VALUE="10012090500">R6 100 <option VALUE="10022200100">Roth-Haendle <option VALUE="10022201500">Roth-Haendle Blond <option VALUE="10022200500">Roth-Haendle Filter <option VALUE="10042210500">Rothmans international <option VALUE="10042210100">Rothmans King Size <option VALUE="10042212000">Rothmans Lights <option VALUE="10012740100">West <option VALUE="10012742000">West Lights <option VALUE="10012745500">West Ultra <option VALUE="10012743700">West Ice <option VALUE="10012740500">West 100 <option VALUE="10012743000">West Lights 100 <option VALUE="10042780100">Winfield Full Flavour <option VALUE="10042780500">Winfield Lights <option VALUE="80006281400">Other tabacco <option VALUE="10002400000">Other filter tipped cigarettes </select> </td> </tr> <tr> <td colspan=2 align="center"><img src="../gfx/blank.gif" width=1 height=40 alt="" border="0"><input type="Submit" name="submit" value="Teilnehmen"> <input type="reset" name="reset" value="Einträge löschen"></td> </tr> <tr> <td colspan="3"><br><input type="Radio" name="werbung" value="1" checked> <font>I agree to allow R1 to save the information that I have entered, and to use it in the future to inform me of events or promotions and/or send me trial products.</font><br><br></td> </tr> <tr> <td colspan="3"><input type="Radio" name="werbung" value="0"> <font>I do not agree with the above! Ok, then please click on this field and your address will be deleted from R1<sup><span>®</span></sup>'s files. </font></td> </tr> </form> </table> <br> </body> </html>