if ($url!="") { $url="index.php?s=$session[sessionhash]"; } else { $url="index.php?s=$session[sessionhash]"; }