<!--#Include File="Connection.Asp"-->
 
<%
Dim JaZ,C,flyN,B,cur
Set JaZ = new q_zone
B = JaZ.JaKillStr(Request.QueryString("JaUid"))
If B="" Then
B= "2"
End If
C=Split(JaZ.GetHeadElement("*",B,"JaFaceSet",""),"<><><>")
flyN = split(Trim(C(2)),"|")
If Cint(Trim(C(1)))<>0 Then
cur = "CURSOR:url('cur/"&C(1)&".ani');"
Else
cur = ""
End If 

Dim JiYu,JaCheckIsLog
JiYu = JaZ.GetBlogRe("JaMsg","JaMsg","JaUid='"&SESSION("VicNum")&"' and IsPub=1")

JaCheckIsLog = JaZ.JaIsUser(B)
If JaCheckIsLog = "no" Or JaCheckIsLog = "IsRe" Then
Response.Write "<script language=javascript>alert('你没有权限观看该页面!');"
Response.Write "window.document.location.href='javascript:history.go(-1)';</script>"
End if
%>
<html>
<head>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>JaZone</title>
<link type="text/css" rel="stylesheet" href="Style/<%=Trim(C(5))%>/css.css">
</head>
<script src="JsInc/JaG.js"></script>
<script>
function CheckJaUser() {
         if (document.diary_form.content.value=="")
           {
           alert("内容不能为空!");
           document.diary_form.content.focus();
           return false;
           }
}

function showleft(th)
{
if (th.style.display == "none")
{
eval("th.style.display=\"\";");
document.getElementById("sc").src="Style/<%=Trim(C(5))%>/bt_mline_on.gif"
}
else
{
eval("th.style.display=\"none\";");
document.getElementById("sc").src="Style/<%=Trim(C(5))%>/bt_mline_off.gif"
}
}
					</script>
<body leftmargin="2" topmargin="2" style="background-color:transparent;<%=cur%>" text="#cccccc" link="#cccccc" vlink="#cccccc" alink="#cccccc">
<table width="615" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="7" align="left" >
<div align="right"><img src="Style/<%=Trim(C(5))%>/t_t_l.gif" width="7"></div></td>
    <td width="599" background="Style/<%=Trim(C(5))%>/t_t_m.gif"><font color="#6699CC" size="2"><strong> 
      </strong></font> 
	 <%if Trim(C(5))="sky" Then%> 
      <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" style="cursor: hand;">
        <tr> 
          <td width="2%"><img src="Style/<%=Trim(C(5))%>/icon_01.gif"></td>
          <td width="88%"><strong class="datet">留言板</strong></td>
          <td width="10%"><img src="Style/<%=Trim(C(5))%>/more.gif"></td>
        </tr>
      </table>
<%End If%>	  
    </td>
    <td width="7" align="right" > 
      <div align="left"><img src="Style/<%=Trim(C(5))%>/t_t_r.gif" width="7" border="0"></div></td>
  </tr>
  <tr> 
    <td background="Style/<%=Trim(C(5))%>/t_m_l.gif">&nbsp;</td>
    <td width="599" rowspan="2"> <div align="center">
		 <%if Trim(C(5))="plady" Then%> 
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="cursor: hand;">
        <tr> 
          <td width="2%"><img src="Style/<%=Trim(C(5))%>/icon_01.gif"></td>
          <td width="88%"><strong class="datet">留言板</strong></td>
          <td width="10%"><img src="Style/<%=Trim(C(5))%>/more.gif"></td>
        </tr>
      </table>
        <%End If%>
        <table width="99%"  border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height="23" background="Style/<%=Trim(C(5))%>/titleback.gif"><span class="classs">留言本设置</span> 
              <div align="right"></div></td>
          </tr>
        </table>
        <br><table width="95%"  border="0" align="center" cellpadding="1" cellspacing="1" class="back">
          <tr> 
            <td class="backf"><table width="100%"  border="0" cellpadding="0" cellspacing="0">
                <tr> 
                  <td class="title3">主人寄语</td>
                </tr>
              </table>
              <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="12">
                <form name="diary_form" method="post" action="MsgTopSave.asp?JaUid=<%=B%>" onSubmit="return CheckJaUser();">
                  <tr> 
                    <td> <br> <table width="100%"  border="0" cellpadding="1" cellspacing="1" class="back">
                        <tr> 
                          <td class="backf"><table width="100%"  border="0" cellpadding="3" cellspacing="0">
                              <tr> 
                                <td height="13" class="shadows"><select name="selectface" onChange="ubbselectfont('face','document.all.selectface', 'diary_form.content');">
                                    <option  value="宋体" selected>宋体</option>
                                    <option  value="黒体">黒体</option>
                                    <option  value="仿宋_GB2312">仿宋</option>
                                    <option  value="隶书">隶书</option>
                                    <option  value="楷体_GB2312">楷体</option>
                                    <option  value="Times New Roman">Times New 
                                    Roman</option>
                                    <option  value="Arial Black">Arial Black</option>
                                    <option value="Verdana">Verdana</option>
                                    <option value="Helvetica">Helvetica</option>
                                  </select> <select name="selectsize" onChange="ubbselectfont('size','document.all.selectsize', 'diary_form.content');">
                                    <option value="1">1</option>
                                    <option value="2">2</option>
                                    <option value="3">3</option>
                                    <option value="4">4</option>
                                    <option value="5">5</option>
                                    <option value="6">6</option>
                                  </select> <a href="javascript:ubbfont('B', diary_form.content)"><img src="Qz/bb_bold.gif" alt="插入粗体文本" width="22" height="20" hspace="1" border="0" align="absmiddle"></a><a href="javascript:ubbfont('I', diary_form.content)"><img src="Qz/bb_italicize.gif" alt="插入斜体文本" width="22" height="20" hspace="1" border="0" align="absmiddle"></a><a href="javascript:ubbfont('U', diary_form.content)"><img src="Qz/bb_underline.gif" alt="插入下划线" width="22" height="20" hspace="1" border="0" align="absmiddle"></a><a href="javascript:ubbcolorm(diary_form.content)"><img src="Qz/bb_color.gif" alt="字体颜色" width="22" height="20" hspace="1" border="0" align="absmiddle"></a><a href="javascript:ubbfacem(diary_form.content)"><img src="Qz/bb_face.gif" alt="插入表情" width="22" height="20" hspace="1" border="0" align="absmiddle"></a> 
                                  <a href="javascript:ubbpicturem(diary_form.content)"><img src="Qz/bb_image.gif" alt="插入图像" width="22" height="20" hspace="1" border="0" align="absmiddle"></a><a href="javascript:ubbfont('M', diary_form.content)"><img src="Qz/bb_center.gif" alt="居中" width="22" height="20" hspace="1" border="0" align="absmiddle"></a><a href="javascript:ubbfont('R', diary_form.content)"><img src="Qz/bb_right.gif" alt="居右" width="22" height="20" hspace="1" border="0" align="absmiddle"></a> 
                                  <input name="hassign" type="checkbox" value="yes" checked>
                                  使用签名档</td>
                                <input type="hidden" name="hassubmited" value="0">
                              </tr>
                            </table>
  <textarea name="content" cols="" rows="5"  style="border: 0px; width:100%"><%=JiYu(0,0)%></textarea>	
                          </td>
                        </tr>
                      </table>
                      <div align="center"> 
                        <input name="imageField" type="image" src="Qz/b.gif" width="1" height="1" border="0" class="submit" onClick="return checkAndSub();">
                        <input name="imageField" type="image" src="Qz/b.gif" width="1" height="1" border="0" class="reset" onClick="javascript:diary_form.reset();return false;">
                      <input name="imageField" type="image" src="Qz/b.gif" width="1" height="1" border="0" class="back" onClick="javascript:top.guideButton (2); return false;">
					  </div></td>
                  </tr>
                </form>
              </table></td>
          </tr>
        </table>
        <br>
      </div></td>
    <td width="7" background="Style/<%=Trim(C(5))%>/t_m_r.gif"> 
      <div align="left"></div></td>
  </tr>
  <tr> 
    <td background="Style/<%=Trim(C(5))%>/t_m_l.gif"></td>
    <td background="Style/<%=Trim(C(5))%>/t_m_r.gif">
<div align="left"></div></td>
  </tr>
  <tr> 
    <td height="7"><img src="Style/<%=Trim(C(5))%>/t_d_l.gif" width="7" height="7"></td>
    <td width="599" height="7" background="Style/<%=Trim(C(5))%>/t_d_m.gif"></td>
    <td height="7"><img src="Style/<%=Trim(C(5))%>/t_d_r.gif" width="7" height="7"></td>
  </tr>
</table>
</body>

</html>
