'; html += '
'; $("body").prepend(html); $("#uname").blur(function (e) { var params = new Object(); params.uname = $("#uname").val().trim(); $.getJSON(NCTInfo.ROOT_URL + "ajax/user-social", params, function (result) { if (typeof result.error_code != "undefined" && result.error_code == 0) { NCTOAuth.validateFieldRegister(false, "UName"); } else { var msg = ""; if (result.error_code == 1) { msg = "Tên đăng nhập tối thiểu phải 6 ký tự và tối đa 30 ký tự. Vui lòng nhập lại!"; } else if (result.error_code == 2) { msg = "Tên đăng nhập không hợp lệ. Vui lòng nhập lại!"; } else if (result.error_code == 3) { msg = "Tên đăng nhập đã tồn tại. Vui lòng nhập lại!"; } NCTOAuth.validateFieldRegister(true, "UName", msg); } }); }); $("#uname").focus(function () { $("#noteUserName").show(); }); $("#uname").blur(function () { $("#noteUserName").hide(); }); $("#email").focus(function () { $("#noteEmail").show(); }); $("#email").blur(function () { $("#noteEmail").hide(); }); } if (NCTOAuth.FACEBOOK == type) { title += " bằng tài khoản facebook"; } else if (NCTOAuth.GOOGLE == type) { title += " bằng tài khoản Google"; } $("#socialTitle").html(title); $("#uname").val(username); $("#fullName").val(fullName); $("#email").val(email); $("#htmlLoginSocial").show(); NCTOAuth.showAllSuccessFieldRegister(); }, closePopupRegister: function () { $("#htmlLoginSocial").hide(); }, validateFieldRegister: function (isError, regex, msg) { if (typeof isError == "undefined" || isError == null || typeof regex == "undefined" || regex == null || regex == "") { return; } if (isError) { $("#err_" + regex).html(msg); $("#err_" + regex).show(); $("#suc_" + regex).hide(); } else { $("#err_" + regex).hide(); $("#suc_" + regex).show(); } }, showErrorSocial: function (msg) { $("#errorSocial").show(); $("#errorSocial").html(msg); }, showAllSuccessFieldRegister: function () { $("span[id*='err_']").each(function (e) { $(this).hide(); }); $("div[id*='suc_']").each(function (e) { $(this).show(); }); $("#errorSocial").hide(); }, closePopupLogin: function () { if ($("#htmlLoginForm").is(":visible")) { $("#htmlLoginForm").addClass("hideShowCase"); } if ($("#htmlRegisterForm").is(":visible")) { $("#htmlRegisterForm").addClass("hideShowCase"); } }, isInvalidEmail: function (email) { if (email == null || email == 'undefined') { return false; } var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return re.test(email); }, registerSocial: function (socialId, type) { if (!$("#checkAll").is(":checked")) { NCTOAuth.showErrorSocial("Bạn chưa chọn đồng ý điều kiện \"Thỏa thuận sử dụng\" "); return; } var userName = $("#uname").val(); var fullName = $("#fullName").val(); var email = $("#email").val(); var phone = $("#phone").val(); var ggCaptcha = $("#codegg").val(); if (typeof userName == "undefined" || userName == "") { NCTOAuth.validateFieldRegister(true, "UName", "Tên đăng nhập tối thiểu phải 6 ký tự và tối đa 30 ký tự. Vui lòng nhập lại!"); return; } if (typeof fullName == "undefined" || fullName == "") { NCTOAuth.validateFieldRegister(true, "FName", "Tên hiển thị không được để trống."); return; } if (typeof email == "undefined" || email == "") { NCTOAuth.validateFieldRegister(true, "Mail", "Email không được để trống."); return; } else if (!NCTOAuth.isInvalidEmail(email)) { NCTOAuth.validateFieldRegister(true, "Mail", "Email không không hợp lệ."); return; } if (typeof ggCaptcha == "undefined" || ggCaptcha == "") { NCTOAuth.showErrorSocial("Mã xác nhận không đúng."); return; } var user = new Object(); user.userName = userName; user.fullName = fullName; user.email = email; user.phone = phone; user.ggCaptcha = ggCaptcha; user.socialId = socialId; user.type = type; $.post(NCTInfo.ROOT_URL + "ajax/user-social", user, function (result) { if (typeof result.error_code != "undefined") { if (result.error_code == 0) { //success if ($("#htmlLoginSocial").is(":visible")) { $("#htmlLoginSocial").hide(); } NCTOAuth.showPopupRegisterSuccess(userName, fullName, type); } else { var msg = ""; if (result.error_code == 1) { msg = "Tên đăng nhập tối thiểu phải 6 ký tự và tối đa 30 ký tự. Vui lòng nhập lại!"; NCTOAuth.validateFieldRegister(true, "UName", msg); } else if (result.error_code == 2) { msg = "Tên đăng nhập không hợp lệ. Vui lòng nhập lại!"; NCTOAuth.validateFieldRegister(true, "UName", msg); } else if (result.error_code == 3) { msg = "Tên đăng nhập đã tồn tại. Vui lòng nhập lại!"; NCTOAuth.validateFieldRegister(true, "UName", msg); } else if (result.error_code == 16) { msg = "Mã xác minh đã hết hạn."; NCTOAuth.showErrorSocial(msg); } else if (result.error_code == 15) { msg = "Thông tin đăng nhập không hợp lệ. Vui lòng nhập lại!"; NCTOAuth.showErrorSocial(msg); } } } grecaptcha.reset(); }); }, showPopupRegisterSuccess: function (username, fullName, type) { var title = "Đăng ký"; if (NCTOAuth.FACEBOOK == type) { title += " bằng tài khoản facebook"; } else if (NCTOAuth.GOOGLE == type) { title += " bằng tài khoản Google"; } var html = '
I'ma drink 'til I drop on my ass, this is Holiday
I'ma go and celebrate and hop on the ass
That's one more chance, Dick Frank White ain't dead
Think you the ***, leave me your chick, the light ain't red Matter of fact just wanna leave 'cuz the fights is on
I'ma still be here when the lights is on
Got a fat ass in front of me, Dutch in my mouth
Wit a Corona in my left hand You try to front I'll coma your best man
I keep a trick on my sleeve, more like a two fifth on my sleeve
Then I switch it to the trey-duce
In my back pocket, so me and love can stay loose It's like thugs ain't partyin', I smoke 20 dimes
I seen 20 dimes I love they body and
P tryin' to score for the night
And to tell you the truth, my *** blown if we war for the night We gon' drink 'til we drunk, dance 'til we drop
And ain't nobody leavin' 'til the music stop
Can I get a Soul Clap?
Can I get a Soul Clap? We gon' drink 'til we drunk, dance 'til we drop
And ain't nobody leavin' 'til the music stop
Can I get a Soul Clap?
Can I get a Soul Clap? Aiyo, *** is still gravy though
I keep a open case, the block hot I need a song for the radio
P at the club, niggas scared to let they lady go
Foot Locker 4 for 20's Coulda had her some jeans, Nike Airs, I keep all my money
Still slide out the club wit a gorgeous honey
I don't care if it's a hole in the wall, I feel comfortable
Violate P, that's a hole in your jaw All I want is cranberry and Courvoisier
I'm trying to talk to a dime
Motherfucker, but I still take my time
Cocksucker, to rob y'all niggas for y'all Cardiers I got a flow that you hardly hear
And a gun wit a silencer, why? 'Cuz they hardly hear
I got honies flockin' around, smoke in the air
Wit a cool ass bomb like Bob Marley there We gon' drink 'til we drunk, dance 'til we drop
And ain't nobody leavin' 'til the music stop
Can I get a Soul Clap?
Can I get a Soul Clap? We gon' drink 'til we drunk, dance 'til we drop
And ain't nobody leavin' 'til the music stop
Can I get a Soul Clap?
Can I get a Soul Clap? I'm the gentleman to hold the door
I'm the gangsta that's lettin' off the three while loadin' the four
Rather get a Soul Clap than clap your soul
Honey askin' how many blunts I have to roll I'ma smoke 'til I'm high, drink 'til I'm drunk
I'm on my tour, *** and I ain't get a wink in a month
My favorite color is green
But I'm stacked for the moment, so, I'ma pick pink for the month If you could take a hint then after this party
if you want, hop in the Viper limo with the tints
Got the fifty Cal, so hold that, tell 'em roll back
I show niggas the real meaning of Soul Clap We gon' drink 'til we drunk, dance 'til we drop
And ain't nobody leavin' 'til the music stop
Can I get a Soul Clap?
Can I get a Soul Clap? We gon' drink 'til we drunk, dance 'til we drop
And ain't nobody leavin' 'til the music stop
Can I get a Soul Clap?
Can I get a Soul Clap? We gon' drink 'til we drunk, dance 'til we drop
And ain't nobody leavin' 'til the music stop
Can I get a Soul Clap?
Can I get a Soul Clap? We gon' drink 'til we drunk, dance 'til we drop
And ain't nobody leavin' 'til the music stop
Can I get a Soul Clap?
Can I get a Soul Clap?