Fixed up css

This commit is contained in:
genuineparts 2025-06-24 21:25:19 +02:00
parent 2ea54af6f7
commit 1fef0be197
8 changed files with 99 additions and 99 deletions

View file

@ -1,4 +1,4 @@
<?php
<?php global $session;
/**
* Project: astat - simple site engine
* File: /admin/editusers.apnl.php
@ -54,27 +54,27 @@ class banips_panel extends admin_module{
$ips[]=$row;
}
$panel->title=$lang->_('BANNEDIPS');
$panel->content.="<table class=\"sortable\" width=\"90%\" cellspacing=\"2\">
$panel->content.="<table class=\"sortable\" style=\"width: 90%; border-spacing: 2px;\">
<tr>
<th align=\"center\">".$lang->_('ID')."</th>
<th class=\"sortable-text\" align=\"center\">".$lang->_('IP')."</th>
<th align=\"center\">".$lang->_('DATE')."</th>
<th align=\"center\">".$lang->_('REASON')."</th>
<th class=\"nosort\" align=\"center\">".$lang->_('ACTION')."</th>
<th style=\"text-align: center;\">".$lang->_('ID')."</th>
<th class=\"sortable-text\" style=\"text-align: center;\">".$lang->_('IP')."</th>
<th style=\"text-align: center;\">".$lang->_('DATE')."</th>
<th style=\"text-align: center;\">".$lang->_('REASON')."</th>
<th class=\"nosort\" style=\"text-align: center;\">".$lang->_('ACTION')."</th>
</tr>";
if(!empty($ips)){
foreach($ips as $i){
$panel->content.="<tr>
<td align=\"center\">".$i['id']."</td>
<td align=\"center\">".$i['ip']."</td>
<td align=\"center\">".date('d.m.Y, H:i',$i['date'])."</td>
<td align=\"center\">".$i['reason']."</td>";
$panel->content.="<td align=\"center\"><a onclick=\"return confirmLink(this, 'Delete this ban?')\" href=\"".$config["path"]."/admin/index.php?panel=banips&amp;action=delete&amp;id=".$i["id"]."\"><img src=\"".$config["path"]."/admin/images/icons/delete.png\" /></a></td>
<td style=\"text-align: center;\">".$i['id']."</td>
<td style=\"text-align: center;\">".$i['ip']."</td>
<td style=\"text-align: center;\">".date('d.m.Y, H:i',$i['date'])."</td>
<td style=\"text-align: center;\">".$i['reason']."</td>";
$panel->content.="<td style=\"text-align: center;\"><a onclick=\"return confirmLink(this, 'Delete this ban?')\" href=\"".$config["path"]."/admin/index.php?panel=banips&amp;action=delete&amp;id=".$i["id"]."\"><img src=\"".$config["path"]."/admin/images/icons/delete.png\" /></a></td>
</tr>";
}
}else{
$panel->content.="<tr>
<td align=\"center\" colspan=\"5\">".$lang->_('NOBANNEDIPS')."</td>
<td style=\"text-align: center;\" colspan=\"5\">".$lang->_('NOBANNEDIPS')."</td>
</tr>";
}
$panel->content.="</table><br />";