if($bbuserinfo[userid] == 0) { $chklogcode = "<a href=\"register.php?s=$session[sessionhash]&action=signup\"><img src=\"https://vborg.vbsupport.ru/images/top_register.gif\" alt=\"Registration is free!\" border=\"0\"></a>"; } else { $chklogcode = "<a href=\"member.php?s=$session[sessionhash]&action=logout\"><img src=\"https://vborg.vbsupport.ru/images/top_logout.gif\" alt=\"Logout Now?\" border=\"0\"></a>"; }
<a href="register.php?s=$session[sessionhash]&action=signup"><img src="https://vborg.vbsupport.ru/images/top_register.gif" alt="Registration is free!" border="0"></a>
$chklogcode