<!--#include file="../../../../p_inc/Include_func.asp"-->
<!--#include file="../../../../p_inc/openconn.asp"-->
<!--#include file="../../../../Members/config.asp"-->
<%
nid=Replace(Request("nid"),"'","")
nid=Bint(nid)
Uid=Bint(Replace(Request.Cookies(G_u_Cookies)("soojs_id"),"'",""))
Set Rs=Server.CreateObject(G_RS)
sql="Select top 1 * From qingtiandy_notebook Where Uid="&Uid&" And id="&nid&""
Rs.open sql,Conn,1,1
IF Not Rs.Eof Then
	snote_title=GetRp(Rs("note_title"))
	snote_content=HTMLEncode5(GetRp(Rs("note_content")))
	snote_date=ForMatDate(Rs("note_date"),55)
Else
	Response.End()
End IF
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
        <title>
            打印记事
        </title>
    </head>
    
    <body style="background:#fff;margin:0;padding:10px;font-family:Verdana"
    onload="window.print();">
        <div style="background:#eff5fb;border-top:1px solid #7cacdb;border-bottom:1px solid #7cacdb; padding:10px; margin:10px 0 20px;">
            <h1 style="font-size:18px; font-weight:bold; margin:0 0 5px;">
                <%=snote_title%>
            </h1>
            <div id="noteInfo" style="font-size:14px;">
                修改时间：<%=snote_date%>
            </div>
        </div>
        <div id="noteContent" style="line-height:1.6; padding:0 10px;">
            <%=snote_content%>
        </div>
    </body>

</html>