Changeset 348
- Timestamp:
- Apr 20, 2008, 10:19:01 PM (17 years ago)
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
administrace/debug_list.php
r344 r348 11 11 echo('<strong>Restart list</strong><br>'); 12 12 13 if(array_key_exists('Id', $_GET)) $Id = addslashes($_GET['Id']); 14 else $Id = 0; 15 13 16 $DbResult = $Database->query('SELECT Id, Time FROM debug WHERE 1 ORDER BY Time DESC'); 14 17 while($DbRow = $DbResult->fetch_array()) 15 18 { 16 echo('<a href="?Id='.$DbRow['Id'].'&Show=Backtrace">'.str_replace(" ", " ", $DbRow['Time']).'</a><br>'); 19 if($DbRow['Id'] == $Id) echo('<strong>'); 20 echo('<a href="?Id='.$DbRow['Id'].'&Show=Backtrace">'.str_replace(" ", " ", $DbRow['Time']).'</a>'); 21 if($DbRow['Id'] == $Id) echo('</strong>'); 22 echo('<br>'); 17 23 } 18 24 19 25 echo('</td><td valign="top">'); 20 26 21 if( array_key_exists('Id', $_GET))27 if($Id > 0) 22 28 { 23 $Id = addslashes($_GET['Id']);24 29 $DbResult = $Database->query('SELECT * FROM debug WHERE Id="'.$Id.'" ORDER BY Time'); 25 30 if($DbResult->num_rows > 0)
Note:
See TracChangeset
for help on using the changeset viewer.