jrobertson1 Posted April 23, 2016 Report Posted April 23, 2016 Hello! In constructing my virtual airline's website, and I noticed an issue with the PIREP details page where the footer changes size and position and hugs the map. If you compare these two pages: Page with the problem: http://fly.rc-v.net/...dules/details/7 Page with how it should look: http://fly.rc-v.net/...x.php/schedules Anyone know whats causing this? Quote
VAEA Posted April 23, 2016 Report Posted April 23, 2016 From looking at this you have </div> missing Quote
jrobertson1 Posted April 23, 2016 Author Report Posted April 23, 2016 In the actual schedule details tpl or? <h3>Schedule Details</h3> <div class="indent"> <strong>Flight Number: </strong> <?php echo $schedule->code.$schedule->flightnum ?><br /> <strong>Departure: </strong><?php echo $schedule->depname ?> (<?php echo $schedule->depicao ?>) at <?php echo $schedule->deptime ?><br /> <strong>Arrival: </strong><?php echo $schedule->arrname ?> (<?php echo $schedule->arricao ?>) at <?php echo $schedule->arrtime ?><br /> <?php if($schedule->route!='') { ?> <strong>Route: </strong><?php echo $schedule->route ?><br /> <?php }?> <br /> <strong>Weather Information</strong> <div id="<?php echo $schedule->depicao ?>" class="metar">METAR information unavailable for <?php echo $schedule->depicao ?></div> <div id="<?php echo $schedule->arricao ?>" class="metar">METAR information unavailable for <?php echo $schedule->arricao ?></div> <br /> <strong>Schedule Frequency</strong> <div align="center"> <?php /* Added in 2.0! */ $chart_width = '660'; $chart_height = '170'; /* Don't need to change anything below this here */ ?> <div align="center" style="width: 100%;"> <div align="center" id="pireps_chart"></div> </div> <script type="text/javascript" src="<?php echo fileurl('/lib/js/ofc/js/swfobject.js')?>"></script> <script type="text/javascript"> swfobject.embedSWF("<?php echo fileurl('/lib/js/ofc/open-flash-chart.swf');?>", "pireps_chart", "<?php echo $chart_width;?>", "<?php echo $chart_height;?>", "9.0.0", "expressInstall.swf", {"data-file":"<?php echo actionurl('/schedules/statsdaysdata/'.$schedule->id);?>"}); </script> <?php /* End added in 2.0 */ ?> </div> Quote
Administrators simpilot Posted April 23, 2016 Administrators Report Posted April 23, 2016 either remove or close <div class="indent"> Quote
jrobertson1 Posted April 24, 2016 Author Report Posted April 24, 2016 What a star, thank you very much guys for your help! Now working properly. Also, would there be any chance of adding a style to the route maps like in our ACARS map? http://fly.rc-v.net/index.php/acars Quote
web541 Posted April 24, 2016 Report Posted April 24, 2016 Try this? http://forum.phpvms.net/topic/23196-route-map/#entry122449 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.