File size: 1.01Kb
<?php
header ("Content-type:application/xhtml+xml; charset=utf-8");
header("Cache-Control: no-store, no-cache, must-revalidate");
include("core.php"); //load main functions
include("conf.php"); //load config
echo $style2;
$nick=$_GET["nick"];
$pass=$_GET["pass"];
$useris=$_POST["useris"];
$username=$_POST["username"];
$signature=$_POST["signature"];
$email=$_POST["email"];
$tlphone=$_POST["tlphone"];
$avatar=$_POST["avatar"];
$site=$_POST["site"];
echo connect($dbuser,$dbpass,$dbserver,$dbname);
//$name=base64_decode($name);
echo login($nick,$pass);
echo "<br/><br/>";
global $logged;
if ($logged)
{
isadmin($nick,$pass);
global $administrator;
if (!$administrator) echo "You are not allowed to do this!"; else
{
echo edituser($nick,$pass,$useris,$username,$signature,$email,$tlphone,$avatar,$site);
};
};
echo "<a href=\"index.php?nick=$nick&pass=$pass\">BACK</a>";
echo $endhtml;
?>