From 47147182fbbc34213074f7f185295e52870f5e90 Mon Sep 17 00:00:00 2001 From: "Igor Barkov (iwork)" Date: Wed, 30 Sep 2020 17:48:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B8=D0=BA=D1=80=D1=83=D1=87?= =?UTF-8?q?=D0=B8=D0=B2=D0=B0=D0=B5=D0=BC=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE?= =?UTF-8?q?=D0=BD.=20=D0=A5=D0=BE=D1=80=D0=BE=D0=BD=D0=B8=D0=BC=20=D0=B8?= =?UTF-8?q?=D0=B4=D0=B8=D0=BE=D1=82=D1=81=D0=BA=D0=B8=D0=B5=20=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=B1=D0=BA=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fbattle.php | 194 ++++++++++++++++++++++++---------------------------- 1 file changed, 91 insertions(+), 103 deletions(-) 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