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