Friday, February 15, 2013

J.Lo Product Line to Fund Battle against Cancer

'; $("#SiteLoginDiv").html(statusLoginStr); $("#CommonLoginDiv").hide(); $("#SiteLoginDiv").show(); }else{ $("#CommonLoginDiv").show(); $("#SiteLoginDiv").hide(); } // FB Login function getFacebookLogin(){ $.closeOverlay(); update_user_box(); /*FB.Connect.get_status().waitUntilReady(function(status) { FB.Connect.requireSession(function(statusLogin) { if(statusLogin==1){ update_user_box(); } else{ } }); });*/ } function update_user_box() { //----------To Hide login div and the comment box $("#logindiv").hide(); $("#showerrorComment").hide(); $("#commentBoxRes").hide(); // var api = FB.Facebook.apiClient; //var loginusertypeid = api.get_session().uid; FB.login(function(response) { if (response.authResponse) { var loginusertypeid = response.userID; FB.api('/me', function(data){ //$.post(ROOTURLPATH+"fb/getprofiledata.php",{'userId':loginusertypeid},function(data){ // var jObj=eval("("+data+")"); // var conArr=jObj.content; var conArr = data; // alert(conArr.email); var first_name = conArr.first_name; var last_name = conArr.last_name; var screenName = conArr.name; var useremail = conArr.email; var profileImage = conArr.pic_big_with_logo; var profile_url = conArr.profile_url; //-------------Set Value in the Hidden variable $("#first_name").val(first_name); $("#second_name").val(last_name); $("#Useremail").val(useremail); $("#Username").val(screenName); $("#userscreenname").val(screenName); $("#userprofilelink").val(profile_url); $("#userprofileimage").val(profileImage); $("#loginusertypeid").val(loginusertypeid); if(profileImage==''){ profileImage = ROOTURLPATH+"/images/50X50_User.jpg"; } //For Top Details when user Logins statusLoginStr = '

Welcome '+screenName+''; statusLoginStr += ' | Sign Out

'; $("#SiteLoginDiv").html(statusLoginStr); $("#logindiv").hide(); $("#usernamepassworddiv").hide(); $("#facebooktwitteruserdetails").show(); //$("#facebooktwitteruserdetails").html(embededlogeddetails); $("#facebooktwitteruserdetails").show(); $("#whichusertype").val('1'); $("#CommonLoginDiv").hide(); $("#SiteLoginDiv").show(); $("#anonymousDiv").show(); $("#sociallogin").hide(); $("#commentSubmit").show(); $("#login_thank_u").html('Thank you for logging in. Please go ahead and submit your comment'); $("#login_thank_u").show(); $("#login_thank_u").fadeOut(10000); }); } }); }

Source: http://healthmeup.com/news-buzz/jlo-product-line-to-fund-battle-against-cancer/19636

Kirk Urso London 2012 Javelin roger federer Olga Korbut Usain Bolt 2012 Olympics Katie Ledecky Aaron Ross

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.