-
Posts
656 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by James142
-
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.
-
Is it my laggy internet or has this being posted 3 times?
-
[SOLVED] Table, Flights Arrival and Booked Flight!
James142 replied to Blu-Express VA's topic in Support Forum
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 ) -
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 ' You have '; if ($daysleft == 0) { echo 'This pilot has being marked as a retired pilot!'; } else { echo $daysleft . ' days left until they are marked as retired'; } } ?><?php } ?> I have tried the above code on localhost, and it worked fine
-
SO instead of displaying all flights on VATSIM and IVAO, it displays all of the flights that the virtual airline is flying?
-
Try This <?php foreach($allawards as $award) { ?> <img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" /> <?php } ?>
-
Why not use a forum?
-
Only 1/2 of information is being submitted to vacentral
James142 replied to James142's topic in General & Support
will do -
Only 1/2 of information is being submitted to vacentral
James142 replied to James142's topic in General & Support
Nope. -
What do you mean? Go to that forum and the code is posted there...
-
http://forum.phpvms.net/topic/5394-complete-flight/
-
You have emailed me that exact paragraph about 3 times.. If you wish to continue this, please PM me, not in here.
-
http://www.vpia.org/VirtualPIA had ripped off other sites too
-
Maybe this might be of assistance: http://www.w3schools.com/css/default.asp James.
-
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.
-
Phoenix Virtual Airways, the devils favourite VA
James142 replied to Strider's topic in Off-Topic Banter
haha Its amazing how you spotted that, I wouldn't have noticed it -
Cool, cant wait to see it!
-
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
-
New Livery for Bird VA (FINALIZED)
James142 replied to fsxsimulation's topic in Virtual Airlines Discussion
you can add transfer hours in the admin panel, -
That looks cool
-
I didn't know that (no need for the -1 )
-
Working, thanks
-
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.
-
Hows it going?
