rendered paste body<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>United - Top TBC</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<div id="header">
<div id="logo">
</div>
<div id="topright">
<div id="nav">
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="members.php">Members</a></li>
<li><a href="ttbc.php">TTBC</a></li>
<li><a href="irc.php">mIRC</a></li>
<li><a href="download.php">Downloads</a></li>
<li><a href="about.php">About</a></li>
</ul>
<div style="clear:both"></div>
</div>
<div id="contenttr">
<center>
<div class="heading">Top 15 Turn Based Cubbles</div>
<?php
function getline($file,$line)
{
$fd = fopen($file, "r");
$liner = 0;
while ($txt=fgets($fd)) {
$liner++;
if ($liner == $line) {
$textl = $txt;
}
}
fclose ($fd);
return $textl;
}
$ex = explode(' ',getline('ttbc2.txt',1));
$ex1 = explode(' ',getline('ttbc2.txt',2));
$ex2 = explode(' ',getline('ttbc2.txt',3));
$ex3 = explode(' ',getline('ttbc2.txt',4));
$ex4 = explode(' ',getline('ttbc2.txt',5));
$ex5 = explode(' ',getline('ttbc2.txt',6));
$ex6 = explode(' ',getline('ttbc2.txt',7));
$ex7 = explode(' ',getline('ttbc2.txt',8));
$ex8 = explode(' ',getline('ttbc2.txt',9));
$ex9 = explode(' ',getline('ttbc2.txt',10));
$ex10 = explode(' ',getline('ttbc2.txt',11));
$ex11 = explode(' ',getline('ttbc2.txt',12));
$ex12 = explode(' ',getline('ttbc2.txt',13));
$ex13 = explode(' ',getline('ttbc2.txt',14));
$ex14 = explode(' ',getline('ttbc2.txt',15));
echo "<table width=300 border=0><tr><td>Rank:</td><td>Name</td><td>TBC</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>1</td><td align=center style='border: blue 1px solid;'>{$ex[0]}</td><td style='border: blue 1px solid;'>{$ex[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>2</td><td align=center style='border: blue 1px solid;'>{$ex1[0]}</td><td style='border: blue 1px solid;'>{$ex1[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>3</td><td align=center style='border: blue 1px solid;'>{$ex2[0]}</td><td style='border: blue 1px solid;'>{$ex2[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>4</td><td align=center style='border: blue 1px solid;'>{$ex3[0]}</td><td style='border: blue 1px solid;'>{$ex3[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>5</td><td align=center style='border: blue 1px solid;'>{$ex4[0]}</td><td style='border: blue 1px solid;'>{$ex4[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>6</td><td align=center style='border: blue 1px solid;'>{$ex5[0]}</td><td style='border: blue 1px solid;'>{$ex5[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>7</td><td align=center style='border: blue 1px solid;'>{$ex6[0]}</td><td style='border: blue 1px solid;'>{$ex6[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>8</td><td align=center style='border: blue 1px solid;'>{$ex7[0]}</td><td style='border: blue 1px solid;'>{$ex7[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>9</td><td align=center style='border: blue 1px solid;'>{$ex8[0]}</td><td style='border: blue 1px solid;'>{$ex8[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>10</td><td align=center style='border: blue 1px solid;'>{$ex9[0]}</td><td style='border: blue 1px solid;'>{$ex9[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>11</td><td align=center style='border: blue 1px solid;'>{$ex10[0]}</td><td style='border: blue 1px solid;'>{$ex10[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>12</td><td align=center style='border: blue 1px solid;'>{$ex11[0]}</td><td style='border: blue 1px solid;'>{$ex11[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>13</td><td align=center style='border: blue 1px solid;'>{$ex12[0]}</td><td style='border: blue 1px solid;'>{$ex12[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>14</td><td align=center style='border: blue 1px solid;'>{$ex13[0]}</td><td style='border: blue 1px solid;'>{$ex13[1]}</td></tr>";
echo "<tr><td style='border: blue 1px solid;'>15</td><td align=center style='border: blue 1px solid;'>{$ex14[0]}</td><td style='border: blue 1px solid;'>{$ex14[1]}</td></tr></table>";
?>
</center>
</div>
</div>
</div>
<div id="bottom">
<div id="csoon">
<div class="heading2">Coming Soon</div>
<p>Games, forums, more features!</p>
</div>
<div id="csoon">
<div class="heading2">New!</div>
<p>New features will be posted here!</p>
</div>
<div id="csoon">
<div class="heading2">Game of the Month</div>
<p>Arcade game of the month</p>
</div>
<div id="csoon">
<div class="heading2">Admins</div>
<p>The people behind the scenes in *U*</p>
</div>
<div id="footer">
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="members.php">Members</a></li>
<li><a href="ttbc.php">TTBC</a></li>
<li><a href="irc.php">mIRC</a></li>
<li><a href="download.php">Downloads</a></li>
<li><a href="about.php">About</a></li>
</ul><br /><br />
<p class="calign">© Mike 2007-2008</p>
</div>
</div>
</div>
</body>
</html>