<style type="text/css">
<!--
.noBorder {
border-width:0px;
}
#tableHeaderLeft {
border-bottom-width:1px;
border-bottom-style:solid;
border-bottom-color:black;
border-top-width:1px;
border-top-style:solid;
border-top-color:black;
border-left-width:1px;
border-left-style:solid;
border-left-color:black;
}
#tableHeaderCenter {
border-bottom-width:1px;
border-bottom-style:solid;
border-bottom-color:black;
border-top-width:1px;
border-top-style:solid;
border-top-color:black;
}
#tableHeaderRight {
border-bottom-width:1px;
border-bottom-style:solid;
border-bottom-color:black;
border-top-width:1px;
border-top-style:solid;
border-top-color:black;
border-right-width:1px;
border-right-style:solid;
border-right-color:black;
}
.bottomLeftOpen {
border-bottom-width:1px;
border-bottom-style:solid;
border-bottom-color:black;
border-left-width:1px;
border-left-style:solid;
border-left-color:black;
}
.bottomRightOpen {
border-bottom-width:1px;
border-bottom-style:solid;
border-bottom-color:black;
border-right-width:1px;
border-right-style:solid;
border-right-color:black;
}
.bottomOpen {
border-bottom-width:1px;
border-bottom-style:solid;
border-bottom-color:black;
}
#overall {
border-width:1px;
border-style:solid;
border-color:black;
}
-->
</style>
<table cellpadding="5" cellspacing="0" border="0">
<tr>
<td width=20 id="tableHeaderLeft"><b><a href="{$orderByNumberLink}" target=_self>No.</a></b></td>
<td width=200 id="tableHeaderCenter"><b><a href="{$orderByNameLink}" target=_self>{$langName}</a></b></td>
<td width=50 id="tableHeaderCenter"><b><a href="{$orderByFragsLink}" target=_self>{$langFrags}</a></b></td>
<td width=70 id="tableHeaderCenter"><b><a href="{$orderByUserIDLink}" target=_self>{$langTime}</a></b></td>
<td width=80 id="tableHeaderCenter"><b><a href="{$orderByWonIDLink}" target=_self>WonID</a></b></td>
<td width=60 id="tableHeaderCenter"><b><a href="{$orderByUserIDLink}" target=_self>UserID</a></b></td>
<td id="tableHeaderRight"> </td>
</tr>
<tr>
<td height="3" class="bottomOpen"><img src="images/blank.png" width="10" height="3" border="0" /></td>
<td height="3" class="bottomOpen"><img src="images/blank.png" width="10" height="3" border="0" /></td>
<td height="3" class="bottomOpen"><img src="images/blank.png" width="10" height="3" border="0" /></td>
<td height="3" class="bottomOpen"><img src="images/blank.png" width="10" height="3" border="0" /></td>
<td height="3" class="bottomOpen"><img src="images/blank.png" width="10" height="3" border="0" /></td>
<td height="3" class="bottomOpen"><img src="images/blank.png" width="10" height="3" border="0" /></td>
<td height="3" class="bottomOpen"><img src="images/blank.png" width="10" height="3" border="0" /></td>
</tr>
{$playertable}
</table>
<br><br>
<p>
{$langInfo}
</p>
<script type="text/javascript">
function banPlayer( WonID ) {
var IsInt = 1;
for ( i = 0; i < document.getElementsByName( 'banTime' + WonID )[0].value.length; ++i ) {
if ( document.getElementsByName( 'banTime' + WonID )[0].value.charAt( i ) > '9' || document.getElementsByName( 'banTime' + WonID )[0].value.charAt( i ) < '0' ) {
IsInt = 0;
}
}
if ( document.getElementsByName( 'banTime' + WonID )[0].value == '' ) {
alert('{$langNoBanTime}');
} else if ( IsInt == '0' ) {
alert( '{$langNotAnInteger}' );
} else if ( document.getElementsByName( 'banTime' + WonID )[0].value == '0' ) {
check = confirm( '{$langBanPermanently}');
if ( check == true ) {
window.location.href = '{$banPlayerLink}&ID=' + WonID + '&banTime=' + document.getElementsByName( 'banTime' + WonID )[0].value;
}
} else {
window.location.href = '{$banPlayerLink}&ID=' + WonID + '&banTime=' + document.getElementsByName( 'banTime' + WonID )[0].value;
}
}
</script>