<tr>
<td class=\"medium\">smokes:</td>
<td><select class=\"styled\" name=\"smokes_her\">
<option>Prefer not to say</option>
<option>Yes</option>
<option>No</option></select></td>
<td><select class=\"styled\" name=\"smokes_him\">
<option>Prefer not to say</option>
<option>Yes</option>
<option>No</option></select></td>
</tr>
<tr>
<td class=\"medium\">alcohol:</td>
<td><select class=\"styled\" name=\"alcohol_her\">
<option>Prefer not to say</option>
<option>Yes</option>
<option>No</option></select></td>
<td><select class=\"styled\" name=\"alcohol_him\">
<option>Prefer not to say</option>
<option>Yes</option>
<option>No</option></select></td>
</tr>
<tr>
<td class=\"medium\">drugs:</td>
<td><select class=\"styled\" name=\"drugs_her\">
<option>Prefer not to say</option>
<option>Yes</option>
<option>No</option></select></td>
<td><select class=\"styled\" name=\"drugs_him\">
<option>Prefer not to say</option>
<option>Yes</option>
<option>No</option></select></td>
</tr>
</table>
</div>
<div class=\"line clear\"></div>
<!--<a href=\"registration.php?step=1&id=1\"><img src=\"img/register.prev.step.png\" alt=\"\" class=\"fleft\"/></a>-->
<input type=\"image\" src=\"img/register.next.step.png\" class=\"fright\"/>
<div class=\"clear\"></div>
</div>
</div>");
}
else if($step=="3") {
$_SESSION['age_him'] = $_POST['age_him'];
$_SESSION['orientation_him'] = $_POST['orientation_him'];
$_SESSION['height_him'] = $_POST['height_him'];
$_SESSION['body_him'] = $_POST['body_him'];
$_SESSION['hair_him'] = $_POST['hair_him'];
$_SESSION['hair_lenght_him'] = $_POST['hair_lenght_him'];
$_SESSION['tattoos_him'] = $_POST['tattoos_him'];
$_SESSION['smokes_him'] = $_POST['smokes_him'];
$_SESSION['alcohol_him'] = $_POST['alcohol_him'];
$_SESSION['drugs_him'] = $_POST['drugs_him'];
$_SESSION['bodyhair_him'] = $_POST['bodyhair_him'];
$_SESSION['intimate_him'] = $_POST['intimate_him'];
$_SESSION['age_her'] = $_POST['age_her'];
$_SESSION['orientation_her'] = $_POST['orientation_her'];
$_SESSION['height_her'] = $_POST['height_her'];
$_SESSION['body_her'] = $_POST['body_her'];
$_SESSION['hair_her'] = $_POST['hair_her'];
$_SESSION['hair_lenght_her'] = $_POST['hair_lenght_her'];
$_SESSION['tattoos_her'] = $_POST['tattoos_her'];
$_SESSION['smokes_her'] = $_POST['smokes_her'];
$_SESSION['alcohol_her'] = $_POST['alcohol_her'];
$_SESSION['drugs_her'] = $_POST['drugs_her'];
$_SESSION['bodyhair_her'] = $_POST['bodyhair_her'];
$_SESSION['intimate_her'] = $_POST['intimate_her'];
$_SESSION['ready1'] = $_POST['ready1'];
$_SESSION['ready2'] = $_POST['ready2'];
$_SESSION['ready3'] = $_POST['ready3'];
$_SESSION['ready4'] = $_POST['ready4'];
$_SESSION['ready5'] = $_POST['ready5'];
$_SESSION['ready6'] = $_POST['ready6'];
$_SESSION['ready7'] = $_POST['ready7'];
$_SESSION['place1'] = $_POST['place1'];
$_SESSION['place2'] = $_POST['place2'];
$_SESSION['place3'] = $_POST['place3'];
$_SESSION['place4'] = $_POST['place4'];
$_SESSION['place5'] = $_POST['place5'];
$_SESSION['place6'] = $_POST['place6'];
$_SESSION['place7'] = $_POST['place7'];
$_SESSION['about'] = $_POST['about'];
echo("<form method=\"post\" action=\"registration.php?step=4\" name=\"profil\"><div class=\"padder spacer\">
<span class=\"blue big bold\">You can add first photos to your profile <span class=\"small blue bold\">(max 3)</span>:</span>
<div class=\"clear\" style=\"margin: 10px 0 ;\"></div>
<div class=\"col1\">
<table>
<tr>
<td>wybierz zdjęcie</td>
<td><input type=\"text\" class=\"text\" /></td>
<td><input type=\"image\" src=\"img/register.send.png\" /></td>
</tr>
<tr>
<td>wybierz zdjęcie</td>
<td><input type=\"text\" class=\"text\" /></td>
<td><input type=\"image\" src=\"img/register.send.png\" /></td>
</tr>
<tr>
<td>wybierz zdjęcie</td>
<td><input type=\"text\" class=\"text\" /></td>
<td><input type=\"image\" src=\"img/register.send.png\" /></td>
</tr>
</table>
</div>
<div class=\"col2\">
<img src=\"img/register.nopicture.png\" alt=\"\" />
<img src=\"img/register.nopicture.png\" alt=\"\" />
<img src=\"img/register.nopicture.png\" alt=\"\" class=\"last\"/>
</div>
<div class=\"line clear\"></div>
<!--<a href=\"registration.php?step=2&id=1\"><img src=\"img/register.prev.step.png\" alt=\"\" class=\"fleft\"/></a>-->
<a href=\"registration.php?step=4\"><input type=\"image\" src=\"img/register.finish.png\" class=\"fright\"/></a>
<div class=\"clear\"></div>
</div>
</div>");
}
if($step=="4") {
echo("<div class=\"padder spacer\">
<span class=\"blue big bold\">");
$query = mysql_query("INSERT INTO profil(data,email,pass,nick,weare,city,county,country,sz_parhetero,sz_parkbmh,sz_parkhmb,sz_parb,sz_parkkb,sz_kh,sz_kb,sz_l,sz_mh,sz_mb,sz_ts,sz_grup,sz_n,age_him,orientation_him,height_him,body_him,hair_him,hair_lenght_him,tattoos_him,smokes_him,alcohol_him,drugs_him,bodyhair_him,intimate_him,age_her,orientation_her,height_her,body_her,hair_her,hair_lenght_her,tattoos_her,smokes_her,alcohol_her,drugs_her,bodyhair_her,intimate_her,fullswap,fullswap_room,oral,petting,women_only,noswap,friends,ourplace,travel_city,travel_30km,travel_100km,travel_all,club,nowhere,about) VALUES (now(),'$email','$password','$nick','$weare','$city','$county','$country','$looking1','$looking2','$looking3','$looking4','$looking5','$looking6','$looking7','$looking8','$looking9','$looking10','$looking11','$looking12','$looking13','$age_him','$orientation_him','$height_him','$body_him','$hair_him','$hair_lenght_him','$tattoos_him','$smokes_him','$alcohol_him','$drugs_him','$bodyhair_him','$intimate_him','$age_her','$orientation_her','$height_her','$body_her','$hair_her','$hair_lenght_her','$tattoos_her','$smokes_her','$alcohol_her','$drugs_her','$bodyhair_her','$intimate_her','$ready1','$ready2','$ready3','$ready4','$ready5','$ready6','$ready7','$place1','$place2','$place3','$place4','$place5','$place6','$place7','$about')")
or die("Error.");
echo("Thank you for registering with us! <span class=\"small blue bold\"></span></span>
<div class=\"clear\" style=\"margin: 10px 0 ;\"></div>
<div class=\"col1\">
</div>
<div class=\"col2\">
</div>
<div class=\"line clear\"></div>
<div class=\"clear\"></div>
</div>
</div>");
session_unset();
session_destroy();
}
?>