Omerr01 Posted December 7, 2013 Report Share Posted December 7, 2013 Hello everyone, i want to do "Upcoming Flights " i try this code "<?php MainController::Run('FrontBids','RecentFrontPage',5);?>" but it doesn't work. Thanks in advance, Omer Cohen Quote Link to comment Share on other sites More sharing options...
magicflyer Posted December 7, 2013 Report Share Posted December 7, 2013 Well the code isn't wrong, so that's not the issue. In your templates folder(Either in your skin or in /core) look for frontpage_recentbids.tpl, and check if there is any code inside. Let me know what you got. Also, is there any errors showing on the website, or is it just blank and not showing? Quote Link to comment Share on other sites More sharing options...
Omerr01 Posted December 8, 2013 Author Report Share Posted December 8, 2013 Well the code isn't wrong, so that's not the issue. In your templates folder(Either in your skin or in /core) look for frontpage_recentbids.tpl, and check if there is any code inside. Let me know what you got. Also, is there any errors showing on the website, or is it just blank and not showing? <?php if(!$lastbids) { echo 'No bids have been made'; return; } foreach($lastbids as $lastbid); { ?> <style type="text/css"> <!-- .style2 { font-family: Arial; font-size: 10px; } --> </style> <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0"> <tr> <td><p class="style2"><?php echo $lastbid->bidid . ' - ' . $lastbid->code.$lastbid->flightnum.' - '.$lastbid->depicao.' to '.$lastbid->arricao?></a> </p> <?php } ?></p></td> </tr> </table> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.