$authorName"; } else { if($registeredUser==1) { echo ""; } else { echo ""; $setFocus=1; } } ?> "; } else { if($registeredUser==1) { echo ""; } else { echo ""; } } } else { echo $registeredUser ? '' : ''; }?> document.postform.subject.focus();"; $setFocus=1;} ?> document.postform.message.focus();";} //check if this user is already subscribed to this topic but only if subscriptions are allowed if($sbConfig['allowsubscriptions']==1){ if($replyto==0) { $sb_thread=-1; } else{ $database->setQuery("select thread from #__sb_messages where id=$replyto"); $sb_thread=$database->loadResult(); } $database->setQuery("SELECT thread from #__sb_subscriptions where userid=$my_id and thread='$sb_thread'"); $sb_subscribed=$database->loadResult(); if ($sb_subscribed == "" || $replyto == 0 ){$sb_cansubscribe=1;} else {$sb_cansubscribe=0;} } if( ( $sbConfig['allowImageUpload'] || ($sbConfig['allowImageRegUpload'] && $my->id != 0 ) || $is_moderator ) && ($no_upload=="0" || $no_image_upload=="0") ) { ?> id != 0) || $is_moderator ) && ($no_upload=="0" || $no_file_upload=="0") ){ ?>
""
: "; echo "
"._GEN_EMAIL."*:$my_email
"._GEN_EMAIL."*:
"._GEN_EMAIL."*:
: :
:
:
* - "._POST_EMAIL_NEVER."":"* - "._POST_EMAIL_REGISTERED.""; } ?>