<html>

<head>
<title>Welcome Mr. {$smarty.cookies.uname}</title>
<!--{literal}-->
<link href="templates/style.css" rel="stylesheet" type="text/css">
<!--{/literal}-->

</head>

<body>
<p align=center>
<table border="0" width="600" height="129" cellspacing="0" cellpadding="0">
  <tr>
    <td width="600" height="250" valign="top">
      <table border="0" width="100%" cellspacing="0" cellpadding="0" height="314">
        <tr>
          <td width="100%" height="29" colspan="2">
<!---------------------------------------------------------------->          
{include file="header.tpl"}
<!---------------------------------------------------------------->
          </td>
        </tr>
        <tr>
          <td width="100%" height="29" colspan="2">
          <p align="left">
          <font face="Verdana" size="2" color="#7777D2"><b>Premium Members Area</b></font>
          </p>
          </td>
        </tr>
        <tr>
          <td width="84%" height="49" bgcolor="#F2F2FF">
            &nbsp;
          </td>
          <td width="16%" height="49" bgcolor="#F2F2FF">
            <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                  <tr>
                    <td width="179%" align=right>
                    <p>
                    <a class="link" href="index.php">Upload</a></p></td>
                  </tr>
                  <tr>
                    <td width="179%" align=right>
                    <p>
                    <a class="link" title="Go to my  file manager..." href="welcome_premium.php">
                    File Manager</a></p></td>
                  </tr>
                  <tr>
                    <td width="179%" align=right>
                    <a class="link1" title="Log out" href="logout.php">Logout</a></td>
                  </tr>
                  </table>
          </td>
        </tr>
        
        
        <tr>
          <td width="100%" height="18" align="center" colspan="2">
          <p align="left">Your membership is valid for {$mv}
          </td>
        </tr>
        
        
        <tr>
          <td width="100%" height="127" valign="top" colspan="2">          
            <table border="0" width="100%" cellspacing="0" cellpadding="0" height="202">
              <tr>
                <td width="44%" align="right" height="175" valign="top">
                  <table border="0" width="100%" height="30" bgcolor="#C0C0C0" cellspacing="0" cellpadding="0">
                    <tr>
                      <th width="22%" height="24" valign="middle" align="left" bgcolor="#EBF1F1">
                        <p align="left"><b><font color="#000000">&nbsp;&nbsp;</font>Name</b></th>
                      <th width="10%" height="24" valign="middle" align="left" bgcolor="#EBF1F1">
                        <p align="left"><b>Size</b></th>
                      <th width="22%" height="24" valign="middle" align="left" bgcolor="#EBF1F1">
                        <b><p align=left> Recipient</b></th>
                      <th width="7%" height="24" valign="middle" align="left" bgcolor="#EBF1F1">
                        <p align="left"><b># D/L</b></th>
                      <th width="13%" height="24" valign="middle" align="left" bgcolor="#EBF1F1">
                        <p align="left"><b>Expired</b></th>
                      <th width="6%" height="24" valign="middle" align="left" bgcolor="#EBF1F1">
                        <b>Action</b></th>
                    </tr>
                    <tr>
                      <td width="100%" height="1" valign="middle" align="left" colspan="6" bgcolor="#FFFFFF"></td>
                    </tr>
<!----------------------------------------------------------------------------------------------->                    
				   {if $mv != "0 days"}
                   {section name=i loop=$myfile}                     
                    <tr bgcolor={cycle values=#EFEFEF,#DFDFDF}>
                      <td height="24" valign="middle" align="left"><p align=left>&nbsp;{$myfile[i].file_name}</td>
                      <td height="24" valign="middle" align="left"><p align=left>{$myfile[i].size} B</td>
                      <td height="24" valign="middle" align="left"><p align=left>{$myfile[i].recipient}</td>
                      <td height="24" valign="middle" align="left"><p align=left>{$myfile[i].no_of_dwnld}</td>
                      <td height="24" valign="middle" align="left"><p align=left>{$myfile[i].expire_time}</td>
                      <td height="24" valign="middle" align="left">
                      <p align=center>&nbsp;<a href="remove.php?key={$myfile[i].idkey}">Delete</a></td>
                    </tr>
<!----------------------------------------------------------------------------------------------->                    
                    <tr>
                      <td width="100%" height="1" valign="middle" align="left" colspan="6" bgcolor="#FFFFFF"></td>
                    </tr>
                   {/section} 
                   {else}
                   <tr><td colspan=6><font color=red>This option is frozen. Buy a memdership package to activate.</font></td></tr>
                   {/if}
                  </table>
                  <p align="right">
                  <p align="left">
                  <p align="left"></td>
              </tr>
              <tr>
                <td width="44%" align="right" height="27">
                  <p align="center">
<!--------------------------------------------------------------------------------------------------------->                         
                  {include file="premium_packages.tpl"}
<!--------------------------------------------------------------------------------------------------------->                          
                  <p align="left"></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td width="100%" height="18" colspan="2">
          
          
          </td>
        </tr>
        <tr>
          <td width="100%" height="48" bgcolor="#F7F3FF" colspan="2"></td>
        </tr>
        <tr>
<!--------------------------------------------------------------------------------------------------------->        
   <td width="100%" height="25" colspan="2">
<p align="center">{include file="bottom_link.tpl"}
          
          </td>
<!--------------------------------------------------------------------------------------------------------->                  
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="600" height="25"><img border="0" src="images/bottomLine.gif" width="600" height="18">      
    </td>
  </tr>
  <tr>
    <td width="600" height="109" valign="top" align="center">
 <p>&nbsp;</p>
<!--------------------------------------------------------------------------------------------------------->             
      <p><b><font color="#FF0000">Important Service Announcement:</font><br>      
      {include file="msg1title.tpl"}
      </b></p>
      {include file="msg1.tpl"}      
<!--------------------------------------------------------------------------------------------------------->              
      </td>
  </tr>
  <tr>
    <td width="600" height="15" valign="top">
    <p align="center">{include file="footer.tpl"}      
      </td>
  </tr>
</table>
</body>

</html>