- Joined
- Mar 26, 2009
- Messages
- 96
- Reaction score
- 9
<?PHP
require('config.php');
$get_baned = $db->Execute("Select name,accountid,ip_address from character where ctlcode='1'");
$ip = mssql_fetch_row($result2);
echo '
<table height=10 border="1" bordercolor=#000000 cellpadding="4" cellspacing="1">
<thead><tr>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>#</td>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>Account</td>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>IP Adress</td>
</tr></thead>
';
for($i=0;$i < $get_baned->numrows();++$i)
{
$row = $get_baned->fetchrow();
$rank = $i+1;
echo "<tr>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$rank</td>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$row[1]
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$ip[0]
</tr>
";
}
?>
</table>
<?PHP
require('config.php');
$get_banned = mssql_query("Select name,accountid from character where ctlcode='1'");
echo '
<table height=10 border="1" bordercolor=#000000 cellpadding="4" cellspacing="1">
<thead><tr>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>#</td>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>Account</td>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>IP Adress</td>
</tr></thead>';
for($i=0;$i < mssql_num_rows($get_banned);$i++)
{
$row = mssql_fetch_row($get_banned);
$get_ip = mssql_query("Select IP From MEMB_STAT Where memb___id='".$row['AccountID']."'");
$ip = mssql_fetch_row($get_ip);
$rank = $i+1;
echo "<tr>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$rank</td>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$row[1]</td>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$ip[0]</td>
</tr>
";
}
?>
можете ли да го направите на мястото на ИП да е името на героя ?
<?PHP
require('config.php');
$get_banned = mssql_query("Select name,accountid from character where ctlcode='1'");
echo '
<table height=10 border="1" bordercolor=#000000 cellpadding="4" cellspacing="1">
<thead><tr>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>#</td>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>Account</td>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>Characters</td>
</tr></thead>';
for($i=0;$i < mssql_num_rows($get_banned);$i++)
{
$row = mssql_fetch_row($get_banned);
$getchar = mssql_query("Select name From Character Where memb___id='".$row['AccountID']."'");
$char = mssql_fetch_row($getchar);
$rank = $i+1;
echo "<tr>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$rank</td>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$row[1]</td>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$char[0]</td>
</tr>
";
}
?>
можете ли да го направите на мястото на ИП да е името на героя ?
<?PHP
include('config.inc.php');
$get_banned = mssql_query("select Name,AccountID from character where ctlcode='1'");
echo '
<table height=10 border="1" bordercolor=#000000 cellpadding="4" cellspacing="1">
<thead><tr>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>#</td>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>Account</td>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>Character Name</td>
</tr></thead>';
for($i=0;$i < mssql_num_rows($get_banned);$i++)
{
$rank = $i+1;
$row = mssql_fetch_row($get_banned);
echo "<tr>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$rank</td>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$row[1]</td>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$row[0]</td>
</tr>
";
}
?>
<?PHP
require('config.php');
$get_banned = mssql_query("Select Name,accountid from character where ctlcode='1'");
echo '
<table height=10 border="1" bordercolor=#000000 cellpadding="4" cellspacing="1">
<thead><tr>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>#</td>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>Account</td>
<td bgcolor="#3d3d3d" border="1" bordercolor="black" style="border-collapse: collapse; border: 1px solid black" align=center class=thead2>IP Adress</td>
</tr></thead>';
for($i=0;$i < mssql_num_rows($get_banned);$i++)
{
$row = mssql_fetch_row($get_banned);
$rank = $i+1;
echo "<tr>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$rank</td>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$row[1]</td>
<td bgcolor='#3d3d3d' border='1' bordercolor='black' style='border-collapse: collapse; border: 1px solid black' align=center><font color=#FFFFFF>$row[0]</td>
</tr></table>
";
}
?>
да и аз го тествах като го оправих и бачкаше но аз съм го тест на сезон 4 такаче би трябвало да няма проблеми според мен