日期:2014-05-17 浏览次数:20477 次
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Gbook.aspx.cs" Inherits="_28_1.Gbook" validateRequest="false" %> <%@ Register Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>留言本</title> <link href="css/css.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="fckeditor/fckeditor.js"></script> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" /> <script src="jquery-1.6.4.min.js" type="text/javascript"></script> <script type="text/javascript"> function getEditorHTMLContents(EditorName) { //var oEditor = FCKeditorAPI.GetInstance(EditorName); //alert(oEditor); // var oEditor = "xyzabcd"+oEditor.value.toString(); //var editorHtml = (oEditor.GetXHTML(true)); var editor = FCKeditorAPI.GetInstance(EditorName); var editor2=editor.EditorDocument.body.innerText; return editor2; } </script> </head> <body style="background:white url(images/bg.png) repeat-x; height: 1709px;"> <form id="form1" runat="server"> <div class="gbook_banner"> <img alt="" src="images/groups.png" style="width: 16px; height: 16px" /> <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/login.aspx">登录</asp:LinkButton> <img alt="" src="images/gift.png" style="width: 16px; height: 16px" /> <asp:LinkButton ID="LinkButton2" runat="server" PostBackUrl="~/register.aspx">注册</asp:LinkButton> <img alt="" src="images/list.png" style="width: 16px; height: 16px" /> <asp:LinkButton ID="LinkButton3" runat="server" PostBackUrl="~/admin/login.aspx">留言管理</asp:LinkButton> <asp:Button ID="Button4" runat="server" Height="25px" onclick="Button4_Click1" Text="我的留言" Width="84px" Visible="False" /> <asp:Label ID="Label1" runat="server" Text="Label" Visib