Замена short_tags.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if(!defined('GAME')) { die(); }
|
||||
if($u->room['file']=='dungeon_enter') {
|
||||
|
||||
@@ -520,7 +520,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'){
|
||||
@@ -583,7 +583,7 @@ while( $pl = mysql_fetch_array( $sp ) ){
|
||||
</p>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?
|
||||
<?php
|
||||
if($error!='')echo '<font color="red"><b>'.$error.'</b></font><br>';
|
||||
|
||||
//отображаем
|
||||
@@ -612,7 +612,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
|
||||
@@ -691,14 +691,14 @@ if( $roomSection == 1 ) {
|
||||
<LEGEND><B>Текущие задания: </B></LEGEND>
|
||||
<?=$qsee?>
|
||||
<span style="padding-left: 10">
|
||||
<?
|
||||
<?php
|
||||
if( $qc > 0 ){
|
||||
echo 'Вы еще не справились с текущим заданием.';
|
||||
} elseif( !isset( $hgo['id'] ) && $qc == 0 ) {
|
||||
?>
|
||||
<br />
|
||||
<input type='button' value='Получить задание' onclick='location="main.php?rz=1&add_quest=1"' />
|
||||
<?
|
||||
<?php
|
||||
} else {
|
||||
echo 'Получить новое задание можно <b>'.date('d.m.Y H:i',$hgo['time']+60*60*24).'</b> <font color="">( Через '.$u->timeOut($hgo['time']+60*60*24-time()).' )</font>';
|
||||
}
|
||||
@@ -872,7 +872,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'));
|
||||
@@ -886,7 +886,7 @@ if( $roomSection == 1 ) {
|
||||
$chk[0] = 0;
|
||||
?>
|
||||
</span></p>
|
||||
</fieldset><?
|
||||
</fieldset><?php
|
||||
}
|
||||
if($chk[0]>0) {
|
||||
?>
|
||||
@@ -895,7 +895,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>
|
||||
@@ -909,7 +909,7 @@ onclick="if (confirm('Сдать все чеки (<?=$chk[0]?> шт.) наход
|
||||
<legend>Текущая репутация:</legend>
|
||||
</fieldset>
|
||||
</div>
|
||||
<?
|
||||
<?php
|
||||
} else {
|
||||
if($dungeonGo == 1){
|
||||
if($u->info['dn']==0){
|
||||
@@ -933,7 +933,7 @@ onclick="if (confirm('Сдать все чеки (<?=$chk[0]?> шт.) наход
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?
|
||||
<?php
|
||||
} else {
|
||||
$psh_start = '';
|
||||
if(isset($zv['id'])){
|
||||
|
||||
Reference in New Issue
Block a user