'; 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 = '
Bài hát : Kiss Kiss - Chaos
English Translation:
Baby Kiss Kiss me Baby Kiss Kiss me
I want to secretly go to you and steal your lips
Kiss Kiss me baby Kiss Kiss me
How electrifying would her lips be
Ooh you’re electrifying, you’re electrifying
Ooh you’re electrifying, you’re electrifying
I’ll go crazy at this rate, I want her so bad
My curiosity goes from her head to her toes
Won’t the gods grant my wish just for a day?
My wish to be an invisible man for a day
I want to secretly follow her home
And get to know you one by one
I want to smell your scent, look into your eyes
I will do everything with you
Baby Kiss Kiss me Baby Kiss Kiss me
I want to secretly go to you and steal your lips
Kiss Kiss me baby Kiss Kiss me
How electrifying would her lips be
Ooh you’re electrifying, you’re electrifying
Ooh you’re electrifying, you’re electrifying
You fell asleep watching TV
I’m afraid you’ll wake at the sound of my heart beat
What’s up with you? Did you really fall asleep like that?
With cleansing cream still on your face?
I like anything about you, I like you just the way you are
Even if you don’t shower or snore, I like it all
Even if you’re makeup-less and have no eyebrows,
Even if you wear stretched out pants
Because that’s who you are, you’re loveable
Baby Kiss Kiss me Baby Kiss Kiss me
I want to secretly go to you and steal your lips
Kiss Kiss me baby Kiss Kiss me
How electrifying would her lips be
Guys are all the same, we’re like this when we’re in love
We want to be invisible just to get closer
Baby Kiss Kiss me Baby Kiss Kiss me
I want to secretly go to you and steal your lips
Kiss Kiss me baby Kiss Kiss me
How electrifying would her lips be
Ooh you’re electrifying, you’re electrifying
Ooh you’re electrifying, you’re electrifying
Romanized:
Baby kiss kiss me baby kiss kiss me
Mollae dagaga ni ipsureul jakku humchigoman sipeungeol
Kiss kiss me baby kiss kiss me
Geunyeo ipsul geu eolmana jjaritalkka
Oh oh oh oh oh
Oh oh oh oh oh
Jjaritan neo, jjaritan neo
Oh oh oh oh oh
Oh oh oh oh oh
Jjaritan neo, jjaritan neo
Ireoda michiji geunyeol neomuna wonhae
Meoributeo balkkeutkkaji da ontong gunggeumtuseongi
Sini nae sowoneul ttak haruman andeureojulkka
Tumyeonginganeuro sal suga itge
Amudo mollae geunyeoui jibe ttaradeureoga
Hanahana neoui modeun geol algo sipeo
Neoui hyanggireul matgo neoui du nuneul bogo
Neowa modeungeol da hamkke halgeoya
Baby kiss kiss me baby kiss kiss me
Mollae dagaga ni ipsureul jakku humchigoman sipeungeol
Kiss kiss me baby kiss kiss me
Geunyeo ipsul geu eolmana jjaritalkka
Oh oh oh oh oh
Oh oh oh oh oh
Jjaritan neo, jjaritan neo
Oh oh oh oh oh
Oh oh oh oh oh
Jjaritan neo, jjaritan neo
Tvreul bodaga saljjak jami deuneun neo
Ttwineun nae simjangsorie jami kkaelkka duryeowo
Neo waenirini neo geudaero jamideungeoni
Keullinjingkeurim tteogi jinchaero
Mwodeunji joha nan neoui geudaeroga da joha
An ssiseodo koreul goradaedo gwaenchanha
Nunsseop eomneun minnatto mureup naon bajido
Geuge neoraseo nan sarangseureowo
Baby kiss kiss me baby kiss kiss me
Mollae dagaga ni ipsureul jakku humchigoman sipeungeol
Kiss kiss me baby kiss kiss me
Geunyeo ipsul geu eolmana jjaritalkka
Namjaneun da ttokgatae saranghamyeon da geurae
Tumyeonginganirado dwaeseo deo gakkai gagoman sipeo..
Baby kiss kiss me.. Baby kiss kiss me..
Mollae dagaga ni ipsureul jakku humchigoman sipeungeol
Kiss kiss me baby kiss kiss me..
Geunyeo ipsul geu eolmana jjaritalkka
Oh oh oh oh oh
Oh oh oh oh oh
Jjaritan neo, jjaritan neo
Oh oh oh oh oh
Oh oh oh oh oh