Замена short_tags.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if(!defined('GAME')) { die(); }
|
||||
|
||||
if($u->room['file'] == 'dungeon_enter_all') {
|
||||
@@ -19,7 +19,7 @@ if($u->room['file'] == 'dungeon_enter_all') {
|
||||
}
|
||||
?>
|
||||
<div style="position:absolute; left:700px; top:150px;"><INPUT TYPE=button value="Пройти в зал для поединков!" class="btn btn-danger" style="width: 500px" onclick="location='main.php?GoBattle=1'"></div>
|
||||
<?
|
||||
<?php
|
||||
die('<center><h3>Подземелья закрыты с 22:00 до 00:00</center></h3>');
|
||||
}*/
|
||||
$error = ''; // Собираем ошибки.
|
||||
@@ -592,7 +592,7 @@ while( $pl = mysql_fetch_array( $sp ) ){
|
||||
}else {
|
||||
thisInfRm('1.180.0.321',1);
|
||||
}
|
||||
?>"><?
|
||||
?>"><?php
|
||||
if($u->info['city']=='fallenearth'){
|
||||
echo "Темный Портал";
|
||||
} elseif($u->info['city']=='abandonedplain'){
|
||||
@@ -638,7 +638,7 @@ while( $pl = mysql_fetch_array( $sp ) ){
|
||||
<TD style="width: 25%; vertical-align: top; text-align: left; "><INPUT class="btn" type='button' value='Вернуться' style='width: 100px' onclick='location="/main.php"'></TD></div>
|
||||
<?php } else { ?>
|
||||
<div align="right">
|
||||
<?
|
||||
<?php
|
||||
if($u->info['level'] > 7) {
|
||||
?>
|
||||
|
||||
@@ -646,7 +646,7 @@ while( $pl = mysql_fetch_array( $sp ) ){
|
||||
<?}?>
|
||||
<TD style="width: 25%; vertical-align: top; text-align: left; "><INPUT class="btn" onclick="window.open('/forum/', 'help', 'height=500,width=1024,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')" value="Подсказка" style="color:red;" type="button"><INPUT class="btn" type='button' value='Обновить' style='width: 100px' onclick='location="/main.php"'></TD></div>
|
||||
<?php } ?>
|
||||
<?
|
||||
<?php
|
||||
if($error!='')echo '<font color="red"><b>'.$error.'</b></font><br>';
|
||||
|
||||
//отображаем
|
||||
@@ -675,7 +675,7 @@ if( $roomSection == 1 ) {
|
||||
?>
|
||||
<div>
|
||||
<form autocomplete="off" action='/main.php' method="post" name="F1" id="F1">
|
||||
<?
|
||||
<?php
|
||||
$qsee = '';
|
||||
$hgo = $u->testAction('`uid` = "'.$u->info['id'].'" AND `room` = "'.$u->info['room'].'" AND `time` >= '.(time()-60*60*24).' AND `vars` = "psh_qt_'.$dungeon['city'].'" LIMIT 1',1);
|
||||
$qc=0; // Quest Count
|
||||
@@ -806,7 +806,7 @@ if( $roomSection == 1 ) {
|
||||
<LEGEND><B><font color=bagr>Текущие задания: </font></B></LEGEND>
|
||||
<?=$qsee?>
|
||||
<span style="padding-left: 10">
|
||||
<?
|
||||
<?php
|
||||
//if( $qc > 0 ){
|
||||
// echo 'Вы еще не справились с текущим заданием.';
|
||||
//} elseif( !isset( $hgo['id'] ) && $qc == 0 ) {
|
||||
@@ -881,7 +881,7 @@ if( $roomSection == 1 ) {
|
||||
</FIELDSET>
|
||||
</form>
|
||||
<br />
|
||||
<?
|
||||
<?php
|
||||
|
||||
//Начисление бонуса награды
|
||||
if( isset( $_GET['buy1'] ) ) {
|
||||
@@ -1100,7 +1100,7 @@ if( $roomSection == 1 ) {
|
||||
?>
|
||||
<fieldset style='margin-top:15px;'>
|
||||
<p><span style="padding-left: 10px">
|
||||
<?
|
||||
<?php
|
||||
$chk_cl = mysql_query('SELECT `u`.`id`,`m`.`price1` FROM `items_users` AS `u` LEFT JOIN `items_main` AS `m` ON `u`.`item_id` = `m`.`id` WHERE `m`.`type` = "61" AND `u`.`delete` = "0" AND `u`.`inOdet` = "0" AND `u`.`inShop` = "0" AND `u`.`inTransfer` = "0" AND `u`.`uid` = "'.$u->info['id'].'" LIMIT 1000');
|
||||
while($chk_pl = mysql_fetch_array($chk_cl)) {
|
||||
if(mysql_query('UPDATE `items_users` SET `delete` = "'.time().'" WHERE `id` = "'.$chk_pl['id'].'" LIMIT 1'));
|
||||
@@ -1114,7 +1114,7 @@ if( $roomSection == 1 ) {
|
||||
$chk[0] = 0;
|
||||
?>
|
||||
</span></p>
|
||||
</fieldset><?
|
||||
</fieldset><?php
|
||||
}
|
||||
if($chk[0]>0) {
|
||||
?>
|
||||
@@ -1123,7 +1123,7 @@ onclick="if (confirm('Сдать все чеки (<?=$chk[0]?> шт.) наход
|
||||
<?php } ?>
|
||||
<fieldset style='margin-top:15px;'>
|
||||
<table>
|
||||
<?
|
||||
<?php
|
||||
foreach($dungeon['list'] as $key=>$val){
|
||||
if( $u->rep['rep'.$val] >= 0 ) {
|
||||
echo '<tr>
|
||||
@@ -1137,7 +1137,7 @@ onclick="if (confirm('Сдать все чеки (<?=$chk[0]?> шт.) наход
|
||||
<legend>Текущая репутация:</legend>
|
||||
</fieldset>
|
||||
</div>
|
||||
<?
|
||||
<?php
|
||||
} else {
|
||||
if($dungeonGo == 1){
|
||||
if($u->info['dn']==0){
|
||||
@@ -1195,7 +1195,7 @@ onclick="if (confirm('Сдать все чеки (<?=$chk[0]?> шт.) наход
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?
|
||||
<?php
|
||||
} else {
|
||||
$psh_start = '';
|
||||
if(isset($zv['id'])){
|
||||
|
||||
Reference in New Issue
Block a user