{literal}
<style>
a{
        text-decoration: none;
        color: #191970;
}
</style>
{/literal}
<table border="0" width="100%" height="62" cellspacing="0" cellpadding="0">
  <tr>
    <td width="104%" colspan="5" height="31">
      <p align="left">&nbsp;</p>
    </td>
  </tr>
  <tr bgcolor="#DDDDDD">
    <td width="20%" height=30>
      <p align="left"><font color="#003366" size="2" face="Verdana"><b>&nbsp;
      <a href="admin_server.php?sort=name" title="Sort">Name</a>
      </b></font></p>
    </td>
    <td width="20%">
      <p align="left"><font color="#003366" size="2" face="Verdana">
      <a href="admin_server.php?sort=size" title="Sort"><b>Size</b></a>
      </font></p>
    </td>
    <td width="20%">
      <p align="left"><font color="#003366" size="2" face="Verdana">
      <a href="admin_server.php?sort=used" title="Sort"><b>Used</b></a>
      </font></p>
    </td>

    <td width="20%">
      <p align="left"><font color="#003366" size="2" face="Verdana">
      <a href="admin_server.php?sort=priority" title="Sort"><b>Priority</b></a>
      </font></p>
    </td>
    <td width="20%">
      <p align="left"><font color="#003366" size="2" face="Verdana"><b>Action</b></font></p>
    </td>
  </tr>
  <tr><td colspan=5 width=1 bgcolor="#BBBBBB"> </td> </tr>
<!---------------------------------------------------------------------------->  
{section name=i loop=$server}
  <tr bgcolor={cycle values=#EFEFEF,#DFDFDF}>
    <td width="20%" valign=middle>
      <p align="left"><font face="Verdana" size="2">&nbsp;<font color="#3366CC">{$server[i].name}</font></font></p>
    </td>
    <td width="20%" valign=middle>
      <p align="left"><font color="#3366CC" face="Verdana" size="2">{$server[i].size}</font></p>
    </td>
    <td width="20%" valign=middle>
      <p align="left"><font color="#3366CC" face="Verdana" size="2">{$server[i].used}</font></p>
    </td>    
    <td width="20%" valign=middle>
      <p align="left"><font color="#3366CC" face="Verdana" size="2">{$server[i].priority}</font></p>
    </td>
    <!--------------------------------------------------->
    <td width="20%"  valign=middle>
    <font face="Verdana" size="2">         
    <a href="admin_server.php?action=del&srvrid={$server[i].id}" style="text-decoration: none">Delete</a>|<a href="admin_index.php?change=Server&action=edit&srvrid={$server[i].id}&n={$server[i].name}&s={$server[i].size}&p={$server[i].priority}" style="text-decoration: none">Edit</a>
    </font>
    </td>
   <!--------------------------------------------------->       
  </tr>
  <tr><td colspan=5 width=1 bgcolor="#BBBBBB"> </td> </tr>
{/section}  
<!---------------------------------------------------------------------------->    
</table>
<p align="center">
<form method="POST" action="admin_server.php">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; font-family:Verdana; font-size:10pt" bordercolor="#111111" width="300" height="104">
                    <tr>
                      <td width="300" align="right" height="16" colspan="3">
                      <p align="left"><font color="#3366CC"><u><b>
                      {assign var="act1" value="Add New "}
                      {if $smarty.request.action eq "edit"}
                      {assign var="act1" value="Update "}
                      {/if} {$act1}
                      Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </b></u></font></td>
                    </tr>
                    <tr>
                      <td width="118" align="right" height="29">Name</td>
                      <td width="9" align="left" height="29">&nbsp;</td>
                      <td width="173" align="left" height="29">
                      <input type="text" name="n" size="20" style="font-family: Verdana; font-size: 8pt" value="{$smarty.request.n}"></td>
                    </tr>
                    <tr>
                      <td width="118" align="right" height="30">Size</td>
                      <td width="9" align="left" height="30">&nbsp;</td>
                      <td width="173" align="left" height="30">
                      <input type="text" name="s" size="9" style="font-family: Verdana; font-size: 8pt" value="{$smarty.request.s}">
                      GB</td>
                    </tr>
                    <tr>
                      <td width="118" align="right" height="29">Priority</td>
                      <td width="9" align="left" height="29">&nbsp;</td>
                      <td width="173" align="left" height="29">
                      <input type="text" name="p" size="9" style="font-family: Verdana; font-size: 8pt" value="{$smarty.request.p}"> 
                      </td>
                    </tr>
                    <tr>
                      <td width="118" align="right" height="29">&nbsp;</td>
                      <td width="9" align="left" height="29">&nbsp;</td>
                      <td width="173" align="left" height="29">
                      <input type="hidden" name="srvrid" value="{$smarty.request.srvrid}">
                      {assign var="act" value="Include"}
                      {if $smarty.request.action eq "edit"}
                      {assign var="act" value="Update"}
                      {/if}
                      <input type="submit" value="{$act}" name="action" style="font-family: Verdana; font-size: 10pt"></td>
                    </tr>
</table>
</form>
</p>
