Jump to content

Arranjing the tables


IcEScorpioN

Recommended Posts

Does anyone can help me in this? My items seems that they don't want to be together and keep some space apart.

I already spent a few hours and it seems I can't put it together.

Here is the SS:

2u9iw6a.jpg

And here is my code:

<style>

#innerwrapper{

background:none;

border:none;

padding:0px;

}

</style>

<img style="border:1px solid lightgrey;"src="<?php echo SITE_URL;?>/lib/skins/Zumeweb.Pacific.V1/images/default/web_banner.png"/>

<div class="row-fluid">

<div class="span9">

<h3>Welcome Aboard</h3>

<div class="box">

<p>Welcome to Alpha VA.</p>

<p>Our goal is to have fun and share our passion of Flying. We want to have a great atmosphere, to aim for a great FS experience.</p> <p>We operate worldwide with a wide fleet. We hope you have fun and stay with us for a long time.</p>

<p> We fly Passengers, cargo and also have charters. Our fleet is composed from small regional turboprops to the biggest airliners. </p>

<p> Alpha VA have HUB's worldwide, and we provide training. Our pilots can fly both online or offline: it's up to you.</p>

<p> If you like to embrace our Airline please sign up. we will love you to have you aboard! </p>

</div>

</div>

<div class="span3">

<h3><strong>Quick</strong>Facts</h3>

<div class="box">

<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::PilotCount(); ?></div></b></td>

<td>Pilots</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalAircraftInFleet(); ?></div></b></td>

<td>Aircraft</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalSchedules(); ?></div></b></td>

<td>Schedules</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalFlights(); ?></div></b></td>

<td>Completed Flights</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalFlightsToday(); ?></div></b></td>

<td>Flight(s) today</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalFuelBurned(); ?></div></b></td>

<td>Fuel burned</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalHours(); ?></div></b></td>

<td>Hours Flown</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalMilesFlown(); ?></div></b></td>

<td>Miles flown</td>

</tr>

</table>

</div>

</div>

<div class="span3"><h3>Airline</h3><div class="box"><ul class="nav nav-list">

<li><a class="btn" href="http://alphava.net/i...>Fleet</a></li>

<li><a class="btn" href="http://alphava.net/i...>Ranks</a></li>

<li><a class="btn" href="http://alphava.net/i...Events</a></li>

<li><a class="btn" href="http://alphava.net/i...edules</a></li>

</ul>

</div>

</div>

<div class="row-fluid">

<div class="span9">

<h3>Latest News</h3><div class="box"><?php PopUpNews::PopUpNewsList(4); ?>

</div>

</div>

<div class="row-fluid">

<div class="span9"><h3>Current Flights</h3><div class="box">

<?php

$q = "SELECT * FROM phpvms_acarsdata";

$l = DB::get_results($q);

if($l != null){

?>

<table border="0" width="100%" cellspacing="4" class="acarsmap">

<thead>

<tr>

<td><b>Pilot</b></td>

<td><b>Flight Number</b></td>

<td><b>Departure</b></td>

<td><b>Arrival</b></td>

<td><b>Status</b></td>

<td><b>Altitude</b></td>

<td><b>Speed</b></td>

<td><b>Time Remaining</b></td>

</tr>

</thead>

<tbody id="pilotlist">

<?

foreach($l as $fl) {

$lu = strtotime($fl->lastupdate);

$min_u = strtotime(date("Y-m-d") - 900);

if($lu > $min_u) {

echo("<tr>");

echo("<td>".$fl->pilotname."</td>");

echo("<td>".$fl->flightnum."</td>");

echo("<td>".$fl->depicao."</td>");

echo("<td>".$fl->arricao."</td>");

echo("<td>".$fl->phasedetail."</td>");

echo("<td>".$fl->alt." feet</td>");

echo("<td>".$fl->gs." knots</td>");

echo("<td>".$fl->timeremaining."</td>");

echo("</tr>");

}

}

}else{ ?>

<div class="alert alert-danger">

<strong>Looks Like our Pilots are taking a rest!</strong> There is no current flights online.

</div>

<?php

}

?>

</tbody>

</table>

</div>

</div>

<div class="span3">

<h3>Newest Pilots</h3>

<div class="box">

<?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?>

</div>

</div>

</div>

<div class="row-fluid">

<div class="span9">

<h3>Partners</h3>

<div class="box">

<center>

<div class="partners" >

<a href="#" target="_blank">

<img src="<?php echo SITE_URL; ?>/lib/skins/Zumeweb.Pacific.V1/images/default/partner_logo.png" class="partnerimg">

</a>

<a href="#" target="_blank">

<img src="<?php echo SITE_URL; ?>/lib/skins/Zumeweb.Pacific.V1/images/default/partner_logo.png" class="partnerimg">

</a>

<a href="#" target="_blank">

<img src="<?php echo SITE_URL; ?>/lib/skins/Zumeweb.Pacific.V1/images/default/partner_logo.png" class="partnerimg">

</a>

</div>

</center>

</div>

</div>

</div>

Thank you very much for any help you guys can give.

Link to comment
Share on other sites

  • Administrators

Looks like the template is based on bootstrap and looking atthe code you have a lot of new rows ie

<div class="row-fluid">

each time you start a new row it should clear everything prior and start after the previous content. I would look to see where all your rows start and end and make sure they are all closed properly for starters. If you are using an editor with a "Back" feature work your way backwards until the issues resolves itself and then look at the changes you made at that point.

Link to comment
Share on other sites

Hi,

Simpilot is right about the row-fluid class, I think you may just made a mistake when modifying your site. I tried modifying the code for you, however it's untested so copy&paste a backup of that page somewhere else before trying this one:

http://pastebin.com/gXHf8nfU

I hope this fixes the issue.

Thank you. Just needed a smal tweek but it works like a charm.

I really apreciate all the help

  • Like 1
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...