<div class="top">
  <span style="float: left; font-weight: bold;">{category names}</span>
  
  <span style="float: right;">
    &nbsp;
   {if allow_add_categ==1}
   <a href="{add_categ_url}" rel="nofollow" class="link2">{add_categ}</a> /
   {end allow_add_categ}
   
   {if allow_add_site==1}   
   <a href="{add_site_url}" rel="nofollow" class="link2">{add_site}</a>
   {end allow_add_site}
    
  </span>
  
</div>

{admin top menu}

<table class="sub_menu">
{row subcategories}
<tr><td>{subcategory}[1]</td><td>{subcategory}[2]</td><td>{subcategory}[3]</td></tr>
{/row subcategories}
</table>

{admin foot menu}

{if view_sites==1}
<table class="sites">

{row site_first}
<tr>
 <td class="{featured/normal}[1]">
  <div class="image">
	<a href="{address}[1]" target="_blank" title="Visit {address}[1]"><img src="http://open.thumbshots.org/image.pxf?url={address}[1]" title="Thumbnail for {address}[1]" style="border-color: #DC913E; border: 1px;" alt="Thumbnail for {address}[1]"></a>  
  </div>
  <div class="site"> 
   <p>&raquo; <a href="{address}[1]" class="link1" target="_blank">{title}[1]</a></p>
   <p>:: {description}[1]</p>
    <p style="color: rgb(170, 34, 34);"> :: www: {address}[1]</p>
   <p> 
    <a href="{more address}[1]" class="infolink">[more]</a> | <a href="#" onclick="window.open('broken.php?id={id}[1]', 'qlWeb', 'height=250,resizable=yes,scrollbars=yes,width=320');return false;" class="infolink">{broken}[1]</a> 
   </p>
   <p> 
    {admin menu site}[1] 
   </p>           
  </div> 
 </td> 
</tr>
{/row site_first}

{if add_no1==1}
<tr>
 <td class="td_add_no1">
  <div class="add_no1">{add}</div>
 </td> 
</tr>
{end add_no1}

{row sites}
<tr>
 <td class="{featured/normal}[1]">
  <div class="image">
    <a href="{address}[1]" target="_blank" title="Visit {address}[1]"><img src="http://open.thumbshots.org/image.pxf?url={address}[1]" title="Thumbnail for {address}[1]" style="border-color: #DC913E; border: 1px;" alt="Thumbnail for {address}[1]"></a>  
  </div>
  <div class="site"> 
   <p>&raquo; <a href="{address}[1]" class="link1" target="_blank">{title}[1]</a></p>
   <p>:: {description}[1]</p>
    <p style="color: rgb(170, 34, 34);">:: www: {address}[1]</p>
   <p> 
    <a href="{more address}[1]" class="infolink">[more]</a> | <a href="#" onclick="window.open('broken.php?id={id}[1]&s={categ}[1]', 'qlWeb', 'height=250,resizable=yes,scrollbars=yes,width=320');return false;" class="infolink" rel="nofollow">{broken}[1]</a> 
   </p>
   <p> 
    {admin menu site}[1] 
   </p>      
  </div> 
 </td> 
</tr>
{/row sites}

</table>

<div class="ql_pagging">{lang page}: {pagging}</div>
{end view_sites}

{if allow_add_site==1}   
{if no_pages==1}
<div>{lang be_first}</div>
{end no_pages}
{end allow_add_site}
{if view_sites==1}
{end view_sites}
