Jakubovsky Posted January 13, 2015 Report Posted January 13, 2015 Hello, Trying find solution... on profile_main.tpl in "Latset Flight" section code is: <?php echo $report->aircraft; ?> Its show me: number "18" and second... "Next Flight" on profile_main.tpl code inserted to table is: <td colspan="5" rowspan="2"><?php Template::Show('core_bids.tpl'); ?></td> and core_bids.tpl is: <style type="text/css"> .table_back { background-color: #CCC; } </style> <?php if(!$bids) { echo '<p align="center">You have not bid on any flights</p>'; return; } ?> <table> <thead> <tr class="table_back"> <th width="25%"><div align="center"><strong>Flight</strong></div></th> <th width="25%"><div align="center"><strong>Departure</strong></div></th> <th width="25%"><div align="center"><strong>Arrival</strong></div></th> <th width="25%"><div align="center"><strong>Aircraft</strong></div></th> <th width="25%"><div align="center"><strong>Distance</strong></div></th> </tr> </thead> <tbody> <?php foreach($bids as $bid) { ?> <tr id="bid<?php echo $bid->bidid ?>"> <td><div align="center"><?php echo $bid->code . $bid->flightnum; ?></div></td> <td align="center"><div align="center"><?php echo $bid->depicao; ?></div></td> <td align="center"><div align="center"><?php echo $bid->arricao; ?></div></td> <td><div align="center"><?php echo $bid->aircraft; ?> (<?php echo $bid->registration?></div></td> <td><div align="center"><?php echo $bid->distance;?></div></td> </tr> <?php } ?> </tbody> </table> Bids allredy BID... Quote
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.