<?php blocks::open("reports"); blocks::title(Kohana::lang('ui_main.reports_listed')); ?> <table class="table-list"> <thead> <tr> <th scope="col" class="title"><?php echo Kohana::lang('ui_main.title'); ?> </th> <th scope="col" class="location"><?php echo Kohana::lang('ui_main.location'); ?> </th> <th scope="col" class="date"><?php echo Kohana::lang('ui_main.date'); ?> </th> </tr> </thead> <tbody> <?php if ($incidents->count() == 0) { ?> <tr><td colspan="3"><?php echo Kohana::lang('ui_main.no_reports'); ?> </td></tr> <?php
<?php blocks::open(); blocks::title(Kohana::lang('ui_main.incidents_listed')); ?> <table class="table-list"> <thead> <tr> <th scope="col" class="title"><?php echo Kohana::lang('ui_main.title'); ?> </th> <th scope="col" class="location"><?php echo Kohana::lang('ui_main.location'); ?> </th> <th scope="col" class="date"><?php echo Kohana::lang('ui_main.date'); ?> </th> </tr> </thead> <tbody> <?php if ($total_items == 0) { ?> <tr> <td colspan="3"><?php echo Kohana::lang('ui_main.no_reports'); ?> </td>
<?php blocks::open(); blocks::title(Kohana::lang('ui_main.official_news')); ?> <table class="table-list"> <thead> <tr> <th scope="col"><?php echo Kohana::lang('ui_main.title'); ?> </th> <th scope="col"><?php echo Kohana::lang('ui_main.source'); ?> </th> <th scope="col"><?php echo Kohana::lang('ui_main.date'); ?> </th> </tr> </thead> <tbody> <?php if ($feeds->count() != 0) { foreach ($feeds as $feed) { $feed_id = $feed->id; $feed_title = text::limit_chars($feed->item_title, 40, '...', True); $feed_link = $feed->item_link; $feed_date = date('M j Y', strtotime($feed->item_date)); $feed_source = text::limit_chars($feed->feed->feed_name, 15, "...");
<?php blocks::open("reports"); blocks::title("Recent Reports Submitted"); ?> <table class="table-list"> <thead> <tr> <th scope="col" class="title"><?php echo Kohana::lang('ui_main.title'); ?> </th> <th scope="col" class="title">How does this place make you feel?</th> <th scope="col" class="title">Why do you feel this way?</th> <th scope="col" class="title">Would you like to change this place? If so, how and why?</th> <th scope="col" class="title">Image</th> <th scope="col" class="date"><?php echo Kohana::lang('ui_main.date'); ?> </th> </tr> </thead> <tbody> <?php if ($incidents->count() == 0) { ?> <tr><td colspan="6"><?php echo Kohana::lang('ui_main.no_reports'); ?> </td></tr> <?php