Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. The data is returned as an array: http://us.php.net/manual/en/language.types.array.php You need to use a loop like this: http://us.php.net/manual/en/control-structures.foreach.php simpilot put an example up there of exactly how it would work.
  2. Well, those are the two levels, with the settings: Config::Set('DISABLE_SCHED_ON_BID', true); Config::Set('DISABLE_BIDS_ON_BID', false); The first one, will remove a schedule, if there's a bid on it The second won't allow any bids on a schedule if a bit is on it. Those are the default settings. But, I've added a screen in the admin panel which lists the current bids, and the ability to remove them. That's up there now with this beta
  3. I've fixed this now, thanks! Interesting. I don't understand this one, but it sounds really nuanced. Per airport fees sound good. Right now, you can EDIT a PIREP and add any specific expenses (for landing fee, pirep). But I could perhaps do flat per-airport fees.
  4. Nabeel

    Briefings

    Has been added for the next version
  5. Rev 777 - Added bids page in admin panel, finance fixes, ACARS image fixes23 October 2009, 11:48 amRev 777 - nabeel (370 file(s) modified)Added bids page in admin panel, finance fixes, ACARS image fixes~ /trunk/admin/modules/PilotAdmin/PilotAdmin.php~ /trunk/admin/modules/PIREPAdmin/PIREPAdmin.php~ /trunk/admin/templates/core_navigation.tpl~ /trunk/core/common/Auth.class.php~ /trunk/core/common/PIREPData.class.php~ /trunk/core/common/SchedulesData.class.php~ /trunk/core/logs/log.txt~ /trunk/core/modules/Login/Login.php~ /trunk/install/install.sql~ /trunk/install/update.php~ /trunk/install/update.sql~ /trunk/lib/images/inair/1.png~ /trunk/lib/images/inair/2.png~ /trunk/lib/images/inair/3.png~ /trunk/lib/images/inair/4.png~ /trunk/lib/images/inair/5.png~ /trunk/lib/images/inair/6.png~ /trunk/lib/images/inair/7.png~ /trunk/lib/images/inair/8.png~ /trunk/lib/images/inair/9.png~ /trunk/lib/images/inair/10.png~ /trunk/lib/images/inair/11.png~ /trunk/lib/images/inair/12.png~ /trunk/lib/images/inair/13.png~ /trunk/lib/images/inair/14.png~ /trunk/lib/images/inair/15.png~ /trunk/lib/images/inair/16.png~ /trunk/lib/images/inair/17.png~ /trunk/lib/images/inair/18.png~ /trunk/lib/images/inair/19.png~ /trunk/lib/images/inair/20.png~ /trunk/lib/images/inair/21.png~ /trunk/lib/images/inair/22.png~ /trunk/lib/images/inair/23.png~ /trunk/lib/images/inair/24.png~ /trunk/lib/images/inair/25.png~ /trunk/lib/images/inair/26.png~ /trunk/lib/images/inair/27.png~ /trunk/lib/images/inair/28.png~ /trunk/lib/images/inair/29.png~ /trunk/lib/images/inair/30.png~ /trunk/lib/images/inair/31.png~ /trunk/lib/images/inair/32.png~ /trunk/lib/images/inair/33.png~ /trunk/lib/images/inair/34.png~ /trunk/lib/images/inair/35.png~ /trunk/lib/images/inair/36.png~ /trunk/lib/images/inair/37.png~ /trunk/lib/images/inair/38.png~ /trunk/lib/images/inair/39.png~ /trunk/lib/images/inair/40.png~ /trunk/lib/images/inair/41.png~ /trunk/lib/images/inair/42.png~ /trunk/lib/images/inair/43.png~ /trunk/lib/images/inair/44.png~ /trunk/lib/images/inair/45.png~ /trunk/lib/images/inair/46.png~ /trunk/lib/images/inair/47.png~ /trunk/lib/images/inair/48.png~ /trunk/lib/images/inair/49.png~ /trunk/lib/images/inair/50.png~ /trunk/lib/images/inair/51.png~ /trunk/lib/images/inair/52.png~ /trunk/lib/images/inair/53.png~ /trunk/lib/images/inair/54.png~ /trunk/lib/images/inair/55.png~ /trunk/lib/images/inair/56.png~ /trunk/lib/images/inair/57.png~ /trunk/lib/images/inair/58.png~ /trunk/lib/images/inair/59.png~ /trunk/lib/images/inair/60.png~ /trunk/lib/images/inair/61.png~ /trunk/lib/images/inair/62.png~ /trunk/lib/images/inair/63.png~ /trunk/lib/images/inair/64.png~ /trunk/lib/images/inair/65.png~ /trunk/lib/images/inair/66.png~ /trunk/lib/images/inair/67.png~ /trunk/lib/images/inair/68.png~ /trunk/lib/images/inair/69.png~ /trunk/lib/images/inair/70.png~ /trunk/lib/images/inair/71.png~ /trunk/lib/images/inair/72.png~ /trunk/lib/images/inair/73.png~ /trunk/lib/images/inair/74.png~ /trunk/lib/images/inair/75.png~ /trunk/lib/images/inair/76.png~ /trunk/lib/images/inair/77.png~ /trunk/lib/images/inair/78.png~ /trunk/lib/images/inair/79.png~ /trunk/lib/images/inair/80.png~ /trunk/lib/images/inair/81.png~ /trunk/lib/images/inair/82.png~ /trunk/lib/images/inair/83.png~ /trunk/lib/images/inair/84.png~ /trunk/lib/images/inair/85.png~ /trunk/lib/images/inair/86.png~ /trunk/lib/images/inair/87.png~ /trunk/lib/images/inair/88.png~ /trunk/lib/images/inair/89.png~ /trunk/lib/images/inair/90.png~ /trunk/lib/images/inair/91.png~ /trunk/lib/images/inair/92.png~ /trunk/lib/images/inair/93.png~ /trunk/lib/images/inair/94.png~ /trunk/lib/images/inair/95.png~ /trunk/lib/images/inair/96.png~ /trunk/lib/images/inair/97.png~ /trunk/lib/images/inair/98.png~ /trunk/lib/images/inair/99.png~ /trunk/lib/images/inair/100.png~ /trunk/lib/images/inair/101.png~ /trunk/lib/images/inair/102.png~ /trunk/lib/images/inair/103.png~ /trunk/lib/images/inair/104.png~ /trunk/lib/images/inair/105.png~ /trunk/lib/images/inair/106.png~ /trunk/lib/images/inair/107.png~ /trunk/lib/images/inair/108.png~ /trunk/lib/images/inair/109.png~ /trunk/lib/images/inair/110.png~ /trunk/lib/images/inair/111.png~ /trunk/lib/images/inair/112.png~ /trunk/lib/images/inair/113.png~ /trunk/lib/images/inair/114.png~ /trunk/lib/images/inair/115.png~ /trunk/lib/images/inair/116.png~ /trunk/lib/images/inair/117.png~ /trunk/lib/images/inair/118.png~ /trunk/lib/images/inair/119.png~ /trunk/lib/images/inair/120.png~ /trunk/lib/images/inair/121.png~ /trunk/lib/images/inair/122.png~ /trunk/lib/images/inair/123.png~ /trunk/lib/images/inair/124.png~ /trunk/lib/images/inair/125.png~ /trunk/lib/images/inair/126.png~ /trunk/lib/images/inair/127.png~ /trunk/lib/images/inair/128.png~ /trunk/lib/images/inair/129.png~ /trunk/lib/images/inair/130.png~ /trunk/lib/images/inair/131.png~ /trunk/lib/images/inair/132.png~ /trunk/lib/images/inair/133.png~ /trunk/lib/images/inair/134.png~ /trunk/lib/images/inair/135.png~ /trunk/lib/images/inair/136.png~ /trunk/lib/images/inair/137.png~ /trunk/lib/images/inair/138.png~ /trunk/lib/images/inair/139.png~ /trunk/lib/images/inair/140.png~ /trunk/lib/images/inair/141.png~ /trunk/lib/images/inair/142.png~ /trunk/lib/images/inair/143.png~ /trunk/lib/images/inair/144.png~ /trunk/lib/images/inair/145.png~ /trunk/lib/images/inair/146.png~ /trunk/lib/images/inair/147.png~ /trunk/lib/images/inair/148.png~ /trunk/lib/images/inair/149.png~ /trunk/lib/images/inair/150.png~ /trunk/lib/images/inair/151.png~ /trunk/lib/images/inair/152.png~ /trunk/lib/images/inair/153.png~ /trunk/lib/images/inair/154.png~ /trunk/lib/images/inair/155.png~ /trunk/lib/images/inair/156.png~ /trunk/lib/images/inair/157.png~ /trunk/lib/images/inair/158.png~ /trunk/lib/images/inair/159.png~ /trunk/lib/images/inair/160.png~ /trunk/lib/images/inair/161.png~ /trunk/lib/images/inair/162.png~ /trunk/lib/images/inair/163.png~ /trunk/lib/images/inair/164.png~ /trunk/lib/images/inair/165.png~ /trunk/lib/images/inair/166.png~ /trunk/lib/images/inair/167.png~ /trunk/lib/images/inair/168.png~ /trunk/lib/images/inair/169.png~ /trunk/lib/images/inair/170.png~ /trunk/lib/images/inair/171.png~ /trunk/lib/images/inair/172.png~ /trunk/lib/images/inair/173.png~ /trunk/lib/images/inair/174.png~ /trunk/lib/images/inair/175.png~ /trunk/lib/images/inair/176.png~ /trunk/lib/images/inair/177.png~ /trunk/lib/images/inair/178.png~ /trunk/lib/images/inair/179.png~ /trunk/lib/images/inair/180.png~ /trunk/lib/images/inair/181.png~ /trunk/lib/images/inair/182.png~ /trunk/lib/images/inair/183.png~ /trunk/lib/images/inair/184.png~ /trunk/lib/images/inair/185.png~ /trunk/lib/images/inair/186.png~ /trunk/lib/images/inair/187.png~ /trunk/lib/images/inair/188.png~ /trunk/lib/images/inair/189.png~ /trunk/lib/images/inair/190.png~ /trunk/lib/images/inair/191.png~ /trunk/lib/images/inair/192.png~ /trunk/lib/images/inair/193.png~ /trunk/lib/images/inair/194.png~ /trunk/lib/images/inair/195.png~ /trunk/lib/images/inair/196.png~ /trunk/lib/images/inair/197.png~ /trunk/lib/images/inair/198.png~ /trunk/lib/images/inair/199.png~ /trunk/lib/images/inair/200.png~ /trunk/lib/images/inair/201.png~ /trunk/lib/images/inair/202.png~ /trunk/lib/images/inair/203.png~ /trunk/lib/images/inair/204.png~ /trunk/lib/images/inair/205.png~ /trunk/lib/images/inair/206.png~ /trunk/lib/images/inair/207.png~ /trunk/lib/images/inair/208.png~ /trunk/lib/images/inair/209.png~ /trunk/lib/images/inair/210.png~ /trunk/lib/images/inair/211.png~ /trunk/lib/images/inair/212.png~ /trunk/lib/images/inair/213.png~ /trunk/lib/images/inair/214.png~ /trunk/lib/images/inair/215.png~ /trunk/lib/images/inair/216.png~ /trunk/lib/images/inair/217.png~ /trunk/lib/images/inair/218.png~ /trunk/lib/images/inair/219.png~ /trunk/lib/images/inair/220.png~ /trunk/lib/images/inair/221.png~ /trunk/lib/images/inair/222.png~ /trunk/lib/images/inair/223.png~ /trunk/lib/images/inair/224.png~ /trunk/lib/images/inair/225.png~ /trunk/lib/images/inair/226.png~ /trunk/lib/images/inair/227.png~ /trunk/lib/images/inair/228.png~ /trunk/lib/images/inair/229.png~ /trunk/lib/images/inair/230.png~ /trunk/lib/images/inair/231.png~ /trunk/lib/images/inair/232.png~ /trunk/lib/images/inair/233.png~ /trunk/lib/images/inair/234.png~ /trunk/lib/images/inair/235.png~ /trunk/lib/images/inair/236.png~ /trunk/lib/images/inair/237.png~ /trunk/lib/images/inair/238.png~ /trunk/lib/images/inair/239.png~ /trunk/lib/images/inair/240.png~ /trunk/lib/images/inair/241.png~ /trunk/lib/images/inair/242.png~ /trunk/lib/images/inair/243.png~ /trunk/lib/images/inair/244.png~ /trunk/lib/images/inair/245.png~ /trunk/lib/images/inair/246.png~ /trunk/lib/images/inair/247.png~ /trunk/lib/images/inair/248.png~ /trunk/lib/images/inair/249.png~ /trunk/lib/images/inair/250.png~ /trunk/lib/images/inair/251.png~ /trunk/lib/images/inair/252.png~ /trunk/lib/images/inair/253.png~ /trunk/lib/images/inair/254.png~ /trunk/lib/images/inair/255.png~ /trunk/lib/images/inair/256.png~ /trunk/lib/images/inair/257.png~ /trunk/lib/images/inair/258.png~ /trunk/lib/images/inair/259.png~ /trunk/lib/images/inair/260.png~ /trunk/lib/images/inair/261.png~ /trunk/lib/images/inair/262.png~ /trunk/lib/images/inair/263.png~ /trunk/lib/images/inair/264.png~ /trunk/lib/images/inair/265.png~ /trunk/lib/images/inair/266.png~ /trunk/lib/images/inair/267.png~ /trunk/lib/images/inair/268.png~ /trunk/lib/images/inair/269.png~ /trunk/lib/images/inair/270.png~ /trunk/lib/images/inair/271.png~ /trunk/lib/images/inair/272.png~ /trunk/lib/images/inair/273.png~ /trunk/lib/images/inair/274.png~ /trunk/lib/images/inair/275.png~ /trunk/lib/images/inair/276.png~ /trunk/lib/images/inair/277.png~ /trunk/lib/images/inair/278.png~ /trunk/lib/images/inair/279.png~ /trunk/lib/images/inair/280.png~ /trunk/lib/images/inair/281.png~ /trunk/lib/images/inair/282.png~ /trunk/lib/images/inair/283.png~ /trunk/lib/images/inair/284.png~ /trunk/lib/images/inair/285.png~ /trunk/lib/images/inair/286.png~ /trunk/lib/images/inair/287.png~ /trunk/lib/images/inair/288.png~ /trunk/lib/images/inair/289.png~ /trunk/lib/images/inair/290.png~ /trunk/lib/images/inair/291.png~ /trunk/lib/images/inair/292.png~ /trunk/lib/images/inair/293.png~ /trunk/lib/images/inair/294.png~ /trunk/lib/images/inair/295.png~ /trunk/lib/images/inair/296.png~ /trunk/lib/images/inair/297.png~ /trunk/lib/images/inair/298.png~ /trunk/lib/images/inair/299.png~ /trunk/lib/images/inair/300.png~ /trunk/lib/images/inair/301.png~ /trunk/lib/images/inair/302.png~ /trunk/lib/images/inair/303.png~ /trunk/lib/images/inair/304.png~ /trunk/lib/images/inair/305.png~ /trunk/lib/images/inair/306.png~ /trunk/lib/images/inair/307.png~ /trunk/lib/images/inair/308.png~ /trunk/lib/images/inair/309.png~ /trunk/lib/images/inair/310.png~ /trunk/lib/images/inair/311.png~ /trunk/lib/images/inair/312.png~ /trunk/lib/images/inair/313.png~ /trunk/lib/images/inair/314.png~ /trunk/lib/images/inair/315.png~ /trunk/lib/images/inair/316.png~ /trunk/lib/images/inair/317.png~ /trunk/lib/images/inair/318.png~ /trunk/lib/images/inair/319.png~ /trunk/lib/images/inair/320.png~ /trunk/lib/images/inair/321.png~ /trunk/lib/images/inair/322.png~ /trunk/lib/images/inair/323.png~ /trunk/lib/images/inair/324.png~ /trunk/lib/images/inair/325.png~ /trunk/lib/images/inair/326.png~ /trunk/lib/images/inair/327.png~ /trunk/lib/images/inair/328.png~ /trunk/lib/images/inair/329.png~ /trunk/lib/images/inair/330.png~ /trunk/lib/images/inair/331.png~ /trunk/lib/images/inair/332.png~ /trunk/lib/images/inair/333.png~ /trunk/lib/images/inair/334.png~ /trunk/lib/images/inair/335.png~ /trunk/lib/images/inair/336.png~ /trunk/lib/images/inair/337.png~ /trunk/lib/images/inair/338.png~ /trunk/lib/images/inair/339.png~ /trunk/lib/images/inair/340.png~ /trunk/lib/images/inair/341.png~ /trunk/lib/images/inair/342.png~ /trunk/lib/images/inair/343.png~ /trunk/lib/images/inair/344.png~ /trunk/lib/images/inair/345.png~ /trunk/lib/images/inair/346.png~ /trunk/lib/images/inair/347.png~ /trunk/lib/images/inair/348.png~ /trunk/lib/images/inair/349.png~ /trunk/lib/images/inair/350.png~ /trunk/lib/images/inair/351.png~ /trunk/lib/images/inair/352.png~ /trunk/lib/images/inair/353.png~ /trunk/lib/images/inair/354.png~ /trunk/lib/images/inair/355.png~ /trunk/lib/images/inair/356.png~ /trunk/lib/images/inair/357.png~ /trunk/lib/images/inair/358.png~ /trunk/lib/images/inair/359.pngSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  6. You can disable that option for now to skip the schedule if it's not there
  7. Hey, welcome There isn't a way to "combine" the two automatically. In fact, as of the next version, that second PIREP, if it has the same flight number, won't be accepted (I check against duplicates). FSPax doesn't send an aircraft (type or registration), so I have to leave that field open, and it has to be filled in later on. What you could do, is take your FSPax log (manually), and add it as a comment to the PIREP. Or pick one ACARS and stick with that one.
  8. This topic has been moved to Support Forum. [iurl]http://forum.phpvms.net/index.php?topic=1328.0[/iurl]
  9. Sure, I can add a page for this.
  10. Can you manually remove the UNIQUE index in phpmyadmin, and when you do that, it shows the query it used on top of the page, can you paste that in so I can include it in the updater? Thanks
  11. I can parse the end flight message, I've been meaning to do that, hopefully this weekend
  12. The cutoff time is in minutes. If you don't enter a time, it takes the default you entered in the local.config.php In addition, you can just do: $data = ACARSData::GetACARSData(720); No need to include the variable with it
  13. Nabeel

    RSS?

    When you log into the admin panel, there are two RSS feeds there included, once for latest pilots and another for PIREPS
  14. No need for shuttin up! Haha FSACARS is really finicky. Since you're using the beta, try using xacars (www.xacars.net), you might have better results. But there's no detailed log, like with FSACARS. I will try to debug FSACARS this weekend and see what's going on.
  15. Oh ok, well, in your local.config.php, set DEBUG_MODE to true and ACARS_DEBUG also to true, and then do a flight and send me the /core/logs/log.txt and acars.txt. Make sure both have write permissions (777)
  16. Then no worries. I've fixed that error (see, helping )
  17. Which version of phpVMS are you on now? The UNIQUE was removed long ago.
  18. Cake is awesome. vaCentral is all on Cake, and in hindsight, I should have done phpVMS on Cake. Well, there's always the next project But I've brought on alot of the cake conventions in this next phpVMS update, esp the controller styles Custom acars? You could just create a plugin in phpVMS for that and use the ACARSData::UpdateFlight() functionality
  19. Rev 776 - vaCentral updates, added url() function, cleaned up front-end templates to use it22 October 2009, 12:18 pmRev 776 - nabeel (31 file(s) modified)vaCentral updates, added url() function, cleaned up front-end templates to use it~ /trunk/admin/modules/Maintenance/Maintenance.php~ /trunk/core/app.config.php~ /trunk/core/bootstrap.inc.php~ /trunk/core/classes/TemplateSet.class.php~ /trunk/core/common/CentralData.class.php~ /trunk/core/modules/Login/Login.php~ /trunk/core/templates/acarsmap.tpl~ /trunk/core/templates/contact_form.tpl~ /trunk/core/templates/core_htmlhead.tpl~ /trunk/core/templates/core_navigation.tpl~ /trunk/core/templates/downloads_list.tpl~ /trunk/core/templates/finance_header.tpl~ /trunk/core/templates/frontpage_recentpilots.tpl~ /trunk/core/templates/frontpage_reports.tpl~ /trunk/core/templates/login_forgotpassword.tpl~ /trunk/core/templates/login_form.tpl~ /trunk/core/templates/pages_items.tpl~ /trunk/core/templates/pilots_list.tpl~ /trunk/core/templates/pireps_viewall.tpl~ /trunk/core/templates/pirep_new.tpl~ /trunk/core/templates/profile_changepassword.tpl~ /trunk/core/templates/profile_edit.tpl~ /trunk/core/templates/profile_main.tpl~ /trunk/core/templates/registration_javascript.tpl~ /trunk/core/templates/registration_mainform.tpl~ /trunk/core/templates/reqlogin.tpl~ /trunk/core/templates/schedule_bids.tpl~ /trunk/core/templates/schedule_boarding_pass.tpl~ /trunk/core/templates/schedule_results.tpl~ /trunk/core/templates/schedule_searchform.tpl~ /trunk/lib/skins/crystal/header.tplSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  20. Great, thanks. If it doesn't, you'll have to remove a UNIQUE key from the database. If you have to do that, let me know, because I'll need the SQL query it generates to do that to include in my update script.
  21. Looks good. You're missing the "powered by phpvms" link somewhere on the page though
  22. Nabeel

    Briefings

    So you'll do something like: <?php $data2 = OperationsData::GetAirportInfo($schedule->depicao); echo '<img src="'.$data2->charts.'" />'; ?>
×
×
  • Create New...