Jump to content

Angello

Members
  • Posts

    55
  • Joined

  • Last visited

Everything posted by Angello

  1. as it is called your skin ? check this tutorial http://forum.phpvms....es-with-phpvms/
  2. thank you very much for the help, Yours faithfully
  3. basically works,, but where is the plane?
  4. /** * 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 { } */ ?> <script type="text/javascript"> <?php /* These are the settings for the Google map. You can see the Google API reference if you want to add more options. There's two options I've added: autozoom: This will automatically center in on/zoom so all your current flights are visible. If false, then the zoom and center you specify will be used instead refreshTime: Time, in seconds * 1000 to refresh the map. The default is 10000 (10 seconds) */ ?> var acars_map_defaults = { autozoom: true, zoom: 4, center: new google.maps.LatLng("<?php echo Config::Get('MAP_CENTER_LAT'); ?>", "<?php echo Config::Get('MAP_CENTER_LNG'); ?>"), mapTypeId: google.maps.MapTypeId.HYBRID, refreshTime: 10000 }; </script> <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
  5. core/app.config.php # Google Map Options Config::Set('MAP_WIDTH', '875px'); Config::Set('MAP_HEIGHT', '650px'); # Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP Config::Set('MAP_TYPE', 'G_SATELLITE_MAP'); Config::Set('MAP_LINE_COLOR', '#ff0000'); Config::Set('MAP_CENTER_LAT', '52.308053'); Config::Set('MAP_CENTER_LNG', '4.764167'); Config::Set('MAP_ZOOM_LEVEL', 10); not working
  6. Config::Set('MAP_ZOOM_LEVEL', 12); the problem persists,
  7. What is the solution? tanks
  8. the map is not shown, could someone help me? regards https://gyazo.com/b9...04cd642688ab500
  9. problem solved, by myself <li><a href="<?php echo url('/fduration'); ?>">fduration</a></li>
  10. pilot list.tpl <br /><br /> <h3><?php echo $title?></h3> <?php if(!$allpilots) { echo 'There are no pilots!'; return; } ?> <table width="100%" class="ocean_table" id="tabledlist"> <thead> <tr> <th>Pilot ID</th> <th width="24%">Name</th> <th width="16%">Rank</th> <th width="17%">Flights</th> <th width="18%">Hours</th> <th width="19%">Status</th> </tr> </thead> <tbody> <?php foreach($allpilots as $pilot) { /* To include a custom field, use the following example: <td> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> </td> For instance, if you added a field called "IVAO Callsign": echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign'); */ // To skip a retired pilot, uncomment the next line: //if($pilot->retired == 1) { continue; } ?> <tr> <td width="6%" nowrap><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <?php echo $pilot->firstname.' '.$pilot->lastname?> </td> <td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td> <td><?php echo $pilot->totalflights?></td> <td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> <td><?php if($pilot->retired == '1') {echo '<img src="'.SITE_URL.'/lib/skins/ocean_blue/images/no.png" alt="warning" /> - Retired';} else {echo '<img src="'.SITE_URL.'/lib/skins/ocean_blue/images/yes.png" alt="warning" /> - Active';} ?></td> <?php } ?> </tbody> </table>
  11. if($pilot->retired == '1') {echo '<img src="'.SITE_URL.'/lib/skins/ocean_blue/images/no.png" alt="warning" /> - Retired';} else {echo '<img src="'.SITE_URL.'/lib/skins/ocean_blue/images/yes.png" alt="warning" /> - Active';} ?></td>
  12. Excellent module, but does not work <?php echo url('duration');?>. not to my
  13. <td width="80"><a href="<?php echo SITE_URL; ?>/profile/view/<%=flight.pilotname%>"><%=flight.pilotname%></a></td> <td><a href="http://bluehawkvirtual.net/index.php/index.php/profile/view/<%=flight.pilotname%>"><%=flight.pilotname%></a></td> I would try this way,, do not know if it works
  14. perfect tanks http://wwwcubanavirtual.altervista.org/phpvms/index.php/Pilots
  15. Angello

    Skinning

    the link is not valid where I could find that skin, thanks
  16. where I could download this template thank you very much
  17. where I could download this template thank you very much
  18. where I could download this template thank you very much
  19. hello friend I am trying to create my own airline, I have installed a template but registration page I get the following error Warning: file_exists (): file name is longer than the maximum path length allowed on this platform (4096): home/u848980505/public_html/phpvms / / / lib / skins / FREE / As you will understand I am new user and I have not much experience thank you very much you sincerely receive
  20. where I could download this template, is it free? I hope to answer a greeting
  21. hello friends I'm trying to create my own airline, I have installed a template but registration page I get the following error Warning: file_exists (): file name is longer than the maximum path length allowed on this platform (4096): home/u848980505/public_html/phpvms / / / lib / skins / FREE / I am new user and I have not much experience thank you very much you sincerely receive http://cubanavirtual.allalla.com/phpvms/index.php
×
×
  • Create New...