{*
  Template for the club detailview
  $Id: show_members.tpl,v 1.00 2006/10/25 20:14:18
*}

{assign var=IMGWIDTH value="125"}
{assign var=IMGHEIGHT value="125"}

<!-- {$smarty.template} -->
<div id="title"><a href="show_members.php?id={$memberid.id}">{$memberid.name}</a></div>

<table id="actions" border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td id="barre-onglet">
		<form action="show_members.php" name="editform">
				<input type="hidden" name="id" value="{$memberid.id}"/>
				<input type="hidden" name="action" value="card"/>
				<input type="submit" class="onglet" value="{$lang.card}" />
		</form>
		
			{if $memberid.prev_id || $memberid.next_id}
				<form action="show_members.php" name="prevform">
					<input type="hidden" name="id" value="{$memberid.prev_id}"/>
					<input type="submit" class="onglet" value="<" {if !$memberid.prev_id}disabled="disabled"{/if} accesskey="," />
				</form>
				<form action="show_members.php" name="nextform">
					<input type="hidden" name="id" value="{$memberid.next_id}"/>
					<input type="submit" class="onglet" value=">" {if !$memberid.next_id}disabled="disabled"{/if} accesskey="." />
				</form>
			 {/if}
		</td>
	</tr>
{if $memberid.editable}
	<tr>
		<td id="barre-season">
		<form action="perm_members.php" name="editform">
				<input type="hidden" name="id" value="{$memberid.id}"/>
				<input type="submit" value="{$lang.edit}" class="onglet"/>
		</form>
		<form action="delete.php" name="deleteform">
				<input type="hidden" name="id" value="{$memberid.id}"/>
				<input type="hidden" name="cat" value="11"/>
				<input type="submit" value="{$lang.del}" onclick="return(confirm('{$memberid.name|escape:javascript}: {$lang.msg_really_del}?'))" class="onglet"/>
		</form>
	</td>
	</tr>
{/if}
</table>


<script language="JavaScript" type="text/javascript" src="javascript/look.js"></script>

<div id="pagecontent">
<!-- content begin -->
<table id="tableshow" width="100%" border=0 cellspacing="1" cellpadding="2">  <tr>
    <td align="center" rowspan="2" width="{$IMGWIDTH}">
    {if $memberdata.avatar}
	<div class="img-shadow">
	<a title="{$memberid.name}" href="{$link}">
	<img alt="{$memberid.name}" src="{$memberdata.avatar}" border="0" hspace="5" vspace="5" width="{$IMGWIDTH}">
	</a>					
	</div>
	{else}
	 
	{/if}
    </td>    	
  </tr>  
  <tr>
    <td>
      <table width="100%" cellspacing="1" cellpadding="2" border="0">
	  		<tr>
			<td class="td-opt">{$lang.birthday}:</td><td class="td-value">{$memberdata.birthday}</td>
			<td class="td-opt">{$lang.astrosign}:</td><td class="td-value">{$memberdata.astrosign}</td>			
			</tr>
			<tr>
			<td class="td-opt">{$lang.country}:</td><td class="td-value">{$memberdata.country}</td>
			<td class="td-opt">{$lang.city}:</td><td class="td-value">{$memberdata.residence}</td>			
			</tr>		
      </table>
    </td>	
  </tr>
  
</table>
</div>
<!-- /showheader -->

{if $member.plot}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">

<a href="javascript:" onclick="blocking('bloc1','yes', 'block'); return false;"><h3>{$lang.plot}:</h3></a>
<div id="bloc1" class="show_plot" style="display: block;">{$memberdata.plot}</div>

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


{/if}



</div>
<!-- /content -->
