{q}someone can website with clan rank?

Status
Not open for further replies.
You need clan war procs working, i already have somthing like that setup. Just need to get wins/losses working for clan war then i can rank clans.

 
Upvote 0
this is a clanrank php
<?php
$srvip = "wan ip";
$srvport = "6000";
$mssql_user = "sa";
$mssql_pass = "123456";
$mssql_database = "GunzDB";
$mssql_host = "Skygamerz\SQLEXPRESS";
$conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
mssql_select_db($mssql_database);
?>
<link rel="stylesheet" type="text/css" href="style.css">
<?php
$query = mssql_query("SELECT TOP 10 * FROM Clan order by Name Desc");


?>
<style type="text/css">
<!--
.style28 {font-size: 10px}
.style29 {color: #000000; font-weight: ; font-size: 10px; }
.style1 { font-size: 10px;
font-weight: ;
}
-->
</style>
<body bgcolor="#EDEDED">

<table width="141" border="0">
<?php
for($i=0;$i < mssql_num_rows($query);++$i)
{
$row = mssql_fetch_row($query);
$rank = $i+1;

?>
<tr>
<td><span class="style28"><strong style="font-weight: 400">
<font face="Verdana" size="1"><?php echo "$row[1]" ;?></font></strong></span></td>
<td><span class="style28"><strong style="font-weight: 400">
<font face="Verdana" size="1"><?php echo "$row[6]";?></font></strong></span></td>
<td><span class="style28"><strong style="font-weight: 400">
<font face="Verdana" size="1"><?php echo "$row[13]";?></font></strong></span></td>
</tr>
<?php }?>
</table>
 
Upvote 0
Status
Not open for further replies.
Back