Jump to content

Miggel

Members
  • Content count

    23
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Miggel

  • Rank
    Member

Contact Methods

  • Website URL
    http://wwwflyedelweiss-virtual.com

Profile Information

  • Gender
    Male
  • Location
    Zurich

Recent Profile Visitors

538 profile views
  1. Miggel

    Auto Accept/Reject Pirep

  2. Miggel

    Germania Staff Recruiting

    Ich glaube nicht das du hier fündig sein wirst... sind ja alle hier in Ihrer eigenen Airline Staff... Such doch bei Facebook, IVAO Forum, oder VATSIm Forum Viel Glück.
  3. Miggel

    Auto Accept/Reject Pirep

    Hello?
  4. Miggel

    Activity list not updating with PIREPS

    I have now the same error ... Why???
  5. Miggel

    Auto Accept/Reject Pirep

    Hi Vangelis, i have your Autopirep install from Plugin Manager, but it dosent work... no Error message.
  6. Miggel

    Flight Number variable

    How is it posible to Show the FLight Numbers without (1) (2) etc? Like WK111-1 WK111-2 Shows WK111
  7. Have you skype for Chatting?

     

  8. Miggel

    Schedule search on weekdays

    Is it not possible?
  9. Miggel

    Revision of the website

    I am looking for someone to revise my Simpilot 5.5 version with me. There are a few bugs and ambiguities I would like to have cleaned up.
  10. Hi i have the same error, bt with $sel = ($field->value === $val) ? 'selected="selected"' : ''; this code not work
  11. Electronic flight Information in a external window
  12. Miggel

    Schedule search on weekdays

    never a idea?
  13. Miggel

    Schedule search on weekdays

    it nit work
  14. Hi, I am trying for 2 days to solve the code for the connection with all the Aiports and the Map. Where is the mistake? // Print out rows <?php $airports = OperationsData::getAllAirports(); /* Above <td> You have to put it */ foreach($airports as $airport) { "svgPath": targetSVG" ',' echo ' "title": ' . $airport->name . ',' echo ' "latitude": ' . $airport->lat . ',' echo ' "longitude": ' . $airport->lng . '' echo " }"; } ?> So I bring at least one airport ... { "svgPath": targetSVG, "title": "<?php echo $airport->name; ?>", "latitude": <?php echo $airport->lat; ?>, "longitude": <?php echo $airport->lng; ?> }, ] }, <?php } ?>
  15. Hello everybody I would also like to integrate the days into the schedule search. That means, if a pilot selects Monday in a box, then all flights from Monday are in the results. My code so far ... schedule_searchform.php <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?> <section class="content-header"> <h1>Schedule Search</h1> </section> <!-- Main content --> <section class="content"> <div class="cssload-ball"></div> <!-- Main row --> <div class="row"> <!-- Left col --> <section class="col-md-8 connected"> <form id="form" action="<?php echo url('/schedules/view');?>" method="post"> <!-- Custom Tabs --> <div class="nav-tabs-custom"> <ul class="nav nav-tabs"> <li class="active"><a href="#tab_1" data-toggle="tab">Departure</a></li> <li><a href="#tab_2" data-toggle="tab">Arrival</a></li> <li><a href="#tab_3" data-toggle="tab">Aircraft</a></li> <li><a href="#tab_4" data-toggle="tab">Flight duaration</a></li> <li><a href="#tab_5" data-toggle="tab">Weekday</a></li> </ul> <div class="tab-content"> <div class="tab-pane active" id="tab_1"> <p>Select your departure airport:</p> <div class="form-group"> <select id="depicao" name="depicao" class="form-control"> <option value="">Select All</option> <?php if (Auth::LoggedIn()) {?> <?php $reports = PIREPData::getLastReports(Auth::$userinfo->pilotid, 1, PIREP_ACCEPTED); if(is_object($reports)) {echo '<option value="'.$reports->arricao.'">From current location ('.$reports->arricao.')</option>';} elseif(!$reports) {echo '<option value="'.Auth::$userinfo->hub.'">From current location ('.Auth::$userinfo->hub.')</option>';}}?> <?php foreach ($airports as $airport) { echo '<option value="'.$airport->icao.'">'.$airport->icao.' - '.$airport->name.'</option>'; } if(!$depairports) $depairports = array(); foreach($depairports as $airport) { echo '<option value="'.$airport->icao.'">'.$airport->icao .' ('.$airport->name.')</option>'; } ?> </select> </div> <input type="submit" name="submit" value="Search" class="btn btn-flat btn-primary" /> </div> <!-- /.tab-pane --> <div class="tab-pane" id="tab_2"> <p>Select your arrival airport:</p> <div class="form-group"> <select id="arricao" name="arricao" class="form-control"> <option value="">Select All</option> <?php if(!$depairports) $depairports = array(); foreach($depairports as $airport) { echo '<option value="'.$airport->icao.'">'.$airport->icao .' ('.$airport->name.')</option>'; } ?> </select> </div> <input type="submit" name="submit" value="Search" class="btn btn-flat btn-primary" /> </div> <!-- /.tab-pane --> <div class="tab-pane" id="tab_3"> <p>Select aircraft:</p> <div class="form-group"> <select id="equipment" name="equipment" class="form-control"> <option value="">Select equipment</option> <?php if(!$equipment) $equipment = array(); foreach($equipment as $equip) { echo '<option value="'.$equip->name.'">'.$equip->name.'</option>'; } ?> </select> </div> <input type="submit" name="submit" value="Search" class="btn btn-flat btn-primary" /> </div> <!-- /.tab-pane --> <div class="tab-pane" id="tab_5"> <div class="form-group"> <label id="daysofweek" class="col-lg-3 control-label">Search By Day</label> <div class="col-lg-9"> <?php /*$days = array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'); */ $days = Config::Get('DAYS_LONG'); for($i=0; $i<=6; $i++) { # Add blank string to typecast from int to string, otherwise it won't search if(strpos($schedule->daysofweek, $i.'') === false) $checked = ''; else $checked = 'checked'; echo '<input type="checkbox" name="daysofweek" value="'.$i.'" '.$checked.'>'.$days[$i].' </br>'; } ?> </div> <input type="submit" name="submit" value="Search" class="btn btn-flat btn-primary" /> </div> <div class="tab-pane" id="tab_6"> <div class="form-group"> </div> </div> </div> <!-- /.tab-pane --> <div class="tab-pane" id="tab_4"> <p>Select Distance:</p> <div class="form-group"> <select id="type" name="type" class="form-control"> <option value="greater">Greater Than</option> <option value="less">Less Than</option> </select> </div> <div class="form-group"> <input type="text" name="distance" value="" class="form-control" /> </div> <input type="submit" name="submit" value="Search" class="btn btn-flat btn-primary" /> </div> <!-- /.tab-pane --> </div> <!-- /.tab-content --> </div> <!-- nav-tabs-custom --> <p> <input type="hidden" name="action" value="findflight" /> </section> <!-- /.Left col --> </div> <!-- /.row (main row) --> </section> <!-- /.content -->
×