Files
g.hnyhua.cn/Mtxfw.shop/_Admin/admin_Guide_add.aspx

58 lines
2.1 KiB
Plaintext
Raw Normal View History

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="admin_Guide_add.aspx.cs" Inherits="Mtxfw.shop._admin.admin_Guide_add" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="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/style.css" rel="stylesheet" type="text/css" />
<link href="css/Burgundy.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript">
var checkForm = function () {
var Question = document.getElementById('Text_Question');
var Answer = document.getElementById('Text_Answer');
if (Question.value == '') {
alert('请输入问题'); return false;
}
return true;
}
</script>
<body>
<form id="form1" runat="server">
<div class="main">
<div class="bt1">新手指南 - <%=TitName %></div>
<div class="bt2">
<div class="clear"></div>
</div>
<div class="bt3">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th width="20%">&nbsp;问题:</th>
<td>
<asp:TextBox ID="Text_Question" runat="server" Columns="40"></asp:TextBox>
</td>
</tr>
<tr>
<th width="20%">&nbsp;回答:</th>
<td>
<FCKeditorV2:FCKeditor ID="Text_Answer" runat="server" Height="300" BasePath="/Fckeditor/" />
</td>
</tr>
<tr>
<td colspan="2">&nbsp;
<asp:Button ID="Btn_Insert" runat="server" CssClass="btn" Text="添加"
OnClientClick="return checkForm();" />
<asp:Button ID="Btn_Update" runat="server" CssClass="btn" Text="更新" OnClientClick="return checkForm();" />
<input id="btn_back" type="reset" value="返回" onclick="history.go(-1)" class="btn" />
<asp:HiddenField ID="Hidd_Url" runat="server" />
</td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>