50,49 → 50,43 |
} |
|
?> |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
<!DOCTYPE html> |
<html> |
<head> |
<meta charset="utf-8"> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Admin Logs</title> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
<style> |
body { |
background-color: #EFEFEF; |
} |
</style> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th><? echo "$l_title";?></th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0> |
<thead> |
<tr> |
<th>Date</th> |
<th><?=$l_user?></th> |
<th><?=$l_ip_address?></th> |
<th>Agent</th> |
</tr> |
</thead> |
<tbody> |
<?php if (empty($accessLogs)): ?> |
<div class="panel"> |
<div class="panel-header"><?= $l_title ?></div> |
<div class="panel-row"> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0> |
<tr> |
<th>Date</th> |
<th><?=$l_user?></th> |
<th><?=$l_ip_address?></th> |
<th>Agent</th> |
</tr> |
<?php if (empty($accessLogs)): ?> |
<tr> |
<td colspan="4"><center>Empty</center></td> |
</tr> |
<?php else: ?> |
<?php else: ?> |
<?php foreach ($accessLogs as $access): ?> |
<tr> |
<td><?= $access->date ?></td> |
<td><?= $access->username ?></td> |
<td><?= $access->ip ?></td> |
<td><?= $access->user_agent ?></td> |
</tr> |
<td><?= $access->date ?></td> |
<td><?= $access->username ?></td> |
<td><?= $access->ip ?></td> |
<td><?= $access->user_agent ?></td> |
</tr> |
<?php endforeach; ?> |
<?php endif; ?> |
</tbody> |
</table> |
<?php endif; ?> |
</table> |
</table> |
</div> |
</div> |
</body> |
</html> |