gio1961
Members-
Posts
252 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by gio1961
-
Hi guys, did someone re-use how to intervene on the ReCaptcha code of the old phpvms Version 2.1.936 version? (page contact, registration) if yes, how? thanks for a possible answer.if yes, how? thanks for a possible answer
-
I've tried your code, but there is no graph, it's empty and there is only a "loading image" my dashboard.php <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?> <h3>VA Stats:</h3> <table width="100%"> <tr> <td valign="top" width="33%" nowrap="nowrap"> <strong>Users Online: </strong><?php echo count(StatsData::UsersOnline()); ?><br /> <strong>Guests Online: </strong><?php echo count(StatsData::GuestsOnline()); ?> </td> <td valign="top" width="33%" nowrap="nowrap" > <strong>Total Pilots: </strong><?php echo StatsData::PilotCount(); ?><br /> <strong>Total Flights: </strong><?php echo StatsData::TotalFlights(); ?><br /> <strong>Total Hours Flown: </strong><?php echo StatsData::TotalHours(); ?> </td> <td valign="top" width="33%" nowrap="nowrap" > <strong>Miles Flown: </strong><?php echo StatsData::TotalMilesFlown(); ?><br /> <strong>Total Schedules: </strong><?php echo StatsData::TotalSchedules(); ?><br /> <strong>Flights Today: </strong><?php echo StatsData::TotalFlightsToday();?> </td> </tr> </table> <?php MainController::Run('Dashboard', 'CheckInstallFolder'); echo $updateinfo; ?> <h3>Pilot Reports for the Past Week</h3> <div align="center" style="width=98%"> <div id="reportcounts" align="center" width="400px" > <img src="<?php echo fileurl('/lib/images/loading.gif');?>" /><br /><br /> Loading... </div> </div> <?php if(Config::Get('VACENTRAL_ENABLED') == true && $unexported_count > 0) { ?> <h3>vaCentral Status: </h3> <p>You have <strong><?php echo $unexported_count?></strong> PIREPS waiting for export to vaCentral. <a href="<?php echo adminurl('/vacentral/sendqueuedpireps'); ?>">Click here to send them</a> </p> <?php } ?> <?php Template::Show('pilots_viewallbids.php'); ?> <div id="chart_div" style="width:400; height:300"></div> <h3 style="margin-bottom: 0px;">Latest News</h3> <div style="overflow: auto; height: 400px; border: 1px solid #f5f5f5; margin-bottom: 20px; padding: 7px; padding-top: 0px; padding-bottom: 20px;"> <?php echo $phpvms_news; ?> <p><a href="http://www.phpvms.net" target="_new">View All News</a></p> </div> </td> <?php /*if(Config::Get('VACENTRAL_ENABLED') == true) { ?> <td valign="top" valign="50%"> <h3 style="margin-bottom: 0px;">Latest vaCentral News</h3> <?php echo $vacentral_news; ?> <p><a href="http://www.vacentral.net" target="_new">View All News</a></p> </td> <?php }*/ ?> <?php /* Added in 2.0! */ $chart_width = '400'; $chart_height = '300'; /* Don't need to change anything below this here */ ?> <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <script type="text/javascript"> google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ['Day', 'Pireps'], <?php $counter=0; $total=0; $len = count($pireps); foreach($pireps as $row) { echo "['".date('j M',$row->timestamp)."',".$row->total."]"; $total=$total+$row->total; if ($counter<$len-1) { echo ","; } $counter++; } ?> ]); var options = { title: '', legend: { position: 'none' } }; var chart = new google.visualization.LineChart(document.getElementById ('reportcounts')); chart.draw(data, options); } </script>
-
Thanks very kind. Best regard
-
Also I'm using David's form, I'm having problems. Can you share here in code or privately? thank you
-
I'm using Crewcenter. However, the problem has been solved. Thank you
-
Thanks. Problem is <script> $(function () { $('input').iCheck({ checkboxClass: 'icheckbox_square-blue', radioClass: 'iradio_square-blue', increaseArea: '20%' // optional }); }); </script> To <script> $(function () { $('input').iCheck({ labelHover: false, cursor: true }); </script>
-
Hi, did you solve the problem? if so? I have the same problem too.. Greetings
-
Thank you for responding ... this is the only error that I receive
-
Hello, I installed the addon, but I have the following error and I do not know what can depend on. Parse error: syntax error, unexpected '=' in /membri/italianichevolano/core/common/TopPilots.class.php on line 27 Use the phpvms_5.5.x version of simpilot. php running on 5.4 servers thanks to a possible reply. Yours sincerely
-
http://forum.phpvms.net/topic/23966-error-kacars-connect/
-
Thank you for responding .. same problem
-
Hello i have a problem with the module: Warning: simplexml_load_file(https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=lirf&hoursBeforeNow=1) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /membri/italianichevolano/core/modules/WTHR/WTHR.php on line 13 Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=lirf&hoursBeforeNow=1" in /membri/italianichevolano/core/modules/WTHR/WTHR.php on line 13 Thanks for a possible answer ... Yours sincerely
-
Thank you for responding ...
-
Hello everyone ... Is there any addons for the calculation of points for passing the Rank (not by hours) but with the points accumulated through PIREPs. Here are some examples: http://virginvirtualgroup.co.uk/en/index.php/AllPilots http://virginvirtualgroup.co.uk/en/index.php/profile/view/VVG1953 http://virginvirtualgroup.co.uk/en/index.php/pireps/view/15919 Thanks for a possible answer Sincerely
-
http://forum.phpvms.net/topic/20692-auto-acceptreject-pirep/
-
Hello, open file frontpage_recentpilots.tpl .. try this and see if it works ... best regards <ul style="margin-top:10px; margin-left:3px;width:100%;" class="list-group"> <?php if(!$pilots) { echo '<p>No pilot!</p>'; return; } ?> <style type="text/css"> .ppp { font-size: 12px; } </style> <table> <thead> </thead> <tbody> <?php foreach($pilots as $pilot) { ?> <tr> <td align="left"><img src="<?php echo Countries::getCountryImage($pilot->location);?>" /></td> <td align="left"><span class="ppp"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid);?></span></td> <td align="left"><span class="ppp"><?php echo $pilot->firstname . ' ' . $pilot->lastname; ?></span></td> </tr> <?php } ?> </tbody> </table> </ul>
-
Hello everyone ... it is possible to access a page (eg: liveries) only pilots who have completed certain routes for download of a premium (special livery)? thanks to a possible reply.
-
Hello guys any idea how I could do to create a screenshot of the month to be displayed on a page of the site? Thanks for a possible answer. Best regards
-
Schedule Search (Airline, Aircraft, Arrival, Departure)
gio1961 replied to simpilot's topic in Simpilot Group Addons
Goodmorning everyone. No one knows how to insert the search for the type of flight? (charter, cargo, etc etc). Best regards -
Resolved
-
Happy New Year to all .. I have a problem with respect to the distances as per attached picture. the distance should not be 1852 nm, but 340.00 Nm. Solutions? Thanks for a possible answer Solved...
-
Hello everyone ... you can link on the flight number in order to open schedule briefing Thanks for a possible answer. Best regards