Jump to content

bass

Members
  • Posts

    240
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by bass

  1. I did widget page "EVENTS" and trying to do so that the informer was deduced on the personal page of pilots ... can someone tell me how to do it?

    2015-12-29_012010.jpg

    <!-- START .main-contents -->
    <div class="main-contents">
    <div class="container">
     <div class="row">
     <div class="col-md-3">
     <div class="ft-item">
     <span class="ft-image">
    	 <img src="<?php echo $event->image; ?>" alt="Event Image" />
     </span>
     <div class="ft-data">
    
    	 <p><a href="#" class="ft-plane text-upper"><?php echo $event->arr; ?>-<?php echo $event->arr; ?></a></p>
    	 <p>Sch/Num: <?php echo $event->schedule; ?></p>
    	 </div>
    	 <div class="ft-foot">
    	 <h4 class="ft-title text-upper"><a href="#"><?php echo $event->title; ?></a></h4>
    	 <span class="ft-offer text-upper">Starting From <?php echo date('G:i', strtotime($event->time)); ?></span>
     </div>
     <div class="ft-foot-ex">
     <span class="ft-date text-upper alignleft"><?php echo date('m/d/Y', strtotime($event->date)); ?></span> - VIEW </div>
     </div>
     </div>
    

  2. In "pirep_viewreport.tpl, I use the following code to give a landing report:

    <li><strong>Landing Rate: </strong><?php echo $pirep->landingrate; ?> f/pm</li>
     <li><strong>Landing Report: </strong><?php if(abs($pirep->landingrate) <= 50)
    				 echo '!! OUTSTANDING LANDING !!';
    	 elseif( abs($pirep->landingrate) >=51 && abs($pirep->landingrate) <= 100)
    				 echo 'Have we landed yet? Greased Landing!';
    	 elseif( abs($pirep->landingrate) >=101 && abs($pirep->landingrate) <= 150)
    				 echo 'Smooth Landing, well done!';
    elseif( abs($pirep->landingrate) >=151 && abs($pirep->landingrate) <= 199)
    				 echo 'OK! Steady Landing.';
    elseif( abs($pirep->landingrate) >=200 && abs($pirep->landingrate) <= 299)
    				 echo 'BUMP! Not to bad.';
    elseif( abs($pirep->landingrate) >=300 && abs($pirep->landingrate) <= 399)
    				 echo 'BOUNCE! BUMP! THUMP! Average Landing.';
    elseif( abs($pirep->landingrate) >=400 && abs($pirep->landingrate) <= 499)
    				 echo 'OUCH! Passengers thought they had crashed!';
     elseif( abs($pirep->landingrate) >=500 && abs($pirep->landingrate) <= 599)
    				 echo 'Hard Landing. You burst a tyre!';
    elseif( abs($pirep->landingrate) >=600 && abs($pirep->landingrate) <= 650)
    				 echo 'The tyres have burst & the undercarriage is badly damaged!';
    	 elseif( abs($pirep->landingrate) >=651 && abs($pirep->landingrate) <= 800)
    				 echo 'Undercarrage has collapsed causing substantial a/c damage!';
    	 elseif( abs($pirep->landingrate) >=801 && abs($pirep->landingrate) <= 99999)
    				 echo '!! CRASH !! CRASH !! CRASH !! CRASH !! CRASH !! CRASH !!';?></li>
    

    This is how it looks: http://www.orange-ai...viewreport/2476

    Hope this helps?

    SUPER!!! This is exactly what I wanted to do! Thank you so much!

    • Like 1
  3. Hello

    I am glad to inform you about the release of my first template for the airline.

    Template free, it contains not the full version. Only the shell itself and the website home page.

    The pattern is very simple, you can adjust to any airline.

    Complete design of any modules it is individually, if not sophisticated design, that will I do for free.

    Example modules: Hub, Fleet, Tour, vFleetTracker and so on...

    Installation:

    The package of two folders, both of them must be installed in the folder / lib / Skins /

    But you need to connect the admin panel template TRIP_TEST

    You can download the template from one of my sites dedicated to flight simulation

    Link to file

    2015-12-27_011145.jpg

    2015-12-27_011204.jpg

    • Like 1
  4. I really like that. Great work, I am interested. PM and figure out something that works for both of us?

    Sorry, I really do not speak English .. I speak the Russian, the forum to communicate through the Google translator.

    Unfortunately I did not understand what you mean = ((((

    LAG0001.png

  5. Hello, did some templates ... If someone like, write ... and trade it for something.

    Home

    2015-12-14_200110.jpg

    -----------------------------------------------------------------------------------------------------------------------------

    Profile mine

    103.jpg

    102.jpg

    101.jpg

    • Like 1
×
×
  • Create New...