Jump to content

smoke2312

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by smoke2312

  1. I have the currently booked flights showing on my main page of my site. I am having a problem trying to show the airline image for the current booked flight. I can get it to show the spot for the Airline in the title, but I cannot get the image to pull from my image folder. Can someone please please assist me with this. I have been up searching on here for hours and trying to make it work: this is my code:\

    Thanks to anyone that can help me with this

    <h3>Currently Booked Flights</h3>

    <?php

    if(!$lastbids)

    {

    echo '<p align="left">No flights have currently been booked</p>';

    return;

    }

    ?>

    <table width="100%" cellpadding="1" cellspacing="0">

    <thead>

    <tr bgcolor="#336699">

    <th align="center" style="background-color: #0B3861; ">Airline;</th>

    <th align="center" style="background-color: #0B3861; width: 10%;"><font color="#ffffff">Flight</font></th>

    <th align="center" style="background-color: #0B3861; width: 10%;"><font color="#ffffff">Depart</font></th>

    <th align="center" style="background-color: #0B3861; width: 10%;"><font color="#ffffff">Arrive</font></th>

    <th align="center" style="background-color: #0B3861; width: 10%;"><font color="#ffffff">Pilot</font></th>

    <th align="center" style="background-color: #0B3861; width: 10%;"><font color="#ffffff">Aircraft</font></th>

    <th align="center" style="background-color: #0B3861; width: 10%;"><font color="#ffffff">Tail Number</font></th>

    <th align="center" style="background-color: #0B3861; width: 10%;"><font color="#ffffff">Flight Time</font></th>

    </tr>

    </thead>

    <tbody>

    <?php

    foreach($lastbids as $lastbid)

    {

    ?>

    <tr bgcolor="#DDDDDD">

    <td height="25" align="center"><?php

    $str = "$lastbid->code";

    $find="NXP";

    $position = strpos($str,$find);

    if ($position === false){

    echo "<img style='padding-left:3px;' src='http://www.veryicon.com/icon/48/Object/Elements%20alone/Plane.png'>"; } else { echo "<img style='padding-left:3px;' src='http://www.veryicon.com/icon/48/Object/Elements%20alone/Plane.png'>"; }?></td>

    <td align="center"><?php echo $lastbid->code . $lastbid->flightnum; ?></a> </td>

    <td width="13%" align="center"><span><?php echo $lastbid->depicao; ?></span></td>

    <td width="13%" align="center"><span><?php echo $lastbid->arricao; ?></span></td>

    <?php

    $params = $lastbid->pilotid;

    $pilot = PilotData::GetPilotData($params);

    $pname = $pilot->firstname;

    $psurname = $pilot->lastname;

    ?>

    <td width="20%" align="center"><span><?php echo $pname; ?> <?php echo $psurname; ?></span></td>

    <td width="15%" align="center"><span><?php echo $lastbid->aircraft; ?></span></td>

    <td width="12%" align="center"><?php echo $lastbid->registration?></td>

    <td width="12%" align="center"><span><?php echo $lastbid->flighttime; ?>h</span></td>

    </tr>

    <?php

    }

    ?>

    </tbody>

    </table>

  2. Hello everyone,

    I am trying to find a way to pull the stats for individual pilots. I am not sure if this is even possible. The stats I wanted to pull are as follows:

    1. Passengers Hauled by Individual Pilot

    2. Cargo Hauled By Individual Pilot

    3. Different Airlines Hauled for.

    If this is possible I would be grateful if someone with more expertise in this area could assist me. Thanks in Advance.

    Arthur

  3. Is there any other way to get ahold of the people who created this. I have been trying to get a custom version of this for weeks now. I have sent out multiple emails and none have been returned. Thanks in advance for any and all help.

  4. I am looking for someone to design a new skin for my Virtual Airline.

    Designer must have experience in this field and can provide me with work that has already been completed.

    It needs to be user friendly and browser friendly. If anyone meets the bill please send me a pm with your work. as well as expected pay rates.

    Thanks to all that apply.

  5. I changed my Admin template to this and I get this error now when logging in:

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/web03/b510/pow.harrisire/SimUnited/core/app.config.php:1) in /hermes/web03/b510/pow.harrisire/SimUnited/core/modules/Login/Login.php on line 143

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/web03/b510/pow.harrisire/SimUnited/core/app.config.php:1) in /hermes/web03/b510/pow.harrisire/SimUnited/core/modules/Login/Login.php on line 154

    I get one when logging out but it redirects before I have a chance to copy it

  6. I figured out what it was. I changed the header picture and it was not the exact same as the original one. So I had to edit it and it now works perfect. However there is one other thing and that is the home button on the menu bar is there any way to Capitalize it so it is like the others?

  7. Have you edited any php files at all on your site? That error is normally, not always, caused by a white space before or after a php opening or closing tag. I stand to be corrected if I am wrong in this case. I know in phpBB forums, 9 out of 10 times that is the reason for that error.

    Have not edited anything

    only added template. The obsesses one. thats it

  8. OK this has been getting on my nerves. Can someone please help me fix this problem.

    Everytime I login into my website I get this error

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/web03/b510/pow.harrisire/United/core/app.config.php:1) in /hermes/web03/b510/pow.harrisire/United/core/modules/Login/Login.php on line 143

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/web03/b510/pow.harrisire/United/core/app.config.php:1) in /hermes/web03/b510/pow.harrisire/United/core/modules/Login/Login.php on line 154

    and when I log out I get this error:

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/web03/b510/pow.harrisire/United/core/app.config.php:1) in /hermes/web03/b510/pow.harrisire/United/core/common/Auth.class.php on line 341

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/web03/b510/pow.harrisire/United/core/app.config.php:1) in /hermes/web03/b510/pow.harrisire/United/core/modules/Logout/Logout.php on line 26

    both errors clear when i click on anybutton but I would like to eliminate this all together. Any and all help would be greatly appreciated

  9. i had this very same issue. I finally got mine to work. I had to update my acars files( I took the acars information from the default crystal skin) from a old skin i was using. I then went into fsacars options and made sure acars online was checked and postion and something was checked. When I did these 3 things it started tracking my flights on the live map. Hope that this helps you out.

  10. From what I can tell it is not reaching vms, but it is reaching the statavirtual fsacars live map. I am running the basic windows firewall, and I am using the current 816 beta version. I am completely stumped on this and am not sure which step i should take next to get it to display like it is supposed to. I have an api from google maps so i can see the map. I put my ini file into the acars root directory. I fill everything in for the flight in acars and run it. For what ever reason it is not showing anything on my site. :-[

  11. I think you have me confused. LOL.. On my website I can't see anything other than the live map. I meant if you went to the makers of fsacars they have a live map on their that shows everyone that use fsacars on a live map. It is an option in the acars program to let it stream on their. SO i know my client is streaming the information out. It is just that my website is not picking any of that information up.

  12. I have the ini file in the root directory for fsacars. The live map on the website does not work, but the live map on fsacars website does. I can see myself on theirs along with others.

  13. I am having trouble with fsacars. For whatever reason it is not displaying on the live map on my website. It is however displaying on the live map for fsacars itself. Is there something more i need to do other than downloading the ini to input into fsacars. Also I saw where other where having the same problem and someone mentioned a solution for a fix for it by just going to the acars/flights page. Well when I try that this is the erro that pops up.

    Warning: ACARS::include_once(/hermes/web03/b510/pow.harrisire/JCV/core/modules/ACARS/flights.php) [function.ACARS-include-once]: failed to open stream: No such file or directory in /hermes/web03/b510/pow.harrisire/JCV/core/modules/ACARS/ACARS.php on line 56

    Warning: ACARS::include_once() [function.include]: Failed opening '/hermes/web03/b510/pow.harrisire/JCV/core/modules/ACARS/flights.php' for inclusion (include_path='.:/usr/local/lib/php-5.2.2/lib/php') in /hermes/web03/b510/pow.harrisire/JCV/core/modules/ACARS/ACARS.php on line 56

×
×
  • Create New...