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

📄 open.asp

📁 一个功能强大的黄页查询系统
💻 ASP
📖 第 1 页 / 共 5 页
字号:
<!--#include file="dbpath/dbpath.asp"-->
<html>

<%
dim sql
dim rs
dim listname
set rs=server.createobject("adodb.recordset")
sql="select * from gq where id="&request("id")

rs.open sql,conn,1,1
%>

<head>
<SCRIPT language=Javascript>
	function load(sel) {
		var url = sel.options[sel.selectedIndex].value;
		if (url != ""){
			if (typeof(sel.options[sel.selectedIndex].target)!="undefined"){
				open(url, sel.options[sel.selectedIndex].target);
			}else{
				eval(sel.options[sel.selectedIndex].value)
			}
			sel.selectedIndex=0
		}
		else{
					
		}				
		return false;
	}
</SCRIPT>
<title><%=rs("subject")%>-企业信息</title>
<SCRIPT language=Javascript>
	var lastcode=""
	var menucount;
	var locate = 0;
	var timer
	var step=10
	function startup(isup)
	{
		if(isup==1)
		{
			if(locate<=2000)
			{
				locate+=step;
				scroll(0,locate);
				timer=setTimeout("startup(1)",100);
			}
			else
			{
				locate=0;
				scroll(0,locate);
			}
		}
		else
		{
			if(locate>0)
			{
				if(locate>step) locate-=step;
					else locate=0;
				scroll(0,locate);
				timer=setTimeout("startup(0)",100);
			}	
		}
	}

	function stop()
	{
		clearTimeout(timer);
	}
	
	function loginwin()
	{
	window.open("login.asp",null,"toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no,scrollbars=no,width=280,height=170,left=230,top=150")		
	}
	
	function selectclass(code)
	{
		var i;
		if (code!=lastcode){
			document.all("class"+code).style.display="" ;
			
			for(i=1;i<=menucount;i++){
				document.all("pclass"+i).style.display="none" ;
				document.all("ppclass"+i).style.display="none" ;
			 }
			document.all("pclass"+code).style.display="" ; 
			lastcode=code;
			}
		else
			{
			for(i=1;i<=menucount;i++){
				document.all("pclass"+i).style.display="" ;
				document.all("ppclass"+i).style.display="" ;
			 }
			document.all("class"+code).style.display="none" ;
			lastcode=""
			}
	}

	function switchbar()
	{
		if (switchpoint.innerText==3)
			{
			switchpoint.innerText=4
			document.all("xxx").style.display="none" 
			}
		else
			{
			switchpoint.innerText=3
			document.all("xxx").style.display="" 
			}	
	}
	
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<style type="text/css"><!-- td           { font-size: 12px; line-height: 17px }
body         { font-size: 12px; line-height: 17px }
a:link       { text-decoration: none; color: blue }
a:visited    { text-decoration: none; color: #993333 }
a:active     { text-decoration: none }
a:hover      { text-decoration: underline; color: red }
-->
</style>
<script language="JavaScript">
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
oncontextmenu='return false';
}
}
if (document.layers) {
if (e.which == 3) {
oncontextmenu='return false';
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
document.oncontextmenu = new Function("return false;")
</script>
</head>
<BODY bgColor=#ffffff leftMargin=0 topMargin=2>
<TABLE cellSpacing=0 cellPadding=0 width=730 align=center bgColor=#ffffff 
border=0>
  <TBODY>
  <TR>
    <TD><IFRAME border=0 marginWidth=0 marginHeight=0 
      src="top.html" frameBorder=no width=777 scrolling=no 
      height=133></IFRAME></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=783 align=center bgColor=#ffffff 
border=0>
  <TBODY>
  <TR>
    <TD width=123 valign="middle">
      <p align="center"><img border="0" src="gif/0005.gif"></p>
    </TD>
    <TD width=15>:</TD>
    <TD width=69>
      <p align="center"><b>企业黄页</b></TD>
    <TD width=136><font color="#FFCC66">-&gt;</font><font color="#008000"> 
      </font><font color="#FF0000">企业信息</font></TD>     
    <TD width=440>     
      <TABLE cellSpacing=0 cellPadding=0 width=350 align=center border=0>     
        <FORM name=form1 action=search1.asp method=post      
        target=main>     
        <TBODY>     
        <tr>     
          <TD class=font1 width=50 height=35>关键词:</TD>     
          <TD class=font1 width=80 height=35><INPUT maxLength=16 size=16      
            name=keyword> </TD>     
          <TD>     
            <DIV align=center><SELECT name=seekname> <OPTION value=1      
              selected>公司名称</OPTION> <OPTION value=2>企业名称</OPTION></SELECT>      
</DIV></TD>     
          <TD width=80><INPUT type=image      
            src="gif/0007.gif" border=0 name=submit>      
        </TD>     
        </tr>     
        </TBODY></TABLE></TD></TR></TBODY></TABLE>     
<TABLE cellSpacing=0 cellPadding=0 width=777 align=center bgColor=#ffffff      
border=0>     
  <TBODY>     
  <TR>     
    <TD background=gif/0008.gif      
  height=1 width="775"></TD></TR></TBODY></TABLE>     
<TABLE cellSpacing=0 cellPadding=0 width=730 align=center bgColor=#ffffff      
border=0>     
  <TBODY>     
  <TR>     
    <TD>&nbsp;</TD></TR></TBODY></TABLE>     
<TABLE height=1 cellSpacing=0 cellPadding=0 width=782 align=center      
bgColor=#ffffff border=0>     
  <TBODY>     
  <TR>     
    <TD vAlign=top width=203 height=1>     
      <TABLE cellSpacing=0 cellPadding=0 width=200 align=center border=0>     
        <TBODY>     
        <TR vAlign=top>     
          <TD height=43><IMG      
            src="gif/0010.gif"></TD></TR>     
        <TR id=pclass1 vAlign=top bgColor=#efefef>     
          <TD onclick="selectclass('1')" vAlign=top>     
            <TABLE height=18 cellSpacing=0 cellPadding=0 width="100%" border=0      
            valign="top">     
              <TBODY>     
              <TR>     
                <TD style="COLOR: #000000" vAlign=center align=middle      
                width="100%">     
                  <DIV style="CURSOR: hand">餐饮住宿</DIV></TD></TR></TBODY></TABLE></TD></TR>     
        <TR id=ppclass1>     
          <TD bgColor=#ffffff height=1></TD></TR>     
        <TR id=class1 style="DISPLAY: none" vAlign=top bgColor=#ffffff>     
          <TD align=right>     
            <TABLE cellSpacing=0 cellPadding=0 width="80%" border=0      
valign="top">     
              <TBODY>     
              <TR>     
                <TD align=middle><a class="r1" target="main" href="allgq.asp?lbid=2">宾馆饭店</a></TD></TR>     
              <TR>     
                <TD bgColor=#ffffff height=1></TD></TR>     
              <TR>     
                <TD align=middle><a class="r1" target="main" href="allgq.asp?lbid=3">餐厅酒楼</a></TD></TR>     
              <TR>     
                <TD bgColor=#ffffff height=1></TD></TR>     
              <TR>     
                <TD align=middle><a class="r1" target="main" href="allgq.asp?lbid=4">旅社旅馆</a></TD></TR>     
              <TR>     
                <TD bgColor=#ffffff height=1></TD></TR>     
              <TR>     
                <TD align=middle><a class="r1" target="main" href="allgq.asp?lbid=5">西餐料理</a></TD></TR>     
              <TR>     
                <TD bgColor=#ffffff height=1></TD></TR>     
              <TR>     
                <TD align=middle><a class="r1" target="main" href="allgq.asp?lbid=6">快餐外卖</a></TD></TR>     
              <TR>     
                <TD bgColor=#ffffff height=1></TD></TR></TBODY></TABLE></TD></TR>     
        <TR id=pclass2 vAlign=top bgColor=#efefef>     
          <TD onclick="selectclass('2')" vAlign=top>     
            <TABLE height=18 cellSpacing=0 cellPadding=0 width="100%" border=0      
            valign="top">     
              <TBODY>     
              <TR>     
                <TD style="COLOR: #000000" vAlign=center align=middle      
                width="100%">     
                  <DIV style="CURSOR: hand">医疗保健</DIV></TD></TR></TBODY></TABLE></TD></TR>     
        <TR id=ppclass2>     
          <TD bgColor=#ffffff height=1></TD></TR>     
        <TR id=class2 style="DISPLAY: none" vAlign=top bgColor=#ffffff>     
          <TD align=right>     
            <TABLE cellSpacing=0 cellPadding=0 width="80%" border=0      
valign="top">     

⌨️ 快捷键说明

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