Uh oh. you should note that in the php code box it doesnt escape the " in
"Registration is free\"
or
img src=
"https://vborg.vbsupport.ru/green/top_register.gif\" ".
Plus it doesnt start the "s back in the else after the ".
PHP Code:
// guest/member register/usercp hack
if($bbuserinfo['userid'] != 0) {
$reg_ucp = "<a href=\"usercp.php?s=$session[sessionhash]\">".
"<img src=\"https://vborg.vbsupport.ru/green/top_profile.gif\" ".
"alt=\"Here you can view your subscribed threads, work with private messages and edit your profile and preferences\" ".
"border=\"0\"></a>";
}else{
$reg_ucp = "<a href=\"register.php?s=$session[sessionhash]&action=signup\">".
"<img src=\"https://vborg.vbsupport.ru/green/top_register.gif\" ".
"alt=\"Registration is free!\" border=\"0\"></a>";
}
Sorry for correting you! But I got lots of icky errors >.< (btw, I know that you typed it right. Its the [ php] 's fault that it edited the escapes out ^^)