Ignore:
Timestamp:
Apr 20, 2008, 10:19:01 PM (17 years ago)
Author:
george
Message:

Odebráno: Duplicitní phpmyadmin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • administrace/debug_list.php

    r344 r348  
    1111echo('<strong>Restart list</strong><br>');
    1212
     13if(array_key_exists('Id', $_GET)) $Id = addslashes($_GET['Id']);
     14  else $Id = 0;
     15
    1316$DbResult = $Database->query('SELECT Id, Time FROM debug WHERE 1 ORDER BY Time DESC');
    1417while($DbRow = $DbResult->fetch_array())
    1518{
    16   echo('<a href="?Id='.$DbRow['Id'].'&amp;Show=Backtrace">'.str_replace(" ", "&nbsp;", $DbRow['Time']).'</a><br>');
     19  if($DbRow['Id'] == $Id) echo('<strong>');
     20  echo('<a href="?Id='.$DbRow['Id'].'&amp;Show=Backtrace">'.str_replace(" ", "&nbsp;", $DbRow['Time']).'</a>');
     21  if($DbRow['Id'] == $Id) echo('</strong>');
     22  echo('<br>');
    1723}
    1824
    1925echo('</td><td valign="top">');
    2026
    21 if(array_key_exists('Id', $_GET))
     27if($Id > 0)
    2228{
    23   $Id = addslashes($_GET['Id']);
    2429  $DbResult = $Database->query('SELECT * FROM debug WHERE Id="'.$Id.'" ORDER BY Time');
    2530  if($DbResult->num_rows > 0)
Note: See TracChangeset for help on using the changeset viewer.