<%@ Page Language="C#" MasterPageFile="~/Member/UserManage.master" EnableEventValidation="false"
    ValidateRequest="false" AutoEventWireup="true" CodeFile="PurchaseAdd.aspx.cs"
    Inherits="member_Trade_Purchase" Title="求购信息" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContInfo" runat="server">

    <script type="text/javascript" src="../../js/calendar.js"></script>

    <script type="text/javascript" src="../../js/Industry.js"></script>

    <form id="form1" action="">
        <div id="sub_content">
            <div class="pagetitle">
                发布求购信息</div>
				<div class="tishi">
            <span>提&nbsp;示：</span>
			<p>·产品关键字请出现在标题中，可让您的信息更容易被搜索到。</p>
			<p>·详细的产品简介，可提高客户关注度。</p>
			<div class="clr"></div>
			</div>
            <div class="tishi_xin">
                提示：带 <span class="red">*</span> 为必填项
            </div>
			<div class="clr"></div>
            <div class="h2_title">
                <h2>
                    产品基本信息</h2>
            </div>
                <asp:HiddenField ID="txtSortB" runat="server"></asp:HiddenField>
                <asp:HiddenField ID="txtSortM" runat="server"></asp:HiddenField>
                <asp:HiddenField ID="txtSortS" runat="server"></asp:HiddenField>
                <asp:Label ID="lblMessage" runat="server" Visible="false" ForeColor="red"></asp:Label>
                <table border="0" cellpadding="0" cellspacing="0" width="100%" class="lr_bo">
                    <tr>
                        <td width="16%" class="thing">
                            商机名称：<span>*</span></td>
                        <td class="td_c">
                            <span>
                                <asp:TextBox ID="txtName" runat="server" Width="200px">
                                </asp:TextBox></span>
                            <div id="txt0">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            关键字：<span class="red">*</span></td>
                        <td class="td_c">
                            <span>
                                <asp:TextBox ID="txtKey" runat="server" Width="200px">
                                </asp:TextBox></span><div id="txt1">
                                </div>
                        </td>
                    </tr>
					<tr>
                        <td class="thing">
                            行业分类：</td>
                        <td class="td_c">
                            <select id="SortB" name="SortB" runat="server" size="8" style="width: 132px">
                            </select>
                            <select id="SortM" name="SortM" runat="server" size="8" style="width: 132px">
                            </select>
                            <select id="SortS" name="SortS" runat="server" size="8" style="width: 132px">
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            详细说明：<span class="red">*</span>
                        </td>
                        <td align="left" style="height: 24px" class="td_c">
                            <fckeditorv2:fckeditor id="txtContent" runat="server" basepath="~/Control/fckeditor/"
                                toolbarset="Basic" height="400" width="640">
                        </fckeditorv2:fckeditor>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            产品图片：
                        </td>
                        <td class="td_c">
                           <asp:HiddenField ID="ImgUrl1" runat="server" />
                            <a href="" id="txturldz" target="_blank">
                                <img border="0" src="../../Images/System/wutu.gif" id="ImgUrl" name="ImgUrl"  alt="" runat="server"
                                    style="width: 106px; height: 95px" /></a><br />
                            <input id="txtupload" type="button" value="上传" onclick="return rowTest()" /><br />
                            <div id="rowTest" style="display: none">
                                <iframe name="tag" src="../Tool/Upload.html" style="width: 550px; height: 120px"
                                    frameborder="0" scrolling="no" onload="this.height=tag.document.body.scrollHeight">
                                </iframe>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            有效期：<span class="red">*</span>
                        </td>
                        <td class="td_c">
                            <asp:TextBox ID="txtStartDate" onfocus="calendar()" runat="server" Width="70px"></asp:TextBox>—<asp:TextBox
                                ID="txtEndDate" onfocus="calendar()" runat="server" Width="72px"></asp:TextBox>
                            <%--<div id="txt2"></div> <div id="txt3"></div>--%>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            品牌：
                        </td>
                        <td class="td_c">
                            <span>
                                <asp:TextBox ID="txtBrand" runat="server" Width="133px"></asp:TextBox></span>
                            <div id="txt2">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            型号：</td>
                        <td class="td_c">
                            <span>
                                <asp:TextBox ID="txtModel" runat="server" Width="131px"></asp:TextBox></span>
                            <div id="txt3">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            需求数量：<span class="red">*</span>
                        </td>
                        <td class="td_c">
                            <span>
                                <asp:TextBox ID="txtCount" runat="server" Width="130px"></asp:TextBox></span>
                            <div id="txt4">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            产品单价：<span class="red">*</span>
                        </td>
                        <td class="td_c">
                            <span>
                                <asp:TextBox ID="txtPrice" runat="server" Width="68px"></asp:TextBox>
                                元 /
                                <asp:DropDownList ID="dropUnit" runat="server">
                                </asp:DropDownList></span>
                            <div id="txt5">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center" height="45">
                            <asp:Button ID="btnSave" runat="server" Text="发布" OnClick="btnSave_Click" CssClass="i_button" />&nbsp;
                            <asp:Button ID="btnCancel" runat="server" OnClick="btnCancel_Click" Text="取消" CssClass="i_button" /></td>
                    </tr>
                </table>
        </div>
    </form>

    <script language="javascript" type="text/javascript">
	   setup(1);
    </script>

    <script type="text/javascript" src="../../js/Common.js"></script>

    <script type="text/javascript" src="../js/Purchase.js"></script>

</asp:Content>
