Размер файла: 990B
<?php
include "config.php";
function go()
{
print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
print "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"
\"http://www.wapforum.org/DTD/wml_1.1.xml\">";
print "<wml><head><meta http-equiv=\"Cache-Control\" content=\"no-cache\" forua=\"true\"/></head>
<card title=\"Регистрация\">
<p align=\"left\">";
};
function ending()
{
print "</p></card></wml>";
};
header ("Content-type:text/vnd.wap.wml; charset=utf-8");
go();
$query_users = mysql_query("select * from `".$px.$utable."`;");
$query_users_title = mysql_query("select * from `".$px.$utable."` where title='$title';");
if($act=="edit"){
mysql_query("update `".$px.$utable."` set pass='$pass',link='$link',about='$about',category='$k' where title='$title';");
print "Ваши данные успешно изменены!<br/>"; }
else
{
print $error;
}
print '<br/>---<br/><small><a href="http://cotka.org">COTKA.ORG</a></small>';
ending();
?>