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

📄 honeymoon.asp

📁 - 其中VIP源代码是经过测试
💻 ASP
字号:
<!--#include file="../../../js/conn.asp"-->
<!--#include file="safety.asp"-->
<%
set rs1 = Server.CreateObject("ADODB.Recordset")
sql = "select tourtitle,tourno from wed_honeymoon where UID="&uid&" order by id desc "
rs1.Open sql,conn,3

if rs1.recordcount>0 then
	if request("tourno")="" then
		tourno=rs1("tourno")
	else
		tourno=Cint(request("tourno"))
	end if
	set rs2 = Server.CreateObject("ADODB.Recordset")
	sql = "select tourintro,albumty_tour,picwrite_tour from wed_honeymoon where UID="&uid&" and tourno="&tourno&" "
	rs2.Open sql,conn,3
	albumty = rs2("albumty_tour")
	picwrite = rs2("picwrite_tour")
end if

'查询该页面的图片
tyno="3" & tourno
sql_wed_pic_intro = "select * from wed_pic_intro where uid="&uid&" and tyno='"&tyno&"' "

%>
<!--#include file="../../wed_album_addnew.asp"-->
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../../common.css" rel="stylesheet" type="text/css">
<link href="../../wed_album.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE=JavaScript SRC="../../wed_album.js"></script>
<script>
function right_view1() { window.open("/templet/wed_bulletin.asp?uid="+"<%=uid%>","","width=510,height=480,scrollbars=yes,resizable=no") }
function right_view2() { window.open("/templet/wed_link.asp?uid="+"<%=uid%>","","width=510,height=480,scrollbars=yes,resizable=no") }
function right_view3() { window.open("/templet/wed_vod.asp?uid="+"<%=uid%>","","width=510,height=480,scrollbars=yes,resizable=no") }
uid="<%=request("uid")%>"
<%if request.cookies("isvalid")<>"yes" then%>
function right_b1() { alert("请以管理员身份登录 !!") }
function right_b2() { alert("请以管理员身份登录 !!") }
function right_b3() { alert("请以管理员身份登录 !!") }
<%else%>
function right_b1() { window.open("/templet/wed_bulletin.asp?log=1&uid="+"<%=uid%>","","width=510,height=480,scrollbars=yes,resizable=no") }
function right_b2() { window.open("/templet/wed_link.asp?log=1&uid="+"<%=uid%>","","width=510,height=480,scrollbars=yes,resizable=no") }
function right_b3() { window.open("/templet/wed_vod.asp?log=1&uid="+"<%=uid%>","","width=510,height=480,scrollbars=yes,resizable=no") }
<%end if%>
</script>
<style>
.tour_intro {color:#765541; line-height:140%;}
</style>
<title>婚礼在线</title>
</head>

<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"  onload="moveinit()">
<!--#include file="menu.asp"-->
<p></p>

<table width="1004" cellpadding="0" cellspacing="0"><tr>
<td width="780" align="center" valign="top">

<table width="750" height="6" cellspacing="0" cellpadding="0" background="images/honeymoon_bg1.gif"><tr><td></td></tr></table>
<table height="360" width="750" cellspacing="0" cellpadding="0" background="images/honeymoon_bg2.gif"><tr>
	<td width="218" valign="top">
		<table width="100%" cellspacing="0" cellpadding="0">
		<tr><td align="center" style="padding:10 0 6 7"><img src="images/honeymoon_left.gif"></td></tr>
		<tr><td align="center" valign="top">
				<table width="172" cellspacing="0" cellpadding="0" border="1" bordercolor="#DCD0E0" bgcolor="#FFFFFF" style="border-collapse: collapse" >
				<tr><td style="padding-bottom:10">
					<table width="width" cellpadding="0" cellspacing="0">
						<tr><td height="8" colspan="2"></td></tr>
						<%if rs1.recordcount=0 then%><tr><td height="60"></td></tr><%end if%>
						<%for i=1 to rs1.recordcount%>
						<tr><td width="16" height="20" valign="top" style="padding-top:3"><img src="/images/root/no<%if rs1("tourno")=tourno then%>2<%else%>3<%end if%>_<%=i%>.gif" hspace="5"></td><td><a href="honeymoon.asp?uid=<%=uid%>&tourno=<%=rs1("tourno")%>"><font color="#8758D6"><%if rs1("tourno")=tourno then%><font color="#FF6633"><u><%end if%><%=rs1("tourtitle")%></u></font></a></td></tr>
						<%rs1.movenext%>
						<%if rs1.eof then%>
						<%exit for%>
						<%end if%>
						<%next%>
						<tr><td height="10" colspan="2"></td></tr>
					</table>
				</td></tr>
				</table>
		</td></tr>
		<tr><td height="30"></td></tr>	
		</table>
	</td>
	<td valign="top" style="padding:6 0 0 28">
		<table cellspacing="0" cellpadding="0">
			<tr><td><img src="images/honeymoon_right.gif"></td></tr>
			<tr><td style="padding:16 8 10 8" class="tour_intro"><%if rs1.recordcount>0 then%><%=EncodeTxt(rs2("tourintro"))%><%end if%></td></tr>
		</table>
	</td>
</tr></table>
<table width="750" height="6" cellspacing="0" cellpadding="0" background="images/honeymoon_bg3.gif"><tr><td></td></tr></table>

<br>
<a name="5"></a>
<img src="images/title_4.gif">
<%if rs.recordcount>0 then%>
<!--#include file="../../wed_album_view.asp"-->
<br><br><br>
<%end if%>
</td>

<%
set rs_link = Server.CreateObject("ADODB.Recordset")
sql = "select top 8 * from W_link where uid="&uid&" "
rs_link.Open sql,conn,3
set rs_vod = Server.CreateObject("ADODB.Recordset")
sql = "select top 8 * from W_vod where uid="&uid&" "
rs_vod.Open sql,conn,3
%>
<td valign="top" style="padding:0 0 0 22">
<table width="184" cellpadding="0" cellspacing="0">
<tr><td height="57" background="../../images/wedding/right_bulletin.gif"></td></tr>
<tr><td height="5" background="../../images/wedding/right_top.gif"></td></tr>
<tr><td height="60" background="../../images/wedding/right_line.gif" valign="top" style="padding:6 16 8 24"><span style="cursor:hand;color:#9d9d9d;" onclick="right_view1()"><%=EncodeTxt(left(bulletin,116))%><%if len(bulletin)>116 then%>…<%end if%></span></td></tr>
<tr><td background="../../images/wedding/right_line.gif" style="padding:0 0 0 92"><img style="cursor:hand" src="../../images/wedding/right_b1.gif" onclick="right_b1()"></td></tr>
<tr><td height="8" background="../../images/wedding/right_bottom.gif"></td></tr>
<tr><td height="22"></td></tr>
<tr><td height="57" background="../../images/wedding/right_link.gif"></td></tr>
<tr><td height="5" background="../../images/wedding/right_top.gif"></td></tr>
<tr><td height="60" background="../../images/wedding/right_line.gif" valign="top" style="padding:6 16 8 24" align="center" style="line-height:150%">
<%for i=1 to rs_link.recordcount%>
<a href="Http://<%=rs_link("url")%>" target="_blank"><font color="#9D9D9D"><%=rs_link("title")%></font></a><br>
<%rs_link.movenext%>
<%if rs_link.eof then%>
<%exit for%>
<%end if%>
<%next%>
</td></tr>
<tr><td background="../../images/wedding/right_line.gif" style="padding:0 0 0 33"><img style="cursor:hand" src="../../images/wedding/more.gif" onclick="right_view2()">  <img style="cursor:hand" src="../../images/wedding/right_b2.gif" onclick="right_b2()"></td></tr>
<tr><td height="8" background="../../images/wedding/right_bottom.gif"></td></tr>
<tr><td height="22"></td></tr>
<tr><td height="57" background="../../images/wedding/right_vod.gif"></td></tr>
<tr><td height="5" background="../../images/wedding/right_top.gif"></td></tr>
<tr><td height="60" background="../../images/wedding/right_line.gif" valign="top" style="padding:6 16 8 24" align="center" style="line-height:150%">
<%for i=1 to rs_vod.recordcount%>
<a href="Http://www.onlove.cn/userpic/vod/<%=rs_vod("url")%>" target="_blank"><font color="#9D9D9D"><%=rs_vod("title")%></font></a><br>
<%rs_vod.movenext%>
<%if rs_vod.eof then%>
<%exit for%>
<%end if%>
<%next%>
</td></tr>
<%if rs_vod.recordcount>1 then%>
<tr><td background="../../images/wedding/right_line.gif" style="padding:0 0 0 33"><img style="cursor:hand" src="../../images/wedding/more1.gif" onclick="right_view3()">  <img style="cursor:hand" src="../../images/wedding/right_b3.gif" onclick="right_b3()"></td></tr>
<%else%>
<tr><td background="../../images/wedding/right_line.gif" style="padding:0 0 0 92"><img style="cursor:hand" src="../../images/wedding/right_b3.gif" onclick="right_b3()"></td></tr>
<%end if%>
<tr><td height="8" background="../../images/wedding/right_bottom.gif"></td></tr>
<tr><td height="22"></td></tr><!--Null-->
<tr><td height="57" background="../../images/wedding/right_hot.gif"></td></tr>
<tr><td height="5" background="../../images/wedding/right_hot1.gif"></td></tr>
<tr><td height="60" background="../../images/wedding/right_hot2.gif" valign="top" style="padding:8 0 4 30">
<script src="Http://www.onlove.cn/js/output_1.asp?dis=8&wid=150&bg=0"></script>
</td></tr>
<tr><td height="8" background="../../images/wedding/right_hot3.gif"></td></tr>
<tr><td height="40"></td></tr><!--Null-->
</table>
</td>
</tr></table>

<div align="center"><!--#include file="bottom.asp"--></div>

</body>
</html>

⌨️ 快捷键说明

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