Jump to content

Footer in PIREP details problem


jrobertson1

Recommended Posts

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?

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...