<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InfoAdd.aspx.cs" Inherits="web.admin.InfoAdd" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>NewsAdd</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<link href="images/adminstyle.css" type="text/css" rel="stylesheet"/>
				<script type="text/javascript" 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%"  cellspacing="0" cellpadding="0" >
	<tr>
		
      <td background="img/labelbg.gif" class="tl"></td>
		
      <td background="img/labelbg.gif" class="tm"><span class="tt">供求信息管理 &gt;&gt;
        <asp:Label id="lblAction" runat="server">添加</asp:Label>供求信息或类别 <span style="color: #ff0033">
            说明：请事先设置好供求信息分类，如果以后有增加、删除、修改分类操作，请批量生成相关供求信息页面！</span></span></td>
		<td class="tm2"></td>
		<td class="tr"></td>
	</tr>
</table>
           
  <br>
  <table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-bottom:1px #DADADA solid;">
    <tr>
      <td height="28"> 
        <div align="center">
          <asp:Button ID="Bt1" runat="server" OnClick="Bt1_Click" Text="生成总的供求信息列表页" />
          &nbsp; 
          <asp:Button
                ID="Bt2" runat="server" OnClick="Bt2_Click" Text="生成所有的分类HTML页" />
          &nbsp;
          <asp:Button
                    ID="Bt3" runat="server" OnClick="Bt3_Click" Text="生成所有商家HTML专页" />
          &nbsp;
          <asp:Button
                        ID="bt4" runat="server" OnClick="bt4_Click" Text="生成所有的信息HTML页" />
        </div></td>
    </tr>
  </table>
  <br/>

<div class="mframe">

		
    <table  width="95%" border="0" >
      <tr> 
        <td align="right" style="height: 30px; width: 99px;">信息类别： </td>
        <td colspan="3" style="height: 30px"> &nbsp; <asp:DropDownList ID="plei" runat="server" AutoPostBack="True" OnSelectedIndexChanged="plei_SelectedIndexChanged"> 
          </asp:DropDownList> &nbsp; <asp:HiddenField ID="Hiddenarea" runat="server" /> 
          <asp:TextBox ID="atype" runat="server"></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 bgcolor="#F4F4F4"> 
        <td align="right" style="height: 30px; width: 99px;"> 信息标题：</td>
        <td style="height: 30px">&nbsp; 
          <asp:textbox id="txtTitle" runat="server" Width="158px"></asp:textbox>
          * 
          <asp:CheckBox id="ckIsFormatRed" runat="server" Text="加红加粗"></asp:CheckBox></td>
        <td align="right" style="height: 30px"> 关键字：</td>
        <td align="left" style="height: 30px">&nbsp; 
          <asp:textbox id="txtKeys" runat="server" Width="180px"></asp:textbox></td>
      </tr>
      <tr> 
        <td align="right" style="height: 30px; width: 99px;">所属店铺：</td>
        <td style="height: 30px">&nbsp;&nbsp;<asp:DropDownList ID="ddlArea" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlArea_SelectedIndexChanged"> 
          </asp:DropDownList></td>
        <td align="right" style="height: 30px">属性：</td>
        <td align="left" style="height: 30px">&nbsp;&nbsp; <asp:CheckBox id="cbxIsTop" runat="server" Text="置顶"></asp:CheckBox> 
          <asp:CheckBox id="cbxIsBest" runat="server" Text="推荐"></asp:CheckBox>	</td>
      </tr>
      <tr bgcolor="#F4F4F4"> 
        <td align="right" style="height: 34px; width: 99px;">l联系人：</td>
        <td style="height: 34px">&nbsp; 
          <asp:TextBox ID="txtAuthor" CssClass="input" runat="server" Width="150px"></asp:TextBox></td>
        <td align="right" style="height: 34px">&nbsp;</td>
        <td align="left" style="height: 34px"> </td>
      </tr>
      <tr> 
        <td align="right" style="height: 35px; width: 99px;" >联系电话： </td>
        <td style="height: 35px"> &nbsp; <input id="File1" type="file" class="input" name="file1" runat="server" visible="false"/> 
          <asp:textbox id="txtFrom" CssClass="input" runat="server" Width="150px"></asp:textbox></td>
        <td align="right" style="height: 35px" ></td>
        <td style="height: 35px">&nbsp; </td>
      </tr>
      <tr> 
        <td align="right" style="width: 99px">信息内容： </td>
        <td colspan="3"><FCKeditorV2:FCKeditor id="ftbContent" runat ="server" ToolbarSet="Default" Height="300px" Width="98%"></FCKeditorV2:FCKeditor></td>
      </tr>
      <tr> 
        <td align="right" style="width: 99px">&nbsp;</td>
        <td colspan="3">&nbsp; <asp:button id="btnSave" CssClass="btn" runat="server" Text="保存"></asp:button> 
          &nbsp; <asp:Button id="btnBack" CssClass="btn" runat="server" Text="返回"></asp:Button></td>
      </tr>
    </table>

</div>
		</form>
	</body>
</html>
