<?
echo "<div class=\"trow\">\n";
echo "<a href=\"/anketa.php\">Анкета</a> &gt; Страна<br />\n";
echo "</div>\n";

if (isset($_GET['set']))
{
$country=intval($_GET['count_set']);
mysql_query("UPDATE `user` SET `count` = '$country' WHERE `id` = '$user[id]' LIMIT 1");
header ("Location: anketa.php?ok&".SID."");
exit;
}
err();
aut();

echo "<a href='anketa.php?p=country&amp;count_set=6&amp;set'>Беларусь</a><br />\n";
echo "<a href='anketa.php?p=country&amp;count_set=2&amp;set'>Россия</a><br />\n";
echo "<a href='anketa.php?p=country&amp;count_set=1&amp;set'>Казахстан</a><br />\n";

///echo "<a href='anketa.php?p=country&amp;count_set=3&amp;set'>Узбекистан</a><br />\n";
///echo "<a href='anketa.php?p=country&amp;count_set=4&amp;set'>Украина</a><br />\n";
///echo "<a href='anketa.php?p=country&amp;count_set=5&amp;set'>Кыргызстан</a><br />\n";


?>
