Esempio n. 1
0
<?php

echo H2Configuration::getAdminMenu();
?>

<table class="devicetable"><thead>
  <tr>
    <th>Action</th>
    <th>Reverse</th>
    <th>Skript</th>
  </tr>
</thead><?php 
foreach (o(db)->get('SELECT * FROM events ORDER BY e_address') as $evt) {
    ?>
<tr onclick="document.location.href='<?php 
    echo actionUrl('edit', 'events', array('id' => $evt['e_key']));
    ?>
'">
    <td><?php 
    echo htmlspecialchars($evt['e_address']);
    ?>
</td>
    <td><?php 
    echo htmlspecialchars($evt['e_address_rev']);
    ?>
</td>
    <td><?php 
    echo htmlspecialchars(substr($evt['e_code'], 0, 60));
    ?>
</td>
  </tr><?php 
 function _getSubmenu2($opt = false)
 {
     return H2Configuration::getAdminMenu();
 }