this is a automatic log out for go back at index page without link..you can decide time about it ,changing :
content="9 (9 seconds), content="5 (5 seconds),etc.
on index.php:CODE ///////////////////////////Logout///////////////////////////////
else if($action=="logout")
{
echo "<meta http-equiv="refresh" content="9;url=index.php?time=".date('dmHis')."" />\n";
$who = $_GET["who"]; $user = getnick_uid($who); echo "<head>"; echo "<title>logout</title>"; echo "<link rel="stylesheet" type="text/css" href="../themes/$theme[0]">"; echo "</head>";
//echo "<body>"; echo " "; $uid = getuid_sid($sid); if($who!=$uid){ echo "<img src="../images/notok.gif" alt=""/> ErrorE!!! ALT!.. "; echo " $user, U Cannot Log Someone Out This Is An Attempt To Breach Site Security If U Are Caught Trying This Again U Will Be Banned "; echo " <a accesskey="1" href="index.php?action=main&sid=$sid"><img src="../images/home.gif" alt=""/>Ok!</a>"; echo " "; }else{ echo " "; $res = mysql_query("DELETE FROM ibwf_ses WHERE uid='".$who."'"); if($res) { addonline($who,"logging out",""); echo "<img src="../images/ok.gif" alt=""/>$user hi.. "; ?>now waits for automatic logout ..
<? }else{ echo "<img src=\"../images/notok.gif\" alt=\"\"/>Error"; } //echo " <a accesskey=\"1\" href=\"index.php\"><img src=\"../images/home.gif\" alt=\"\"/>[ok!]</a>"; //echo " <a accesskey=\"1\" href=\"index.php\"></a>"; echo " "; } echo "</body>"; } ///////////////////////////////////the italian/international COMMUNITY of friendship http://people2000.netne.net WAP/WEB peoplemailbox@katamail.com