Jump to content

James142

Members
  • Posts

    656
  • Joined

  • Last visited

Everything posted by James142

  1. Instead of using <center> you could use .css. so: in your style.css file .example { padding-bottom: 4px; font-size:10px } then this in your acars_map.tpl <div class="example"> YOUR PRECENTAGE CODE HERE</div> In my opinion this works for me better but you will have to edit the padding etc to work with your site.
  2. Is it my laggy internet or has this being posted 3 times?
  3. Try using the javascript for the pagnition if your having problems with the php: http://forum.phpvms.net/topic/5342-to-get-the-pagination-for-the-schedules-to-work/page__p__35583__fromsearch__1#entry35583 (thanks to Mr.Bean for the code )
  4. Any screenies?
  5. You can use the same code that is above and it should still show the same information. But you might want to change the text like: "You have being marked as a retired pilot!" to "this pilot has being marked as a retired pilot!" etc.. Example: <?php $totaldays = Config::Get('PILOT_INACTIVE_TIME'); { ?> <?php if ($userinfo->lastpirep == '0000-00-00 00:00:00') { echo 'This pilot hasn't not flown any flights yet!'; } else { $datebefore1 = substr($userinfo->lastpirep, 0, 10); $datetoday2 = date("Y-m-d"); $datebefore3 = strtotime($datebefore1); $datetoday4 = strtotime($datetoday2); $newdate = $datetoday4-$datebefore3; $lastpirep = floor($newdate/(60*60*24)); $daysleft = $totaldays-$lastpirep; echo 'Last flight was '; if ($lastpirep == 0) { echo 'today'; } else if ($lastpirep == 1) { echo 'yesterday'; } else { echo $lastpirep . ' day(s) ago.'; } echo '&nbspYou have '; if ($daysleft == 0) { echo 'This pilot has being marked as a retired pilot!'; } else { echo $daysleft . '&nbspdays left until they are marked as retired'; } } ?><?php } ?> I have tried the above code on localhost, and it worked fine
  6. SO instead of displaying all flights on VATSIM and IVAO, it displays all of the flights that the virtual airline is flying?
  7. Try This <?php foreach($allawards as $award) { ?> <img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" /> <?php } ?>
  8. Why not use a forum?
  9. What do you mean? Go to that forum and the code is posted there...
  10. http://forum.phpvms.net/topic/5394-complete-flight/
  11. You have emailed me that exact paragraph about 3 times.. If you wish to continue this, please PM me, not in here.
  12. http://www.vpia.org/VirtualPIA had ripped off other sites too
  13. Maybe this might be of assistance: http://www.w3schools.com/css/default.asp James.
  14. There are some people addicted to flight sim. There is a pilot in my virtual who is ALWAYS flying on fsx. He doesn't send 8-10 reports a day but he does long haul flights 24/7. He told me that he wakes up at around 3am in the morning to land his plane if he starts his long haul flight later in the evening.
  15. haha Its amazing how you spotted that, I wouldn't have noticed it
  16. Cool, cant wait to see it!
  17. http://www.w3schools.com/tags/ref_entities.asp Have a look at ISO 8859-1 Characters. Then get its Entity Name and paste it in where you want it (make sure you click on the "source" button on the editor when you paste in the Entity Name.) There might be an easier way though
  18. you can add transfer hours in the admin panel,
  19. That looks cool
  20. I didn't know that (no need for the -1 )
  21. Working, thanks
  22. http://forum.phpvms.net/topic/3155-the-next-generation-flight-logging/page__p__21187__hl__%2Bthe+%2Bintegrated+%2Bpirep+%2Bsystem__fromsearch__1#entry21187 You have already posted this.
  23. Hows it going?
×
×
  • Create New...