Development Help
For help and support for the development of addons
515 topics in this forum
-
- 0 replies
- 1.2k views
Im going to develop some add-on, which automatically adds the EET´s and so on to the flight briefing. Actually, there is no need for something like that in the virtual sky but some like to have it.. Its not easy and i have to read how to do it but i have some idea that this should be possible if someone can help me, just write here
Last reply by hjhjhgjgjh, -
- 0 replies
- 1.1k views
Hi all i write this code for the SUM of a aircraft flight hours,for single pilot, from two mysql tables <?php $query = 'SELECT SUM(flighttime)FROM ( SELECT flighttime AS flighttime FROM '.TABLE_PREFIX.'pireps WHERE aircraft = 26 AND accepted = 1 AND pilotid = '.Auth::$userinfo->pilotid.' UNION ALL SELECT flighttime FROM '.TABLE_PREFIX.'pireps_OLD WHERE aircraft = 26 AND accepted = 1 AND pilotid = '.Auth::$userinfo->pilotid.' ) AS total'; $result=DB::get_row($query); { } ?> <?php echo Util::FormatDuration($result->total); ?> but dont work in the profile_stats.tpl can someone help me thanks
Last reply by mattia, -
- 0 replies
- 1.1k views
Solved Problen now. tks
Last reply by CN@ndo, -
- 0 replies
- 1k views
This topic has been moved to Releases. [iurl]http://forum.phpvms.net/index.php?topic=1177.0[/iurl]
Last reply by Nabeel, -
- 0 replies
- 971 views