avdesigns Posted November 4, 2012 Report Share Posted November 4, 2012 Hello Is there a way to change the popupnews mod to look like this? also Is there a way to get them blue borders as I illustrated in the image above? <h3>Latest Arrivals</h3> <p><?php $count = 5; $pireps = PIREPData::getRecentReportsByCount($count); ?> <table width="600px"> <tr> <td class="tableheader">Flight No.</td> <td class="tableheader">Pilot</td> <td class="tableheader">Departure</td> <td class="tableheader">Arrival</td> <td class="tableheader">Duration</td> <td class="tableheader">Aircraft</td> <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); } ?> <tr> <td class="tablearrivals" ><?php echo $pirep->code.$pirep->flightnum; ?></td> <td class="tablearrivals" ><?php echo $pilotinfo->firstname.' '.$pilotinfo->lastname; ?></td> <td class="tablearrivals" ><?php echo $pirep->depicao; ?></td> <td class="tablearrivals" ><?php echo $pirep->arricao; ?></td> <td class="tablearrivals" ><?php echo $pirep->flighttime; ?></td> <td class="tablearrivals" ><?php echo $pirep->aircraft; ?></td> </tr> <?php }} else { echo '<tr><td align="center"><b>There are no recent flights!</b></td></tr>'; } ?> </tbody> </table> </p> <table width="300" border="0" align="left"> <tr> <td></td> <td class="tableheader">New Pilots</td> <td></td> </tr> <?php $pilotinfo = PilotData::getallpilots(); foreach($pilotinfo as $pilot) { ?> <tr> <td width="40" class="tableflag"><img src="<?php echo Countries::getCountryImage($pilot->location);?>"></td> <td width="190" class="table"><?php echo $pilot->code.$pilot->pilotid.' - '.$pilot->firstname.' '.$pilot->lastname ;?></td> <td width="80" class="table"><?php echo $pilot->hub ;?></td> </tr><?php } ?> </table> <table width="300" border="0" align="right"> <tr> <td></td> <td class="tableheader">Latest News</td> <td></td> </tr> <tr> <td class="table">Name</td> <td class="table">Date</td> <td class="table">Link</td> </tr> </table> Thanks in advance! Jacob Quote Link to comment Share on other sites More sharing options...
vader21 Posted November 4, 2012 Report Share Posted November 4, 2012 Of course you can Quote Link to comment Share on other sites More sharing options...
avdesigns Posted November 5, 2012 Author Report Share Posted November 5, 2012 Please Could you tell me how to do this Quote Link to comment Share on other sites More sharing options...
vader21 Posted November 5, 2012 Report Share Posted November 5, 2012 I have this built on a module i developed i can pass it over, but its not popupnews although it does the same function. Quote Link to comment Share on other sites More sharing options...
avdesigns Posted November 5, 2012 Author Report Share Posted November 5, 2012 Yes please, that would be great Thanks! 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.