Location: PHPKode > scripts > NoticeBoardPro > NoticeBoardPro/signout.php
<HTML>
<HEAD>


<!--
This page is opened in an iframe by signoutOuline.php. The script checks
whether the user selected the Remember me check box when they logged in. If
did not, they are simply signed out, which means that all the cookies are
cleared by signout1.php. If they did select Remember me, they are asked
whether they really do want to sign out. If they do, signout1.php is called,
if they don't, index.php is called.
-->


<TITLE>Sign out</TITLE>
<link rel="stylesheet" type="text/css" href="style/style.css">
<?php
if(!isset($_COOKIE["nbrememberme"]))
{
print ("<SCRIPT LANGUAGE=\"JavaScript\">
function redirect ()   {
self.location.href = \"signout1.php\";
}
</SCRIPT>");
print "</HEAD>\n";
print "<BODY onLoad=\"redirect()\">\n";
}
?>
</head>
<BODY>
<?php
if(isset($_COOKIE["nbrememberme"]))
{
print "<p>When you signed in you clicked the <b>Remember me</b> check box. If you sign out now, next time you use <span style=\"color: #c03d29; font-weight: Bold\">Notice</span><span style=\"color: #00339a; font-weight: Bold\">Board</span> you will need to sign back in to access your existing items or add new ones, or to access your profile (name, email address, and so on).</p>\n";
print "<P>Click
<A HREF=\"signout1.php\" CLASS=\"Xref\">
here</A> to sign out.</P>\n";
print "<P>Click
<A HREF=\"index.php\" CLASS=\"Xref\" target=\"_top\">
here</A> if you want <span style=\"color: #c03d29; font-weight: Bold\">Notice</span><span style=\"color: #00339a; font-weight: Bold\">Board</span> to carry on remembering you. You can then just close the browser window to end your current session.</P>\n";
}
?>
</body>
</html>
Return current item: NoticeBoardPro