<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/config.asp"-->
<!--#include file="../../inc/safe.asp"-->

<%
if Chkrequest(request("id")) then
id=request("id")
else
Response.Redirect ("../../login/chklogin.asp?login=4")
end if

conn.execute("update corporation set click=click+1 where id="&id&"")

sql="select * from corporation where id="&id&" and flag=1" 
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1

if rs.eof then
response.write"<SCRIPT language=JavaScript>alert('对不起，该用户不存在或非商贸通会员！');"
response.write"javascript:window.close();</SCRIPT>" 
else
%> 
<HTML>
<HEAD>
<title><%=rs("qymc")%></title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<LINK href="../../css/main.css" rel=stylesheet type=text/css>
<style type="text/css">
<!--
a:link {
	color: #FFFFFF;
}
a:visited {
	color: #FFFFFF;
}
a:hover {
	color: #CC3300;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</HEAD>
<BODY bgcolor="#FFFFFF" background="images/home_0.gif" text="#000000" link="#000000" vlink="#000000" alink="#000000" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" onLoad="MM_preloadImages('images/link_1_on.gif','images/info_1_on.gif')">
<table width="776" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td height="50"> 
</td>
  </tr>
</table>
<table width="776" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    
    <td width="389" height="30"><img src="images/home_3.gif" width="389" height="194"></td>
<TD class=x 
          style="FONT-WEIGHT: bold; FILTER: dropshadow(color=#C2C2C2,offx=1,offy=1,positive=-1); COLOR: #FFFFFF; TEXT-DECORATION: none" 
          align=middle height="30" width="380"><%=rs("qymc")%></td>
  </tr>
</table>
<table width="776" border="0" cellspacing="0" cellpadding="0" align="center" height="5">
  <tr> 
    <td><img src="images/home_5.gif" width="776" height="5"></td>
  </tr>
</table>
<table width="776" border="0" cellspacing="0" cellpadding="0" align="center" height="53" background="images/home_6.gif">
  <tr> 
    <td> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="115"> 
            <div align="right"><img src="images/home_8.gif" width="35" height="53"></div>
          </td>
          <td width="24">&nbsp;</td>
          <td width="637">
            <table width="540" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="90" valign="bottom"><a href="introduce.asp?id=<%=id%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','images/link_1_on.gif',1)"><img src="images/link_1.gif" name="Image11" width="90" height="23" border="0"></a></td>
                <td width="90" valign="bottom"><a href="product.asp?id=<%=id%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image17','','images/link_2_on.gif',1)"><img src="images/link_2.gif" name="Image17" width="90" height="23" border="0"></a></td>
                <td width="90" valign="bottom"><a href="tradeinfo.asp?id=<%=id%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image13','','images/info_1_on.gif',1)"><img src="images/info_1.gif" name="Image13" width="90" height="23" border="0"></a></td>
                <td width="90" valign="bottom"><a href="work.asp?id=<%=id%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image19','','images/link_3_on.gif',1)"><img src="images/link_3.gif" name="Image19" width="90" height="23" border="0"></a></td>
                <td width="90" valign="bottom"><a href="contact.asp?id=<%=id%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image20','','images/link_4_on.gif',1)"><img src="images/link_4.gif" name="Image20" width="90" height="23" border="0"></a></td>
                <td width="90" valign="bottom"><a href="link.asp?id=<%=id%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image21','','images/link_5_on.gif',1)"><img src="images/link_5.gif" name="Image21" width="90" height="23" border="0"></a></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="776" border="0" cellspacing="0" cellpadding="0" align="center" height="5">
  <tr> 
    <td><img src="images/home_5.gif" width="776" height="5"></td>
  </tr>
</table>
<table width="776" border="0" cellspacing="0" cellpadding="0" align="center" height="5">
  <tr> 
    <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="776" height="20">
        <param name=movie value="images/17.swf">
        <param name=quality value=high>
        <embed src="images/17.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="776" height="20">
        </embed> 
      </object></td>
  </tr>
</table>
<table width="776" border="0" cellspacing="0" cellpadding="0" align="center" height="4">
  <tr bgcolor="#FFFFFF"> 
    <td height="4"><img src="images/dot.gif" width="12" height="4"></td>
  </tr>
</table>
<table width="776" border="0" cellspacing="0" cellpadding="0" align="center" height="21" background="images/home_6.gif">
  <tr> 
    <td height="4">
      <table width="99%" border="0" cellspacing="1" cellpadding="0" align="center">
        <tr align="center"> 
          <td>&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="776" border="0" cellspacing="0" cellpadding="0" align="center" height="4">
  <tr bgcolor="#FFFFFF"> 
    <td height="4"><img src="images/dot.gif" width="12" height="4"></td>
  </tr>
</table><br>
<table width="776" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td height="48">
      <div align="center"><font color="#FFFFFF">您是第 <%=rs("click")%> 位访客 欢迎您的光临! 
        最佳显示分辨率 800*600<br>
        <%=rs("qymc")%>版权所有<BR>
        联系电话:<%=rs("phone")%> 　Email:<a href="mailto:<%=rs("email")%>"><%=rs("email")%></a><br>
        技术支持：<a href=<%=weburl%> target=_blank><%=webname%></a> 热线电话：<%=hottel%></font><br>
        <br>
      </div>
    </td>
  </tr>
</table>
</BODY>
</HTML>
<%
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>