Замена short_tags и <?php echo.

This commit is contained in:
2023-03-31 19:54:33 +03:00
parent fdf063d527
commit 1b5bf26294
214 changed files with 3978 additions and 4014 deletions
+10 -10
View File
@@ -177,17 +177,17 @@ function addqnk()
<table width="100%">
<tr>
<td align="center"><h3>Редактор заданий</h3></td>
<td width="150" align="right"><input type="button" value="&gt;" onclick="location='main.php?<? echo $zv; ?>';" />
<? if($u->info['admin']>0){ ?>
<input type="button" value="<? if($a==1){ echo 'PAL'; }else{ echo 'ARM'; } ?>" onclick="location='main.php?go=2&amp;<? echo $zv; ?>&amp;remod=<? echo $a; ?>';" />
<? } ?>
<? if($p['trPass']!=''){ ?>
<input type="button" value="X" title="Закрыть доступ" onclick="location='main.php?<? echo $zv.'&rnd='.$code; ?>&amp;exitMod=1';" />
<? } ?></td>
<td width="150" align="right"><input type="button" value="&gt;" onclick="location='main.php?<?= $zv; ?>';" />
<?php if($u->info['admin']>0){ ?>
<input type="button" value="<?php if($a==1){ echo 'PAL'; }else{ echo 'ARM'; } ?>" onclick="location='main.php?go=2&amp;<?= $zv; ?>&amp;remod=<?= $a; ?>';" />
<?php } ?>
<?php if($p['trPass']!=''){ ?>
<input type="button" value="X" title="Закрыть доступ" onclick="location='main.php?<?= $zv.'&rnd='.$code; ?>&amp;exitMod=1';" />
<?php } ?></td>
</tr>
<tr>
<td>
<form method="post" action="main.php?go=2&amp;<? echo $zv; ?>&amp;remod=<? echo $a; ?>">
<form method="post" action="main.php?go=2&amp;<?= $zv; ?>&amp;remod=<?= $a; ?>">
<table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="#E1E1E1">
<!-- -->
<tr>
@@ -274,10 +274,10 @@ function addqnk()
<tr>
<td style="border-bottom:1px solid #CCCCCC;" width="300"><div align="left" style="margin-left:11px;"><?=$pl['name']?></div>
<div align="left"></div></td>
<td width="75" bgcolor="#DADADA" style="border-bottom:1px solid #CCCCCC;"><div align="center"><a href="main.php?go=2&amp;delq=<? echo $pl['id'].'&'.$zv; ?>">удалить</a></div></td>
<td width="75" bgcolor="#DADADA" style="border-bottom:1px solid #CCCCCC;"><div align="center"><a href="main.php?go=2&amp;delq=<?= $pl['id'].'&'.$zv; ?>">удалить</a></div></td>
<td style="border-bottom:1px solid #CCCCCC;"><small><b>Описание:</b> <?=$pl['info']?></small></td>
</tr>
<? } ?>
<?php } ?>
<!-- -->
</table>
</td>