diff --git a/fbattle.php b/fbattle.php index 95e7f57..3ed2043 100644 --- a/fbattle.php +++ b/fbattle.php @@ -21,122 +21,114 @@ if (isset($user['id'])) { include('./classes/battle_new.class.php'); $fbattle = new fbattle($user['battle']); +Template::header('fbattle'); ?> - - - - - - - - - - - + + + + + - - - - + } + + $("document").ready(function () { + $('#refresh').click(function () { + $.ajax({ + url: "fbattle.php", + cache: false, + success: function (html) { + $("body").html(html); + } + }); + }); + $(".tooltip").tipTip({maxWidth: "auto", edgeOffset: 0, fadeIn: 300, fadeOut: 500}); + }); + +
@@ -542,12 +534,8 @@ $fbattle = new fbattle($user['battle']);
- - - - query('UNLOCK TABLES'); ?> \ No newline at end of file