⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 company.asp

📁 仿阿里巴巴系统用ASP开发的系统。代码精简
💻 ASP
字号:
<!--#include file="dbconn.asp"-->
<%
id=request("id")
If id="" then 
   response.write"<SCRIPT language=JavaScript>alert('对不起,参数有误!');"
   response.write"this.location.href='javascript:history.back();'</SCRIPT>"
End if
set rs= Server.CreateObject("ADODB.Recordset") 
sql="select * from qyml where id="&id&"" 
rs.open sql,conn,1,1
If rs.eof and rs.bof then 
   response.write"<SCRIPT language=JavaScript>alert('对不起,参数有误!');"
   response.write"this.location.href='javascript:history.back();'</SCRIPT>"
End if
gsid=rs("id")
%>
<HTML><HEAD><TITLE><%=rs("qymc")%></TITLE>
<LINK href="images/Style.css" type=text/css rel=stylesheet>
<META http-equiv=Content-Language content=zh-cn>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE type=text/css>BODY {
	FONT-SIZE: 9pt; FONT-FAMILY: "宋体"
}
P {
	
}
TABLE {
	FONT-SIZE: 9pt; FONT-FAMILY: "宋体"
}
TD {
	FONT-SIZE: 9pt; LINE-HEIGHT: 14pt; FONT-FAMILY: "宋体"; LETTER-SPACING: 1pt
}
A:link {
	TEXT-DECORATION: none
}
A:visited {
	TEXT-DECORATION: none
}
.unnamed1 {
	CURSOR: hand
}
A:hover {
	COLOR: #006699; TEXT-DECORATION: none
}
</STYLE>

<SCRIPT language=JavaScript>
<!--
today=new Date();
 function initArray(){
   this.length=initArray.arguments.length
   for(var i=0;i<this.length;i++)
   this[i+1]=initArray.arguments[i]  }
   var d=new initArray(
     "星期日",
     "星期一",
     "星期二",
     "星期三",
     "星期四",
     "星期五",
     "星期六");

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_nbGroup(event, grpName) { //v3.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    if ((nbArr = document[grpName]) != null)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = args[i+1];
      nbArr[nbArr.length] = img;
  } }
}
//-->
</SCRIPT>

<SCRIPT language=javascript src="images/5108.JS"></SCRIPT>

<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 background=images/bg.gif 
topMargin=0 
onload="MM_preloadImages('bt1.gif','bt11.gif','bt2.gif','bt21.gif','bt3.gif','bt31.gif','bt4.gif','bt41.gif','bt5.gif','bt51.gif','images/bt1.gif','images/bt11.gif','images/bt2.gif','images/bt21.gif','images/bt3.gif','images/bt31.gif','images/bt4.gif','images/bt41.gif','images/bt5.gif','images/bt51.gif')" 
marginwidth="0" marginheight="0">
<DIV align=center>
<TABLE cellSpacing=0 cellPadding=0 width="64%" border=0>
  <TBODY>
  <TR>
    <TD vAlign=top height=338>
      <DIV align=center>
      <TABLE cellSpacing=0 cellPadding=0 width="66%" border=0>
        <TBODY>
        <TR>
          <TD vAlign=top width="26%">
            <TABLE id=AutoNumber7 style="BORDER-COLLAPSE: collapse" 
            borderColor=#111111 height=83 cellSpacing=0 cellPadding=0 width=449 
            border=0>
              <TBODY>
              <TR>
                <TD width="100%" background=images/mb13.gif>
                  <DIV align=center>
                  <CENTER>
                  <TABLE id=AutoNumber8 style="BORDER-COLLAPSE: collapse" 
                  borderColor=#111111 height=50 cellSpacing=0 width=440 
border=0>
                    <TBODY>
                    <TR>
                      <TD vAlign=top width="100%" height=34>
                        <P align=center><FONT 
                        style="FONT-SIZE: 20pt; FILTER: glow(color=#000000, strength=4); WIDTH: 100%; LETTER-SPACING: -1px; POSITION: relative" 
                        face=隶书 
                    color=#ffffff><%=rs("qymc")%></FONT></P></TD></TR></TBODY></TABLE></CENTER></DIV></TD></TR></TBODY></TABLE></TD>
          <TD vAlign=top width="42%">
            <TABLE id=AutoNumber5 style="BORDER-COLLAPSE: collapse" 
            borderColor=#111111 height=83 cellSpacing=0 cellPadding=0 width=323 
            background=images/mb6.gif border=0>
              <TBODY>
              <TR>
                <TD vAlign=bottom width=323 colSpan=2> </TD></TR>
              <TR>
                <TD vAlign=bottom width=104> </TD>
                <TD vAlign=bottom width=219> </TD></TR>
              <TR>
                <TD vAlign=bottom width=104> </TD>
                <TD vAlign=center width=219>
                  <P align=center>
                  <SCRIPT language=javascript>  
    document.write(  
     "<font color=#ffffff> ",  
     today.getYear(),"年",  
     today.getMonth()+1,"月",  
     today.getDate(),"日     ",  
     d[today.getDay()+1],  
     "</font>" ); </SCRIPT>
                  </P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD vAlign=top width="16%" bgColor=#f0f0f0 height=123 rowSpan=3>
            <TABLE id=AutoNumber2 style="BORDER-COLLAPSE: collapse" 
            borderColor=#111111 height=349 cellSpacing=0 cellPadding=0 width=100 
            border=0>
              <TBODY>
              <TR>
                <TD width="100%" height=156>
                  <TABLE id=AutoNumber6 style="BORDER-COLLAPSE: collapse" 
                  borderColor=#111111 cellSpacing=0 cellPadding=0 width="100%" 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD width="100%">
                        <TABLE cellSpacing=0 cellPadding=0 width=144 border=0>
                          <TBODY>
                          <TR>
                            <TD><A 
                              onmouseover="MM_nbGroup('over','bt1','images/bt2.gif','images/bt2.gif',1);MM_nbGroup('over','bt1','images/bt11.gif','images/bt11.gif',1)" 
                              onclick="MM_nbGroup('down','group1','bt1','images/bt1.gif',1)" 
                              onmouseout="MM_nbGroup('out')" 
                              href="company.asp?id=<%=id%>"><IMG 
                              height=29 alt=公司简介 src="images/bt1.gif" 
                              width=144 border=0 name=bt1></A></TD></TR>
                          <TR>
                            <TD><A 
                              onmouseover="MM_nbGroup('over','bt2','images/bt21.gif','images/bt21.gif',1)" 
                              onclick="MM_nbGroup('down','group1','bt2','images/bt2.gif',1)" 
                              onmouseout="MM_nbGroup('out')" 
                              href="product.asp?id=<%=id%>"><IMG 
                              height=29 alt=产品介绍 src="images/bt2.gif" 
                              width=144 border=0 name=bt2></A></TD></TR>
                          <TR>
                            <TD><A 
                              onmouseover="MM_nbGroup('over','bt3','images/bt31.gif','images/bt31.gif',1)" 
                              onclick="MM_nbGroup('down','group1','bt3','images/bt3.gif',1)" 
                              onmouseout="MM_nbGroup('out')" 
                              href="commerce.asp?id=<%=id%>"><IMG 
                              height=32 alt=供求信息 src="images/bt3.gif" 
                              width=144 border=0 name=bt3></A></TD></TR>

                   	<TR>
		          <TD><a href="qouted.asp?id=<%=id%>" onClick="MM_nbGroup('down','group1','bt6','images/bt6.gif',1)" onMouseOut="MM_nbGroup('out')" onMouseOver="MM_nbGroup('over','bt6','images/bt61.gif','images/bt31.gif',1)"> 
                              <img border="0" src="images/bt3.gif" width="144" height="32" name="bt3" alt="供求信息"></a></TD>
                        </TR>
                   	<TR>
		          <TD><a href="Merchandise.asp?id=<%=id%>" onClick="MM_nbGroup('down','group1','bt7','images/bt7.gif',1)" onMouseOut="MM_nbGroup('out')" onMouseOver="MM_nbGroup('over','bt7','images/bt71.gif','images/bt31.gif',1)"> 
                              <img border="0" src="images/bt3.gif" width="144" height="32" name="bt3" alt="供求信息"></a></TD>
                        </TR>
                          <TR>
                            <TD><A 
                              href="job.asp?id=<%=id%>"><IMG 
                              height=29 alt=公司招聘 src="images/bt4.gif" 
                              width=144 border=0 name=bt4></A></TD></TR>
                          <TR>
                            <TD><A 
                              onmouseover="MM_nbGroup('over','bt5','images/bt51.gif','images/bt51.gif',1)" 
                              onclick="MM_nbGroup('down','group1','bt5','images/bt5.gif',1)" 
                              onmouseout="MM_nbGroup('out')" 
                              href="contact.asp?id=<%=id%>"><IMG 
                              height=37 alt=联系我们 src="images/bt5.gif" 
                              width=144 border=0 
                        name=bt5></A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
              <TR>
                <TD vAlign=bottom width=144 background=images/mb1.gif 
                bgColor=#f0f0f0 height=157>
                  <DIV align=center>
                  <CENTER>
                  <TABLE id=AutoNumber9 style="BORDER-COLLAPSE: collapse" 
                  borderColor=#111111 height=60 cellSpacing=0 cellPadding=0 
                  width=100 border=0>
                    <TBODY>
                    <TR>
                      <TD width="100%">
                        <P align=center><A href="mailto:<%=rs("email")%>"><IMG 
                        height=32 alt=请与我们联系 src="images/mail_comp.gif" 
                        width=32 
                  border=0></A></P></TD></TR></TBODY></TABLE></CENTER></DIV></TD></TR>
              <TR>
                <TD vAlign=bottom width="100%" height=36>
                  <P align=center>共有<FONT 
              color=#ff6600><%=rs("counter")%></FONT>人访问</P></TD></TR></TBODY></TABLE></TD>
          <TD vAlign=top width="84%" bgColor=#ffffff height=36><!-- #BeginEditable "tp" --><IMG 
            src="images/about1.gif" border=0><!-- #EndEditable --></TD></TR>
        <TR>
          <TD vAlign=top width="84%" bgColor=#ffffff height=11> </TD></TR>
        <TR>
          <TD vAlign=top width="84%" height=73>
            <TABLE height=283 cellSpacing=0 cellPadding=0 width="100%" 
              border=0><TBODY>
              <TR vAlign=top>
                <TD bgColor=#ffffff height=55>
                  <DIV align=left>
                  <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 
                  height=24 cellSpacing=0 cellPadding=0 width="98%" border=0>
                    <TBODY>
                    <TR>
                      <TD vAlign=top width="2%" height=148><IMG height=1 
                        src="images/2_9z.jpg" width=20></TD>
                      <TD vAlign=top width="69%" height=148><!-- #BeginEditable "text" --><SPAN 
                        class=css>&nbsp; </SPAN><%=rs("qyjj")%><BR></TD></TR>
                     </TR></TBODY></TABLE></DIV></TD></TR>
              <TR>
                <TD vAlign=bottom width="22%" bgColor=#ffffff height=13>
                  <TABLE height=11 cellSpacing=0 cellPadding=0 width="99%" 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD 
        height=1></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
<DIV align=center>
<CENTER>
<TABLE id=AutoNumber1 style="BORDER-COLLAPSE: collapse" borderColor=#111111 
height=32 cellSpacing=0 cellPadding=0 width=772 border=0>
  <TBODY>
  <TR>
    <TD vAlign=bottom width=615 background=images/mb21.gif>
      <DIV align=center>
      <CENTER>
      <TABLE id=AutoNumber4 style="BORDER-COLLAPSE: collapse" 
      borderColor=#111111 cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width="29%">
            <P align=center> </P></TD>
          <TD width="71%">
            <P align=center><FONT 
        color=#ffffff>版权所有:&copy;2003-浙江商贸网</FONT></P></TD></TR></TBODY></TABLE></CENTER></DIV></TD>
    <TD vAlign=bottom width=157><MAP name=FPMap0><AREA shape=RECT 
        coords=0,4,125,31 href="javascript:window.scroll(0,-360)"></MAP><IMG 
      height=32 alt=回到页首 src="images/top1.gif" width=158 useMap=#FPMap0 
      border=0></TD></TR></TBODY></TABLE></CENTER></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -