ExtremE
Mancıklıpır
- Haz
- 436
- 10
Buyrun bana ait.Tasarımı güzel bütün konulardaki kodların.
PHP:
<style type="text/css">
body {
background-color: transparent;
margin-left: 00px;
margin-top: 0px;
margin-right: 00px;
margin-bottom: 0px;
background-image: transparent;
#Layer1 {
position:absolute;
width:643px;
height:238px;
z-index:1;
left: 0px;
top: 0px;
}
body, td, th {
font-family: Tahoma;
font-size: 11px;
color: #61422F;
}
a:link {
color: #61422F;
}
a:visited {
color: #61422F;
}
a:hover {
color: #61422F;
}
a:active {
color: #61422F;
}
.style3 {color: #FFFFFF}
.style1 {
font-size: 12px;
font-weight: bold;
}
</style>
<?
include('functions.php');
include("ayar.php");
$count = 0;
$msconnect=odbc_connect("$dbname","$dbuser","$dbpass");
$results=odbc_exec($msconnect,"SELECT strCharID FROM CURRENTUSER");
$partingen1 =
'
<strong>
<table width="100%" border="1" cellpadding="0" cellspacing="0" style="font-size:10px; font-family:Tahoma">
</strong>
<tr bgcolor="#0e1928" style="color:#FFFFFF">
<td align="center"><strong>Kullanici Adi</strong></td>
<td align="center"><strong>LeveL</strong></td>
<td align="center"><strong>Irk</strong></td>
<td align="center"><strong>Class</strong></td>
<td align="center"><strong>Klan</strong></td>
<td align="center"><strong>Np</strong></td>
</tr>
';
echo $partingen1;
while (odbc_fetch_row($results)) {
// Data
$user = odbc_result($results, 1);
$info=odbc_exec($msconnect,"SELECT Level, Nation, Class, Knights, Loyalty FROM USERDATA WHERE strUserId = '".$user."'");
$lvl=odbc_result($info, 1);
$nation = getNation(odbc_result($info, 2));
$class = getClass(odbc_result($info, 3));
$clan = odbc_result($info, 4);
$clanr=odbc_exec($msconnect,"SELECT IDNum, IDName FROM KNIGHTS WHERE IDNum = '$clan'");
$clanid=odbc_result($clanr, 1);
$clan=odbc_result($clanr, 2);
if ($clan == '') {
$clan = '';
}
$np = odbc_result($info, 5);
$count++ ;
echo '
<tr bgcolor="#EEEEEE" style="color:#000000">
<td align="center" style="color:#000000"><strong><a href="userdet.php?userid='.$user.'">'.$user.'</div></td></a>
<td align="center" style="color:#000000"><strong>'.$lvl.'</strong></td>
<td align="center" style="color:#000000"><strong>'.$nation.'</strong></td>
<td align="center" style="color:#000000"><strong>'.$class.'</strong></td>
<td align="center" style="color:#000000"><strong><a href="showclan.php?do='.$clanid.'">'.$clan.'</strong></td></a>
<td align="center" style="color:#000000"><strong>'.$np.'</strong></td>
</tr>
';}
$partingen2 = '</p>
<strong>
<table width="100%" border="1" cellpadding="0" cellspacing="0" style="font-size:10px; font-family:Tahoma">
</strong>
<tr bgcolor="#0e1928" style="color:#FFFFFF">
<td align="center"><strong>'.$count.' Kullanici Oyunda</strong></td>
</tr>
';
echo $partingen2;
?>
<body style="background-image: url('bg_acuity.gif')">
</html>