require_once("../conn.php");
require_once("access.php");
include_once("LeftStyles.php");
if(isset($_POST[s1]))
{
if(!empty($_POST[username]))
{
$q1 = "update yellow_admin set AdminID = '$_POST[username]', AdminPass = '$_POST[np1]' where AdminID = '$_SESSION[AdminID]' ";
$_SESSION[AdminID] = $_POST[username];
}
else
{
$q1 = "update yellow_admin set AdminPass = '$_POST[np1]' where AdminID = '$_SESSION[AdminID]' ";
}
mysql_query($q1) or die(mysql_error());
echo "
CLASSIFIEDS v2.0
|