Jump to content

mikaelartur

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by mikaelartur

  1. 42590 aeropuertos son muchos, intenta limitarte a lo que necesitas.  

     

     

    o puedes intentar adaptar esto:

     

    <?php


    $pilot = PilotData::getPilotData(Auth::$pilot->pilotid);
    $pilotid = Auth::$userinfo->pilotid;
    $last_location = PIREPData::getLastReports($pilotid, 1);
    if(!$last_location) $last_location->arricao = Auth::$userinfo->hub;
    $last_name = OperationsData::getAirportInfo($last_location->arricao);
    $equipment = OperationsData::GetAllAircraftSearchList(true);
    $airlines = OperationsData::getAllAirlines(true);
    ?>

     

     <form action="<?php echo url('/schedules/view');?>" enctype="multipart/form-data" method="post">
                
            <div class="container-fluid">
                    <div class="row">
                        <div class="col-md-6">
                            <p><i class="fa fa-plane" style="font-size: 1.50em;"></i> &nbsp;Enter the departure airport  ICAO code:</p>
                                <div class="form-group">
                                    <input name="depicao" class="form-control" type="text" placeholder="Input ICAO Code" value="">
                                        </div>
                        </div>
                            <div class="col-md-6">
                                <p><i class="fa fa-plane fa-rotate-90"  style="font-size: 1.50em;"></i> &nbsp;Enter the arrival airport ICAO code:</p>
                                    <div class="form-group">
                                        <input name="arricao" class="form-control" type="text" placeholder="Input ICAO Code" value="">                        
                                            </div>
                            </div>
                    </div>
                        <div class="row">
                            <div class="col-md-12">
                                <table width="100%">
                                    <tbody>
                                        <tr>
                                            
                                                        <td width="20%" align="right">
                                                            <input name="action" type="hidden" value="findflight">
                                                                <input name="submit" class="btn btn-md btn-success" style="width:125px" type="submit" value="Search">
                                                                    </td>
                                        </tr>
                                    </tbody>
                                </table>
                            <p></p>
                        </div>
                    </div>
            </div>
                <input name="action" type="hidden" value="findflight">           
        </form>

     

  2. Hello, 

    Could someone help me with the php code to generate automatically flight number  and the ability to delete the old charter route?

    It is compatible with phpvms 5.5.2.72/php72.

     

    I am very sure that this module deserves the attention and all our respect for the one who created it.

     

    4.jpg

  3. this work for me in profile_main.php Departure Board

    I  put photo in /lib/images/airline/ (ROT.png, etc)

    <?php $code = substr($lastbid->code, 0,3); ?>
                                        <td><img src="<?php echo fileurl('/lib/images/airline/'.$code.'.png'); ?>" alt="<?php echo $airline->name;?>" width="70" height="35" /></td>

  4. Hello

    Shakamonkey88 is there any chance  to you give me the php code for your Tours Page please, mine looks horrible. I would love to do one that look like the picture above. 

    I have the Tour Center module and the Ela Skin installed on my VA page

     

    Thank You.

     

     

×
×
  • Create New...