Замена short_tags.

This commit is contained in:
2023-03-31 21:42:06 +03:00
parent 01b504e677
commit c41f36644c
712 changed files with 1204 additions and 1227 deletions
+7 -7
View File
@@ -100,13 +100,13 @@ if($u->room['file']=='em/casino')
</tr>
</table>
</div>
<?
<?php
if( isset($u->bank['id']) ) {
?>
<br /><br /><center>
Банковский счет для игры: №<b><?=$u->bank['id']?></b> <a href="main.php?bank_exit=1"><img style="vertical-align:bottom" src="http://img.worldofcombats.ru/i/clear.gif" width="13" height="13" title="Сменить счет" /></a>
</center>
<?
<?php
}
if( !isset($u->bank['id']) ) {
?>
@@ -115,7 +115,7 @@ if($u->room['file']=='em/casino')
<center>
<b>Перед началом игры выберите счет в банке:</b><br />
Счет: &nbsp; &nbsp; <select name="bank" style="width:144px;">
<?
<?php
$sp = mysql_query('SELECT * FROM `bank` WHERE `uid` = "'.$u->info['id'].'" AND `block` = "0"');
while( $pl = mysql_fetch_array($sp)) {
?><option value="<?=$pl['id']?>"><?=$pl['id']?></option><?php }?>
@@ -125,18 +125,18 @@ if($u->room['file']=='em/casino')
</center>
<br /><br />
</form>
<?
<?php
}elseif( $rz == 0 ) {
?>
<br /><center>
Выберите игровой зал
</center>
<br /><br />
<?
<?php
}elseif( $rz == 1 ) {
?>
<center><br />
<?
<?php
// if( $u->info['admin'] > 0 ) {
$bnk1 = 0;
$sm = $u->testAction('`city` = "'.$u->info['city'].'" AND `vars` = "casino_balance" LIMIT 1',1);
@@ -294,6 +294,6 @@ if($u->room['file']=='em/casino')
</table>
<br>
<div id="textgo" style="visibility:hidden;"></div>
<?
<?php
}
?>
+4 -4
View File
@@ -1,4 +1,4 @@
<?
<?php
if(!defined('GAME'))
{
die();
@@ -17,7 +17,7 @@ if($u->room['file']=='em/cp') {
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">
<td>
<?
<?php
if( $u->error != '' ) {
if( $re != '' ) {
$re .= '<br>';
@@ -39,7 +39,7 @@ if($u->room['file']=='em/cp') {
<div id="snow"></div>
<?= $goline; ?>
<div id="buttons_on_image" style="cursor:pointer; position:absolute; bottom:5px; right:25px; font-weight:bold; color:#D8D8D8; font-size:10px;">
<?
<?php
if( date('H') >= 22 || date('H') < 6 ) {
echo '<a style="color:#D8D8D8" style="cursor:pointer" onclick="top.useMagic(\'Нападение на персонажа\',\'night_atack\',\'pal_button8.gif\',1,\'main.php?nightatack=1\');">Напасть</a> &nbsp; ';
}
@@ -64,7 +64,7 @@ if($u->room['file']=='em/cp') {
</div></td>
</tr>
</table>
<?
<?php
}
?>
+4 -4
View File
@@ -1,4 +1,4 @@
<?
<?php
if(!defined('GAME'))
{
die();
@@ -17,7 +17,7 @@ if($u->room['file']=='em/cp2') {
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">
<td>
<?
<?php
if( $u->error != '' ) {
if( $re != '' ) {
$re .= '<br>';
@@ -39,7 +39,7 @@ if($u->room['file']=='em/cp2') {
<div id="snow"></div>
<?= $goline; ?>
<div id="buttons_on_image" style="cursor:pointer; position:absolute; bottom:5px; right:25px; font-weight:bold; color:#D8D8D8; font-size:10px;">
<?
<?php
if( date('H') >= 22 || date('H') < 6 ) {
echo '<a style="color:#D8D8D8" style="cursor:pointer" onclick="top.useMagic(\'Нападение на персонажа\',\'night_atack\',\'pal_button8.gif\',1,\'main.php?nightatack=1\');">Напасть</a> &nbsp; ';
}
@@ -64,7 +64,7 @@ if($u->room['file']=='em/cp2') {
</div></td>
</tr>
</table>
<?
<?php
}
?>
+2 -2
View File
@@ -107,7 +107,7 @@ if($u->room['file']=='ruletka')
</td></table>
</td></table>
<small>
<p align="left">Банк казино: <b><?
<p align="left">Банк казино: <b><?php
$mn = 0; $mz = 0;
@@ -131,7 +131,7 @@ if($u->room['file']=='ruletka')
</table>
<br>
<div id="textgo" style="visibility:hidden;"></div>
<?
<?php
}
?>
<script type="text/javascript">
+2 -2
View File
@@ -107,7 +107,7 @@ if($u->room['file']=='ruletka')
</td></table>
</td></table>
<small>
<p align="left">Банк казино: <b><?
<p align="left">Банк казино: <b><?php
$mn = 0; $mz = 0;
@@ -131,7 +131,7 @@ if($u->room['file']=='ruletka')
</table>
<br>
<div id="textgo" style="visibility:hidden;"></div>
<?
<?php
}
?>
<script type="text/javascript">