Jump to content

kevin7898

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by kevin7898

  1. i am wondering how to make it so the page detects the users screen size and automatically adjusts itself to its size, i personally use a 21 inch widescreen dell monitor. and would be cool to se the entire page without a lot of black border

  2. http://bugs.phpvms.net/browse/VMS-285

    Edit: The problem is the PHP date function says Sunday is 0. You can set in Excel that column as a string so it won't chop off the zero. Or in the schedule_results.tpl, you can do:

    Find this:

    if(strpos($route->daysofweek, date('w')) === false)
    	continue;
    

    Right above that, add:

    /*	Check if a 7 is being used for Sunday, since PHP
    	thinks 0 is Sunday */
    $route->daysofweek = str_replace('7', '0', $route->daysofweek);
    

    I've updated the default template to handle this

    ive solved it, i found a new web host, i was using 000webhost.com before, and now it works, now to see if the flight shows up on the live map

  3. I found the problem nabeel, when i edited the csv file, the days of the week i thought it was 1234567, but it is 0123456, the 0 does not work as it automatically disappears when you put it in front, maybe if it was changed to 1234567 it would work. I have my schedules fixed now.

    Cheers

    Dan C

    where was this csv file?

  4. all of the schedules that i added were in the database and i made sure i was qualified to use the aircraft and i also made sure that all of the days to fly were checked

    i did all of the debugging steps and it came up with no errors

    and when i gao into xacars if i know the flight number it will pull all of the required info

  5. is there any way i could make it so that instead of have to add each flight route individually i could have a list that the pilot selects from when he/she files a flight report. (i don't intend on using fsacars or anything like that)

×
×
  • Create New...