'; 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 know I don't know. I know I'm stupid. I admit I'm a pity, whatever. I've never been a success at anything.
I even got to the point where I didn't want to be a success at anything.
What would being a success, what does that mean, you know?
Money? Oh, I've had all the money in the world three times and I had to give it back.
That's a stupid little game.
Everybody's got something to blame because they don't want to look inside themselves.
What do you see when you look inside yourself?
I see everything. I see all. I see the good, bad, the evil. I see the whole thing.
How much evil is there?
As much as you see.
What do you see?
All of it.
Right down the peaks you haven't touched yet.
Dreams you haven't dreamed.
And worlds you haven't conquered.
The mind is endless.
You put me in a dark, solitary cell.
And to you, that's the end.
To me, it's the beginning.
It's the universe in there.
There's a world in there.
I'm free.
It doesn't begin and end at the gate.
Prison is in the mind.
Prison is in the mind.
It's locked in one world that's dead and dying.
Or it's open to a world that's free and alive.
They were looking for a sign.
They were looking for a bird.
I searched the color of life.
It's broken and dark.
The proportion is not the same.
It continues to fight.
Who told you not to be afraid?
Your eyes are full of fear.
They lied to you.
There's no guarantee in Israel's hands.
And the saints who called me an infidel.
I laughed when I died drunk.
He died when he came to this world.
He died when he didn't come.
Salam, don't come to the mansion.
There are all kinds of witnesses in front of me.
This is just life.
There are lives of this life.
Jesus, the tomb.
There are the children of Jehovah.
The wings of the camels.
There are the ruins of my buildings.
The money, the cars.
There are the shahmads, who are just figurative people.
There are the Zarafats, who can speak more.
There are the businessmen who rise up by selling their homeland.
There are the cries of the Armenians.
There are the aid to the orphans on the blue screens.
There are the salads that can make a person strong.
There are the tastes of poison.
There are all kinds of innards.
Salam, don't come to the mansion.
There are the wings of the camels.
There are the wings of the camels.
In the past, I believed that people died with falling arrows.
I believed that they continued with the legendary prisoners and were revived.
The first time I spoke spiritually, I realized it was false.
When I touched my heart with a rose, I knew my friend was a murderer.
I regretted it.
There are not even memories left.
There are many windows hidden among the ashes.
We mummified the pharaohs.
We brought my mother to our day.
And there are still pharaohs.
Our God was crushed.
If there is a God in every heart, there is a heart in every life.
Let's learn from the beggars.
Let's ask for some freedom.
I don't know what I've seen.
I don't know about the holograms.
I don't know about those invisible programs.
I don't know about those programs.
I'm on my way.
And I have a few crazy poets with me.
Don't turn your back on us.
Black sheep and pure lies.
You have a disgraceful past.
You have a disgraceful future.
Salam, don't come to the mansion.
There are all kinds of innards.
Black sheep and pure lies.
You have a disgraceful past.
You have a disgraceful future.
Salam, don't come to the mansion.
There are all kinds of innards.
Don't come to the mansion.
Black sheep and pure lies.