Jump to content

Industrialshadow

Members
  • Posts

    182
  • Joined

  • Last visited

Everything posted by Industrialshadow

  1. Hello Guys Have anybody a Idea to bring p my Schedule Results Site to this http://www.lausitz-aircargo.de/index.php/codeshare I will add to all Schedules my Airline Logo from Lausitz Aircargo. So im happy when a Guy give me Some Codesnippets or help me to figure it out. Cheers
  2. Hello Friends, after a very long Time to build the Site, we can say "Now we are ready for Take Off" Our Airline is based in EDWB (Bremerhaven) a small Airport in Germany. Our Main Business is the Cargo Section. On the First Time we will fly only small Airplanes. When we reach a minimum Cash in our Company so we will buy a new Aircrafts and set it on new or Existing Routes Our Second Section is the Business Charter Flights on the German "Nordsee Inseln" with our C172 At this Moment we look for following Positions - Route Coordinator - A helping hand for more Coding - and Pilots - Painter for Airplanes Also we have a Teamspeak Server running to communicate with other Peoples You can find us here http://www.lausitz-aircargo.de Cheers an allways three Greens
  3. Yep thanks. I have found by my self. But where can i change the mapsize on the Frontpage? its a little bit to big for the site. Have you any ideas? Thx
  4. HI where can i change the recaptcha code? on which php i found the link to my captcha key? its solved but where can i change the acars map on the frontpage? Thanks for help
  5. Hi no o dont have changed the files. It´s originally coming from the zip file
  6. Hello Guys i will try this Theme. But i become this Error Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (4096): /www/htdocs/w00dac26/lausitzair//lib/skins/CCV1/<div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <!-- Wrapper for slides --> <div class="carousel-inner"> <div class="item active"> <a href="http://facebook.com/vasystems" target="_blank"><img src="http://placehold.it/1000x350" width="100%"></div></a> <div class="item"> <a href="http://facebook.com/vasystems" target="_blank"><img src="http://placehold.it/1000x350" width="100%"></a> </div> <div class="item"> <a href="http://facebook.com/vasystems" target="_blank"><img src="http://placehold.it/1000x350" in /www/htdocs/w00dac26/lausitzair/core/classes/TemplateSet.class.php on line 118 I dont have any ideas to bring it up to the live page. Can anybody help me ? Many thanks
  7. Hello everybody i have created a Skin for my Airline. I will share it with you. The Skin is not converted to the standars of phpvms. You must convert it before using this Template. I hope anyone can change this files to the standards of phpvms German Version Hallo. Ich habe dieses Theme für meine Airline erstellt. Es ist nicht konvertiert für phpvms. Wenn jemand Ahnung hat und dies konvertieren könnte wäre es super. Davon habe ich leider keine Ahnung. lausitz aircargo.zip
  8. hi prices for flights are set. @flyalaska i think some pilots flying with full tank I will check this an come back again
  9. Hello I have a problem on my site.... my airline loos money. I dont find the Problem. We have no Expenses added. have anybody a reason to that
  10. thx that was the problem..... Have a nice day
  11. Hi first, its a very nice skin. Second: I have a Problem in my testsite http://testumgebung.lausitz-aircargo.de/index.php Anybody a idea why its not showing the template? Cheers
  12. hi its not solved i become a syntax error Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /www/htdocs/w00dac26/lausitzair/admin/modules/PIREPAdmin/PIREPAdmin.php on line 295 and on the line 295 is $pilotbonus = "500"; i become this failure when i click on my admincenter
  13. i become a syntax failure when i will add this code public function get_pilots_screenshots($pilot_id) { $query = "SELECT * FROM screenshots WHERE pilot_id='$pilot_id'"; return DB::get_row($query); into my data class any idea ?
  14. yes in my phpmyadmin panel i have use the import
  15. Hi i become the following failure when i request a LoA Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /www/htdocs/w00dac26/lausitzair/core/common/LoAData.class.php on line 23 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in/www/htdocs/w00dac26/lausitzair/core/common/LoAData.class.php on line 23 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in/www/htdocs/w00dac26/lausitzair/core/common/LoAData.class.php on line 24 but its working and stay in the adminpanel And then i become this failure when i will delete the LoA Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /www/htdocs/w00dac26/lausitzair/core/common/LoAData.class.php on line 61 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /www/htdocs/w00dac26/lausitzair/core/common/LoAData.class.php on line 61 Warning: mysql_affected_rows() [function.mysql-affected-rows]: A link to the server could not be established in /www/htdocs/w00dac26/lausitzair/core/common/LoAData.class.php on line 62 Warning: mysql_affected_rows() [function.mysql-affected-rows]: A link to the server could not be established in /www/htdocs/w00dac26/lausitzair/admin/modules/LoA/LoA.php on line 63 can anybody help me? Thx
  16. Good Evening I need a little help for my Pireps count. I need a function on this where i can see if the pirep accepted or rejected or pending. Can anybody help ? thats my code currently in the frontpage_main <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en"> <div class="art-content"> <h2 align="center" class="art-PostHeaderIcon-wrapper"> <div class="clean-welcome"> <?php $newpilot = PilotData::getLatestPilots(1); ?> Welcome Lausitz Aircargo Newest Pilot: <?php foreach ($newpilot as $pilot) { echo $pilot->firstname.' '.$pilot->lastname.' ('.PilotData::getPilotCode($pilot->code, $pilot->pilotid).')'; } ?> </div> </h2> <p align="center" style="font-size: 18px; color: #000; font-weight: bold;">Welcome</p> <p align="center">Nun ist es soweit. Wir haben jetzt auf das neue Design umgestellt und die Anpassungen vorgenommen.Aber einiges gibt es noch zu tun. Aber das gute daran ist man kann wieder Flüge absolvieren.Kleinere Dinge wie das Pilotencenter werden wir noch bearbeiten</p> <p align="center"> </p> <p align="center"><a href="http://www.lausitz-aircargo.de/index.php/pages/join" target="_parent"><img src="http://www.lausitz-aircargo.de/lib/skins/bluelight/images/join.png" width="264" height="162" /></a></p> <p align="center"><?php // Show the News module, call the function ShowNewsFront // This is in the modules/Frontpage folder MainController::Run('News', 'ShowNewsFront', 1); ?></p> <p align="center"><?php $count = 5; $pireps = PIREPData::getRecentReportsByCount($count); ?> <div align="center"> <table align="center" border="0" width="90%"> <thead> <tr border="0"> <th align="center" background='images/tables/tableheading.png'> <font face='Verdana' size='2' color="#000000">Pilot</font></th> <th align="center" background='images/tables/tableheading.png'> <font face='Verdana' size='2' color="#000000">Airline</font></th> <th align="center" background='images/tables/tableheading.png'> <font face='Verdana' size='2' color="#000000">Flight #</font></th> <th align="center" background='images/tables/tableheading.png'> <font face='Verdana' size='2' color="#000000">Origin</font></th> <th align="center" background='images/tables/tableheading.png'> <font face='Verdana' size='2' color="#000000">Arrival</font></th> <th align="center" background='images/tables/tableheading.png'> <font face='Verdana' size='2' color="#000000">Landing Rate</font></th> </tr> </thead> <tbody> <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); echo "<tr>"; echo "<td align=center background='images/tables/board.png'> <font face=Verdana size=2 color=#000000> $pirep->firstname $pirep->lastname </font></td>"; echo '<td align=center width=120px bgcolor=#fff><a href="'.fileurl('/index.php/pireps/viewreport/'.$pirep->pirepid.'').'"><img src="'.fileurl('/images/airline/'.$pirep->code.'.gif').'" alt="'.$airline->name.'" width="127px" height="32px" /></a></td>'; echo "<td align=center background='images/tables/board.png'> <font face=Verdana size=2 color=#000000> $pirep->code $pirep->flightnum </font></td>"; echo "<td align=center background='images/tables/board.png'> <font face=Verdana size=2 color=#000000> $pirep->depname </font></td>"; echo "<td align=center background='images/tables/board.png'> <font face=Verdana size=2 color=#000000> $pirep->arrname </font></td>"; echo "<td align=center background='images/tables/board.png'> <font face=Verdana size=2 color=#000000> $pirep->landingrate ft/min</font></td>"; echo "</tr>"; } } else { echo "<tr><td>There are no recent flights!</td></tr>"; } ?> </tbody> </table></p> </div> <p align="center"></p> <div align="center"> <table width="600" border="0"> <tr> <td><?php $query = "SELECT * FROM phpvms_schedules ORDER BY deptime + 0 ASC"; $list = DB::get_results($query); echo '<h3>Upcoming Departures - Current Time is '.date('G:i').'</h3>'; echo '<table width="100%" border="0">'; echo '<tr><td><b>Flight Number</b></td><td><b>Departure</b></td><td><b>Arrival</b></td><td><b>Departure Time</b></td><td><b>Aircraft</b></td><td><b>Status</b></td></tr>'; $count = 3; foreach($list as $flight) { if(date('G:i') >= '23') {$time = '0';} else {$time = date('G:i');} if(($flight->deptime + 0) > $time) { if($count < 10) { $aircraft = OperationsData::getAircraftInfo($flight->aircraft); echo '<tr><td>'.$flight->flightnum.'</td><td>'.$flight->depicao.'</td><td>'.$flight->arricao.'</td><td>'.$flight->deptime.'</td><td>'.$aircraft->fullname.'</td>'; echo '<td>'; if(($flight->deptime - date('G:i')) <= 1) { echo '<a href="http://www.gifmix.de/gifs/" target="_blank" title="Gifs"><img src="http://www.industrialshadow.de/lausitzair/lib/skins/bluelight/images/dots_blink.gif" border="0" alt="Gifs"></a>'; } else { echo '<a href="http://www.gifmix.de/gifs/" target="_blank" title="Gifs"><img src="http://www.industrialshadow.de/lausitzair/lib/skins/bluelight/images/dots_yellow.gif" border="0" alt="Gifs"></a>'; } echo '</td></tr>'; $count++; } } } echo '</table>'; echo '<h3>Upcoming Arrivals - Current Time is '.date('G:i').'</h3>'; echo '<table width="100%" border="0">'; echo '<tr><td><b>Flight Number</b></td><td><b>Departure</b></td><td><b>Arrival</b></td><td><b>Arrival Time</b></td><td><b>Aircraft</b></td><td><b>Status</b></td></tr>'; $count = 3; foreach($list as $flight) { if(date('G:i') >= '23') {$time = '0';} else {$time = date('G:i');} if(($flight->arrtime + 0) > $time) { if($count < 10) { $aircraft = OperationsData::getAircraftInfo($flight->aircraft); echo '<tr><td>'.$flight->flightnum.'</td><td>'.$flight->depicao.'</td><td>'.$flight->arricao.'</td><td>'.$flight->arrtime.'</td><td>'.$aircraft->fullname.'</td>'; echo '<td>'; if(($flight->arrtime - date('G:i')) <= 1) { echo '<a href="http://www.gifmix.de/gifs/" target="_blank" title="Gifs"><img src="http://www.industrialshadow.de/lausitzair/lib/skins/bluelight/images/dots_yellow.gif" border="0" alt="Gifs"></a>'; } else { echo '<a href="http://www.gifmix.de/gifs/" target="_blank" title="Gifs"><img src="http://www.industrialshadow.de/lausitzair/lib/skins/bluelight/images/dots_blink.gif" border="0" alt="Gifs"></a>'; } echo '</td></tr>'; $count++; } } } echo '</table>';?></td> </tr> </table> </div> <p align="center"></p> <p align="center"> <div align="center"> <p><strong>Newest Screenshot</strong></p> <table width="200" border="1"> <tr> <td><?php Screenshots::show_newest_screenshot(); ?></td> </tr> </table> </p> <table width="497" border="0"> <tr> <td width="161"><a href="<?php echo url('/finances'); ?>" target="_parent"><img src="http://www.industrialshadow.de/lausitzair/lib/skins/bluelight/images/finance.png" width="160" height="121" /></a></td> <td width="161"><a href="<?php echo url('/contact'); ?>" target="_parent"><img src="http://www.industrialshadow.de/lausitzair/lib/skins/bluelight/images/contact.png" width="160" height="121" /></a></td> <td width="161"><a href="<?php echo url('/Fleet'); ?>"><img src="http://www.industrialshadow.de/lausitzair/lib/skins/bluelight/images/Fleet.png" width="160" height="121" /></a></td> </tr> <tr> <td><div align="center">Finances</div></td> <td><div align="center">Contact us</div></td> <td><div align="center">Fleet</div></td> </tr> </table> </div> </div>
  17. ah ok yeah i have used Dreamweaver..... Now i hav deinstalled and reinstalled. its working. Another Question. Any News about the FInances to bring it up when i buy a Aircraft thats decrease the va money?
  18. its working fine. Thanks for this code. parkho i thinks its random flights
  19. Hi where mut put in this code? I have tried this on my site, but i become a failure??? Can you help me a little bit more? see the picture
  20. hi i see this on the page when i pess the options buttons <�!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <�html><�head> <�meta content="text/html; charset=unicode" http-equiv=Content-Type> <�meta name=GENERATOR content="MSHTML 9.00.8112.16430"> <�/head> <�body> <�?php // Here are the Calculations // Condition for new Plane $newrd= rand(95, 100); // Price Calculation for new Plane $acprice1="$aircraft->weight"*"$aircraft->maxpax"*("$aircraft->cruise"/100)*("$aircraft->range"*0.7 /"$aircraft->cruise"); // Condition for used Plane $userd= rand(60, 85); // Price Calculation for used Plane $acprice2="$aircraft->weight"*"$aircraft->maxpax"*("$aircraft->cruise"/100)*("$aircraft->range"*0.7 /"$aircraft->cruise"); // Condition for retired Plane $retrd= rand(25, 55); // Price for retired Plane $acprice3="$aircraft->weight"*"$aircraft->maxpax"*("$aircraft->cruise"/100)*("$aircraft->range"*0.7 /"$aircraft->cruise"); //Price for leasing Plane $lease=(("$acprice1"*"$newrd")/100)/60; $leasname="$aircraft->registration"; $leastype=M; $leasev=FinanceData::AddExpense($leasname->post->name, $lease->post->cost, $leastype->post->type); //Bought vars $boughty= 1; $lease= 2; $sellrdm= rand(750, 950); $sellprice= ("$aircraft->price"*"$sellrdm")/1000; if($aircraft->bought ==0) { // Show these if it is not bought or leased ?> <�h1><�?php echo $aircraft->registration; ?> Buy Screen<�/h1> <�img src="<�?php echo $aircraft->imagelink; ?>" height="140" width="140"> <�br><�br><�br><�br> <�table border=0 id="tabledlist" class="tablesorter"> <�thead> <�tr> <�th align="center">Status<�/th> <�th align="center">Condition<�/th> <�th align="center" >Price<�/th> <�th align="center">Buy<�/th> <�/tr> <�/thead> <�tbody> <�form action="<�?php echo adminurl('/Buysell/aircraft');?>" method="post"> <�tr> <�td align="center">New<�/td> <�td align="center"><�?php echo $newrd ?>%<�/td> <�td align="center"><�?php echo number_format((("$acprice1"*"$newrd")/100),2,",","."); echo Config::Get('MONEY_UNIT'); ?> <�/td> <�td align="center"><�input type="hidden" name="id" value="<�?php echo $aircraft->id;?>" /> <�input name="price" type="text" value="<�?php echo ((("$acprice1"*"$newrd")/100)); ?>" /> <�input name="cond" type="hidden" value="<�?php echo $newrd; ?>" /> <�input type="hidden" name="action" value="<�?php echo $action;?>" /> <�input name="icao" type="hidden" value="<�?php echo $aircraft->icao; ?>" /> <�input name="name" type="hidden" value="<�?php echo $aircraft->name; ?>" /> <�input name="fullname" type="hidden" value="<�?php echo $aircraft->fullname; ?>" /> <�input name="registration" type="hidden" value="<�?php echo $aircraft->registration; ?>" /> <�input name="maxcargo" type="hidden" value="<�?php echo $aircraft->maxcargo; ?>" /> <�input name="downloadlink" type="hidden" value="<�?php echo $aircraft->downloadlink; ?>" /> <�input name="imagelink" type="hidden" value="<�?php echo $aircraft->imagelink; ?>" /> <�input name="maxpax" type="hidden" value="<�?php echo $aircraft->maxpax; ?>" /> <�input name="weight" type="hidden" value="<�?php echo $aircraft->weight; ?>" /> <�input name="bought" type="hidden" value="<�?php echo $boughty; ?>" /> <�input name="range" type="hidden" value="<�?php echo $aircraft->range; ?>" /> <�input name="cruise" type="hidden" value="<�?php echo $aircraft->cruise; ?>" /> <�input name="minrank" type="hidden" value="<�?php echo $aircraft->minrank; ?>" /> <�input type="hidden" id="enabled" name="enabled" value="1" /> <�input type="submit" name="submit" value="Buy" /><�/td> <�/form> <�/tr> <�?php // Leasing ?> <�form action="<�?php echo adminurl('/Buysell/aircraft'); ?>" method="post"> <�tr> <�td align="center">Leasing<�/td> <�td align="center"><�?php echo $newrd ?>%<�/td> <�td align="center"><�?php echo number_format(((("$acprice1"*"$newrd")/100)/60),2,",","."); echo Config::Get('MONEY_UNIT'); ?> per Month <�/td> <�td align="center"><�input type="hidden" name="id" value="<�?php echo $aircraft->id;?>" /> <�input name="price" type="text" value="<�?php echo (((("$acprice1"*"$newrd")/100)/60)); ?>" /> <�input name="cond" type="hidden" value="<�?php echo $newrd; ?>" /> <�input type="hidden" name="action" value="<�?php echo $action;?>" /> <�input name="icao" type="hidden" value="<�?php echo $aircraft->icao; ?>" /> <�input name="name" type="hidden" value="<�?php echo $aircraft->name; ?>" /> <�input name="fullname" type="hidden" value="<�?php echo $aircraft->fullname; ?>" /> <�input name="registration" type="hidden" value="<�?php echo $aircraft->registration; ?>" /> <�input name="maxcargo" type="hidden" value="<�?php echo $aircraft->maxcargo; ?>" /> <�input name="downloadlink" type="hidden" value="<�?php echo $aircraft->downloadlink; ?>" /> <�input name="imagelink" type="hidden" value="<�?php echo $aircraft->imagelink; ?>" /> <�input name="maxpax" type="hidden" value="<�?php echo $aircraft->maxpax; ?>" /> <�input name="weight" type="hidden" value="<�?php echo $aircraft->weight; ?>" /> <�input name="bought" type="hidden" value="<�?php echo $lease; ?>" /> <�input name="range" type="hidden" value="<�?php echo $aircraft->range; ?>" /> <�input name="cruise" type="hidden" value="<�?php echo $aircraft->cruise; ?>" /> <�input name="minrank" type="hidden" value="<�?php echo $aircraft->minrank; ?>" /> <�input name="financename" type="text" value="Leasing <�?php echo $aircraft->registration; ?>" /> <�input name="cost" type="hidden" value="<�?php echo $lease; ?>" /> <�input name="type" type="hidden" value="M" /> <�input type="hidden" id="enabled" name="enabled" value="1" /> <�input type="submit" name="submit" value="Lease" /> <�/td> <�/form> <�/tr> <�/tbody> <�/table> For Leasing go <�br> <�br> <�br> <�button class="{button:{icons:{primary:'ui-icon-wrench'}}}" onclick="window.location='<�?php echo adminurl('/Buysell/aircraft');?>';">==>Back<�==<�/button> <�button class="{button:{icons:{primary:'ui-icon-wrench'}}}" onclick="window.location='<�?php echo adminurl('/finance/addexpense');?>';">==>Add Expense<�==<�/button> <�?php } else { // Show these if it is bought ?> <�h1><�?php echo $aircraft->registration; ?> Options Screen<�/h1> <�img src="<�?php echo $aircraft->imagelink; ?>" height="140" width="140"> <�br><�br><�br><�br> <�h3><�?php echo $aircraft->registration; ?> Current Aircraft<�/h2> Aircraft Name: <�?php // Show the current Condition echo $aircraft->fullname; ?> <�br> Registration: <�?php // Show the current Condition echo $aircraft->registration; ?> <�br> Max Range: <�?php // Show the current Condition echo $aircraft->range; echo Config::Get('UNITS'); ?> <�br> Weight: <�?php // Show the current Condition echo $aircraft->weight; echo Config::Get('CARGO_UNITS'); ?> <�br> Cruising Speed: <�?php // Show the current Condition echo $aircraft->cruise; ?> kts <�br> Max Passengers: <�?php // Show the current Condition echo $aircraft->maxpax; ?> <�br> Minimum Rank: <�?php // Show the current Condition echo $aircraft->ranklevel; ?> <�br> Buying Price: <�?php // Show the current Condition echo number_format($aircraft->price,2,",","."); echo Config::Get('MONEY_UNIT'); ?> <�br> Condition: <�?php // Show the current Condition echo $aircraft->cond; ?> % <�br> Va Money: <�?php // Show the current Condition $Vas = FinanceData::calculateFinances($month_info); foreach($Vas as $Va) {echo "{$month_info->revenue}";} ?> <�br> <�br> <�?php // Enable Button is now here ?> <�form action="<�?php echo adminurl('/Buysell/aircraft');?>" method="post"> <�dt>Enabled?<�/dt> <�?php $checked = ($aircraft->enabled==1 || !$aircraft)?'checked':''; ?> <�input type="checkbox" id="enabled" name="enabled" value="1" <�?php echo $checked ?> /> <�input name="price" type="hidden" value="<�?php echo $aircraft->price; ?>" /> <�input name="cond" type="hidden" value="<�?php echo $aircraft->cond; ?>" /> <�input type="hidden" name="action" value="<�?php echo $action;?>" /> <�input name="icao" type="hidden" value="<�?php echo $aircraft->icao; ?>" /> <�input name="name" type="hidden" value="<�?php echo $aircraft->name; ?>" /> <�input name="fullname" type="hidden" value="<�?php echo $aircraft->fullname; ?>" /> <�input name="registration" type="hidden" value="<�?php echo $aircraft->registration; ?>" /> <�input name="maxcargo" type="hidden" value="<�?php echo $aircraft->maxcargo; ?>" /> <�input name="downloadlink" type="hidden" value="<�?php echo $aircraft->downloadlink; ?>" /> <�input name="imagelink" type="hidden" value="<�?php echo $aircraft->imagelink; ?>" /> <�input name="maxpax" type="hidden" value="<�?php echo $aircraft->maxpax; ?>" /> <�input name="weight" type="hidden" value="<�?php echo $aircraft->weight; ?>" /> <�input name="bought" type="hidden" value="<�?php echo $aircraft->bought; ?>" /> <�input name="range" type="hidden" value="<�?php echo $aircraft->range; ?>" /> <�input name="cruise" type="hidden" value="<�?php echo $aircraft->cruise; ?>" /> <�input name="minrank" type="hidden" value="<�?php echo $aircraft->minrank; ?>" /> <�input type="hidden" name="id" value="<�?php echo $aircraft->id;?>" /> <�input type="submit" name="submit" value="Enable" /><�/td> <�/form> <�br> <�?php // Sell Function is here ?> <�?php if ($aircraft->bought ==1) { ?> <�br> <�form action="<�?php echo adminurl('/Buysell/aircraft');?>" method="post"> <�input name="price" type="hidden" value="0" /> <�input name="cond" type="hidden" value="0" /> <�input type="hidden" name="action" value="<�?php echo $action;?>" /> <�input name="icao" type="hidden" value="<�?php echo $aircraft->icao; ?>" /> <�input name="name" type="hidden" value="<�?php echo $aircraft->name; ?>" /> <�input name="fullname" type="hidden" value="<�?php echo $aircraft->fullname; ?>" /> <�input name="registration" type="hidden" value="<�?php echo $aircraft->registration; ?>" /> <�input name="maxcargo" type="hidden" value="<�?php echo $aircraft->maxcargo; ?>" /> <�input name="downloadlink" type="hidden" value="<�?php echo $aircraft->downloadlink; ?>" /> <�input name="imagelink" type="hidden" value="<�?php echo $aircraft->imagelink; ?>" /> <�input name="maxpax" type="hidden" value="<�?php echo $aircraft->maxpax; ?>" /> <�input name="weight" type="hidden" value="<�?php echo $aircraft->weight; ?>" /> <�input name="bought" type="hidden" value="0" /> <�input name="range" type="hidden" value="<�?php echo $aircraft->range; ?>" /> <�input name="cruise" type="hidden" value="<�?php echo $aircraft->cruise; ?>" /> <�input name="minrank" type="hidden" value="<�?php echo $aircraft->minrank; ?>" /> <�input type="hidden" name="id" value="<�?php echo $aircraft->id;?>" /> <�?php $checked = ($aircraft->enabled==1 || !$aircraft)?'CHECKED':''; ?> <�input type="hidden" id="enabled" name="enabled" value="0" /> <�input type="submit" name="submit" value="Sell" /><�/td> <�/form> <�br> <�strong>Sellprice: <�?php echo number_format($sellprice,2,",","."); echo Config::Get('MONEY_UNIT'); ?><�/strong> <�?php } ?> <�?php // Unlease Function is here ?> <�?php if ($aircraft->bought ==2) { ?> <�br> <�form action="<�?php echo adminurl('/Buysell/aircraft');?>" method="post"> <�input name="price" type="hidden" value="0" /> <�input name="cond" type="hidden" value="0" /> <�input type="hidden" name="action" value="<�?php echo $action;?>" /> <�input name="icao" type="hidden" value="<�?php echo $aircraft->icao; ?>" /> <�input name="name" type="hidden" value="<�?php echo $aircraft->name; ?>" /> <�input name="fullname" type="hidden" value="<�?php echo $aircraft->fullname; ?>" /> <�input name="registration" type="hidden" value="<�?php echo $aircraft->registration; ?>" /> <�input name="maxcargo" type="hidden" value="<�?php echo $aircraft->maxcargo; ?>" /> <�input name="downloadlink" type="hidden" value="<�?php echo $aircraft->downloadlink; ?>" /> <�input name="imagelink" type="hidden" value="<�?php echo $aircraft->imagelink; ?>" /> <�input name="maxpax" type="hidden" value="<�?php echo $aircraft->maxpax; ?>" /> <�input name="weight" type="hidden" value="<�?php echo $aircraft->weight; ?>" /> <�input name="bought" type="hidden" value="0" /> <�input name="range" type="hidden" value="<�?php echo $aircraft->range; ?>" /> <�input name="cruise" type="hidden" value="<�?php echo $aircraft->cruise; ?>" /> <�input name="minrank" type="hidden" value="<�?php echo $aircraft->minrank; ?>" /> <�input type="hidden" name="id" value="<�?php echo $aircraft->id;?>" /> <�?php $checked = ($aircraft->enabled==1 || !$aircraft)?'CHECKED':''; ?> <�input type="hidden" id="enabled" name="enabled" value="0" /> <�input type="submit" name="submit" value="Unlease" /><�/td> <�/form> <�br> <�?php } ?> <�br> <�br> <�?php if($aircraft->cond <�=99) { ?> <�button class="{button:{icons:{primary:'ui-icon-wrench'}}}" onclick="window.location='<�?php echo adminurl('/Buysell/repairaircraft?id='.$aircraft->id);?>';">Repair<�/button> <�?php } else {echo "Full repaired";} ?> <�br> <�br> <�br> <�br> <�button class="{button:{icons:{primary:'ui-icon-wrench'}}}" onclick="window.location='<�?php echo adminurl('/Buysell/aircraft');?>';">==>Back<�==<�/button> <�?php } ?> <�/body> i have try the option with text no working I need help
  21. Good Evening. A little Question. I have found on a Websit a script? module? who show up the actually Departures and Arrival Picture Attached How can make anybody a module? or where can i get a code of this
  22. Hello I have a Problem.Currently on my Testpage for our new Site. But i have a Problem with the schedules Detail Page http://testumgebung.lausitz-aircargo.de/index.php/schedules/details/66 My complete Menue is under the Map. I will show it on my right side..... Where can i figure it <h3>Schedule Details</h3> <div class="indent"> <strong>Flight Number: </strong> <?php echo $schedule->code.$schedule->flightnum ?><br /> <strong>Departure: </strong><?php echo $schedule->depname ?> (<?php echo $schedule->depicao ?>) at <?php echo $schedule->deptime ?><br /> <strong>Arrival: </strong><?php echo $schedule->arrname ?> (<?php echo $schedule->arricao ?>) at <?php echo $schedule->arrtime ?><br /> <?php if($schedule->route!='') { ?> <strong>Route: </strong><?php echo $schedule->route ?><br /> <?php }?> <br /> <strong>Weather Information</strong> <div id="<?php echo $schedule->depicao ?>" class="metar">Getting current METAR information for <?php echo $schedule->depicao ?></div> <div id="<?php echo $schedule->arricao ?>" class="metar">Getting current METAR information for <?php echo $schedule->arricao ?></div> <br /> <strong>Schedule Frequency</strong> <div align="center"> <?php /* Added in 2.0! */ $chart_width = '400'; $chart_height = '170'; /* Don't need to change anything below this here */ ?> <div align="center" style="width: 60%;"> <div align="center" id="pireps_chart"></div> </div> <script type="text/javascript" src="<?php echo fileurl('/lib/js/ofc/js/swfobject.js')?>"></script> <script type="text/javascript"> swfobject.embedSWF("<?php echo fileurl('/lib/js/ofc/open-flash-chart.swf');?>", "pireps_chart", "<?php echo $chart_width;?>", "<?php echo $chart_height;?>", "9.0.0", "expressInstall.swf", {"data-file":"<?php echo actionurl('/schedules/statsdaysdata/'.$schedule->id);?>"}); </script> <?php /* End added in 2.0 */ ?> </div> Many Thanks
  23. Hi where can i find the zip file? i dont see any file here thanks
×
×
  • Create New...