<!--#include file="main.asp"-->

<%id=request("id")
if id="" then
response.write"<script>alert('操作出错，下面是产生错误的可能原因：\n\n·请选择相关参数');history.go(-1);</script>"
response.end
end if

set rs=server.createobject("adodb.recordset")
sql="select * from dlxf_ypxxone where dlxf_ypxxone_id="&id&" order by dlxf_date desc"
rs.open sql,conn,1,1
ypxxone=rs("dlxf_ypxxone")
rs.close%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=citytitle%></title>
</head>

<body topmargin="0">
<%dlxf_TOP%>
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td height=30 colspan="2">当前位置：<a href=index.asp>首页</a> >> <a href=yp.asp>诚信通会员</a> >> <a href=yp_vlist.asp?id=<%=id%>><%=ypxxone%></a></td>
  </tr>
  <tr>
    <td width="180" bgcolor="#efefef" style="border-right:1px #999999 solid" valign="top">
<!--==================-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr><td height=25 background="img/bgtitle.gif" class=f14>　<strong><font color=#ffffff><%=ypxxone%></font></strong></td></tr>
<%set rs=server.createobject("adodb.recordset")
sql="select *  from dlxf_ypxxtwo where dlxf_ypxxone_id="&id&" order by dlxf_date desc"
rs.open sql,conn,1,1%>
<tr>
<%n=0
do while not rs.eof
n=n+1
set rs1=server.createobject("adodb.recordset")
sql1="select *  from dlxf_yp where dlxf_ypxxtwo_id="&rs("dlxf_ypxxtwo_id")&" and dlxf_key<>0 and dlxf_key<>2 and dlxf_key1=1"
rs1.open sql1,conn,1,1
twocount=rs1.recordcount
rs1.close%>
<tr><td height=25>&nbsp; <a href=yp_list.asp?id=<%=rs("dlxf_ypxxtwo_id")%>><%=rs("dlxf_ypxxtwo")%></a>&nbsp;<font color=red>(<%=twocount%>)</font></td></tr>
<tr><td background="img/list_line_1.gif"></td></tr>
<%rs.movenext
loop
rs.close%>
</table>
<!--==================-->
	</td>
    <td width="580" valign="top">
<!--==================-->
<%Call dlxf_User_View(0,20,0,0,0,0,0,0,id,0,100,1,2,1,1,"yp_vlist.asp")%>
<!--==================-->
	</td>
  </tr>
</table>
<!--====== bottom ========-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor=#ffffff>
<tr><td height=2 bgcolor=#FF7300></td>
</tr>
  <tr>
    <td align="center" height=80><%=citybottom%></td>
  </tr>
</table>
</body>
</html>