1 | 2 | simandl | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | | | <html> |
3 | | | <head> |
4 | | | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> |
5 | | | <style type="text/css" media="screen"> @import "style.css"; </style> |
6 | | | <title>db.jablonka.cz - logy</title> |
7 | | | </head> |
8 | | | <link rel="stylesheet" type="text/css" href="style.css"> |
9 | | | </head> |
10 | | | <body topmargin=0 leftmargin=10> |
11 | | | <? |
12 | | | include ("header.htm"); |
13 | | | include ("config.php"); |
14 | | | |
15 | | | ?> |
16 | | | |
17 | | | <h2>logy</h2> |
18 | | | <table> |
19 | | | <tr><td class=text> |
20 | | | |
21 | | | <? |
22 | | | $myFile = $islogdir."/db.log"; |
23 | | | $logy = file ($myFile); |
24 | | | |
25 | | | $pocetradku = count($logy); |
26 | | | $cntod = $pocetradku-30; |
27 | | | $cntdo = $pocetradku-1; |
28 | | | for ($i = $cntdo; $i >= $cntod; $i--) { |
29 | | | if ($i>0){ |
30 | | | print $logy[$i]."<br>\n"; |
31 | | | } |
32 | | | } |
33 | | | |
34 | | | ?> |
35 | | | </td></tr> |
36 | | | </table> |
37 | | | |
38 | | | |
39 | | | |
40 | | | </body> |
41 | | | </html> |