<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HelpCenterAdd.aspx.cs" Inherits="admin_Help_HelpCenterAdd" %>

<!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">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>添加帮助信息</title>
<link rel="stylesheet" href="../skin/style.css" type="text/css" />
<script type="text/javascript">
  function $(id)
  {
    return document.getElementById(id);
  }
  
  function check()
  {
    if($("txtTitle").value=="")
    {
      document.getElementById("title").innerHTML="标题不能为空";
      return false;
    }
    if($("txtInfo").value=="")
    {
      document.getElementById("info").innerHTML="内容不能为空";
      return false;
    }
    if($("lstHelpType").value=="")
    {
      document.getElementById("type").innerHTML="请选择类型";
      return false;
    }
    return true;
  }
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="itemtitle">
 <h3>操作提示</h3>
</div>
<div class="itemtitle_tect">
 <ul>
 <li>通过用户管理，您可以进行编辑会员资料、用户组、权限、积分、授权会员勋章以及删除会员等操作；</li>
 <li>请先根据条件搜索用户，然后选择相应的操作。</li>
 </ul>
</div>
<div class="clr"></div>
<div class="talbe_border">
<table border="0" cellpadding="0" cellspacing="0" class="talbe_list">
<tr>
		 <th colspan="2" class="header tou">添加帮助信息</th>
	  </tr>
	<tr>
		<td width="16%" class="left1">
			帮助类别：</td>
		<td width="84%" class="left2">
			<asp:ListBox ID="lstHelpType" runat="server" Height="124px" Width="108px"  OnSelectedIndexChanged="lstHelpType_SelectedIndexChanged"
				AutoPostBack="True"></asp:ListBox><div id="type" style="color:Red"></div>
		<asp:ListBox ID="lstHelpType1" runat="server" Height="124px" Width="108px"></asp:ListBox></td>
	</tr>
	<tr>
		<td class="left1">
			标题：</td>
		<td class="left2">
		<asp:TextBox ID="txtTitle" runat="server" Width="421px"></asp:TextBox>
		<div id="title"  style="color:Red"></div>
		</td>
	</tr>
	<tr>
		<td class="left1">
			内容：</td>
		<td class="left2">
		<asp:TextBox ID="txtInfo" runat="server" Height="164px" TextMode="MultiLine" Width="422px"></asp:TextBox>
		<div id="info" style="color:Red"></div>
		</td>
	</tr>
	<tr>
		<td bgcolor="#F0F7FD" colspan="2">
			<asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="确定" CssClass="i_button"  OnClientClick="javascript: return check()"/>
			<asp:Button ID="btnCancel" runat="server"  Text="取消" CssClass="i_button" OnClick="btnCancel_Click" />
			</td>
	</tr>
<asp:Label ID="lblMessage" runat="server" Text="Label" ForeColor="red" Visible="false"></asp:Label></table>
      </div>
    </form>
</body>
</html>
