Jump to content

JustinRomaine

Members
  • Posts

    62
  • Joined

  • Last visited

Posts posted by JustinRomaine

  1. <?php
    $count = 5;
    $pireps = PIREPData::getRecentReportsByCount($count);
    ?>
     <table width="427" border="0" cellspacing="2" cellpadding="2">
       <tdead>
      <tr class="recent">
        <td width="68"><strong>Flight No</strong></td>
        <td width="70"><strong>Departure</strong></td>
        <td width="84"><strong>Arrival</strong></td>
        <td width="74"><strong>Duration</strong></td>
        <td width="38"><strong>Pilot</strong></td>
        <td width="55"><strong>Status</strong></td>
        </tr>
      </tdead>
       <tbody>
    
      <?php
    if(count($pireps) > 0)
    {
     foreach ($pireps as $pirep)
     {
     {
        $pilotinfo = PilotData::getPilotData($pirep->pilotid);
        $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid);
    }
    ?>
      <tr>
        <td><a href="<?php echo url('/pireps/viewreport/'.$pirep->pirepid);?>">
    		  <?php echo $pirep->code.$pirep->flightnum; ?></a>
        </td>
        <td><?php echo $pirep->depicao; ?></td>
        <td><?php echo $pirep->arricao; ?></td>
        <td><?php echo $pirep->flighttime; ?></td>
        <td><?php echo $pirep->pilotid; ?></td>
        <td><?php
    
    		    if($pirep->accepted == PIREP_ACCEPTED)
    				    echo '<span style="color:#347C17"><strong>Accepted</strong></span>';
    		    elseif($pirep->accepted == PIREP_REJECTED)
    				    echo '<span style="color:#FF0000"><strong>Rejected</strong></span>';
    		    elseif($pirep->accepted == PIREP_PENDING)
    				    echo '<span style="color:#E56717"><strong>Approval Pending</strong></span>';
    		    elseif($pirep->accepted == PIREP_INPROGRESS)
    				    echo '<span style="color:#whatever">Flight in Progress</span>';
    				    ?>
        </td>
      </tr>
      <?php
    }}
    else
    {
        echo '<tr><td>There are no recent flights!</td></tr>';
    }
    ?>
     </tbody>
     </table>
    

    Im useing this coded but I cant seem to get a map to link to it and the map show the routes what am I doing wrong thanks.

  2. what do i need to do to get an img as the background im useing dreamweaver and ive tryed in css background img and html background img but it only shows a singal color nuthing else anyhelp

  3. Im trying to play with this how am i supost to set it up. heres what im trying to do but the code is not right.

    <table cellspacing="0" cellpadding="5" border="0" width="100%"><thead class="fparr">

    <td width="14%">Call Sign</td>

    <td width="11%">CID</td>

    <td width="17%">Real Name</td>

    <td width="21%">Frequency</td>

    <td width="35%">Atis Message</td><td width="2%"></thead><tbody>

    <?

    </tbody></table>

    Simmer to that trying to get the data in each colom do i edit the templet file or am i able to put the eco... part php in the coloms to get it to show that way or hows it work or if some one go do it for me that would be great thanks

  4. looking to have an Skymiles Moduler add on. It would work based on so many flights and how long the flights are. and thin after so many they would be able to buy things. off the site. any ideas to improve things and stuff let me know. Thanks

  5. Yea because i have payed for it around 2010 or so but never recived anything and Ive noticed they started doing some things on there site so I tryed contacting them and yet still nuthing Ive also tryed looking up my paypal information to see if I can find the payment information to show that I payed etc.... but paypal wont let me go back that far I just havent called them to get a full list of trasactions of the account from when the acc was open to see if its there. and go from there. but I want to get a lawer and mabe shut them down but its not worth that over $20.00 lol but who knows lol may do it anyway just to be a.........

  6. yea im looking for some one to make a site in the vabase formate. Its a lot easer for me to work on. I have the files but they are smart the set the system up to were you can use it with out paying its like to an 2nd Database on there side. But the way the files are and stuff its easy. Thanks

×
×
  • Create New...