$loginFormEmail_fb = new User(); $loginFormEmail_fb->sessionPersistent("do_User_login_email", "logout.php", 36000); $e_new_fb_reg = new Event("do_User_login_email->eventRegNewFbUser"); $e_new_fb_reg->setLevel(20); $e_new_fb_reg->addParam("fbuid",$_SESSION['do_ofuz_fb']->fb_uid); $e_new_fb_reg->addParam("fname",$fname); $e_new_fb_reg->addParam("lname",$lname); $e_new_fb_reg->addParam("comp",$company); $e_new_fb_reg->addParam("position",$position); $e_new_fb_reg->addParam("errPage","fb_ofuz_login_verification.php"); echo $e_new_fb_reg->getFormHeader(); echo $e_new_fb_reg->getFormEvent(); echo _('Your email address: ').'
'; echo ''; //echo ''; ?>
if(!$_SESSION['do_ofuz_fb']->getUserExtendedPermissions("email")){
//echo ' Allow Sending Email Notification ';
$style = 'style="display:block;"';
}else{
$style = 'style="display:block;"';
}
echo '
';
echo _('Otherwise, sign in here to link your Facebook and Ofuz accounts:'),'
'; $_SESSION['do_User_login']->formFBLoginVerification("index.php",$_SERVER['PHP_SELF'],$_SESSION['do_ofuz_fb']->fb_uid); ?>
'; $_SESSION['do_User_login']->formFBLoginVerification("index.php",$_SERVER['PHP_SELF'],$_SESSION['do_ofuz_fb']->fb_uid); ?>

Ofuz Open Source version is released under the GNU Affero General Public License, please read the full license at: http://www.gnu.org/licenses/agpl-3.0.html