Changeset 114 for trollforge/lastmeasure/stats/index.php
- Timestamp:
- 11/30/05 12:38:39 (7 years ago)
- File:
-
- 1 edited
-
trollforge/lastmeasure/stats/index.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trollforge/lastmeasure/stats/index.php
r113 r114 29 29 $id = dba_open('../db/uagent.db', 'c', 'db4'); 30 30 if(!$id) { 31 echo '<li style="color:red;">Failed to open database!</li>'; 31 32 return; 32 33 } 33 34 $key = dba_firstkey($id); 35 if($key == false) { 36 echo '<li style="color:red;">No hits found!</li>'; 37 return; 38 } 34 39 while($key != false) { 35 40 $val = dba_fetch($key, $id); … … 43 48 $id = dba_open('../db/user.db', 'c', 'db4'); 44 49 if(!$id) { 50 echo '<li style="color:red;">Failed to open database!</li>'; 45 51 return; 46 52 } 47 53 $key = dba_firstkey($id); 54 if($key == false) { 55 echo '<li style="color:red;">No hits found!</li>'; 56 return; 57 } 48 58 while($key != false) { 49 59 $val = dba_fetch($key, $id); … … 59 69 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> 60 70 <head> 71 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 61 72 <title>LM stats</title> 62 73 <link rel="icon" type="image/x-icon" href="/favicon.ico" />
Note: See TracChangeset
for help on using the changeset viewer.
