diff --git a/edituser.php b/edituser.php index 8363fd2..3b96047 100644 --- a/edituser.php +++ b/edituser.php @@ -76,7 +76,7 @@ } $rsetlist=""; - if(!$_POST[action] and $log){ + if(!$_POST['action'] and $log){ $lft="$tccell1>"; $rgt=":$tccell2l>"; $hlft="$tccellh>"; @@ -107,7 +107,7 @@ $lft User name $rgt$inpt=username VALUE=\"$user[name]\" SIZE=25 MAXLENGTH=25 autocomplete=\"off\"> $lft Also known as $rgt$inpt=aka VALUE=\"$user[aka]\" SIZE=25 MAXLENGTH=25 autocomplete=\"off\"> - @@ -130,15 +130,15 @@ $lft User picture $rgt$inpt=picture VALUE=\"$user[picture]\" SIZE=60 MAXLENGTH=100> $lft Mood avatar $rgt$inpt=moodurl VALUE=\"$user[moodurl]\" SIZE=60 MAXLENGTH=100> $lft Post background $rgt$inpt=postbg VALUE=\"$user[postbg]\" SIZE=60 MAXLENGTH=100> - $lft Post header $rgt$txta=postheader ROWS=5 COLS=60>". htmlspecialchars($user[postheader]) ." - $lft Signature $rgt$txta=signature ROWS=5 COLS=60>". htmlspecialchars($user[signature]) ." + $lft Post header $rgt$txta=postheader ROWS=5 COLS=60>". htmlspecialchars($user['postheader']) ." + $lft Signature $rgt$txta=signature ROWS=5 COLS=60>". htmlspecialchars($user['signature']) ." $hlft Personal information $hrgt $lft Sex $rgt$sexlist $lft Real name $rgt$inpt=realname VALUE=\"$user[realname]\" SIZE=40 MAXLENGTH=60> $lft Location $rgt$inpt=location VALUE=\"$user[location]\" SIZE=40 MAXLENGTH=60> $lft Birthday $rgt Month: $inpt=bmonth SIZE=2 MAXLENGTH=2 VALUE=$month> Day: $inpt=bday SIZE=2 MAXLENGTH=2 VALUE=$day> Year: $inpt=byear SIZE=4 MAXLENGTH=4 VALUE=$year> - $lft Bio $rgt$txta=bio ROWS=5 COLS=60>". htmlspecialchars($user[bio]) ." + $lft Bio $rgt$txta=bio ROWS=5 COLS=60>". htmlspecialchars($user['bio']) ." $hlft Online services $hrgt $lft Email address $rgt $inpt=email VALUE=\"$user[email]\" SIZE=60 MAXLENGTH=60> @@ -184,7 +184,7 @@ if ($password) { $passedit="`password` = '".getpwhash($password, $userid)."', "; } - + if ($sex == -378) { $sex = $sexn; } @@ -236,8 +236,8 @@ $tblstart $tccell1>Thank you, $loguser[name], for editing this user.
".redirect("profile.php?id=$userid","view $username's profile",0)." - $tblend"; + $tblend"; } print $footer; printtimedif($startingtime); -?> \ No newline at end of file +?>