<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddFree.aspx.cs" Inherits="web.admin.AddFree" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>ProductField</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<LINK href="images/adminstyle.css" type="text/css" rel="stylesheet"></LINK>
<style type="text/css">
body {margin:0px; height:768px}
</style>
		<script language="JavaScript">
<!--
//By Dicky 2005-2-17 11:16:49
function Window_Load(Flag)
{

if (Flag == 0)
{

  parent.document.all['Loading'].style.display = 'block';
  parent.document.all['Loading'].style.width = '500';
   parent.document.all['Loading'].style.height = '60';
  //show the window
}
else
{
  parent.document.all['Loading'].style.display = 'none';
  
  //hide the window
}
}
//-->
</script>
	</HEAD>
	<body rightmargin="0" leftmargin="0" topmargin="0" onload="Window_Load(1);">
	
		<form id="Form2" method="post" runat="server" onsubmit="Window_Load(0);">
		
<table width="100%" height="550"  cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
<div class="top">
          <table width="100%" align="center" cellpadding="0" cellspacing="0" background="img/labelbg.gif" bgcolor="#EDF6FF">
            <tr>
		      <td height="33" class="tl"></td>
		      <td class="tm"><span class="tt">优惠信息管理 &gt;&gt; 积分商品添加 <span style="color: #ff3300">(带*号的必须填写)</span></span></td>
		      <td class="tm2"><span class="tt"></span></td>
		<td class="tr"></td>
	</tr>
</table>
</div>
        <div class="mframe"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td class="ml"></td>
              <td  class="mm" align="left" valign="top"> <br>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
                    <td bgcolor="#FFFFFF" valign="top" > 
                      <table width="100%"  cellspacing="0" cellpadding="0">
                        <tr>
		<td class="ml1"></td>
		<td class="mm1">
<table cellSpacing="1" cellPadding="1" width="100%" align="center" border="0"
				id="Table4">
                              <tr>
					            <td height="145"> 
                                  <table width="100%" height="228" border="0" align="left" cellPadding="6" cellSpacing="0" bgcolor="#CCCCCC"
							id="Table5">
                                    <tr> 
                                      <td width="100" bgcolor="#FFFFFF" > 
                                        <div align="center">选择类别：</div></td>
                                      <td width="854" bgcolor="#FFFFFF" > &nbsp; 
                                        <asp:DropDownList ID="plei" runat="server" AutoPostBack="True" OnSelectedIndexChanged="plei_SelectedIndexChanged"> 
                                        </asp:DropDownList> &nbsp; <asp:HiddenField ID="Hiddenarea" runat="server" /> 
                                        &nbsp; <asp:TextBox ID="atype" runat="server" Width="67px"></asp:TextBox> 
                                        &nbsp; <asp:Button ID="Bt_lx" runat="server" OnClick="Bt_lx_Click" Text="添加类别" /> 
                                        &nbsp; <asp:Button ID="BT_del" runat="server" OnClick="BT_del_Click" Text="删除该类别" Visible="False" /> 
                                        <span style="color: #ff0033">注意：删除类别将一并删除该类下的所有积分商品</span></td>
                                    </tr>
                                    <tr> 
                                      <td width="100" bgcolor="#FFFFFF" > 
                                        <div align="center">商品名称：</div></td>
                                      <td width="854" bgcolor="#FFFFFF" >&nbsp; 
                                        <asp:textbox id="mc" CssClass="input" Width="200px" Runat="server"></asp:textbox> 
                                        <span style="color: #ff3300">*</span></td>
                                    </tr>
                                    <tr> 
                                      <td width="100" bgcolor="#FFFFFF" > 
                                        <div align="center">商品价格：</div></td>
                                      <td width="854" bgcolor="#FFFFFF" >&nbsp; 
                                        <asp:TextBox ID="price" runat="server" Width="197px"></asp:TextBox> 
                                        <span style="color: #ff3300">*</span></td>
                                    </tr>
                                    <tr> 
                                      <td width="100" bgcolor="#FFFFFF" > 
                                        <div align="center">所需积分：</div></td>
                                      <td bgcolor="#F4F4F4" >&nbsp; 
                                        <asp:TextBox ID="jf" runat="server" Width="197px"></asp:TextBox> 
                                        <span style="color: #ff3300">*</span></td>
                                    </tr>
                                    <tr> 
                                      <td width="100" bgcolor="#FFFFFF"  > 
                                        <div align="center">商品图片：</div></td>
                                      <td bgcolor="#FFFFFF" style="width: 451px; height: 34px;"> 
                                        &nbsp;&nbsp;<asp:FileUpload ID="FileUpload1" runat="server" Width="319px" /><span
                                            style="color: #ff3300">*</span></td>
                                    </tr>
                                    <tr> 
                                      <td width="100" bgcolor="#FFFFFF" > 
                                        <div align="center">现有数量：</div></td>
                                      <td bgcolor="#F4F4F4" >&nbsp; 
                                        <asp:TextBox ID="sl" runat="server"></asp:TextBox> 
                                        <span style="color: #ff3300"></span></td>
                                    </tr>
                                    <tr> 
                                      <td width="100" bgcolor="#FFFFFF"> 
                                        <div align="center">保修说明：</div></td>
                                      <td bgcolor="#FFFFFF" >&nbsp; 
                                        <asp:TextBox ID="bx" runat="server"></asp:TextBox> 
                                        <span style="color: #ff3333">(填写:有保修\无保修\保质多少年)</span></td>
                                    </tr>
                                    <tr> 
                                      <td width="100" bgcolor="#FFFFFF" > 
                                        <div align="center">商品说明：</div></td>
                                      <td bgcolor="#FFFFFF" >&nbsp;<FCKeditorV2:FCKeditor id="ftbContent" runat ="server" ToolbarSet="Default" Height="300px" Width="98%"></FCKeditorV2:FCKeditor> 
                                        <span style="color: #ff3300">*</span></td>
                                    </tr>
                                    <tr> 
                                      <td width="100" height="40" bgcolor="#FFFFFF"> 
                                        <div align="right"></div></td>
                                      <td bgcolor="#FFFFFF" > &nbsp;&nbsp;&nbsp; 
                                        <asp:button id="btnSubmit" CssClass="btn" runat="server" Text="提交" OnClick="btnSubmit_Click"></asp:button> 
                                        <FONT face="宋体">&nbsp;</FONT> &nbsp;&nbsp;&nbsp; 
                                        <asp:button id="btnCancel" CssClass="btn" runat="server" Text="重新填写" OnClick="btnCancel_Click"></asp:button></td>
                                    </tr>
                                  </table>
					</td>
				</tr>
			</table>
		</td>
		<td class="mr1"></td>
	</tr>
</table>
                    </td>
  </tr>
</table>


<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>
</td>
    <td  class="mr"></td>
  </tr>
</table>
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl" style="height: 15px"></td>
		<td class="bm" style="height: 15px">&nbsp;</td>
		<td class="br" style="height: 15px"></td>
	</tr>
</table>
</div>
    </td>
  </tr>
</table>

		</form>
	</body>
</HTML>
