<!--#include file="mdb.asp"-->
<!--#Include File="Check_hx.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/format.asp"-->
<!--#include file="inc/inc.asp"-->
<%
if request.querystring("hy_id")="" then
 Response.Write "<script language=javascript>alert('请指定操作的对象！');javascript:history.back();</script>"
 Response.End
else
 if not isInteger(request.querystring("hy_id")) then
 Response.Write "<script language=javascript>alert('参数非法');javascript:history.back();</script>"
 Response.End
 end if
end if
sql="select * from hy where passed=0 and hy_id="&request.querystring("hy_id")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
start="企业黄页 - "&rs("hy_title")&""
call head()
call menu()
%>
<!--导航栏-->
<TABLE cellSpacing=0 cellPadding=0 width=958 border=0 align="center">
    <TR>
      <TD width=4></TD>
      <TD width=950 class="a3" height=24>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="show_corporation.asp?bigclass=1">国家机关</a> ·<a href="show_corporation.asp?bigclass=2">科教文体</a> ·<a href="show_corporation.asp?bigclass=3">运输物流</a> ·<a href="show_corporation.asp?bigclass=4">金融贸易</a> ·<a href="show_corporation.asp?bigclass=5">医疗保健</a> ·<a href="show_corporation.asp?bigclass=6">娱乐休闲</a> ·<a href="show_corporation.asp?bigclass=7">日用百货</a> ·<a href="show_corporation.asp?bigclass=8">城建房产</a> ·<a href="show_corporation.asp?bigclass=9">通信互联</a> ·<a href="show_corporation.asp?bigclass=10">商务广告</a> ·<a href="show_corporation.asp?bigclass=11">粮油食品</a> ·<a href="show_corporation.asp?bigclass=12">印刷包装</a></TD>
      <TD width=4></TD>
    </TR>
    <TR>
      <TD width=4></TD>
      <TD width=950 class="a4" height=9></TD>
      <TD width=4></TD>
    </TR>
</TABLE>
<!--导航栏-->

<!--广告位A-->
<TABLE width=958 border=0 align="center" cellPadding=0 cellSpacing=0>
    <TR>
      <TD width=4></TD>
      <TD align=middle width=950 bgColor=#ffffff height=24><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TR>
            <TD width="100%" bgColor=#da251d height=2></TD>
          </TR>
          <TR>
            <TD width="100%"><%Call hx66_AD(1)%></TD>
          </TR>
          <TR>
            <TD width="100%" bgColor=#da251d height=2></TD>
          </TR>
      </TABLE></TD>
      <TD width=4></TD>
    </TR>
</TABLE>
<!--广告位A-->

<!--倒计时-->
<TABLE cellSpacing=0 cellPadding=0 width=958 border=0 align="center">
    <TR>
      <TD width=4></TD>
      <TD align=middle width=950 bgColor=#ffffff height=24><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TR>
            <TD width="100%" class="a5" height=9></TD>
          </TR>
          <TR>
            <TD align=middle width="100%" class="a6" height=31>
<table width="100%" border=0 cellpadding=0 cellspacing=0>
 <TR>
   <TD width="65" align="center"><img src="skin/1/login_title.gif" width="37" height="31"><TD><%
  Response.Write "您的位置： <a href='index.asp'>"&webname&"</a> ->> <a href='corporation.asp'>企业黄页</a>" & vbCrLf
%><td height="25" align="right"><a href="corporation_put.asp"><B>申请加入黄页</B></a>&nbsp;&nbsp;&nbsp;&nbsp;</td>
</TD>
 </TR>
</TABLE>
            </TD>
          </TR>
      </TABLE></TD>
      <TD width=4></TD>
    </TR>
</TABLE>
<!--倒计时-->


<TABLE width=958 border=0 align="center" cellPadding=0 cellSpacing=0>
    <TR>
      <TD width=4></TD>
      <TD align=middle width=950 bgColor=#ffffff height=24><TABLE cellSpacing=0 cellPadding=0 width=950 border=0>
          <TR>
            <TD align=middle vAlign=top width=198><TABLE height=51 cellSpacing=0 cellPadding=0 
width="100%" border=0>
                <TR>
                  <TD align=middle width=30 class="a1" height=34><IMG height=20 src="skin/1/gu1.gif" width=24 border=0></TD>
                    <TD class="a1" height=34 width=170><a href="#" class="STYLE1">会员登录</a></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=150><%call userlogin()%></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
            </TABLE><TABLE height=51 cellSpacing=0 cellPadding=0 width="100%" border=0>
                <TR>
                  <TD align=middle width=30 class="a1" height=34><IMG height=20 src="skin/1/gu1.gif" width=24 border=0></TD>
                    <TD class="a1" height=34 width=170><a href="#" class="STYLE1">地区索引</a></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=25><TABLE WIDTH='100%' CELLPADDING='0' CELLSPACING='0' BORDER='0'><tr>
<%sql="select * from area where sid=0"
set rs0=server.createobject("adodb.recordset")
rs0.open sql,conn,1,1
i=0
do while not rs0.eof
i=i+1
%>
<td align="center" height="22"><a href="Show_corporation.asp?sheng=<%=rs0("cat_id")%>"><%=rs0("cat_name")%></a></td>
<%if i mod 3 =0 then%>
</tr><tr>
<%
end if
rs0.movenext
loop
if rs0.eof and rs0.bof then%>
<td>
	<p align="center">当前没有分类</td>
<%end if%>
</tr>
</table>
</TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
            </TABLE></TD>
            <TD vAlign=top align=middle width=1 bgColor=#cecccc></TD>
            <TD vAlign=top align=middle><TABLE height=51 cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TR>
                <TD align=middle width=30 class="a1" height=34><IMG height=20 src="skin/1/gu1.gif" width=24 border=0></TD>
                <TD class="a1" height=34 width=720><a href="#" class="STYLE1">企业信息</b></span>&nbsp;&nbsp;<%sql="select hy_id from hy where passed=1"
  set rs1=server.createobject("adodb.recordset")
  rs1.open sql,conn,1,1
  shgqcount=rs1.recordcount%>待审核<span><%=shgqcount%></SPAN>个</a></TD></TR>
        <tr>
                <TD width="100%" colSpan=2 align="center"><%sql="select * from [User] where username='"&rs("tjuser")&"'"
set rs1=server.createobject("adodb.recordset")
rs1.open sql,conn,1,1
%>
<table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr align="center">
<td bgcolor="#FF7700">
<DIV style="FILTER: dropshadow(color=#000000, offx=1, offy=1, positive=2); WIDTH: 550px; COLOR:#ffffff; FONT-FAMILY: Arial; POSITION: relative; height:27px">
<STRONG><FONT style="FONT-SIZE: 26px" face="隶书" color="#FFFFFF"><%if rs1("usergrade")=1 then%><img src="img/vip.gif" align="absmiddle" alt="VIP会员企业"><%else%><img src="img/user.gif" align="absmiddle" alt="普通会员企业"><%end if%>&nbsp;<%=rs("hy_title")%></FONT></STRONG></DIV></TD>
</tr>
<tr align="center">
  <td height="25" style="border-collapse: collapse;border:dotted 1px" bordercolor="#CCCCCC">
对应类别：<%sql="select * from hycat where cat_id="&rs("cat_id")
set rs2=server.createobject("adodb.recordset")
rs2.open sql,conn,1,1
sql="select * from hycat where cat_id="&rs2("sid")
set rs3=server.createobject("adodb.recordset")
rs3.open sql,conn,1,1
%>
<a href="Show_corporation.asp?bigclass=<%=rs3("cat_id")%>"><%=rs3("cat_name")%></a>&nbsp;→&nbsp;<a href="Show_corporation.asp?smallclass=<%=rs2("cat_id")%>"><%=rs2("cat_name")%></a>&nbsp;&nbsp;&nbsp;&nbsp;
<%sql="select * from area where cat_id="&rs("city")
set rs2=server.createobject("adodb.recordset")
rs2.open sql,conn,1,1
sql="select * from area where cat_id="&rs2("sid")
set rs3=server.createobject("adodb.recordset")
rs3.open sql,conn,1,1
%>所属地区：<a href="Show_corporation.asp?sheng=<%=rs3("cat_id")%>"><%=rs3("cat_name")%></a>&nbsp;→&nbsp;<a href="Show_corporation.asp?sheng=<%=rs3("cat_id")%>&city=<%=rs2("cat_id")%>"><%=rs2("cat_name")%></a></TD>
</tr>
</TABLE>
<table width="100%" border="0" cellspacing="10" cellpadding="0">
    <tr>
       <td width="100%">
          <TABLE border="0" cellpadding=0 width="100%" align="center">
              <TR>
                <TD height="22" style="BORDER-bottom: #CCCCCC 1px dotted" width="55%">单位性质：<%=rs("qyxz")%></TD>
                <TD height="22" style="BORDER-bottom: #CCCCCC 1px dotted" width="45%">成立日期：<%=rs("cldate")%></TD>
              </TR>
              <TR>
                <TD height="22" style="BORDER-bottom: #CCCCCC 1px dotted">注册资金：<%if rs("zczj")<>"" then%><%=rs("zczj")%>万元<%else%>未知<%end if%></TD>
                <TD height="22" style="BORDER-bottom: #CCCCCC 1px dotted">联 系 人：<%=rs("hy_author")%></TD>
              </TR>
              <TR>
                <TD height="22" style="BORDER-bottom: #CCCCCC 1px dotted" colspan="2">经营类型：<%=rs("jylx")%></TD>
              </TR>
              <TR>
                <TD height="22" style="BORDER-bottom: #CCCCCC 1px dotted" colspan="2">电&nbsp;&nbsp;&nbsp;&nbsp;话：<%=rs("tel")%></TD>
              </TR>
              <TR>
                <TD height="22" style="BORDER-bottom: #CCCCCC 1px dotted" colspan="2">传&nbsp;&nbsp;&nbsp;&nbsp;真：<%=rs("fax")%></TD>
              </TR>
              <TR>
                <TD height="22" style="BORDER-bottom: #CCCCCC 1px dotted" colspan="2">邮政编码：<%=rs("code")%></TD>
              </TR>
              <TR>
                <TD height="22" style="BORDER-bottom: #CCCCCC 1px dotted" colspan="2">电子信箱：<%=rs("email")%></TD>
              </TR>
              <TR>
                <TD height="22" style="BORDER-bottom: #CCCCCC 1px dotted" colspan="2">联系地址：<%=rs("dizhi")%></TD>
              </TR>
              <TR>
                <TD height="22" style="BORDER-bottom: #CCCCCC 1px dotted" colspan="2">网站地址：<a href="<%=rs("hy_ahome")%>" target="_blank"><%=rs("hy_ahome")%></a></TD>
              </TR>
           </TABLE>
       </td>
       <td valign="top" width="190">
         <table width="190" height="190"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#f2f2f2">
           <tr>
             <td><table width="180" height="210" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="ccccccc" bgcolor="#FFFFFF" style="border-collapse:collapse">
                  <tr>
                    <td align="center" width=100%><%if rs("isimg")=1 then %>
                  <img src=<%=rs("images")%> border=0 width='180' height='210'><%else%><img src=img/nopic.gif border=0 width="180" height="210"><%end if%></center></div></td>
                 </tr>
                 </table>
             </td>
          </tr>
        </table>
     </td>
    </tr>
    <TR>
      <TD align="left" height="22" colspan="2" style="BORDER-bottom: #999999 1px dotted">单位简介：<%=rs("hy_content")%></TD>
    </TR>
    <TR>   
      <TD align="center" height="25">点击：<%=rs("hy_count")%>次&nbsp;&nbsp; 会员ID：
<%=rs("tjuser")%></TD>
   <TD align="right" height="24">
	<p align="center"><a href="javascript:history.back()">返回上一页</a>&nbsp;&nbsp;
</TD>
</TR>
</table></TD>
              </TR>
            </TABLE></TD>
          </TR>
      </TABLE></TD>
      <TD width=4></TD>
    </TR>
</TABLE>
<%
set rscount=conn.execute("select * from hy")
sql="UPDATE hy SET hy_count = hy_count + 1 where hy_id="&request.querystring("hy_id")
conn.execute (sql)
rscount.close
set rscount=nothing

call footer()
%>