{* 	deed_select_list.tpl
	
	Description:  	A list of deeds that can be added to a member's deed log.  Each deed can be checked for inclusion

	@author 	Matt Lindberg
	@created	04-06-2005
	@modified	04-06-2005
	
	Variable Dictionary
	
	$memberid					- FormObject: the id of the member to add deeds to
	$backbuttonlink
	$checkboxname				- name of form input
	$numoftimesname				- name of form input - id of responsibility will be appended to distinguish
	
	$deeds[]					- array of deed arrays
		[]	deedid
			deeddesc
			checked				- 'yes' or 'no'
			detailslink
			guilddp
			questdp
			pvpdp
			numoftimes
	$formaction
	$numoftimesoptions[]
*}
{include file="header.tpl"}
{* Add Extra Left Column Content Starting Here *}


{* End Left Column Content *}
</div>

{* Start Right Column Content *}
<div id="rightcolumn">
{include file="actiontitle.tpl"}

<div id="backbutton"><a href="{$backbuttonlink}">Back</a></div>


<form method="post" action="{$formaction}">
<table class="searchresult">
<tr>
	<td colspan="4"></td>
	<th colspan="3">Deedpoints</th>
</tr>
<tr>
	<th style="width: 5%"></th>
	<th colspan="2" style="width: 60%">Deed Name</th>
	<th style="width: 5%">#</th>
	<th style="width: 10%">Guild</th>
	<th style="width: 10%">Quest</th>
	<th style="width: 10%">Pvp</th>
</tr>

{section name=deedlist loop=$deeds}
<tr class="rowTablelist1">
	<td>
		<input type="checkbox" {if $deeds[deedlist].checked == 'yes'}checked{/if} name="{$checkboxname}[]" value="{$deeds[deedlist].deedid}"/>
	</td>
	<td>
	{$deeds[deedlist].deeddesc}
	</td>
	<td>
		
	</td>
	<td>
		<select name="{$numoftimesname}{$deeds[deedlist].deedid}">
		{html_options options=$numoftimesoptions selected=$deeds[deedlist].numoftimes}
		</select>
	</td>
	<td class="cellData">
		{$deeds[deedlist].guilddp}
	</td>
	<td class="cellData">
		{$deeds[deedlist].questdp}
	</td>
	<td class="cellData">
		{$deeds[deedlist].pvpdp}
	</td>
</tr>
<tr>
	<td colspan="7">
	<hr/>
	</td>
</tr>
{/section}


<tr>
	<td colspan="7">
		<input type="hidden" name="{$memberid->name}" value="{$memberid->value}"/>
		<input type="submit" class="buttonSubmit" name="Submit" value="Add Selected Deeds"/>
	</td>
</tr>
</table>
</form>
</div>
{include file="footer.tpl"}