Jump to content

joshua.john

Members
  • Posts

    37
  • Joined

  • Last visited

Posts posted by joshua.john

  1. phpVMS Build Number:  934
    
    Checking PHP version
    [OK] PHP version is 5.2.9.x
    
    ASP Tags
    [OK] ASP-style tags are disabled
    
    Checking connectivity...
    [OK] Can contact outside servers
    
    Checking for SimpleXML module...
    [OK] SimpleXML module exists!
    
    Checking file hashes for corrupt or mismatched files
    [Checksum failed] /core/templates/finance_summarysheet.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/registration_sentconfirmation.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/schedule_briefing.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/login_rejected.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/core_navigation.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/finance_balancesheet.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/pilots_list.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/registration_error.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/email_registered.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/modules/kACARS_Free/kACARS_Free.php did not match, possibly corrupt or out of date
    [Error] ../core/modules/ACARS/xacars.php doesn't exist
    
    -- Checked 183 files, found 11 errors

  2. its the same in IE as well they don't show up. Like i said haven't a clue about stuff like this so any ideas?

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)

    Timestamp: Mon, 9 Aug 2010 18:58:44 UTC

    Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)

    Line: 0

    Char: 0

    Code: 0

    URI: http://www.virginatlanticva.co.uk/admin/index.php/pilotadmin/viewpilots

    Message: Syntax error

    Line: 12

    Char: 218

    Code: 0

    URI: http://www.virginatlanticva.co.uk/lib/js/jqgrid/js/jquery.jqGrid.min.js

  3. Yes two errors:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)

    Timestamp: Mon, 9 Aug 2010 18:52:55 UTC

    Message: Expected identifier

    Line: 88

    Char: 5

    Code: 0

    URI: http://www.virginatlanticva.co.uk/lib/js/phpvms.js

    Message: Object doesn't support this property or method

    Line: 95

    Char: 3

    Code: 0

    URI: http://www.virginatlanticva.co.uk/lib/js/acarsmap.js

  4. Hey having a bit of a problem. We have only completed 34 flights yet its saying 84 PIREPS. I think this is because one of my staff click "Send PIREPS" button in the phpVMS admin and it had already been done once. Is there anyway to get the PIREPS back down to 34?

    Thanks

  5. Here is what I used for the passenger flight reference:

    <tr style="background-color: #333; color: #FFF;">

    <td>Required Fuel</td>

    <td>Type of Flight</td>

    </tr>

    <tr>

    <td width="50%" >

    <?php Template::Show('fuel.tpl'); ?>

    </td>

    <td width="50%" ><?php if($schedule->flighttype=='P')

    {

    echo 'Passenger <b>(P)</b>';

    }

    ?>

    </td>

    I assume you could just add "elseif" statements for Charter or Cargo, or whatever.

    Thank you for posting that, i finally got it too work!!!!!!!! :D

  6. Nope neither work when i put this

    <td width="50%" >

    <?php include ('fuel.tpl'); ?>

    </td>

    <td width="50%" >

    <?php

    if($schedule->flighttype=='P')

    a error comes cant remember what it said but it stops you getting on the schedule briefing and the Template::Show('fuel.tpl') just comes up as

    Template::Show('fuel.tpl') in the required fuel bit.

  7. Uncheck the 'public' button, it'll only show when logged in.

    Otherwise, do a search, there's a few ways

    Or you can delet this code from

    core_navigarion.tpl

    <?php echo $MODULE_NAV_INC;?>

    Thanks guys

  8. OK so at the top of the pilots.tpl you have this,

    That will sort our your footer when you dont have a pilot listed at a hub

    Me again! :) Did that but still not working is this right?

    <div class="mcright">
    
    <h3><?php echo $title?></h3>
    
    <?php
    
      if(!$allpilots)
    
      {
    
         echo 'There are no pilots!</div>';
    
         return;
    
      }
    
    ?>
    <table id="tabledlist" class="tablesorter">
    <thead>
    <tr>
    <th>Pilot ID</th>
    <th>Name</th>
    <th>Rank</th>
    <th>Flights</th>
    <th>Hours</th>
    </tr>
    </thead>
    <tbody>
    <?php
    foreach($allpilots as $pilot)
    {
    /* 
    	To include a custom field, use the following example:
    
    	<td>
    		<?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?>
    	</td>
    
    	For instance, if you added a field called "IVAO Callsign":
    
    		echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign');		
     */
    
     // To skip a retired pilot, uncomment the next line:
     //if($pilot->retired == 1) { continue; }
    ?>
    <tr>
    <td width="1%" nowrap><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>">
    		<?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a>
    </td>
    <td>
    	<img src="<?php echo Countries::getCountryImage($pilot->location);?>" 
    		alt="<?php echo Countries::getCountryName($pilot->location);?>" />
    
    	<?php echo $pilot->firstname.' '.$pilot->lastname?>
    </td>
    <td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td>
    <td><?php echo $pilot->totalflights?></td>
    <td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td>
    <?php
    }
    ?>
    </tbody>
    </table>
    

    Sorry again keep nagginn u all

  9. Similar, but instead of the last two columns, a column with verbiage such as on time, arriving, landed, arrived (based on schedule time vs. system time). That way, any time the page was loaded, different flights would be displayed. A departure board could be done similarly, with different status verbiage.

    Well im defo interested. Something like that would be good :)

  10. Don't laugh, but I am trying to do it. Looking at code from other pages, trying to figure out what variable names I need, with one eye on the monitor and the other on a book on PHP.ohmy.gif The results, so far are either infuriating or hysterically funny. I don't know which is worse. My approach is this:

    Get the system time and convert it to the 24 hour format I'm using in the routes.

    Get the routes with arrival times that are equal to or plus/minus one hour to the system time.

    Display those routes in a table with flight number, departure and arrival ICAOs, a/c tail number and verbiage based on how far from the system time the arrival time is.

    Is this what you want to do?

    flightboard.jpg

    http://xlvirtualairways.simmiles.com/arrivals.php

  11. Is it possible to have a flight board that first checks the system time and then displays the following.

    Flight Number - Departure ICAO - Arrival - Aircraft - Status

    This would be eye candy, rather than actual status, since most of us have more flights than pilots. The board would display only flights with an arrival time within 2 hours of system time. Flight status would, depending onwhere they are in relation to system time, be on time, arriving, arrived.

    I suppose something similar could be done for departures, but I'm trying to keep it as simple as possible.

    Does this sound like something that could be done? Or, maybe I should ask if it has already been done.

    Sounds like a good idea! hopefully it can be done

  12. oops my bad. Mark1million is correct. I was thinking about the look at me box. ;-)

    Its in the header.tpl

    Ahh found it thanks guys! :)

    Sorry to keep bugging you all but 1 last question i like the backround colours but i want to change the blue for the boxes on the left like New hires and also want to change the colour for when you move your mouse over the nav bar its blue

  13. Those are images. So you will need to create your own images to go in them spots.

    Yep figured it out now all it took was me too think! B) umm...do you know how to do the scroller though?

×
×
  • Create New...