Jeff PHP framework  0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
layout_list.php
Go to the documentation of this file.
00001 <?php
00022 ?>
00023 <section>
00024 <h1 class="section_title"><?= $title ?></h1>
00025 <p><?= $text ?></p>
00026 <table class="generic wide">
00027         <tr>
00028                 <th style="width:130px"><?= __("Preview") ?></th><th><?= __("Name") ?></th><th><?= __("Description") ?></th><th class="noBorder noBkg"></th>
00029         </tr>
00030 <? foreach($items as $item): ?>
00031         <tr<?= $item['active'] ? " class=\"selected\"" : "" ?>>
00032                 <td style="text-align:center">
00033                         <a href="<?= $item['image'] ?>" title="<?= $item['name'] ?>" rel="lightbox"><img style="height:60px" src="<?= $item['image'] ?>" alt="screenshot"/></a>
00034                 </td>
00035                 <td><?= $item['name'] ?></td>
00036                 <td><?= $item['description'] ?></td>
00037                 <td class="noBorder noBkg" style="padding:23px 0 0 10px;"><?= $item['active'] ? "" : "<input type='button' value='".__("activate")."' onclick=\"location.href='".$item['link_activate']."'\" />" ?></td>
00038         </tr>
00039 <? endforeach ?>
00040 </table>
00041 <script>
00042 $$('a[rel=lightbox]').cerabox({group: false});
00043 </script>
00044 </section>