Прикручиваем шаблон. Хороним идиотские ошибки.
This commit is contained in:
parent
354499f885
commit
47147182fb
16
fbattle.php
16
fbattle.php
@ -21,18 +21,14 @@ if (isset($user['id'])) {
|
|||||||
include('./classes/battle_new.class.php');
|
include('./classes/battle_new.class.php');
|
||||||
|
|
||||||
$fbattle = new fbattle($user['battle']);
|
$fbattle = new fbattle($user['battle']);
|
||||||
|
Template::header('fbattle');
|
||||||
?>
|
?>
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<link rel="stylesheet" href="css/main.css">
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<script type="text/javascript" src="js/ZeroClipboard.js"></script>
|
<script type="text/javascript" src="js/ZeroClipboard.js"></script>
|
||||||
<script type="text/javascript" src="js/sl2.js"></script>
|
<script type="text/javascript" src="js/sl2.js"></script>
|
||||||
<script type="text/javascript" src="js/ch.js"></script>
|
<script type="text/javascript" src="js/ch.js"></script>
|
||||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
|
||||||
<script src="js/tooltip.js"></script>
|
<script src="js/tooltip.js"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="css/tooltip.css"/>
|
<link rel="stylesheet" type="text/css" href="css/tooltip.css"/>
|
||||||
<SCRIPT>
|
<script>
|
||||||
function refreshPeriodic() {
|
function refreshPeriodic() {
|
||||||
<?php if($fbattle->battle) { ?>location.href = '<?=$_SERVER['PHP_SELF']?>?batl=<?=$_REQUEST['batl']?>';//reload();
|
<?php if($fbattle->battle) { ?>location.href = '<?=$_SERVER['PHP_SELF']?>?batl=<?=$_REQUEST['batl']?>';//reload();
|
||||||
<?}?>
|
<?}?>
|
||||||
@ -40,8 +36,6 @@ $fbattle = new fbattle($user['battle']);
|
|||||||
}
|
}
|
||||||
|
|
||||||
timerID = setTimeout("refreshPeriodic()", 20000);
|
timerID = setTimeout("refreshPeriodic()", 20000);
|
||||||
</SCRIPT>
|
|
||||||
<script>
|
|
||||||
let Hint3Name = '';
|
let Hint3Name = '';
|
||||||
|
|
||||||
function findlogin(title, script, name) {
|
function findlogin(title, script, name) {
|
||||||
@ -135,8 +129,6 @@ $fbattle = new fbattle($user['battle']);
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
|
||||||
<body onLoad="top.setHP(<?= $user['hp'] ?>,<?= $user['maxhp'] ?>)">
|
|
||||||
<div id="hint3" class="ahint"></div>
|
<div id="hint3" class="ahint"></div>
|
||||||
<form action="<?= $_SERVER['PHP_SELF'] ?>" method="POST" name="f1" id="f1">
|
<form action="<?= $_SERVER['PHP_SELF'] ?>" method="POST" name="f1" id="f1">
|
||||||
<table width=100% cellspacing=0 cellpadding=0 border=0>
|
<table width=100% cellspacing=0 cellpadding=0 border=0>
|
||||||
@ -542,12 +534,8 @@ $fbattle = new fbattle($user['battle']);
|
|||||||
</td></tr>
|
</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id="oMenu" onmouseout="closeMenu()"
|
<div id="oMenu" onmouseout="closeMenu()"
|
||||||
style="position: absolute; border: 1px solid #666; background-color: #CCC; display: none; "></div>
|
style="position: absolute; border: 1px solid #666; background-color: #CCC; display: none; "></div>
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
<?php
|
<?php
|
||||||
db::c()->query('UNLOCK TABLES');
|
db::c()->query('UNLOCK TABLES');
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user