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

📄 wedding_副本(1).asp

📁 - 其中VIP源代码是经过测试
💻 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")

Function  EncodeTxt(fString)
if not(isnull(fString)) then
	fString  =  Replace(fString,  ">",  "&gt;")  
	fString  =  Replace(fString,  "<",  "&lt;")  
	fString  =  Replace(fString,"  ",  "&nbsp;")  
	fString  =  Replace(fString,"""",  "&quot;")  
	fString  =  Replace(fString,CHR(13),  "<br>")  
	fString  =  Replace(fString,  CHR(32),  "&nbsp;")  
	EncodeTxt  =  fString
end if
End  Function  

%>
<!--#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="menu.css" rel="stylesheet" type="text/css">
<link href="../../wed_album.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE=JavaScript SRC="../../wed_album.js"></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()">
<div align="center">

<!--#include file="menu.asp"-->

<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:60 0 0 0;color:#336666;"><%=rs1("wedaddress")%></td>
</tr></table>
<table cellspacing="0" cellpadding="0">
<tr>
	<td width="35"></td>
	<td width="605" 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>

<table cellspacing="0" cellpadding="0"><tr><td height="12"></td></tr></table>
<img src="images/title_3.gif">
<%if rs.recordcount>0 then%>
<!--#include file="../../wed_album_view.asp"-->
<%end if%>
<!--#include file="bottom.asp"-->
	
</div>

</body>
</html>

⌨️ 快捷键说明

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