Замена 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

View File

@@ -37,7 +37,7 @@ function w(login,id,align,klan,level,online,city,battle){
}
if (align == "") align="0";
s+=' <img src="https://img.new-combats.com/i/align/align'+align+'.gif" width="12" height="15" />';
if (klan!='') {s+='<a href="https://<? echo $c['host']; ?>/encicl/clan/'+klan+'.html" target="_blank"><img src="https://img.new-combats.com/i/klan/'+klan+'.gif" width="24" height="15" /></a>'}
if (klan!='') {s+='<a href="https://<?= $c['host']; ?>/encicl/clan/'+klan+'.html" target="_blank"><img src="https://img.new-combats.com/i/klan/'+klan+'.gif" width="24" height="15" /></a>'}
if (level) {
if (nlevel==0) {
nlevel=1; s="<br />"+s;
@@ -158,7 +158,7 @@ if( $i == 0 ) {
<tr>
<td><small><center><font color=grey>Не удалось получить информацию</font></center></small></td>
</tr>
<? } ?>
<?php } ?>
</table>
</fieldset></td>
</tr>
@@ -171,5 +171,5 @@ if( $i == 0 ) {
</TR>
</TABLE>
<DIV>
<? echo $c['counters']; ?>
<?= $c['counters']; ?>
</DIV>