flyalaska Posted November 17, 2017 Report Share Posted November 17, 2017 Will check it out this afternoon. Quote Link to comment Share on other sites More sharing options...
flyalaska Posted November 17, 2017 Report Share Posted November 17, 2017 That worked. Thank you! Quote Link to comment Share on other sites More sharing options...
Miggel Posted December 10, 2017 Report Share Posted December 10, 2017 I still have the problem with the unseen names Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted December 15, 2017 Author Moderators Report Share Posted December 15, 2017 On 12/10/2017 at 11:42 PM, Miggel said: I still have the problem with the unseen names Please specify the issue again. Quote Link to comment Share on other sites More sharing options...
Miggel Posted December 18, 2017 Report Share Posted December 18, 2017 On 1.12.2016 at 4:31 PM, DesComm said: Emails are not filling in the data pilotid, firstname, lastname, etc. see code below We are running simpilot 5.5.2. CODE: <?php $pilotid = $pilot->pilotid; $pirp = PManagerData::getpirep($pilotid); $pir = $pirp->submitdate; ?> <p>Dear <?php echo $pilot->firstname.' '.$pilot->lastname ;?>,</p> <p>You are required to submit one PIREP every day. Your last PIREP was sent on <?php echo $pir; ?>.</p> <p>Please be advised if you do not send a report within the next 2 days your account will be deleted.</p> <p>Sincerely</p> <p><?php echo SITE_NAME ;?> - Staff</p> Email sent: Dear , You are required to submit one PIREP every 30 days. Your last PIREP was sent on . Please be advised if you do not send a report within the next 15 days your account will be deleted. Sincerely American Flight Airways - Staff Like this Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted December 24, 2017 Author Moderators Report Share Posted December 24, 2017 On 12/18/2017 at 2:38 PM, Miggel said: Like this Would you like to give me your Admin and cpanel login info so that I can check it out for you? Quote Link to comment Share on other sites More sharing options...
stifler13371 Posted July 18, 2018 Report Share Posted July 18, 2018 don't work for me, once installed my website just goes blank and nothing but once deleted again then website works... anyone knows how to fix? Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted July 18, 2018 Moderators Report Share Posted July 18, 2018 6 minutes ago, stifler13371 said: don't work for me, once installed my website just goes blank and nothing but once deleted again then website works... anyone knows how to fix? Check the browser console and look for error(s) Quote Link to comment Share on other sites More sharing options...
Relja12 Posted July 19, 2018 Report Share Posted July 19, 2018 On 3/2/2016 at 7:05 PM, Longhaul444 said: No it is not version 4.0. This is what myphp admin version is through my host provider: Version information: 4.3.8, latest stable version: 4.5.5.1 That 4.0 version is what was on the file from your add-on: -- phpMyAdmin SQL Dump -- version 4.0.10.7 -- http://www.phpmyadmin.net -- -- Host: localhost:3306 -- Generation Time: Dec 20, 2015 at 09:21 PM -- Server version: 5.5.45-cll-lve -- PHP Version: 5.4.31 I am using php v5.4. This is copied directly from your sql file after extracting it before it is uploaded into the server. But I have it working with the corrections I made to the file, so it's a moot point now. I have same problem, but not sure what to do... any help? Quote Link to comment Share on other sites More sharing options...
gio1961 Posted June 2, 2019 Report Share Posted June 2, 2019 (edited) Resolve Edited June 3, 2019 by gio1961 Quote Link to comment Share on other sites More sharing options...
gio1961 Posted June 29, 2019 Report Share Posted June 29, 2019 (edited) Hi guys, how can I change the code below. I have to display the days that are missing for pilots who have not made any flights since the registration date. Thank you (Date Joined) <td><?php echo date("d-m-Y", $jtme) ;?></td> This is the code <?php $totaldays = Config::Get('PILOT_INACTIVE_TIME'); { ?> <?php if ($pilot->lastpirep == '0000-00-00 00:00:00') { echo '<image src="/en/admin/lib/images/Warning.png">'; } else { $datebefore1 = substr($pilot->lastpirep, 0, 10); $datetoday2 = date("Y-m-d"); $datebefore3 = strtotime($datebefore1); $datetoday4 = strtotime($datetoday2); $newdate = $datetoday4-$datebefore3; $lastpirep = floor($newdate/(60*60*24)); $daysleft = $totaldays-$lastpirep; echo ''; if ($lastpirep == 0) { echo ''; } else if ($lastpirep == 1) { echo ''; } else { echo ''; } echo '<font color="#eb0f48">'; if ($daysleft <= 0) { echo '<image src="/en/admin/lib/images/OFF.png"><br>Pilot in pension'; } else { echo $daysleft . '</font> days left to be marked as a retired pilot.'; } } ?> <?php } Edited June 29, 2019 by gio1961 Quote Link to comment Share on other sites More sharing options...
Virtualei Posted October 28, 2020 Report Share Posted October 28, 2020 Hi, just installed this module but my ADMIN dahboard seems to have lost its structure. Can anyone help please https://prnt.sc/v8u4is Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.