Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- This is the frontpage_reports.tpl file
- */
- <?php
- if(!$reports)
- {
- echo 'No reports have been filed';
- return;
- }
- foreach($reports as $report)
- {
- ?>
- <li><a href="<?php echo url('/pireps/viewreport/'.$report->pirepid);?>">#<?php echo $report->pirepid
- . ' - ' . $report->code.$report->flightnum?> <span class="icon-align-left"></span> New Pirep from <strong><?php echo $report->firstname . ' ' . $report->lastname?></strong></a></li>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement