Jump to content

avdesigns

Members
  • Posts

    285
  • Joined

  • Last visited

Posts posted by avdesigns

  1. Hello,

    I have an external application with a login built into it however when I submit the login it logins in to the site however instead of redirecting to the page I have told it to it is going to the login page that is on the phpvms system which may be something to do with <form action="<?php echo url('/login'); ?>" name="loginform" method="post">. I have used the basic login form found on the layout.tpl but changed the redirect page, any suggestions?

    Thanks

  2. Hello,

    I am setting up the pilot brief for prefile with vatsim however I can manage to split the flight time into hours and seconds as box 1 requires flight hours and box 2 requires mins, any ideas on how to split hours and mins?

    thanks

  3. Im using this on layout.tpl

    <form action="<?php echo url('/FrontSchedules');?>" method="post" enctype="multipart/form-data">

    <table style="border-collapse:collapse; " cellspacing="0" cellpadding="0" height="100%" width="100%" >

    <tr>

    <td>

    <select style="margin-bottom:5px;" class="search" name="depicao">

    <option value="">Select Departure</option>

    <?php

    foreach ($airports as $airport)

    {echo '<option value="'.$airport->icao.'">'.$airport->icao.' - '.$airport->name.'</option>';}

    ?>

    </select>

    </td><td rowspan="2" >

    <input type="hidden" name="action" value="findflight" />

    <input type="submit" name="submit" id="submit" value="Search" style="float:right; margin-right:5px;"/>

    </td>

    </tr>

    <tr>

    <td >

    <select class="search" name="arricao">

    <option value="">Select Arrival</option>

    <?php

    foreach ($airports as $airport)

    {echo '<option value="'.$airport->icao.'">'.$airport->icao.' - '.$airport->name.'</option>';}

    ?>

    </select>

    </td>

    </tr>

    </table>

    </form>

×
×
  • Create New...