3  <div 
class=
"data-table-container" id=
"data-tables">
 
    4    <?php 
foreach ($tables as $label => 
$data): ?>
 
    5      <div 
class=
"data-table" id=
"sg-<?php echo $tpl->escape($tpl->slug($label)) ?>">
 
    6        <label><?php echo 
$tpl->escape($label) ?></label>
 
    7        <?php 
if (!empty(
$data)): ?>
 
    8            <table 
class=
"data-table">
 
   11                  <td 
class=
"data-table-k">Key</td>
 
   12                  <td 
class=
"data-table-v">Value</td>
 
   15            <?php 
foreach (
$data as $k => $value): ?>
 
   17                <td><?php echo 
$tpl->escape($k) ?></td>
 
   18                <td><?php echo 
$tpl->escape(print_r($value, 
true)) ?></td>
 
   23          <span 
class=
"empty">empty</span>
 
   30  <div 
class=
"data-table-container" id=
"handlers">
 
   31    <label>Registered Handlers</label>
 
   32    <?php 
foreach ($handlers as $i => $handler): ?>
 
   33      <div 
class=
"handler <?php echo ($handler === $handler) ? 'active' : ''?>">
 
   34        <?php echo $i ?>. <?php echo 
$tpl->escape(get_class($handler)) ?>