<?php
session_start();
if ($_SESSION['login'] != "1")
{
header('Location: mulogin.php');
exit();
}
?>
<html>
<head>
<title>Multi Tool - All IP's from user</title>
<link href="main.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor='#000000' text="#FFFFFF">
<?php
include("../lib/config.inc.php");
mysql_connect("$sqlhost", "$sqluser", "$sqlpassword")or die("cannot connect");
mysql_select_db("$sqldb")or die("cannot select DB");
//$_GET['ip'] = $name;
$sql = "SELECT DISTINCT ipaddress FROM bb".$n."_posts WHERE username='$name'";
$result=mysql_query($sql);
if($result){
echo "<center><h1>Multi Tool - All IP's from user:</h1>";
echo "<center>All IP's from this user: $name";
echo "<table border='1' cellpadding='2' cellspacing='2' width='800'>
<tr bgcolor='#C0C0C0'>
<th width='400'>Click to check for multi's by registred IP's:</th>
<th width='400'>Click to check for multi's by Posted IP's:</th>
</tr>";
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td height='15'><a href=\"multi2.php?ip=" . $row['ipaddress'] . "\">" . $row['ipaddress'] . "</a></td>";
echo "<td height='15'><a href=\"multi4.php?ip=" . $row['ipaddress'] . "\">" . $row['ipaddress'] . "</a></td>";
echo "</tr>";
}
echo "<tr><td bgcolor='#c0c0c0'colspan='2'> </td></tr></table></center>";
}
else {
echo "ERROR, Kan de pagina niet tonen <br>Meld dit aan een bevoegde Admin";
}
mysql_close();
?>
<?php
include("../lib/config.inc.php");
mysql_connect("$sqlhost", "$sqluser", "$sqlpassword")or die("cannot connect");
mysql_select_db("$sqldb")or die("cannot select DB");
$sql = 'SELECT * FROM `acp2se` LIMIT 0, 30';
$result=mysql_query($sql);
if($result){
while($row = mysql_fetch_array($result))
{
echo "</p>";
echo "<center>" . $row['Version'] . "</center>";
echo "<center>" . $row['Copy'] . "</center>";
}
echo "<tr><td bgcolor='#c0c0c0'colspan='5'> </td></tr></table></center>";
}
else {
echo "</p><b>Instal first the ACP 2 SE information!</br>© 2007 The Chaser - Kinger7</b>";
}
mysql_close();
?>
</body>
</html>