Location: PHPKode > projects > PHP Half-Life Monitor > phlmon-1.0.2-beta/templates/default/bans.tpl
<style type="text/css">
    <!--
        
    td.left {
        border-bottom-width:1px;
        border-bottom-style:solid;
        border-bottom-color:black;
        border-left-width:1px;
        border-left-style:solid;
        border-left-color:black;
        border-right-width:1px;
        border-right-style:solid;
        border-right-color:black;
    }
    
    td.center {
        border-bottom-width:1px;
        border-bottom-style:solid;
        border-bottom-color:black;
        border-right-width:1px;
        border-right-style:solid;
        border-right-color:black;
    }
    
    td.right {
        border-bottom-width:1px;
        border-bottom-style:solid;
        border-bottom-color:black;
        border-right-width:1px;
        border-right-style:solid;
        border-right-color:black;
    }
    
    #topLeft {
        border-width:1px;
        border-style:solid;
        border-color:black;
    }
    
    #topCenter {
        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;
    }
    
    #topRight {
        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;
    }
    
    #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;
    }
    
    .topLeftOpen {
        border-top-width:1px;
        border-top-style:solid;
        border-top-color:black;
        border-left-width:1px;
        border-left-style:solid;
        border-left-color:black;
    }
    
    .topRightOpen {
        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;
    }
    
    .bottomLeftRight {
        border-bottom-width:1px;
        border-bottom-style:solid;
        border-bottom-color:black;
        border-right-width:1px;
        border-right-style:solid;
        border-right-color:black;
        border-left-width:1px;
        border-left-style:solid;
        border-left-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;
    }
    
    #top {
        border-top-width:1px;
        border-top-style:solid;
        border-top-color:black;
    }
    -->
</style>

<script type="text/javascript">
    <!--
    function banPlayer() {
        var IsInt = 1;
        for ( i = 0; i < document.banForm.banTime.value.length; ++i ) {
            if ( document.banForm.banTime.value.charAt( i ) > '9' || document.banForm.banTime.value.charAt( i ) < '0' ) {
                IsInt = 0;
            }
        }
        if ( document.banForm.banTime.value == '' ) {
            alert('{$langNoBanTime}');
            return false;
        } else if ( IsInt == '0' ) {
            alert( '{$langNotAnInteger}' );
            return false;
        } else if ( document.banForm.banTime.value == '' ) {
            alert('{$langIdent}');
            return false;
        } else if ( document.banForm.banTime.value == '0' ) {
            check = confirm( '{$langBanPermanently}');
            if ( check == true ) {
                return true;
            } else {
                return false;
            }
        } else {
            return true;
        }
    }
    -->
</script>

<p style="font-size:16pt;"><strong>{ $langBans }</strong></p>

<table width="540" cellpadding="5px" cellspacing="0" border="0">
    <tr>
        <td id="tableHeaderLeft" width="120">
            <b>{ $banMode }</b>
        </td>
        <td id="tableHeaderCenter" width="200">
            <b>{ $identifier }</b>
        </td>
        <td id="tableHeaderCenter" width="178">
            <b>{ $banTime }</b>
        </td>
        <td id="tableHeaderRight" width="42">
        </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>
    </tr>
    {$banTable}
    {$noBansAvailable}
    <tr>
        <td height="3"><img src="images/blank.png" width="10" height="3" border="0" /></td>
        <td height="3"><img src="images/blank.png" width="10" height="3" border="0" /></td>
        <td height="3"><img src="images/blank.png" width="10" height="3" border="0" /></td>
        <td height="3"><img src="images/blank.png" width="10" height="3" border="0" /></td>
    </tr>
    <tr>
        <td colspan="4" id="overall">
            <form action="{$banPlayerFormLink}" method="post" onSubmit="return banPlayer();" name="banForm">
                <b>{ $manualBan }</b><br><br>
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td nowrap="nowrap">
                            WonID/IP: <input type="text" name="ID" size="12">&nbsp;&nbsp;&nbsp;
                        </td>
                        <td nowrap="nowrap">
                            { $banTimeInput }: <input type="text" name="banTime" size="3">&nbsp;&nbsp;&nbsp;
                        </td>
                        <td nowrap="nowrap" align="right">
                            <input type="image" src="images/ban.gif" alt="{ $banPlayer }" class="noBorder">
                        </td>
                    </tr>
                </table>
            </form>
        </td>
    </tr>
</table>
Return current item: PHP Half-Life Monitor