alert("登入失敗,請確認您的帳號、密碼是否正確!"); location.href="index.php";'); }else{ $rst=$rs["data"][0]; if($rst["mem_confirmdate"]==""){ exit(''); } $_SESSION["member"]=$rst; if($post["rememberme"]=="Y"){$_COOKIE["account"]=$post["account"];}else{$_COOKIE["account"]="";} unset($_SESSION["cart"]); unset($_SESSION["cartinfo"]); exit(''); } exit; } if($get["act"]=="logout"){ unset($_SESSION["member"]); unset($_SESSION["cart"]); unset($_SESSION["cartinfo"]); exit(''); } ?>