{capture name="title"}- {$TITLE|escape|trim}{/capture}
{capture assign="in_page_title"}{$TITLE|escape|trim}{/capture}
{capture assign="description"}{l}Member Details{/l}{/capture}

{include file="header.tpl"}
{include file="top_bar.tpl"}

{strip}
{if $error}
   <div class="err">
      <img src="admin/images/no_22.gif" align="baseline" alt="Error" title="Error" />
      <p>{l}Error{/l}: {$error}</p>
   </div>
{else}
<table border="0" width="100%">
<!--   <tr>
      <td class="label" style="padding-top: 25px;">{l}ID{/l}:</td>
      <td class="smallDesc" align="left" style="padding-top: 25px;"><b>{$ID}</b></td>
   </tr>-->
   <tr>
      <td class="label">{l}Name{/l}:</td>
      <td class="smallDesc" align="left">{$NAME|escape|trim}</td>
   </tr>
   {if $ALLOW_AVATARS eq 1}
   <!-- author avatar related -->
   {if $AUTH_IMG}
   <tr>
   <td class="label">{l}Members Photo{/l}:</td>
   
   <td class="smallDesc" align="left"><img src="{$AUTH_IMG}"></td>
   
   </tr>
   {/if}
   {/if}
   <!-- end -->
{if $INFO}
   <tr>
      <td class="label">{l}Info {/l}:</td>
      <td class="smallDesc" align="left">{$INFO|escape|trim}</td>
   </tr>
{/if}
{if $WEBSITE}
   <tr>
      <td class="label">{l}Members Website{/l}:</td>
      <td class="smallDesc" align="left"><a href="{$WEBSITE|escape|trim}" title="{if $WEBSITE_NAME}{$WEBSITE_NAME|escape|trim}{else}{$WEBSITE|escape|trim}{/if}">{if $WEBSITE_NAME}{$WEBSITE_NAME|escape|trim}{else}{$WEBSITE|escape|trim}{/if}</a></td>
   </tr>
{/if}
   <tr>
      <td class="label">{l}Registration Date{/l}:</td>
      <td class="smallDesc" align="left">{$REG_DATE|escape|trim}</td>
   </tr>
   <tr>
      <td class="label">{l}Last Login{/l}:</td>
      <td class="smallDesc" align="left">{$LAST_LOGIN|escape|trim}</td>
   </tr>
   {if $RELATED}
   <tr>
      <td class="label">{l}Members Links{/l}:</td>
      <td class="smallDesc" align="left">{$RELATED}</td>
   </tr>
   {/if}
    {if $RELATED1}
   <tr>
      <td class="label">{l}Members Articles{/l}:</td>
      <td class="smallDesc" align="left">{$RELATED1}</td>
   </tr>
   {/if}
   <tr>
      <td colspan="2">&nbsp;</td>
   </tr>

</table>

{* Javascript for tracking link clicks *}
<script type="text/javascript">
/* <![CDATA[ */
   var root = '{$smarty.const.DOC_ROOT}';
   {literal}
   var a = document.getElementsByTagName("a");
   for(i = 0; i< a.length; i++)
      if(a[i].id != '')
         a[i].onclick = count_link;
   function count_link() {
      i = new Image();
      i.src= root+'/cl.php?id='+this.id;
      return true;
   }
   {/literal}
/* ]]> */
</script>

{/if}
{/strip}
{include file="footer.tpl"}