Location: PHPKode > projects > PHP Half-Life Monitor > phlmon-1.0.2-beta/templates/default/configs.tpl
<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;
    }
    
    .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;
    }
    
    .bottomOpen {
        border-bottom-width:1px;
        border-bottom-style:solid;
        border-bottom-color:black;
    }
    
    .overall {
        border-width:1px;
        border-style:solid;
        border-color:black;
    }
    
    -->
</style>

<script type="text/javascript">
    function addTempConfig() {
        var configName = document.tempConfigAddForm.tempConfig.value;
        if ( configName == '' ) {
            alert('{$langEnterConfigName}');
            return false;
        } else {
            return true;
	    }
    }
    function reallyDeleteConfig() {
        var check = confirm("{$langReallyDeleteConfig}");
        return check;
    }
</script>

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

{ %executedTempConfig }
<p>
    {$langLoadedConfig}: <b>{$executedConfigName} ({$executedConfigNumber})</b><br>
    {$langConfigResponse}:<br>
    <pre>{$lastResponse}</pre>
</p>
{ % }

<table border="0" cellspacing="0" cellpadding="5px" width="540">
{ %isTempConfigAvailable }
    <tr>
        <td width="20" id="tableHeaderLeft" align="center">
            <b>{$langSlots}</b>
        </td>
        <td width="438" id="tableHeaderCenter">
            {$langConfigName}
        </td>
        <td width="42" id="tableHeaderCenter">
            &nbsp;
        </td>
        <td width="42" id="tableHeaderRight">
            &nbsp;
        </td>
    </tr>
    {$tempconfigtable}
{ % }
{ %isNotTempConfigAvailable }
    <tr><td colspan="4">{$langNoTempConfigAvailable}</td></tr>
{ % }
    <tr>
        <td height="3" colspan="4"><img src="images/blank.png" width="10" height="3" border="0" /></td>
    </tr>
</table>

{%useSessions}

<form action="{$addTempConfigFormLink}" method="post" enctype="multipart/form-data" name="tempConfigAddForm" onSubmit="return addTempConfig()">
<table border="0" cellpadding="5px" cellspacing="0" width="540">
    <tr>
        <td width="498" class="topLeftOpen">
            <input type="hidden" name="MAX_FILE_SIZE" value="50000">
            <input type="file" name="tempConfig" size="27">
        </td>
        <td width="42" class="topRightOpen">
            <input type="image" src="images/plus.gif" alt="{$langUploadConfig}" class="noBorder">
        </td>
    </tr>
    <tr>
        <td class="bottomLeftOpen">
            {$langMaxFilesize}
        </td>
        <td class="bottomRightOpen">
            &nbsp;
        </td>
    </tr>
</table>
</form>
{%}

<p>&nbsp;</p>

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

{ %executedConfig }
<p>
    {$langLoadedConfig}: <b>{$executedConfigName}</b><br>
    {$langConfigResponse}:<br>
    <pre>{$lastResponse}</pre>
</p>
{ % }


{ %isNotConfigAvailable }
    <br>{$langNoConfigAvailable}
{ % }

{ %isConfigAvailable }
<table border="0" cellspacing="0" cellpadding="5" width="540">
    <tr>
        <td width="20"></td>
        <td width="446"></td>
        <td width="74"></td>
    </tr>
    {$configtable}
</table>
{ % }
Return current item: PHP Half-Life Monitor