Jump to content

smoke2312

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by smoke2312

  1. The code was from the previous webmaster. He up and vanished like a fart in the wind, So now I am left trying to complete what he started. I will give what you said a try. Thanks for your help.
  2. 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>
  3. 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
  4. Removed I figured it out. Thanks Kyle
  5. smoke2312

    KACARS Custom

    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.
  6. smoke2312

    HubStats Class

    Ok i had it work just tossed it up on a page and it worked i deleted it and now when i redo what i tryed it just shows the code instead of the echo. Not sure what I have done wrong
  7. smoke2312

    HubStats Class

    Thanks so much works like a charm... now I need to configure a table for it
  8. smoke2312

    HubStats Class

    Can you explain to me how i use this module.... I am not that good with the code just yet
  9. smoke2312

    Skin

    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.
  10. Great Skin.... I attended Kaplan last year and did a website for class. Good luck and keep up the great work
  11. 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
  12. I would like to give this addon a try but I cannot get the sql to upload for some wierd reason
  13. 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?
  14. Have not edited anything only added template. The obsesses one. thats it
  15. 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
  16. Would still be a nice feature....and it could prolly be made into a on off switch for those that do want it. But im willing to bet if you are looking for realism most CEO's would opt to have it on.. I know I would.
  17. I like that idea as well and wanted to know if there would be something like that in the future. Cause the current setup you can just jump to any airport you want. It would make it way more realistic if you could not jump around
  18. 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.
  19. Yes this is nice, and I say don't allow none airline members to post anything. Like the use stated above it will just open the door for problems.
  20. the xacarzs did not show up for me when i downloaded it and stuck the file in the root acars folder it didnt show anything. So i am stil not sure what I need to do. This is a link to my live map http://www.capivirtualairlines.com/index.php/acars
  21. 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. :-[
  22. Yes I am using the one that is in my profile to download.
  23. 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.
  24. 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.
  25. smoke2312

    Acars

    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...