<table class="site_info">
<tr>
 <td class="{featured/normal}">
  <a href="./" class="link1">{home}</a>
  <hr>
 </td> 
</tr>
<tr>
 <td>
 
 <div>

  {if site_new==1}
  <div>
    <b>Thank You! Your Link is pending approval.</b> 
  
  </div>
  {end site_new}

  {if site_new==2}
  <div>
    <b>Thank You! Your Link is pending approval.</b>  
  </div>
  {end site_new}
  
    
  {if site_old_added== 1}
  <div>
    <b>Thank You! Your site already exists in the Directory and your link was submitted to another category: {category}.</b>
  </div>
  {end site_old_added}  

  {if site_old_added== 2}
  <div>
    <b>Your site reached maximum categories. Please submit a different site.</b>
  </div>    
  {end site_old_added}  
  
  {if ispayment==1}
    <b>Your Link is awaiting Payment confirmation from PayPal:</b><br>
    
      <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
      
      {if subscription==0}
        <input type="hidden" name="cmd" value="_xclick" />
      {end subscription}

      {if subscription==1}
        <input type="hidden" name="cmd" value="_xclick-subscriptions" />
      {end subscription}      
      
        <input type="hidden" name="business" value="{paypal_account}" />
        <input type="hidden" name="item_name" value="Link to {url}" />
        <input type="hidden" name="item_number" value="{id}" />
        <input type="hidden" name="amount" value="{payment_amount}" />
        <input type="hidden" name="quantity" value="1" />
        <input type="hidden" name="no_shipping" value="1" />
        <input type="hidden" name="return" value="{return_addr}" />
        <input type="hidden" name="cancel_return" value="{cancel_return}" />
        <input type="hidden" name="notify_url" value="{notify_url}" />
        <input type="hidden" name="custom" value="{link_type}" />
        <input type="hidden" name="no_note" value="1" />
        <input type="hidden" name="email" value="{email}" />
        <input type="hidden" name="currency_code" value="{co_code}" />
        
      {if subscription==1}
         <input type="hidden" name="a3" value="{payment_amount}" />
         <input type="hidden" name="p3" value="{subscription_period}" />
         <input type="hidden" name="t3" value="M" />
         <input type="hidden" name="src" value="1" />
         <input type="hidden" name="sra" value="1" />
      {end subscription}        
        
        <input type="image" src="https://www.paypal.com/en_US/i/bnr/horizontal_solution_PPeCheck.gif"
        name="submit" alt="Make payments with PayPal - it's fast, free and secure!" />
     </form>
  {end ispayment}

 </div>

</td>
</tr> 
</table>
