<?php if($_stat_run_table_count = count($d['stat_run_table'])) {for ($_stat_run_table_i = 0; $_stat_run_table_i < $_stat_run_table_count; $_stat_run_table_i++){ ?>
<br class="nav" />
<table cellpadding="2" cellspacing="1" border="0" width="100%" class="bodyline">
<tr>
<td colspan="2" align="center"><span class="gensmall">
<?php $this->_echo($d['.'][0]['L_STAT_PAGE_DUR']);$this->_echo($d['.'][0]['L_STAT_QUERIES']);$this->_echo($d['.'][0]['L_STAT_SETUP']); ?>
</span></td>
</tr>
<?php }}if($_stat_run_count = count($d['stat_run'])) {for ($_stat_run_i = 0; $_stat_run_i < $_stat_run_count; $_stat_run_i++){ ?>
<tr>
<td class="<?php if($_light_count = count($d['stat_run'][$_stat_run_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>"><span class="gensmall">
<?php $this->_echo($d['stat_run'][$_stat_run_i]['STAT_FILE']); ?><br />
<?php $this->_echo($d['stat_run'][$_stat_run_i]['STAT_LINE']); ?><br />
<?php if($_cached_count = count($d['stat_run'][$_stat_run_i]['cached'])) {for ($_cached_i = 0; $_cached_i < $_cached_count; $_cached_i++){$this->_echo($d['stat_run'][$_stat_run_i]['STAT_TIME_CACHE']); ?><br /><?php }} ?>
<?php $this->_echo($d['stat_run'][$_stat_run_i]['STAT_TIME_DB']); ?><br />
</span>
</td>
<td class="<?php if($_light_count = count($d['stat_run'][$_stat_run_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>">
<table cellpadding="2" cellspacing="1" width="100%" class="bodyline">
<tr><td class="row3"><span class="gensmall"><?php $this->_echo($d['.'][0]['L_STAT_REQUEST']); ?>
</span></td></tr><tr><td class="row1"><span class="gensmall">&nbsp;<?php $this->_echo($d['stat_run'][$_stat_run_i]['STAT_REQUEST']); ?>&nbsp;
</span></td></tr>
</table>
<?php if($_explain_count = count($d['stat_run'][$_stat_run_i]['explain'])) {for ($_explain_i = 0; $_explain_i < $_explain_count; $_explain_i++){ ?>
<table cellpadding="2" cellspacing="1" width="100%" class="bodyline">
<tr>
<?php if($_cell_count = count($d['stat_run'][$_stat_run_i]['explain'][$_explain_i]['cell'])) {for ($_cell_i = 0; $_cell_i < $_cell_count; $_cell_i++){ ?>
<td align="center" class="row3"><span class="gensmall">&nbsp;
<?php $this->_echo($d['stat_run'][$_stat_run_i]['explain'][$_explain_i]['cell'][$_cell_i]['STAT_LEGEND']); ?>&nbsp;
</span></td>
<?php }} ?>
</tr>
<?php if($_table_count = count($d['stat_run'][$_stat_run_i]['explain'][$_explain_i]['table'])) {for ($_table_i = 0; $_table_i < $_table_count; $_table_i++){ ?>
<tr>
<?php if($_cell_count = count($d['stat_run'][$_stat_run_i]['explain'][$_explain_i]['table'][$_table_i]['cell'])) {for ($_cell_i = 0; $_cell_i < $_cell_count; $_cell_i++){ ?>
<td class="<?php if($_light_count = count($d['stat_run'][$_stat_run_i]['explain'][$_explain_i]['table'][$_table_i]['cell'][$_cell_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>"><span class="gensmall">&nbsp;
<?php $this->_echo($d['stat_run'][$_stat_run_i]['explain'][$_explain_i]['table'][$_table_i]['cell'][$_cell_i]['STAT_VALUE']); ?>&nbsp;
</span></td>
<?php }} ?>
</tr>
<?php }} ?>
</table>
<?php }} ?>
</td>
</tr>
<?php }}if($_stat_run_table_count = count($d['stat_run_table'])) {for ($_stat_run_table_i = 0; $_stat_run_table_i < $_stat_run_table_count; $_stat_run_table_i++){ ?>
</table>
<br clear="all" />
<?php }}if($_stat_run_pgm_count = count($d['stat_run_pgm'])) {for ($_stat_run_pgm_i = 0; $_stat_run_pgm_i < $_stat_run_pgm_count; $_stat_run_pgm_i++){ ?>
<table cellpadding="2" cellspacing="1" border="0" width="100%" class="bodyline">
<tr>
<td colspan="2"><span class="gensmall"><?php $this->_echo($d['stat_run_pgm'][$_stat_run_pgm_i]['L_BACKTRACE']); ?></span></td>
</tr>
<?php if($_call_count = count($d['stat_run_pgm'][$_stat_run_pgm_i]['call'])) {for ($_call_i = 0; $_call_i < $_call_count; $_call_i++){ ?>
<tr>
<td class="<?php if($_light_count = count($d['stat_run_pgm'][$_stat_run_pgm_i]['call'][$_call_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>" nowrap="nowrap"><span class="gensmall">
<?php $this->_echo($d['stat_run_pgm'][$_stat_run_pgm_i]['call'][$_call_i]['FILE']); ?><br />
<?php $this->_echo($d['stat_run_pgm'][$_stat_run_pgm_i]['call'][$_call_i]['LINE']); ?><br />
<?php $this->_echo($d['stat_run_pgm'][$_stat_run_pgm_i]['call'][$_call_i]['ELAPSED']); ?><br />
</span></td>
<td class="<?php if($_light_count = count($d['stat_run_pgm'][$_stat_run_pgm_i]['call'][$_call_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>" width="100%"><span class="gensmall">
<?php if($_requester_count = count($d['stat_run_pgm'][$_stat_run_pgm_i]['call'][$_call_i]['requester'])) {for ($_requester_i = 0; $_requester_i < $_requester_count; $_requester_i++){ ?>
<?php $this->_echo($d['stat_run_pgm'][$_stat_run_pgm_i]['call'][$_call_i]['requester'][$_requester_i]['FILE']); ?> - <?php $this->_echo($d['stat_run_pgm'][$_stat_run_pgm_i]['call'][$_call_i]['requester'][$_requester_i]['LINE']); ?><br />
<?php }} ?>
</span></td>
</tr>
<?php }} ?>
</table>
<?php }} ?>