Jump to content

Nabeel

Administrators
  • Posts

    8141
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by Nabeel

  1. for other pages, you can include the /core/codon.config.php, and then use:

    if(!Auth::LoggedIn())  { die('You are not logged in'); } // they are not logged in

    You can also place that in your local.config.php, at the bottom before the ?>. That should do the trick.Sorry for the late reply! Just started new job, been a little hectic.

  2. Interesting, I tested on a windows server for a while. I don't see it up yet, but I'll keep checking it to see if I can spot the error. If you do see it, if you can copy/paste the whole thing here that'd be great.ThanksNabeel

  3. I think you do need execute permissions since the scripts are executed. Might as well try 775.Also, try turning on error reporting in your server/php.ini file (display_errors=on), as well has error_reporting=E_ALL.Blank page usually indicates some sort of parse error.

  4. They don't all look the same. It's a default template. You have to change the template. Check out some of these:http://www.flyeurobelgian.com/http://ceruleanairlines.com/A few more also in the works that look really nice.The way it looks is upto you, and the amount of effort you put in. Any software you run will have default templates, look at wordpress, phpbb, etc, just like with any of those you need to put in the time to customize it, and the way phpVMS works is the same as those, in terms of templating. If you wanna have a good VA, that's what you gotta do.Each page has its own templates, and there is a master header/footer which you customize. Customizing the page templates is also very easy, and you don't touch any PHP.

  5. What are the error?First the table headers should be out of the loop:

    <center><h2>Recent Arrivals</h2><?phpif(!$reports){echo 'No reports have been filed';return;}echo "<table border="0.2" width="60%"><tr><td align="center"><b>Fl. Number</b></td><td align="center"><b>Pilot Name</b></td><td align="center"><b>From</b></td><td align="center"><b>To</b></td><td align="center"><b>Aircraft</b></td><td align="center"><b>Status</b></td></tr>";foreach($reports as $report){echo "<tr><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->code $report->flightnum </td><td bgcolor=#EBEEEF width=10% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->firstname $report->lastname</td><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->depicao</td><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->arricao</td><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->aircraft</td><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>Landed</td></tr>";}echo '</table>';?></center>

  6. Or, instead of creating schedules, you can manually edit the pilot's hours after they tell you. But schedules would be the best way.You can't really delete schedules (I think, I'll have to check) because the PIREPs are tied to them. I'm reorganizing a few of these things, so it may be possible again. The first time around I may have made things a little too strict in terms of that way.

  7. ::chuckles:: quite easily you say.. ::chuckles:: The sad admittion is that even my hello world programs have all failed.. how sorry is that eh?? But at least now i know that it is possible :)
    LOL no problem, it's what happens when I'm too close to my code... "oh you can do that...".But if you want to tackle it, I will help! No worries there. Nothing can get in the way of a man with a plan.
  8. Well you can create such a module - You list the flights, they select the flight, and then place a bid. That flight is placed on a "bid board", where another pilot can bid on it. The pilot who wins it, can have the PIREP prefiled with PIREP_INPROGRESS flag, or it can be added as a bid to the existing bidding functionality. Then when it's been flown, they can file it.But yes, a module to do such a thing is possible, quite easily icon_e_smile.gif

×
×
  • Create New...