Jump to content

Connor1994

Members
  • Posts

    167
  • Joined

  • Last visited

Posts posted by Connor1994

  1. 3 minutes ago, harryh146 said:

    Looks amazing !!! Keep up the fantastic work. I will more than happily beta test for you i also have a friend thats willing to beta test as well with his own PHPVMS setup. 

    Best Regards Harry

    Looks brill! I would be that friend :)

  2. logo.png

    Euroscot Virtual - Scotland's preferred virtual airline will take to the skies once again! It is after careful consideration by the management that the decision was made to bring Euroscot back to the virtual skies. "This time round much more scrutiny will be exercised when it comes to flight operations", says Graeme Davis - Joint Managing Director.

    The website has been modified significantly since the previous existence. Now pilots can benefit from much more realistic features such as; accurate flight schedules/briefings, resources such as airport and stand allocation charts, leave and hub transfer requests, custom PIREP submission system and much more.

    Euroscot Virtual welcomes all previous pilots to return, experience the change and continue their career. Prospective pilots can expect to join and be overwhelmed by what is now on offer.

    So why not join us? We are back - and better than ever before!

    http://euroscotva.co.uk

    Staff Vacancies:

    Note: Previous experience in any staff role within a virtual airline is beneficial although not necessary.

    1. Management Team - Assistant Managing Director
    2. Airline Operations Department - Flight Operations Manager & HR Manager.

    To apply for any of these vacancies, email - jobs@euroscotva.co.uk with some information about yourself and make reference to the position which you are applying for.

  3. Hi,

    In our fleet there is over 200 aircraft, is there a way to have the list show only a certain number of aircraft, then have a next button below so members can scroll through the table as opposed to the list extending the page?

    Cheers

    CS

  4. It's really easy, it's just like skinning your normal website.

    In admin/lib/layout

    layout is pretty much the default skin just like crystal is in lib/skins so make a copy of admin/lib/layout, rename it and skin away. Make sure to change the config to reflect the skin you're using.

    Attached is for the VA I'm about to launch and is the first public insight.

    http://img138.images...08/83418808.png

    • Like 1
  5. James, I get this error message:

    Parse error: syntax error, unexpected T_ELSE in C:\xampp\htdocs\dev\vms\lib\skins\###\profile_main.tpl on line 236

    	  <?php
    
    if(count($pireps) > 0)
    {
    foreach($pireps as $flight)
    	 {
    echo '<tr><th>'.$flight->flightnum.'</th>
    <th>'.$flight->depicao.'</th>
    <th>'.$flight->arricao.'</th>
    <th>'.date(DATE_FORMAT, strtotime($flight->submitdate)).'</th>
    <th>'.$flight->landingrate.'</th>
    </tr>';
    	 }
           else
           {
    	 echo "<tr><td>There are no recent flights!</td></tr>";
    }
    ?>
    

  6. Try putting this into your profile.php file

    $this->set('pireps', PIREPData::GetLastReports(Auth::$userinfo->pilotid, '10'));
    

    Then in your profile_main.tpl file, add this table:

    <table align="center" border="0" width="100%">
    <thead>
    	 <tr border="0">
     <th align="center">Flight</th>
     <th align="center">Depart</th>
     <th align="center">Arrival</th>
     <th align="center">Time</th>
     <th align="center">Landing Rate</th>
    	 </tr>
     </thead>
     <tbody>
     <?php
    
    if(count($pireps) > 0)
    {
    foreach($pireps as $flight)
     {
    echo '<tr><th>'.$flight->flightnum.'</th>
    <th>'.$flight->depicao.'</th>
    <th>'.$flight->arricao.'</th>
    <th>'.date(DATE_FORMAT, strtotime($flight->submitdate)).'</th>
    <th>'.$flight->landingrate.'</th>
    </tr>';
    
     }
    else
    {
     echo "<tr><td>There are no recent flights!</td></tr>";
    }
    ?>
    </tbody>
    </table>
    

    This hasn't being tested so I am not 100% certain if it will work or not.

    Hope this help! :)

    Kindest Regards,

    James

    I'll let you know.

    You want a page with only pirep accepted and a second page with only pirep rejected for pilot??

    I'm not bothered, either or

×
×
  • Create New...