diff options
Diffstat (limited to 'html/pages/admin/utdclog.php')
-rw-r--r-- | html/pages/admin/utdclog.php | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/html/pages/admin/utdclog.php b/html/pages/admin/utdclog.php index b81f8d4..53ef2cd 100644 --- a/html/pages/admin/utdclog.php +++ b/html/pages/admin/utdclog.php @@ -61,9 +61,9 @@ if (empty($filename)) { $d_size = file_size_info(filesize('logs/utdc/'. $log));
echo $d_size['size'] .' '. $d_size['type'];
echo '</td><td class="'.$class.'" align="center">';
- echo '<a href="admin.php?key='.$adminkey.'&action='.$action.'&filename='.urlencode($log).'&del=1"><img src="images/del.png" border="0" width="16" height="16" title="Delete" alt="Delete" /></a>';
+ echo '<a href="admin.php?key='.$adminkey.'&action='.$action.'&filename='.urlencode($log).'&del=1"><img src="assets/images/del.png" border="0" width="16" height="16" title="Delete" alt="Delete" /></a>';
echo '</td></tr>';
- }
+ }
}
}
@@ -74,7 +74,7 @@ if (!empty($filename)) { <tr>
<td class="smheading" align="center" width="95%" colspan="3">'.$filename.'</td>
<td class="smheading" align="center" width="5%" align="right">';
- echo '<a href="admin.php?key='.$adminkey.'&action='.$action.'&filename='.urlencode($filename).'&del=1"><img src="images/del.png" border="0" width="16" height="16" title="Delete" alt="Delete" /></a>';
+ echo '<a href="admin.php?key='.$adminkey.'&action='.$action.'&filename='.urlencode($filename).'&del=1"><img src="assets/images/del.png" border="0" width="16" height="16" title="Delete" alt="Delete" /></a>';
echo '</td>
</tr>';
if (substr($filename, -4) == '.enc') {
@@ -85,10 +85,10 @@ if (!empty($filename)) { else {
$fp = my_fopen('logs/utdc/'.$filename, 'rb', $compression = NULL);
if (!$fp) die("Error opening file");
-
+
$i = 0;
echo '<tr><td class="grey" colspan="4"><span style="font-family: monospace;">';
-
+
while (($line = my_fgets($fp, 5000, $compression)) !== FALSE) {
/*
$i++;
@@ -113,15 +113,16 @@ if (!empty($filename)) { if ($filename == '.htaccess' or $filename == 'index.htm') continue;
if ((substr($file, -4) == '.enc') and
((substr($filename, strlen($filename)-(23 + $extra), 19) == substr($file, strlen($file)-23, 19)) or ((substr($filename, strlen($filename)-(23 + $extra), 17) == substr($file, strlen($file)-23, 17)) and (abs(intval(substr($file, strlen($file)- 6, 2)) - intval(substr($filename, strlen($filename)-(6 + $extra), 17))) <=3)))) {
- echo '<tr>
+ echo '<tr>
<td class="smheading" align="center" width="95%" colspan="3">'.$file.'</td>
- <td class="smheading" align="center" width="5%" align="right">';
- echo '<a href="admin.php?key='.$adminkey.'&action='.$action.'&filename='.urlencode($file).'&del=1"><img src="images/del.png" border="0" width="16" height="16" title="Delete" alt="Delete" /></a>';
- echo '</td>
- </tr>';
-
+ <td class="smheading" align="center" width="5%" align="right">
+ <a href="admin.php?key='.$adminkey.'&action='.$action.'&filename='.urlencode($file).'&del=1">
+ <img src="assets/images/del.png" border="0" width="16" height="16" title="Delete" alt="Delete" />
+ </a>
+ </td>
+ </tr>';
echo '<tr><td class="grey" colspan="4"><span style="font-family: monospace;">';
- echo '<a href = "pages/admin/utdcshot.php?filename='.urlencode($file).'" target = "_blank"><img src = "pages/admin/utdcshot.php?filename='.urlencode($file).'" width = 100% border = 0></a>';
+ echo '<a href="pages/admin/utdcshot.php?filename='.urlencode($file).'" target="_blank"><img src="pages/admin/utdcshot.php?filename='.urlencode($file).'" width="100%" border="0"></a>';
echo '</span></td></tr>';
}
}
|