Замена short_tags и <?php echo.
This commit is contained in:
+597
-656
File diff suppressed because it is too large
Load Diff
@@ -2042,12 +2042,12 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0
|
||||
<label for="travma">Бой без правил <font class="dsc">(проигравшая сторона
|
||||
получает инвалидность)</font></label><br/>
|
||||
Комментарий к бою
|
||||
<? if ($this->u->info['level'] < 9) {
|
||||
<?php if ($this->u->info['level'] < 9) {
|
||||
?> для <b>8</b> левелов недоступны
|
||||
<? } else { ?>
|
||||
<?php } else { ?>
|
||||
<input type="text" style="padding:2px;" name="cmt" maxlength="40"
|
||||
size="40">
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -2175,18 +2175,18 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0
|
||||
<td valign="top" align="right"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<? if ($html == '') {
|
||||
<?php if ($html == '') {
|
||||
echo '<div align="center">К сожалению сейчас боев нет...</div>';
|
||||
} else {
|
||||
echo '<div>' . $html . '</div>';
|
||||
} ?>
|
||||
<TABLE width=100% cellspacing=0 cellpadding=0>
|
||||
<TR>
|
||||
<TD align=left><? if ($p > 0 && $xx > 15) { ?><A HREF="?zayvka=1&r=6&from=<?= ($p - 1); ?>">««
|
||||
предыдущая страница</A><? } ?>
|
||||
<TD align=left><?php if ($p > 0 && $xx > 15) { ?><A HREF="?zayvka=1&r=6&from=<?= ($p - 1); ?>">««
|
||||
предыдущая страница</A><?php } ?>
|
||||
</TD>
|
||||
<TD align=right><? if ($p * 15 - $xx > 0) { ?><A HREF="?zayvka=1&r=6&from=<?= ($p + 1); ?>">
|
||||
следующая страница »»</A><? } ?>
|
||||
<TD align=right><?php if ($p * 15 - $xx > 0) { ?><A HREF="?zayvka=1&r=6&from=<?= ($p + 1); ?>">
|
||||
следующая страница »»</A><?php } ?>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
@@ -345,10 +345,10 @@ function OpenDiv(vr) {
|
||||
</TR>
|
||||
</TABLE>
|
||||
</html>
|
||||
<? if($err != '') { echo "<center><b style='color: Red;'>".$err."</b></center>"; } ?>
|
||||
<?php if($err != '') { echo "<center><b style='color: Red;'>".$err."</b></center>"; } ?>
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td width="255" valign="top"><div align="left"><? $st = array(); $st2 = array(); $st = $u->getStats($u->info['id'],1); $st2 = $st[1]; $st = $st[0]; $rgd = $u->regen($u->info['id'],$st,1); $us = $u->getInfoPers($u->info['id'],1,$st); if($us!=false){ echo $us[0]; }else{ echo 'information is lost.'; } ?></div>
|
||||
<td width="255" valign="top"><div align="left"><?php $st = array(); $st2 = array(); $st = $u->getStats($u->info['id'],1); $st2 = $st[1]; $st = $st[0]; $rgd = $u->regen($u->info['id'],$st,1); $us = $u->getInfoPers($u->info['id'],1,$st); if($us!=false){ echo $us[0]; }else{ echo 'information is lost.'; } ?></div>
|
||||
<div align="left"></div><div align="left"></div>
|
||||
<div style="float: left">
|
||||
<td valign="top"><br />
|
||||
|
||||
@@ -92,7 +92,7 @@ if( isset($pr_tested_this) ) {
|
||||
$at['p'][$a]['atack'][$j]['yron']['m_k'] += $pvr['hp'];
|
||||
}
|
||||
//
|
||||
$at['p'][$a]['atack'][$j]['yron'] = $btl->testYronPriemAttack( 2 , $u1 , $u2 , $at['p'][$a]['atack'][$j]['yron'] );
|
||||
$at['p'][$a]['atack'][$j]['yron'] = $btl->testYronPriemAttack($u2 , $at['p'][$a]['atack'][$j]['yron'] );
|
||||
$at['p'][$a]['atack'][$j]['yron']['plog'][] = '$this->deleffm(11,'.(0+$uid).','.$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][3].');
|
||||
$this->priemAddLog( '.$id.', '.$a.', '.$b.', '.$u1.', '.$u2.',
|
||||
"Удачный удар",
|
||||
|
||||
@@ -80,7 +80,7 @@ if( isset($pr_tested_this) ) {
|
||||
$at['p'][$a]['atack'][$j]['yron']['m_y'] += $pvr['hp'];
|
||||
$at['p'][$a]['atack'][$j]['yron']['m_k'] += $pvr['hp'];
|
||||
//
|
||||
$at['p'][$a]['atack'][$j]['yron'] = $btl->testYronPriemAttack( 2 , $u1 , $u2 , $at['p'][$a]['atack'][$j]['yron'] );
|
||||
$at['p'][$a]['atack'][$j]['yron'] = $btl->testYronPriemAttack($u2 , $at['p'][$a]['atack'][$j]['yron'] );
|
||||
//
|
||||
if( $pvr['used'] == 0 && !isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) {
|
||||
$at['p'][$a]['atack'][$j]['yron']['plog'][] = '$this->priemAddLog( '.$id.', '.$a.', '.$b.', '.$u1.', '.$u2.',
|
||||
|
||||
@@ -88,7 +88,7 @@ if( isset($pr_tested_this) ) {
|
||||
$at['p'][$a]['atack'][$j]['yron']['m_k'] += $pvr['hp'];
|
||||
}
|
||||
//
|
||||
$at['p'][$a]['atack'][$j]['yron'] = $btl->testYronPriemAttack( 4 , $u1 , $u2 , $at['p'][$a]['atack'][$j]['yron'] );
|
||||
$at['p'][$a]['atack'][$j]['yron'] = $btl->testYronPriemAttack($u2 , $at['p'][$a]['atack'][$j]['yron'] );
|
||||
//
|
||||
$at['p'][$a]['atack'][$j]['yron']['plog'][] = '$this->deleffm(4,'.(0+$uid).','.$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][3].');
|
||||
$this->priemAddLog( '.$id.', '.$a.', '.$b.', '.$u1.', '.$u2.',
|
||||
|
||||
Reference in New Issue
Block a user