📄 wedding.asp
字号:
<!--#include file="../../../js/conn.asp"-->
<!--#include file="safety.asp"-->
<%
'查询该页面的图片
sql_wed_pic_intro = "select * from wed_pic_intro where uid="&uid&" and tyno=2 "
set rs1 = Server.CreateObject("ADODB.Recordset")
sql = "select weddate,wedaddress,wedappreciate,albumty_wed,picwrite_wed from wed_wedding where UID="&uid&" "
rs1.Open sql,conn,3
albumty = rs1("albumty_wed")
picwrite = rs1("picwrite_wed")
%>
<!--#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>
<%if not(isnull(rs1("weddate"))) then%>
<%="<SCRIPT>"%>
<%response.write("var yy=" & year(rs1("weddate")) & ";")%>
<%response.write("var mm=" & month(rs1("weddate")) & ";")%>
<%response.write("var dd=" & day(rs1("weddate")) & ";")%>
<%response.write("var ww=" & datepart("w",rs1("weddate")) & ";")%>
<%response.write("var ss=" & (datediff("d","1970-1-1",rs1("weddate")))*86400 & ";")%>
</SCRIPT>
<SCRIPT LANGUAGE=JavaScript SRC="chinadate.js"></script>
<%end if%>
<style>
.wed_intro {color:#5D4E3D; line-height:140%;}
</style>
<title>婚礼在线</title>
</head>
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onload="moveinit()">
<!--#include file="menu.asp"-->
<table width="1004" cellpadding="0" cellspacing="0"><tr>
<td width="780" align="center" valign="top">
<table width="715" height="251" cellspacing="0" cellpadding="0" background="images/wedding_bg.gif"><tr>
<td width="301" valign="top" style="padding:72 0 0 110">
<table cellspacing="0" cellpadding="0">
<%if not(isnull(rs1("weddate"))) then%>
<tr><td width="98" align="center"><span style="letter-spacing: 1pt; font-size:13px; font-family:Arial; color:#5F4E1F; font-weight:bold;"><script>document.write(bsDate)</script></span></td><td rowspan="3" width="1" style="padding-left:20"><font color="#96300D"><script>document.write(bsYear2)</script></font></td><td rowspan="3" width="1" style="padding-left:5"><font color="#96300D"><script>document.write(bsYear)</script></font></td></tr>
<tr><td align="center"><span style="letter-spacing: 1pt;line-height:150%; font-size:22px; font-family:Arial; color:#F53030; font-weight:bold;"><script>document.write(bsDate2)</script></span></td></tr>
<tr><td align="center"><span style="letter-spacing: 1pt;line-height:150%; font-size:12px; font-family:Arial; color:#F53030;"><script>document.write(bsWeek)</script></span></td></tr>
<%end if%>
</table>
</td>
<td valign="top" style="padding:65 0 0 2">
<%if len(rs1("wedaddress"))>0 then%>
<table width="166" height="86" bgcolor="#DAEFD1" cellspacing="0" cellpadding="0" style="color:#336666"><tr><td height="1" align="center" valign="top" style="padding:8 6 6 6"><b><%=rs1("wedaddress")%></b></td></tr></table>
<%end if%>
</td>
</tr></table>
<table cellspacing="0" cellpadding="0">
<tr>
<td width="35"></td>
<td width="605" height="220" background="images/wedding_line1.gif" valign="top">
<table width="100%" cellspacing="0" cellpadding="0" style="padding:10 30 10 26"><tr><td class="wed_intro"><%=EncodeTxt(rs1("wedappreciate"))%></td></tr></table>
</td>
<td valign="top"><img src="images/wedding_banger.gif"></td>
</tr>
<tr>
<td></td>
<td height="17" background="images/wedding_line2.gif"></td>
<td></td>
</tr>
</table>
<br>
<a name="5"></a>
<img src="images/title_3.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="19"></td></tr>
<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 + -