<div id="selListAll">
	{if $myobj->isShowPageBlock('form_normal_heading')}
		<h2>{$title}</h2>
	{/if}
	{include file='../general/information.tpl'}
	{if $myobj->isShowPageBlock('form_reward_list')}
	 {if $myobj->isResultsFound()}
		
		{if $CFG.admin.navigation.top}
			{include file='../general/pagination.tpl'}
		{/if}
		<form name="frmRewardpointsList" id="frmRewardpointsList"   action="{$myobj->getCurrentUrl()}" method="post" autocomplete="off">
			<table summary="{$LANG.display_all_analysts}" id="selForumTable"  class="clsTopAnalystTbl">
				<tr>
					 <th class="clsCenter clsForumSubject{$myobj->getOrderCss('display_name')}"><a href="#" onclick="return changeOrderbyElements('frmRewardpointsList','display_name')">{$LANG.points_name}</a></th>
					 <th class="clsCenter clsForumSubject{$myobj->getOrderCss('total_points')}"><div class="clsMiddleTitle"><a href="#" onclick="return changeOrderbyElements('frmRewardpointsList','total_points')">{$LANG.points_points}</a></div></th>
					 <th class="clsCenter clsForumSubject{$myobj->getOrderCss('total_ques')}"><div class="clsMiddleTitle"><a href="#" onclick="return changeOrderbyElements('frmRewardpointsList','total_ques')">{$LANG.points_questions}</a></div></th>
					 <th class="clsCenter clsLastPost clsForumSubject{$myobj->getOrderCss('total_ans')}"><a href="#" onclick="return changeOrderbyElements('frmRewardpointsList','total_ans')">{$LANG.points_answers}</a></th>
			   </tr>
			   {foreach key=erpkey item=erpvalue from=$myobj->block_displayReward_arr}
			   <tr>
					<td class="clsCenter">
						{if isUserImageAllowed()}
							<p id="selImageBorder">{$myobj->displayProfileImage($erpvalue.userDetails, 'small' , false)}</p>
						{/if}
						<a target="_blank" href="viewMembers.php?uid={$erpvalue.record.user_id}">{$erpvalue.analyst}</a>
					</td>
					<td class="clsCenter">
						<span class="clsTotalPoints">
							<input type="text" class="" name="points[]" value="{$erpvalue.record.total_points}" ><input type="hidden" name="user_id[]" value="{$erpvalue.user_id}">
						</span>
					</td>
					<td class="clsCenter">{$erpvalue.record.total_ques}</td>
					<td class="clsCenter">{$erpvalue.record.total_ans}</td>
			  </tr>
			{/foreach}
			  <tr>
			  	<td></td>
				<td></td>
				<td></td>
					<td>
					<input type="hidden" name="start" value="{$myobj->getFormField('start')}">
					<input type="hidden" name="type" value="{$myobj->getFormField('type')}" />
					<input type="submit" class="clsSubmitButton" name="action_points" value="{$LANG.points_submit}">
					<input type="reset" class="clsCancelButton" name="reset" value="{$LANG.common_reset}">
					</td>
			 </tr>
		 </table>
		 {$myobj->populateHidden($myobj->form_reward_list.hidden_arr)}
	   </form>
	   {if $CFG.admin.navigation.top}
		{include file='../general/pagination.tpl'}
	{/if}
	{else}
		<div id="selMsgAlert">
			<p>{$LANG.points_no_records}</p>
		</div>
	{/if}
	{/if}
</div>