Thread: Project U-232
View Single Post
  #42  
Old 24th May 2011, 17:23
ddshow ddshow is offline
Senior Member
 
Join Date: Sep 2010
P2P
Posts: 25
Default
Quote:
Originally Posted by Bump:
what can i have to do for make this dont see
[IMG
http://www.bvlist.com/%3Ca%20href=http://www.picz.ro%20target=_blank%3E%20Click the image to open in full size.

Code:
  if ($debug_ids) {
    if ($q['query_stat']) {
    $htmlfoot .= "<br />
      <div align='center' class='headline'>Querys</div>
      <div class='headbody'>
      <table width='100%' align='center' cellspacing='5' cellpadding='5' border='0'>
        <tr>
        <td class='colhead' width='5%'  align='center'>ID</td>
        <td class='colhead' width='10%' align='center'>Query Time</td>
        <td class='colhead' width='85%' align='left'>Query String</td>
        </tr>";
    foreach ($q['query_stat'] as $key => $value) {
    $htmlfoot  .= "<tr>
        <td align='center'>".($key + 1)."</td>
        <td align='center'><b>". ($value['seconds'] > 0.01 ?
        "<font color='red' title='You should optimize this query.'>".
    $value['seconds']."</font>" : "<font color='green' title='Query good.'>".
      $value['seconds']."</font>")."</b></td>
        <td align='left'>".htmlspecialchars($value['query'])."<br /></td>
        </tr>";                  
    }
    $htmlfoot .='</table></div>';
    }
    }
delete this lines in templates/1/template.php