Jump to content

Obsess Blue Statistic Problem


Industrialshadow

Recommended Posts

Hello Friends

I have a Problem. My Va Statistic is centered with <ul>my code</ul>

I will have it on the left side with 1 or 2px from the border

I have here my layout .tpl with my code for the Statistic

<ul>
<strong>Total Flights: </strong><?php echo StatsData::TotalFlights(); ?><br />

<strong>Total Hours Flown: </strong><?php echo StatsData::TotalHours(); ?><br />

<strong>Total Flights Today: </strong><?php echo StatsData::totalflightstoday(); ?><br />

<strong>Total Schedules: </strong><?php echo StatsData::totalschedules(); ?> <br />

<strong>Total Aircraft In Fleet: </strong><?php echo StatsData::TotalAircraftInFleet(); ?><br />

   <strong>Passenger Carried: </strong><?php echo StatsData::TotalPaxCarried (); ?><br />

<strong>Total Fuel Burned: </strong><?php echo StatsData::TotalFuelBurned(); ?><br />

<strong>Miles Flown: </strong><?php echo StatsData::TotalMilesFlown(); ?><br />

<strong>All News: </strong><?php echo StatsData::TotalNewsItems (); ?><br />
   <strong>Pending Application:</strong><?php echo count(PilotData::GetPendingPilots())?><br />

<strong>Total Freight: </strong><?php echo StatsData::TotalCargoCarried (); ?> <?php echo Lbs; ?><br />

<?php
$usersonline = StatsData::UsersOnline();
$guestsonline = StatsData::GuestsOnline();

?>

<h4>Pilots Online</h4>
<?php


      foreach($usersonline as $pilot)	

{

	echo "<p>";
	echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />';
	echo "{$pilot->firstname} {$pilot->lastname}<br />"; 
	echo "</p>";

}


?>
<h4>Guests Online</h4>
<p class="txt-red10">Currently
<?php echo count($guestsonline);?>
guest(s) visiting.
</p>
   </ul>

Hope anybody can help me to fix this

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...