Jump to content

smoke2312

Members
  • Posts

    31
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

smoke2312's Achievements

Newbie

Newbie (1/14)

0

Reputation

  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
×
×
  • Create New...