<? include_once './inc/connect.php'; include_once './function.php'; if($_GET['pol'] == 'man' or $_GET['pol'] == 'woman'){ mysql_query("UPDATE `user` SET `pol` = '".$_GET['pol']."' WHERE `id` = '".$user['id']."' "); header("Location:/set_sex"); exit(); } ?><link type="text/css" rel="stylesheet" href="/style/main.css"/><div class="center clrt5">Выберите пол:</div> <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr><td width="50%"><a class="blockp" href="/? sex=man"><img src="/images/8.png" alt="" /><br>Мужской</a></td><td width="50%"><a class="blockp" href="/?sex=woman"><img src="/images/6.png" alt="" /><br>Женский</a></td></tr></table><div class="razriv3"></div> <? include_once './inc/f.php'; ?>