[ Index ]

PHP Cross Reference of Yamoon 0.9.0

title

Body

[close]

/ -> admin.php (source)

   1  <?php
   2  require_once ('Yamoon/Global.php');
   3  include ('header.php');
   4  ?>
   5  
   6  <p>
   7  <table width=100>
   8      <tr>
   9          <th>Service</th>
  10          <th>Actions</th>
  11      </tr>
  12      <?php foreach (getServices() as $service) { ?>
  13          <tr>
  14              <td><a href="service.php?action=edit&service_id=<?php print $service->id ?>"><?php print $service->name ?></a></td>
  15              <td align='center'><a href="service.php?action=delete&service_id=<?php print $service->id ?>" onClick="return confirmDelete('service','<?php print $service->name?>')">Delete</a></td>
  16          </tr>
  17      <?php } ?>
  18      <tr>
  19          <td colspan=2>&nbsp;</td>
  20      </tr>
  21      <tr>
  22          <th>Language</th>
  23          <th>Actions</th>
  24      </tr>
  25      <?php foreach (getLanguages() as $language) { ?>
  26          <tr>
  27              <td><a href="language.php?action=edit&language_id=<?php print $language->id ?>"><?php print $language->name ?></a></td>
  28              <td align='center'><a href="language.php?action=delete&language_id=<?php print $language->id ?>" onClick="return confirmDelete('language','<?php print $language->name?>')">Delete</a></td>
  29          </tr>
  30      <?php } ?>
  31  </table>
  32  <p>
  33  
  34  <?php
  35  include ('footer.php');
  36  ?>


Generated: Sat Feb 19 17:29:53 2005 Cross-referenced by PHPXref 0.6