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

📄 love.asp

📁 - 其中VIP源代码是经过测试
💻 ASP
字号:
<!--#include file="../../../js/conn.asp"-->
<!--#include file="safety.asp"-->
<%
set rs = Server.CreateObject("ADODB.Recordset")
sql = "select storytitle,storytxt from wed_wedding where UID="&uid&"  "
rs.Open sql,conn,3
if isnull(rs("storytxt")) then
	storytxt=""
else
	storytxt=rs("storytxt")
end if
%>
<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">
<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>
.storytxt {color:#696969; line-height:180%; font-size:12px;}
.storytitle {color:#F73A4C;font-size:20px;line-height:120%;font-weight:bold;}
</style>
<title>婚礼在线</title>
</head>

<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" background="images/bg.gif">
<!--#include file="menu.asp"-->

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

<table cellspacing="0" cellpadding="0" height="76"><tr><td valign="bottom"><img src="images/title_2.gif"></td></tr></table>
<table cellspacing="0" cellpadding="0" style="padding-left:36"><tr><td>
<table cellspacing="0" cellpadding="0" style="background:url('images/love_pic1.jpg') no-repeat"><tr><td>
<table width="660" align="center" cellspacing="0" cellpadding="0">
<tr><td height="57" align="center" style="padding-left:120"><table width="300"><tr><td class="storytitle" align="center"><%=rs("storytitle")%></td></tr></table></td></tr>
<tr><td class="storytxt" height="600" valign="top" background="images/love_bg.gif" style="padding-top:3">
	<%if not(isnull(storytxt)) and len(storytxt)>1 then%>
	<div style="width: 28px; height: 32px; float:left; background-color: #FFFFFF"><img src="images/love_pic2.jpg" align="left"><span style="font-size:33px;font-family:黑体;line-height:110%;"><%=left(storytxt,1)%></span></div>
	<span style="padding-top:11"><%=EncodeTxt(right(storytxt,len(storytxt)-1))%></span>
	<%else%>
	<div style="width: 28px; height: 32px; float:left; background-color: #FFFFFF"><img src="images/love_pic2.jpg" align="left"></div>
	<%end if%>
</td></tr>
</table>
</td></tr></table>
</td></tr></table>
</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 + -