closes #17, великое переименование классов для автозагрузчика, актуализация кода
This commit is contained in:
@@ -16,7 +16,7 @@ if( $_GET['r'] == 3 || $_GET['r'] == 8 ) {
|
||||
if($u->info['inTurnir'] > 0 && $u->info['inUser'] == 0 && $u->info['room'] == 318) {
|
||||
die('<script>location="main.php";</script>');
|
||||
}
|
||||
include('_incl_data/class/__zv.php');
|
||||
$zv = new FightRequest();
|
||||
$js_5356 = sprintf("top.lafstReg[%d] = 0; top.startHpRegen(\"main\",%d,%d,%d,%d,%d,%d,%d,%d,%d,1);",
|
||||
$u->info['id'], $u->info['id'], 0+$u->stats['hpNow'], 0+$u->stats['hpAll'],
|
||||
0+$u->stats['mpNow'], 0+$u->stats['mpAll'], time() - $u->info['regHP'], time() - $u->info['regMP'],
|
||||
@@ -37,7 +37,7 @@ table.wfix { table-layout: fixed; width: 100%; }
|
||||
.firsttd {width: 70px;}
|
||||
</style>
|
||||
<TABLE class="wfix" cellspacing=1 cellpadding=3>
|
||||
<TR><TD colspan=8 align=right>
|
||||
<TR><TD colspan=<?= $u->info['level'] == 0 ? '4' : '6' ?> align=right>
|
||||
<div style="float:left"><?= $zv->userInfo() ?></div>
|
||||
<div style="float:right;">
|
||||
<INPUT class="btn" onClick="location='main.php?zayvka&r=<?= $_GET['r'] ?>&rnd=<?= $code ?>';" TYPE=button name=tmp value="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>">
|
||||
@@ -211,11 +211,11 @@ if(isset($_POST['btl_go'])) {
|
||||
}
|
||||
|
||||
if($zv->error != '') {
|
||||
echo '<font color="red"><b>'.$zv->error.'</b></font><br />';
|
||||
echo '<b style="color: red">'.$zv->error.'</b><br />';
|
||||
}
|
||||
|
||||
if($test_s != '') {
|
||||
echo '<font color="red"><b>'.$test_s.'</b></font><br />';
|
||||
if($zv->test_s != '') {
|
||||
echo '<b style="color: red">'.$zv->test_s.'</b><br />';
|
||||
}
|
||||
?>
|
||||
<table style="padding:2px;" width="100%" border="0" cellspacing="0" cellpadding="2">
|
||||
|
||||
Reference in New Issue
Block a user