* change deprecated HTML <center> tag to <div style="text-align:center">

This commit is contained in:
slawkens
2018-06-01 11:55:04 +02:00
parent 0bb1d869af
commit 1926c5ec5b
35 changed files with 121 additions and 121 deletions

View File

@@ -13,11 +13,11 @@ defined('MYAAC') or die('Direct access not allowed!');
$title = "Players Online Records";
echo '
<b><center>Players online records on '.$config['lua']['serverName'].'</center></b>
<b><div style="text-align:center">Players online records on '.$config['lua']['serverName'].'</div></b>
<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%>
<TR BGCOLOR="'.$config['vdarkborder'].'">
<TD class="white"><b><center>Players</center></b></TD>
<TD class="white"><b><center>Date</center></b></TD>
<TD class="white"><b><div style="text-align:center">Players</div></b></TD>
<TD class="white"><b><div style="text-align:center">Date</div></b></TD>
</TR>';
$i = 0;
@@ -25,8 +25,8 @@ echo '
foreach($records_query as $data)
{
echo '<TR BGCOLOR=' . getStyle(++$i) . '>
<TD><center>' . $data['record'] . '</center></TD>
<TD><center>' . date("d/m/Y, G:i:s", $data['timestamp']) . '</center></TD>
<TD><div style="text-align:center">' . $data['record'] . '</div></TD>
<TD><div style="text-align:center">' . date("d/m/Y, G:i:s", $data['timestamp']) . '</div></TD>
</TR>';
}