Файл: vsime.com/anketa/inc/edit_color_eye.php
Строк: 23
<?
    if(isset($_POST['submited']))
    {
        if (hsc(@$_POST['mdp'])==$mdp)
        {
            mysqli_query($dbi, "UPDATE `anketa` SET `color_eye` = '".my_esc($_POST['color_eye'])."' WHERE `id_user` = '$ank[id]'");
            header("Location:?id=$ank[id]&edit=tipazh");
            msg_sess("Изменения успешно сохранены");exit();
        } else hacked_by_Killer();
    }
    echo "<div class=list><form method='POST' action=''>n";
    echo "<b>Цвет глаз:</b><br/>n";
    echo "<input name='color_eye' maxlength='18' type='text' value='".input_value($ank['anketa']['color_eye'])."'><br/>n";
    echo "<input type='hidden' name='mdp' value='$mdp'>n";
    echo "<input type='submit' name='submited' value='Изменить' />n";
    echo "</form></div>n";
?>