Jump to content

Vangelis

Members
  • Posts

    1076
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Vangelis

  1. i could help you if you want just send me an e-mail at info(at)baggelis.com
  2. normaly you have made a site in frontapage or whatever so now the only thing what you have to do is to put the link destination as in core_navigation.tpl if you have problems with that or you dont figure it out just send me the template and i can place it for you or contact me at skype sv5frv1 cya
  3. Hi if you want send me your template and i can try and fix it for you my mail is info(at)baggelis.com
  4. You can make your own menus as you like them and you can copy the href code from the core_navigation.tpl file that is located in /core/templates/ cya
  5. did you found anybody ?
  6. also have a look at this post you ask almost the same thing with deferent words Forum Post
  7. If your pilot's log via your phpvms you can take acarsmap.tpl copy everything exept from the map and there it is For example create a new php with that and it should work just delete the column that you dont need <?php /** * These are some options for the ACARS map, you can change here * * By default, the zoom level and center are ignored, and the map * will try to fit the all the flights in. If you want to manually set * the zoom level and center, set "autozoom" to false. * * You can use these MapTypeId's: * http://code.google.com/apis/maps/documentation/v3/reference.html#MapTypeId * * Change the "TERRAIN" to the "Constant" listed there - they are case-sensitive * * Also, how to style the acars pilot list table. You can use these style selectors: * * table.acarsmap { } * table.acarsmap thead { } * table.acarsmap tbody { } * table.acarsmap tbody tr.even { } * table.acarsmap tbody tr.odd { } */ ?> <div class="mapcenter" align="center"> <div id="acarsmap" style="width:<?php echo Config::Get('MAP_WIDTH');?>; height: <?php echo Config::Get('MAP_HEIGHT')?>"></div> </div> <?php /* See below for details and columns you can use in this table */ ?> <table border = "0" width="100%" class="acarsmap"> <thead> <tr> <td><b>Pilot</b></td> <td><b>Flight Number</b></td> <td><b>Departure</b></td> <td><b>Arrival</b></td> <td><b>Status</b></td> <td><b>Altitude</b></td> <td><b>Speed</b></td> <td><b>Distance/Time Remain</b></td> </tr> </thead> <tbody id="pilotlist"></tbody> </table> <script type="text/javascript" src="<?php echo fileurl('/lib/js/acarsmap.js');?>"></script> <?php /* This is the template which is used in the table above, for each row. Be careful modifying it. You can simply add/remove columns, combine columns too. Keep each "section" (<%=...%>) intact Variables you can use (what they are is pretty obvious) Variable: Notes: <%=flight.pilotid%> <%=flight.firstname%> <%=flight.lastname%> <%=flight.pilotname%> First and last combined <%=flight.flightnum%> <%=flight.depapt%> Gives the airport name <%=flight.depicao%> <%=flight.arrapt%> Gives the airport name <%=flight.arricao%> <%=flight.phasedetail%> <%=flight.heading%> <%=flight.alt%> <%=flight.gs%> <%=flight.disremaining%> <%=flight.timeremaning%> <%=flight.aircraft%> Gives the registration <%=flight.aircraftname%> Gives the full name <%=flight.client%> FSACARS/Xacars/FSFK, etc <%=flight.trclass%> "even" or "odd" You can also use logic in the templating, if you so choose: http://ejohn.org/blog/javascript-micro-templating/ */ ?> <script type="text/html" id="acars_map_row"> <tr class="<%=flight.trclass%>"> <td><a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a></td> <td><%=flight.flightnum%></td> <td><%=flight.depicao%></td> <td><%=flight.arricao%></td> <td><%=flight.phasedetail%></td> <td><%=flight.alt%></td> <td><%=flight.gs%></td> <td><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%></td> </tr> </script> <?php /* This is the template for the little map bubble which pops up when you click on a flight Same principle as above, keep the <%=...%> tags intact. The same variables are available to use here as are available above. */ ?> <script type="text/html" id="acars_map_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a><br /> <strong>Flight <%=flight.flightnum%></strong> (<%=flight.depicao%> to <%=flight.arricao%>)<br /> <strong>Status: </strong><%=flight.phasedetail%><br /> <strong>Dist/Time Remain: </strong><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%><br /> </span> </script> <?php /* This is a small template for information about a navpoint popup Variables available: <%=nav.title%> <%=nav.name%> <%=nav.freq%> <%=nav.lat%> <%=nav.lng%> <%=nav.type%> 2=NDB 3=VOR 4=DME 5=FIX 6=TRACK */ ?> <script type="text/html" id="navpoint_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <strong>Name: </strong><%=nav.title%> (<%=nav.name%>)<br /> <strong>Type: </strong> <?php /* Show the type of point */ ?> <% if(nav.type == 2) { %> NDB <% } %> <% if(nav.type == 3) { %> VOR <% } %> <% if(nav.type == 4) { %> DME <% } %> <% if(nav.type == 5) { %> FIX <% } %> <% if(nav.type == 6) { %> TRACK <% } %> <br /> <?php /* Only show frequency if it's not a 0*/ ?> <% if(nav.freq != 0) { %> <strong>Frequency: </strong><%=nav.freq%> <% } %> </span> </script>
  8. Have a look at http://www.utr-online.com/Software.asp?page=5
  9. Vangelis

    Tables

    can you please tell us where do you want to place that tables ? Solution 1 <strong>Registered Pilots </strong><?php echo StatsData::PilotCount($airline->code); ?><br /> <strong>Filed Pireps </strong><?php echo StatsData::TotalFlights($airline->code); ?><br /> <strong>Total Hours </strong><?php echo StatsData::TotalHours($airline->code); ?><br />
  10. Now it should be working
  11. I can do it for you contact me via pm or skype sv5frv1 Cya
  12. 2 more templates added Thanks to Oceanica Virtual Aviation sugestion
  13. Is there by any change that you mean something like this ?? Your Template
  14. Hello guys and girls as i promised i added a new skin Have a look at Skins Released 2 more templates added
  15. And here you can tryout the templates and download them if you want Templates Cheers and if you need anything pm me
  16. I have made this template to work with phpvms and i will try to make a new one every day So please tell me what do yoy think about these one so i can se my mistakes and correct them thanks http://www.baggelis.com/phpvms/index.php/ If anybody whant's it pm me so i can send it to you and i will upload it when i am finished with my site see ya
  17. Vangelis

    Acars Map

    it worked many thanks
  18. Vangelis

    Acars Map

    Hello guys I am trying to make some phpvms templates in order to share them with others 1 of the problems that i faced is the google map size i tried to read the google map api but no succes so i would apreciate any help my problem is that the google map is out of the center of the page to the right Example so if anybody can explain to me how can i resize the map it would be nice Thanks in advance
  19. If you didnt find a solution mail me at info@baggelis.com to see what i can do to help you Best regards Vangelis
  20. Did you find any solution ? if not e-mail me at info@baggelis.com and we could see what i can do for you Vangelis Boulasikis
  21. Hi i wondered if you found a solution if not try to e-mail me at info@baggelis.com
  22. That worked Thanks a lot for your help Vangelis Boulasikis
  23. Do u have a name for that module ? Thanks
  24. could you please help on how to do that or an example of this ? Thanks in advance Vangelis Boulasikis P.S Temporarly i stoped the problem by leaving only 1 hub but like that we can not gice the option to the new pilots to select their hub
  25. Hello guys I am trying to make the pilot roster to show only the pilots and i have managed this the only problem is that it keeps looping the pilot_list.tpl i have also tried to insert my own page into it like <?php echo "Hello World"; ?> and this keeps looping asswel so i am sure that the code is corect This is the code of the pilot_list.tpl <?php $roster = PilotData::getAllPilots(); ?> <?php if(!$roster) { echo 'There are no pilots!'; return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> <th>HUBs</th> </tr> </thead> <tbody> <?php foreach($roster as $pilot) { ?> <tr> <td width="1%" nowrap> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <a href="<?php echo SITE_URL?>/index.php/profile/view/<?php echo $pilot->pilotid?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td> <center><?php echo $pilot->firstname.' '.$pilot->lastname?></center> </td> <center><td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td></center> <center><td><?php echo $pilot->totalflights?></td></center> <center><td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td></center> <center><td><?php echo $pilot->hub?></td></center> </tr> <?php } ?> </tbody> </table> any help would be gratefull Thanks in advance Vangelis Boulasikis http://aviation-global-airways.com
×
×
  • Create New...