<table border="0" width="100%" height="62" cellspacing="0" cellpadding="0">
  <tr>
    <td width="104%" colspan="4" height="31">
      <p align="left">&nbsp;</p>
    </td>
  </tr>
  <tr bgcolor="#DDDDDD">
    <td width="25%" height=30>
      <p align="left"><font color="#003366" size="2" face="Verdana"><b>&nbsp;Package</b></font></p>
    </td>
    <td width="25%">
      <p align="left"><font color="#003366" size="2" face="Verdana"><b>Duration</b></font></p>
    </td>
    <td width="25%">
      <p align="left"><font color="#003366" size="2" face="Verdana"><b>Price</b></font></p>
    </td>
    <td width="25%">
      <p align="left"><font color="#003366" size="2" face="Verdana"><b>Action</b></font></p>
    </td>
  </tr>
  <tr><td colspan=4 width=1 bgcolor="#BBBBBB"> </td> </tr>
<!---------------------------------------------------------------------------->  
{section name=i loop=$pac}
  <tr bgcolor={cycle values=#EFEFEF,#DFDFDF}>
    <td width="25%" valign=middle>
      <p align="left"><font face="Verdana" size="2">&nbsp;<font color="#3366CC">{$pac[i].pacname}</font></font></p>
    </td>
    {if $pac[i].pactime}
    <td width="25%" valign=middle>
      <p align="left"><font color="#3366CC" face="Verdana" size="2">{$pac[i].pactime}</font></p>
    </td>
    {else}
    <td width="25%" valign=middle>
      <p align="left"><font color="#3366CC" face="Verdana" size="2">Lifetime</font></p>
    </td>
    {/if}
    <td width="25%" valign=middle>
      <p align="left"><font color="#3366CC" face="Verdana" size="2">{$pac[i].pacrate}$</font></p>
    </td>    
    <!--------------------------------------------------->
    <td width="25%"  valign=middle>         
    <font face="Verdana" size="2">         
    <a href="admin_pacedit.php?action=del&pacid={$pac[i].pid}" style="text-decoration: none">Delete</a>|<a href="admin_index.php?change=Packages&action=edit&pacid={$pac[i].pid}&n={$pac[i].pacname}&d={$pac[i].pactime}&p={$pac[i].pacrate}" style="text-decoration: none">Edit</a>
    </font>
    </td>
   <!--------------------------------------------------->       
  </tr>
  <tr><td colspan=4 width=1 bgcolor="#BBBBBB"> </td> </tr>
{/section}  
<!---------------------------------------------------------------------------->    
</table>
<p align="center">
<form method="POST" action="admin_pacedit.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}

                      Package&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">Duration</td>
                      <td width="9" align="left" height="30">&nbsp;</td>
                      <td width="173" align="left" height="30">
                      <input type="text" name="d" size="9" style="font-family: Verdana; font-size: 8pt" value="{$smarty.request.d}"> 
                      Days</td>
                    </tr>
                    <tr>
                      <td width="118" align="right" height="29">Price</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}"> 
                      USD</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="pacid" value="{$smarty.request.pacid}">
                      {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>
