<%temp_customer_manage_count_exchangeaccount_show=site.object_p%>
<!-- object[<%=site.object_p%>]::temp_customer_manage_account_exchange_show -->
<form method="POST" action="do.asp?tr=customer|manage|count|exchangetoaccount|edit" name=changec_<%=site.object_p%> >
	<table cellspacing="0" cellpadding="0" height="100%" width=100% <%=site.object(site.object_p).style%>>
		 <tr>
		    <td height=31 bgcolor="#FAFAFA" style="padding-right:4px; padding-top:1px; padding-bottom:1px">&nbsp;·积分-余额兑换</td>
		 </tr>
		 <tr >
		   <td width="100%" align=left colspan=2 background="<%=site.object(site.object_p).image%>/dot03.gif" height="1" ></td>
		 </tr>
		
		<tr>
			<td align=center style="line-height:35px;" height=77>
			<%
			site.object(site.object_p).rs_other(0)=conn.execute("select sort_exchangetocount from jins_customer_sort where sort_id="&site.temp.customer.info.sort_id&" ")("sort_exchangetocount")
			%>
			&nbsp;兑换规则：<font color="#FF0000">每<%=site.object(site.object_p).rs_other(0)%>个积分兑换<%=site.info.unit_money(1)%>1</font><br>&nbsp;现将 <input type="text" name="count" size="7" onchange="changenum_<%=site.object_p%>();"> 个积分兑换为 <%=site.info.unit_money(1)%> <input disabled type="text" name="account" size="7" > 
		    </td>
		 </tr>
		
		 <tr >
		   <td width="100%" align=left colspan=2 background="<%=site.object(site.object_p).image%>/dot03.gif" height="1" ></td>
		 </tr>
		<tr>
		  <td height=35 align=center valign=middle ><input type="submit" value="提交兑换" name="B1">&nbsp; <input type="reset" value="重置" name="B2"></td>
		 </tr>
    
	</table>
</form>
<script>
function changenum_<%=site.object_p%>(){
var c=1/<%=site.object(site.object_p).rs_other(0)%>
document.changec_<%=site.object_p%>.account.value=document.changec_<%=site.object_p%>.count.value*c;
}
</script>