<?php
include('other_header.php');
?>
	<div class="container">

    <div class="text-center">
      <h1><?php echo $title; ?> <small>/ <?php echo $a192;?></small></h1>
    </div>

    <!-- BASE CSS   =========================================================== -->

    <!-- Tables -->

    <div class="row">
      <div class="col-md-8 col-md-offset-2">
		<div class="row">
			<div class="col-md-8 col-md-offset-2">
					<div class="input-group" style="display:inline">
						<a class="btn btn-info btn-block btn-lg" href="p.AdvertiserRatesINT"><?php echo $a022;?></a>
						<a class="btn btn-info btn-block btn-lg" href="p.AdvertiserRatesBANNER"><?php echo $a062;?></a>
						<a class="btn btn-info btn-block btn-lg" href="p.AdvertiserRatesVIDEO"><?php echo $a023;?></a>
					</div>
					<br>
					<div id='text'>
						<?php echo $a199; ?><br>
						<ul>
							<li><?php echo $a200; ?></li>
							<li><?php echo $a201; ?></li>
							<li><?php echo $a202; ?></li>
							<li><?php echo $a204; ?></li>
						</ul>
					<br><?php echo $a205; ?>
				</div>
		
				<p>&nbsp;</p>
				<center>
				<table style="width:100%;max-width:100%" class="table table-bordered" data-effect="fade">
              <thead>
                <tr>
                  <th><?php echo $a060; ?></th>
                  <th><?php echo $a022; ?></th>
                </tr>
              </thead>
              <tbody>
				  <?php
$query = "SELECT * FROM Web_Countries";
$result = mysql_query($query) or die('Error, query failed');
$color="1";
// print the random numbers
while($row = mysql_fetch_array($result))
{
$ppvadv = $row['ppvadv'] * 1000;

if($color==1){
echo "<tr style='color: #FFF; background-color: #DF691A;'>
					<td>".$row['country']."</td>
					<td>
						<center>$ $ppvadv</center>
					</td>
				</tr>";
// Set $color==2, for switching to other color
$color="2";
}

// When $color not equal 1, use this table row color
else {
echo "<tr style='color: #FFF; background-color: #2B3E50;'>
					<td>".$row['country']."</td>
					<td>
						<center>$ $ppvadv</center>
					</td>
				</tr>";
// Set $color back to 1
$color="1";
}

}
?>
							</tbody>
						</table>
						</center>
						<br>
						<div id='text'>
							<?php echo $a213;?><br>
							<ul>
								<li><?php echo $a214;?></li>
								<li><?php echo $a215;?></li>
								<li><?php echo $a216;?></li>
								<li><?php echo $a217;?></li>
								<li><?php echo $a218;?></li>
								<li><?php echo $a219;?></li>
								<li><?php echo $a220;?></li>
								<li><?php echo $a221;?></li>
								<li><?php echo $a222;?></li>
						</div>
					</div>
				</div>
				<!-- BODY ENDS HERE !-->
			</div>
        </div>
      </div>
    </div>
</div>
<?php
// FOOTER FOR HOMEPGAGE
include('other_footer.php');
?>
 