Skilled Illusionist
- Joined
- Sep 7, 2012
- Messages
- 390
- Reaction score
- 35
that's my php code file i want to make a background color to it any help ?
PHP:
<?php
include 'config.php';
?>
<html>
<head>
background-color: #000000;
<Title>Unique Ranking</Title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
</head>
<style>
/* Footer Style */
i.red{
color:#BC0213;
}
.gal-container{
padding-top :75px;
padding-bottom:75px;
}
footer{
font-family: 'Quicksand', sans-serif;
}
footer a,footer a:hover{
color: #88C425;
}
</style>
<body>
<center>
<br><br><h2><? echo $Title; ?></h2><br>
<?php
$query = $conn->prepare("select TOP $Limit * from _Uniques");
$query->execute();
while($row = $query->fetch(PDO::FETCH_ASSOC))
{
$uniquerank[$row['CharName']]= "test";
}
foreach($uniquerank as $char => $points)
{
$uniquerank[$char]=TotalPoints($char);
}
arsort($uniquerank);
foreach($uniquepoint as $unique => $points)
{
echo "$unique - $points Points<br>";
}
?>
<br>
<table class="table table-condensed">
<thead>
<tr>
<th>CharacterName</th>
<th>Tiger Girl</th>
<th>Cerberus</th>
<th>Captain Ivy</th>
<th>Uruchi</th>
<th>Isyutaru</th>
<th>Lord Yarkan</th>
<th>Demon Shaitan</th>
<th>Yuno</th>
<th>Jupiter</th>
<th>Dark Dog</th>
<th>Dark Dog 2</th>
<th>Babilion</th>
<th>Baal</th>
<th>Bird</th>
<th>Jaguar</th>
<th>Bear</th>
<th>Ostirich</th>
<th>Arabia Jalliaza</th>
<th>Arabia Solide</th>
<th>Arabia Void Devil</th>
<th>Arabia Harrison</th>
<th>Thief Boss Kalia</th>
<th>Khulood</th>
<th>Medusa</th>
<th>TotalPoints</th>
</tr>
</thead>
<tbody>
<tr>
<? foreach($uniquerank as $char => $points)
{?>
<tr>
<td><? echo $char;?></td>
<td><? echo uniquePonits($char,"Tiger Girl"); ?></td>
<td><? echo uniquePonits($char,"Cerberus"); ?></td>
<td><? echo uniquePonits($char,"Captain Ivy"); ?></td>
<td><? echo uniquePonits($char,"Uruchi"); ?></td>
<td><? echo uniquePonits($char,"Isyutaru"); ?></td>
<td><? echo uniquePonits($char,"Lord Yarkan"); ?></td>
<td><? echo uniquePonits($char,"Demon Shaitan"); ?></td>
<td><? echo uniquePonits($char,"Yuno"); ?></td>
<td><? echo uniquePonits($char,"Jupiter"); ?></td>
<td><? echo uniquePonits($char,"Dark Dog"); ?></td>
<td><? echo uniquePonits($char,"Dark Dog 2"); ?></td>
<td><? echo uniquePonits($char,"Babilion"); ?></td>
<td><? echo uniquePonits($char,"Baal"); ?></td>
<td><? echo uniquePonits($char,"Bird"); ?></td>
<td><? echo uniquePonits($char,"Jaguar"); ?></td>
<td><? echo uniquePonits($char,"Bear"); ?></td>
<td><? echo uniquePonits($char,"Ostirich"); ?></td>
<td><? echo uniquePonits($char,"Arabia Jalliaza"); ?></td>
<td><? echo uniquePonits($char,"Arabia Solide"); ?></td>
<td><? echo uniquePonits($char,"Arabia Void Devil"); ?></td>
<td><? echo uniquePonits($char,"Arabia Harrison"); ?></td>
<td><? echo uniquePonits($char,"Thief Boss Kalia"); ?></td>
<td><? echo uniquePonits($char,"Khulood"); ?></td>
<td><? echo uniquePonits($char,"Medusa"); ?></td>
<td><? echo TotalPoints($char); ?></td>
<? } ?>
</tr>
</tbody>
</table>
</center>
<footer>
<div class="col-md-10 col-md-offset-1 text-center">
<h6>In the <i class="fa fa-heart red"></i> of <a href="https://www.FB.com/VictorSROPVE" target="_blank"> VictorSRO</a></h6>
</div>
</footer></body>
</html>