Beispiel #1
0
function crf_integrate_facebook_login()
{
    $facebook_login = crf_get_global_option_value('enable_facebook');
    if ($facebook_login == 'yes') {
        include 'facebook/crf_facebook.php';
        upb_fb_login_validate();
        upb_fb_loginForm();
    }
}
Beispiel #2
0

	ref.parentNode.insertBefore(js, ref);



}(document));







function FBLogin(){



	FB.login(function(response){



		if(response.authResponse){



			window.location.href = "<?php 
    echo $pageURL . $sign;
    ?>
option=fblogin";



		}



	}, {scope: 'email'});



}



</script>



	<?php