<%temp_customer_reg_pact_show=site.object_p%>
<!-- object[<%=site.object_p%>]::temp_customer_reg_pact_show -->
<%
if request("reg_sort")="" then
set rs_reg_sort=conn.execute("select top 1 sort_id from jins_customer_sort where sort_open=1 and sort_grade>"&site.temp.customer.info.sort_grade&" order by sort_grade")
if not rs_reg_sort.eof then
session("FB_EM_1_SQL_reg_sort")=rs_reg_sort("sort_id")
else
site.error.info="目前还没有可以注册的用户类型！"
site.error.location="back"
site.error.err
end if
set rs_reg_sort=nothing
else 
session("FB_EM_1_SQL_reg_sort")=request("reg_sort")
end if

site.object(site.object_p).rs.open "select * from jins_customer_sort where sort_id="&session("FB_EM_1_SQL_reg_sort")&" ",conn,1,1
if site.object(site.object_p).rs.eof then
site.error.info="没有相关的注册信息！"
site.error.location="back"
site.error.err
end if

%>
<table cellpadding="0" cellspacing="0" width="100%" height="400">
	<!-- MSTableType="nolayout" -->
	<tr>
		<td height="30" width="100%" align="center">
			<p><b><%=site.object(site.object_p).rs("sort_description")%>注册条约</b></p>
		</td>
	</tr>
	<tr>
		<td width="100%" align="center" valign="top">
			<textarea rows="25" name="S1" cols="80"><%=site.object(site.object_p).rs("sort_reg_pact")%></textarea></td>
	</tr>
	<tr>
		<td height="60" width="100%" align="center" >
		<form margin=0 name="pact" method="post" action='temps.asp?tr=customer|reg|form'><input type="hidden" name="reg" value="0">
				<p><input type="button" value="我同意" name="B3" onclick="document.pact.reg.value='ok';pact.submit();">&nbsp;&nbsp; <input type="button" value="我不同意" name="B1" onclick="window.back()"></p>
		</form>
		</td>
	</tr>
</table>
