Industrialshadow Posted June 29, 2011 Report Share Posted June 29, 2011 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 Quote Link to comment Share on other sites More sharing options...
Jeff Posted June 29, 2011 Report Share Posted June 29, 2011 try using <align="left"> Quote Link to comment Share on other sites More sharing options...
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.