-
Posts
55 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Angello
-
-
thank you very much for the help, Yours faithfully
-
-
/** * 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
-
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
-
Config::Set('MAP_ZOOM_LEVEL', 12);
the problem persists,
-
What is the solution? tanks
-
-
problem solved, by myself
<li><a href="<?php echo url('/fduration'); ?>">fduration</a></li>
-
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>
-
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>
-
Excellent module, but does not work
<?php echo url('duration');?>.
not to my
-
-
<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
-
-
Thanks for the info greetings
-
-
where I could download this template thank you very much
-
where I could download this template thank you very much
-
where I could download this template thank you very much
- 1
-
Thanks I worked perfectly
-
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
-
where I could download this template, is it free? I hope to answer a greeting
-
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
-
Hello friends, I'm new around here, I just i nstalled the program phpvms and I get the following error in the registration page, I have not much knowledge of computer science, from and a friendly greeting and thanks
Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (4096): /home/u377726758/public_html/phpvms//lib/skins/crystal/
Extended Fleet v1.0
in Releases
Posted
Good work, excellent