{*********************************************************
* Copyright (c) 2009 PHPLDTemplates.com
* Theme Author: http://www.PHPLDTemplates.com
* Theme URL: http://www.phpldtemplates.com/2009/07/free-phpld-template-dbs-3/
* 
* Report bug: Please email contact @ PHPLDTemplates.com
* License: Free, provided user keeps the footer links intake. Not to be resold.
* More free phpld templates are available at http://www.PHPLDTemplates.com
* 
**********************************************************}
{capture name="title"}- {$TITLE|escape|trim}{/capture}
{capture assign="in_page_title"}{$TITLE|escape|trim}{/capture}
{capture assign="description"}{l}Author 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 class="formPage" align="center">
<!--   <tr>
      <td class="label" style="padding-top: 25px;">{l}ID{/l}:</td>
      <td class="field" align="left" style="padding-top: 25px;"><b>{$ID}</b></td>
   </tr>-->
   <tr>
      <td class="label">{l}Name{/l}:</td>
      <td class="field" 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="field" align="left"><img src="{$AUTH_IMG}"></td>   
   </tr>
   {/if}
   {/if}
   <!-- end -->

{if $INFO}
   <tr>
      <td class="label">{l}Info About Author{/l}:</td>
      <td class="field" align="left">{$INFO|escape|trim}</td>
   </tr>
{/if}
{if $WEBSITE}
   <tr>
      <td class="label">{l}Author's Website{/l}:</td>
      <td class="field" 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="field" align="left">{$REG_DATE|escape|trim}</td>
   </tr>
   <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"}