AlbumsBUS::Add("Avatar", null, $now, $user_id, null); } } if (isset($_POST["btUpdate"])) { include_once $PATH . "../../BUS/UsersBUS.php"; $uid = $_POST["uid"]; $user = UsersBUS::GetUserByID($uid); if ($_POST["txtEmail"] != $user[3]) { UsersBUS::SetEmail($uid, $_POST["txtEmail"]); } if (!empty($_POST["txtPassword"])) { UsersBUS::SetPassword($uid, $_POST["txtPassword"]); } if (!empty($_POST["txtAnswer"]) && !empty($_POST["lbSecurityQuestion"])) { $_POST["lbSecurityQuestion"]; UsersBUS::SetSecurityQuestion($uid, $_POST["lbSecurityQuestion"], $_POST["txtAnswer"]); } UsersBUS::SetStatus($uid, $_POST["lbStatus"]); UsersBUS::SetType($uid, $_POST["lbType"]); } ?> <script language="javascript"> $(document).ready (function () { $("#aDisable").click (function () { var url = "modules/forms/listUser.php"; var data = $("#frmListItem").serialize() + "&btDisable=true"; $("#listItem").load(url,data); }); $("#aEnable").click (function ()