Jump to content

RuiMiguel

Members
  • Posts

    109
  • Joined

  • Last visited

Everything posted by RuiMiguel

  1. vérifie ça I do not know if it works but it tries to change userinfo to pilotinfo
  2. simpilot is developing this http://www.simairmanagement.net/
  3. Hello, How do when a PIREPs rejected the hours are not added to the pilot ? thanks Rui Miguel
  4. I also have the same problem in pireps_viewall.php
  5. try it add in core / app.config /* For PILOTS_ORDER_BY use p.[column_name] [ASC/DESC] */ Config::Set('PILOT_ORDER_BY', 'p.pilotid ASC');
  6. hi web541 It works but does not appear the last 30 days or the date see the picture thanks Rui Miguel
  7. Hi Vangelis, I'm trying to change the chart public profile,but it does not work you can help me? my code core/pilots public function morrisstatsdaysdata() { $data = PIREPData::getIntervalDataByDays(array('p.pilotid'=>$pilotid), 30); header("Content-type: application/json"); echo json_encode($data); } public profile <?php /* Added in 2.0! */ $chart_width = '800'; $chart_height = '250'; /* Don Not need to change anything below this here */ ?> <div align="center" style="width: 100%;"> <div id="daysdata" style="height: 175px;"></div> </div> <script type="text/javascript"> var json = (function () { var json = null; $.ajax({ 'async': false, 'global': false, 'url': "<?php echo actionurl('/pilots/morrisstatsdaysdata');?>", 'dataType': "json", 'success': function (data) { json = data; } }); return json; }) (); new Morris.Line({ // ID of the element in which to draw the chart. element: 'daysdata', // Chart data records -- each entry in this array corresponds to a point on // the chart. data: json, // The name of the data record attribute that contains x-values. xkey: 'ym', // A list of names of data record attributes that contain y-values. ykeys: ['Total'], // Labels for the ykeys -- will be displayed when you hover over the // chart. labels: ['Voos'] }); </script> thank you Rui Miguel
  8. try this http://forum.phpvms.net/topic/22014-schedule-by-last-pirep-solved/
  9. Hello phpVMS-Event-Booking-master.zip
  10. Hello, Je vous conseille de l'installer à nouveau phpvms. Rui Miguel
  11. does not work here is the code if (data[i].code == "A320"){ var pos = new google.maps.LatLng(lat, lng); flightMarkers[flightMarkers.length] = new google.maps.Marker({ position: pos, map: map, icon: url+"/lib/images/inair/"+data[i].heading+".png", flightdetails: data[i], infowindow_content: detailed_bubble }); } else if (data[i].code == "A330"){ var pos = new google.maps.LatLng(lat, lng); flightMarkers[flightMarkers.length] = new google.maps.Marker({ position: pos, map: map, icon: url+"/lib/images/inair/a330"+data[i].heading+".png", flightdetails: data[i], infowindow_content: detailed_bubble }); } thanks
  12. if (data[i].code == "SLN"){ var pos = new google.maps.LatLng(lat, lng); flightMarkers[flightMarkers.length] = new google.maps.Marker({ position: pos, map: map, icon: url+"/lib/images/inair/"+data[i].heading+".png", flightdetails: data[i], infowindow_content: detailed_bubble }); } else if (data[i].code == "SLK"){ var pos = new google.maps.LatLng(lat, lng); flightMarkers[flightMarkers.length] = new google.maps.Marker({ position: pos, map: map, icon: url+"/lib/images/inair2/"+data[i].heading+".png", flightdetails: data[i], infowindow_content: detailed_bubble }); } this is for the airline? where I change to aircraft? else if (data[i].code == "SLK") Thanks
  13. Hello, Is it possible to put a different InAir for each aircraft on LiveMap? thanks Rui Miguel
  14. change public static function to public function
  15. change your php version
  16. see this: http://forum.phpvms.net/topic/8192-solution-strict-standards-errornew-php/ or http://forum.phpvms.net/topic/23528-phpvms-installer-not-working-i-have-tried-everything/ or http://forum.phpvms.net/topic/20629-most-common-fixes-phpvms-installation/
  17. this is my problem not know how to do this Solved
  18. Hello, I try to create images with this script but this error appears <b>Warning</b>: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'rotate/0.png' for writing: No such file or directory in <b>/home/u195435286/public_html/inair2/execu.php</b> on line <b>15</b><br /> can you help me? Thanks
  19. try it http://forum.phpvms....query-conflict/
  20. mybe this <?php MainController::Run('ACARS', 'index'); ?> I do not know if it works
  21. change your php version
×
×
  • Create New...