<%@ Page Language="c#" Codebehind="Promotion.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Manage.Promotion" %>
<!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>
		<!--#include file="../inc/head2.inc"-->
	    <title>Promotion</title>
		<script type="text/javascript" src="../inc/commond.js"></script>
	    <script type="text/javascript" src="inc/PageBar.js"></script>
		<script type="text/javascript" src="inc/Promotion.function.js"></script>
		<script type="text/javascript" src="inc/Promotion.ready.js"></script>
		<script type="text/javascript" src="inc/Promotion.coupons.ready.js"></script>
        <script type="text/javascript" src="inc/Promotion.gift.ready.js"></script>
        <script src="inc/couponspopup.js" type="text/javascript"></script>
        <%--<script src="inc/giftpopup.js" type="text/javascript"></script>--%>
		<script src="../inc/multi_popup.js" type="text/javascript"></script>
		<script type="text/javascript" src="inc/jquery.easydrag.handler.beta2.js"></script>
		<script src="inc/ui.datepicker.cn.js" type="text/javascript"></script>
		<link type="text/css" rel="stylesheet" href="inc/ui.datepicker.css" />
		<link type="text/css" rel="stylesheet" href="../style/multi_popup.css" />
	    <style type="text/css">
		    .c1{ width:5%}
		    .c2{ width:30%}
		    .c3{ width:20%}
		    .c4{ width:15%}
		    .c5{ width:15%}
		    .c6{ width:15%}
		    
		    .c7{ width:7%}
		    .c8{ width:95%}
		</style>
		<script type="text/javascript">
		    var solution = '<%=solution%>';
		</script>
	</head>
	<body>
	<form id="Form1" method="post" runat="server">
	    <div class="container">
		    <div class="sub_container">
	            <div class="sub_container_title"><a href="<%=AdminDefault%>" target="_top">桌面</a><img alt="" src="../images/admin_title.jpg" height="9px" width="8px" align="absmiddle" /><a href='PromotionActivity.aspx?Action=Manage'>促销活动管理</a><img alt="" src="../images/admin_title.jpg" height="9px" width="8px" align="absmiddle" /><label id="">促销规则选择</label></div>
                <div class="sub_container_content" id="sub_container">
                    <div class="frame">
					    <div class="frame_title">基本信息</div>
					    <div class="frame_content">
                    
                            <div id="step_1">
				                <table cellSpacing="0" cellPadding="0" class="ptable">
					                <tr>
						                <th class="tl">
							                <input type="radio" name="promotion" value="1" checked="checked" /></th>
						                <td class="tr">促销活动规则--商品直接打折，如全场女鞋8折。可以对商品任意折扣，适合低价清货促销</td>
					                </tr>
					                <tr>
						                <th class="tl">
							                <input type="radio" name="promotion" value="2" /></th>
						                <td class="tr">促销活动规则--购物车中商品总金额大于指定金额，客户可获得一张优惠券</td>
					                </tr>
					                <tr>
						                <th class="tl">
							                <input type="radio" name="promotion" value="3" /></th>
						                <td class="tr">促销活动规则--购物车中商品总金额大于指定金额，赠送某个赠品</td>
					                </tr>
									<tr>
						                <th class="tl">
							                <input type="radio" name="promotion" value="4" /></th>
						                <td class="tr">促销活动规则--免运费设定</td>
					                </tr>
					                <%--
					                <tr>
						                <th>
							                <input type="radio" name="promotion" value="4" /></th>
						                <td>促销活动规则--顾客购买指定的商品，可获得翻倍积分或者x倍积分</td>
					                </tr>
					                <tr>
						                <th>
							                <input type="radio" name="promotion" value="5" /></th>
						                <td>促销活动规则--购物车中商品总金额大于指定金额，客户就可得到指定的%off折扣</td>
					                </tr>
					                <tr>
						                <th>
							                <input type="radio" name="promotion" value="6" /></th>
						                <td>促销活动规则--购物车中商品总金额大于指定金额，就可立减某金额</td>
					                </tr>
					                <tr>
						                <th>
							                <input type="radio" name="promotion" value="7" /></th>
						                <td>促销活动规则--购物车中商品总金额大于指定金额，免运费</td>
					                </tr>
					                --%>
				                </table>
			                </div>
					        <div style="display:none;" id="step_2">
			                    <table cellSpacing="0" cellPadding="0" class="ptable">
			                        <tr id='ddyhtj'>
			                            <th class="tl">订单优惠条件：</th>
			                            <td class="tr">
			                                <asp:TextBox ID="txtOrderMoneyFrom" runat="server" Height="18px" Style="line-height: 18px;" Width="80px" onkeyup="value=value.replace(/[^(\d|\.)]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^(\d|\.)]/g,''))"></asp:TextBox>
                                                ≤ 订单金额 ＜
                                                <asp:TextBox ID="txtOrderMoneyTo" runat="server" Height="18px" Style="line-height: 18px;" Width="80px" onkeyup="value=value.replace(/[^(\d|\.)]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^(\d|\.)]/g,''))"></asp:TextBox>
			                            </td>
			                        </tr>
			                        <tr>
			                            <th class="tl">允许参加会员等级：</th>
			                            <td class="tr"><asp:CheckBoxList ID="chkListMemberGroup" runat="server" RepeatDirection="Horizontal" nane="chkListMemberGroup"></asp:CheckBoxList> </td>
			                        </tr>
			                        <tr>
			                            <th class="tl">是否允许使用优惠券：</th>
			                            <td class="tr">
			                                <asp:RadioButton ID="rbtnCanUseCouponsNo" runat="server" Text="是" Checked="true" GroupName="Status" />
                                                <asp:RadioButton ID="rbtnCanUseCouponsOff" runat="server" Text="否" GroupName="Status" />
			                            </td>
			                        </tr>
			                        <tr>
			                            <th class="tl">活动开始时间：</th>
			                            <td class="tr">
			                                <asp:TextBox ID="txtTimeBegin" runat="server" Width="120px" Height="18px" style="line-height:18px;background-image:url(../images/calendar.gif);background-repeat:no-repeat;padding-left:20px;" ReadOnly="true"></asp:TextBox> <font color="#FF3300">*</font>
			                            </td>
			                        </tr>
			                        <tr>
			                            <th class="tl">
			                                结束时间：
			                            </th>
			                            <td class="tr">
			                                <asp:TextBox ID="txtTimeEnd" runat="server" Width="120px" Height="18px" style="line-height:18px;background-image:url(../images/calendar.gif);background-repeat:no-repeat;padding-left:20px;" ReadOnly="true"></asp:TextBox> <font color="#FF3300">*</font>
			                            </td>
			                        </tr>
									
									<tr id='myfsd'>
			                            <th class="tl">免运费设定：</th>
			                            <td class="tr">
			                                <input type="radio" name="shippingfree" value="1" checked="checked" />单品免运费（商品重量不计入总重量）<br />
											<input type="radio" name="shippingfree" value="2" disabled="disabled" />所有地区统一设置最低消费额（超过最低消费额就免运费）<br />
											<input type="radio" name="shippingfree" value="3" disabled="disabled" />分地区设置最低消费额（超过最低消费额就免运费）
			                            </td>
			                        </tr>
									
									
			                        <tr id='gydzk'>
			                            <th class="tl">请输入给予的折扣：</th>
			                            <td class="tr">
			                                <asp:TextBox ID="txtDiscount" runat="server" Width="200px" Height="18px" style="line-height:18px;" onkeyup="value=value.replace(/[^(\d|\.)]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^(\d|\.)]/g,''))"></asp:TextBox> <font color="#FF3300">*</font>&nbsp;&nbsp;如果打9折，请输入0.9；
			                            </td>
			                        </tr>
			                        <tr id='yhqxz'>
			                            <th class="tl">优惠券选择：</th>
			                            <td class="tr">
			                                <div style="border:solid 1px #CCCCCC;margin:10px;width:94%;border-right:solid 2px #CCCCCC;border-bottom:solid 2px #CCCCCC;padding:5px;">
                                                <div class="sub_container_operation">
                                                    <table width="100%">
                                                        <tr>
                                                            <td>
                                                                <input type="button" id="btnAddCoupons" name="btnAddCoupons" value="添加" class="inputbtn" />
                                                                <input type="button" id="btnClearCoupons" name="btnClearCoupons" value="清空" class="inputbtn" />
                                                                &nbsp;&nbsp;&nbsp;&nbsp;已选择优惠券数量:<span id="couponscount">0</span>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>                                            
                                                
                                                <div class="sub_container_listhead" style="padding:0px;width:100%;">
                                                    <table border="1" cellspacing="0" bordercolor="#000000" bordercolordark="#FFFFFF" bgcolor="#FFFFFF">
                                                        <tr>
                                                            <th width="6%">操作</th>
                                                            <th width="94%">优惠券名称</th>
                                                        </tr>
                                                    </table>
                                                </div>
                                                <div class="sub_container_listhead" style="padding:0px;overflow-y:scroll;height:100px;width:98%;">
                                                    <table id="couponslistresult">
                                                        <tr id="couponsresulthead" style="display:none;">
                                                            <td class="c7 ccenter"></td>
                                                            <td class="c8"></td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>
			                            </td>
			                        </tr>
			                        <tr id='lpxz'>
			                            <th class="tl">礼品选择：</th>
			                            <td class="tr">
			                                <div style="border:solid 1px #CCCCCC;margin:10px;width:94%;border-right:solid 2px #CCCCCC;border-bottom:solid 2px #CCCCCC;padding:5px;">
                                                <div class="sub_container_operation">
                                                    <table width="100%">
                                                        <tr>
                                                            <td>
                                                                <input type="button" id="btnAddGift" name="btnAddGift" value="添加" class="inputbtn" />
                                                                <input type="button" id="btnClearGift" name="btnClearGift" value="清空" class="inputbtn" />
                                                                &nbsp;&nbsp;&nbsp;&nbsp;已选择礼品数量:<span id="giftcount">0</span>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>                                            
                                                
                                                <div class="sub_container_listhead" style="padding:0px;width:100%;">
                                                    <table border="1" cellspacing="0" bordercolor="#000000" bordercolordark="#FFFFFF" bgcolor="#FFFFFF">
                                                        <tr>
                                                            <th width="6%">操作</th>
                                                            <th width="94%">礼品名称</th>
                                                        </tr>
                                                    </table>
                                                </div>
                                                <div class="sub_container_listhead" style="padding:0px;overflow-y:scroll;height:60px;width:98%;">
                                                    <table id="giftlistresult">
                                                        <tr id="giftresulthead" style="display:none;">
                                                            <td class="c7 ccenter"></td>
                                                            <td class="c8"></td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>
			                            </td>
			                        </tr>
			                        <tr>
			                            <th class="tl">规则描述：</th>
			                            <td class="tr">
			                                <asp:TextBox ID="txtDescription" runat="server" Width="250px" Height="120px" TextMode="MultiLine" style="line-height:18px;"></asp:TextBox> <font color="#FF3300">*</font>
			                            </td>
			                        </tr>
			                    </table>
			                </div>
					        <div style="display:none;" id="step_3">
		                        <table cellSpacing="0" cellPadding="0" class="ptable">
		                            <tr>
		                                <th class="tl"><span id="selectproduct">选择商品</span>：</th>
		                                <td class="tr">
		                                    <input type="radio" name="allproduct" value="所有商品" checked="checked" /><span id='sysp'>所有商品</span>
		                                </td>
		                            </tr>
		                            <tr id='spxz'>
		                                <th class="tl">商品选择：</th>
		                                <td class="tr">
		                                    <div style="border:solid 1px #CCCCCC;margin:10px;width:94%;border-right:solid 2px #CCCCCC;border-bottom:solid 2px #CCCCCC;padding:5px;">
                                                <div class="sub_container_operation">
                                                    <table width="100%">
                                                        <tr>
                                                            <td>
                                                                <input type="button" id="btnAdd" name="btnDelete" value="添加" class="inputbtn" />
                                                                <input type="button" id="btnClear" name="btnClear" value="清空" class="inputbtn" />
                                                                &nbsp;&nbsp;&nbsp;&nbsp;已选择商品数量:<span id="count">0</span>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>                                            
                                                
                                                <div class="sub_container_listhead" style="padding:0px;width:100%;">
                                                    <table border="1" cellspacing="0" bordercolor="#000000" bordercolordark="#FFFFFF" bgcolor="#FFFFFF">
                                                        <tr>
                                                            <th width="6%">操作</th>
                                                            <th width="94%">商品名称</th>
                                                        </tr>
                                                    </table>
                                                </div>
                                                <div class="sub_container_listhead" style="padding:0px;overflow-y:scroll;height:300px;width:98%;">
                                                    <table id="listresult">
                                                        <tr id="resulthead" style="display:none;">
                                                            <td class="c7 ccenter"></td>
                                                            <td class="c8"></td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>
		                                </td>
		                            </tr>
		                        </table>
		                    </div>
		                    <div style="display:none;" id="step_4">
			                    <table cellSpacing="0" cellPadding="0" class="ptable">
			                        <tr>
			                            <th colspan="2" class="tl"><b>活动信息</b></th>
			                        </tr>
			                        <tr>
			                            <th class="tl">促销活动：</th>
			                            <td class="tr"><asp:TextBox ID="activityName_bak" runat="server" Width="200px" Height="18px" style="line-height:18px;" Enabled="false"></asp:TextBox></td>
			                        </tr>
			                        <tr>
			                            <th class="tl">活动开始时间：</th>
			                            <td class="tr"><asp:TextBox ID="activityTimeBegin_bak" runat="server" Width="120px" Height="18px" style="line-height:18px;background-image:url(../images/calendar.gif);background-repeat:no-repeat;padding-left:20px;" ReadOnly="true" Enabled="false"></asp:TextBox></td>
			                        </tr>
			                        <tr>
			                            <th class="tl">结束时间：</th>
			                            <td class="tr"><asp:TextBox ID="activityTimeEnd_bak" runat="server" Width="120px" Height="18px" style="line-height:18px;background-image:url(../images/calendar.gif);background-repeat:no-repeat;padding-left:20px;" ReadOnly="true" Enabled="false"></asp:TextBox></td>
			                        </tr>
			                        <tr>
			                            <th colspan="2" class="tl"><b>规则信息</b></th>
			                        </tr>
			                        <tr>
			                            <th class="tl">开始时间：</th>
			                            <td class="tr"><asp:TextBox ID="promotionTimeBegin_bak" runat="server" Width="120px" Height="18px" style="line-height:18px;background-image:url(../images/calendar.gif);background-repeat:no-repeat;padding-left:20px;" ReadOnly="true" Enabled="false"></asp:TextBox></td>
			                        </tr>
			                        <tr>
			                            <th class="tl">结束时间：</th>
			                            <td class="tr"><asp:TextBox ID="promotionTimeEnd_bak" runat="server" Width="120px" Height="18px" style="line-height:18px;background-image:url(../images/calendar.gif);background-repeat:no-repeat;padding-left:20px;" ReadOnly="true" Enabled="false"></asp:TextBox></td>
			                        </tr>
			                        <tr>
			                            <th colspan="2" class="tl"><b>规则描述</b></th>
			                        </tr>
			                        <tr>
			                            <th class="tl">规则描述：</th>
			                            <td class="tr"><asp:TextBox ID="promotionDescription_bak" runat="server" Width="250px" Height="120px" TextMode="MultiLine" style="line-height:18px;" Enabled="false"></asp:TextBox></td>
			                        </tr>
			                    </table>
			                </div>
                        </div>
					</div>
                </div>
                
		    </div>
		</div>
		
		<div class="clear"></div>
		<div class="save" style=" position:absolute;left:0px;">
		    <div style="text-align: center;">
                <input type="button" id="btnPrev" value="上一步" style="display:none;" class="inputbtn" />
                <input type="button" id="btnNext" value="下一步" class="inputbtn"/>
                <asp:Button ID="btnSave" OnClick="btnSave_Click" runat="server" Text="完 成" style="display:none;" CssClass="inputbtn" />
                <input type="button" id="btnCancel" value="取 消" class="inputbtn" />
                <input type="hidden" id="step" value="1" />
            </div>
		</div>
		
		<script type="text/javascript">
		    $(document).ready(function(){
		        setInterval(function(){
                    $('div.save').css('top',$(window.parent.frames.right).height()-$('div.save').height()); //设置底部分页区域的位置
                    $('#sub_container').css('height',$(window.parent.frames.right).height()-$('div.sub_container_title').height()-$('div.save').height()); //设置内容区域的高度
                },1000);
		    });
		</script>
		
		
		<!--弹出来的搜索框-->
		<div id="popupContact"  class="popupContact" style="z-index:2; width:800px;">
            <div id="popupHead" class="popupHead">
                <div class="popupTitle">高级搜索</div>
                <div class="popupClose" id="popupContactClose" title="关闭">关闭</div>
                <div style="clear:both;"></div>
            </div>
            
            <div style="position:relative; padding:5px; text-align:center;">
              <div id="content" style="width:98%; position:relative; margin:auto;">
                    <div>
                        <select id="sel_searchType" name="sel_searchType">
                            <option value="1">商品编号</option>
                            <option value="2">商品名称</option>
                            <option value="3">商品关键词</option>
                        </select>
                        <input type="text" id="txtKeyword" name="txtKeyword" />
                        <input type="button" id="btnSearch" name="btnSearch" value="搜索" class="inputbtn" />
                        <a href="#" id="showadvsearch">高级搜索</a>
                    </div>
                    <div id="advsearch" style="display:none; position:absolute; top:30px; background:#fff;">
                        <select id="sel_category" name="sel_category" size="10" multiple="multiple">
                            <%=BindCategories() %>
                        </select>
                        <select id="sel_brand" name="sel_brand" size="10" multiple="multiple">
                            <%=BindBrand("0")%>
                        </select>
                    </div>
                    <div id="pdt_listhead" class="sub_container_listhead" style="padding:0px;">
                        <table cellspacing="0" cellpadding="0" class="llist">
                            <tr id="listhead"><%--id="listhead"不能少--%>
                                <th class="c1"><input type="checkbox" id="chkAll" name="chkAll" /></th>
                                <th class="c2">商品名称</th>
                                <th class="c3">商品代码</th>
                                <th class="c4">商品类别</th>
                                <th class="c5">商品品牌</th>
                                <th class="c6">会员价格</th>         
                            </tr>
                        </table>           
                    </div>
                    <div id="datacontainer" style="padding:0px;overflow-x:hidden;overflow-y:scroll;">
	                    <table id="datas" cellspacing="0" cellpadding="0" class="llist">
		                    <tr id="template" style="display:none;"><%--id="template"不能少--%>
			                    <td class="c1 ccenter" id="checkbox"></td>
			                    <td class="c2" id="Name"></td>
			                    <td class="c3" id="ProductNo"></td>
			                    <td class="c4 ccenter" id="Category"></td>
			                    <td class="c5 ccenter" id="Brand"></td>
			                    <td class="c6 ccenter" id="MemberPrice"></td>
		                    </tr>
	                    </table>
                    </div>
                    <div class="sub_container_page" id="pageDataList1_Pager" style="position:relative;">
                        <!-- 翻页-->
                        <!-- 翻页结束-->
                    </div>
                    <div id="divsave" style=" text-align:center; position:relative;">
                        <input type="button" id="btnSubmit" value="确认" class="inputbtn" />
                        <input type="hidden" id="PIDs" name="PIDs" value="" /><%--商品的ID--%>
                        <input type="hidden" id="pnames" name="pnames" value="" /><%--商品名称--%>
                    </div>
	            </div>
                <div style="clear:both;"></div>
            </div>
		</div>
        
        
        <%--优惠券弹出窗口--%>
		<div id="couponsPopupContact" class="popupContact" style="z-index:2; width:800px;">
			<div id="couponsPopupHead" class="popupHead">
                <div class="popupTitle">dialog</div>
                <div class="popupClose" id="couponsPopupContactClose" title="关闭">关闭</div>
                <div style="clear:both;"></div>
            </div>
            
            <div style="position:relative; padding:5px; text-align:center;">
              <div style="width:98%;">
                    <div>
                        <select id="coupons_sel_searchType" name="coupons_sel_searchType">
                            <option value="1">优惠券名称</option>
                        </select>
                        <input type="text" id="txtCouponsKeyword" name="txtCouponsKeyword" />
                        <input type="button" id="btnCouponsSearch" name="btnCouponsSearch" value="搜索" />
                    </div>
                    <div class="sub_container_listhead" style="padding:0px;">
                        <table cellspacing="0" cellpadding="0" class="llist">
                            <tr id="couponslisthead"><%--id="couponslisthead"不能少--%>
                                <th class="c1"><input type="checkbox" id="chkCouponsAll" name="chkCouponsAll" /></th>
                                <th class="c2">优惠券名称</th>
                                <th class="c3">优惠券号码</th>
                                <th class="c4">已发数量</th>
                                <th class="c5">状态</th>
                                <th class="c6">类型</th>         
                            </tr>
                        </table>           
                    </div>
                    <div class="sub_container_content" style="padding:0px;overflow-x:hidden;overflow-y:scroll;">
	                    <table id="couponsdatas" cellspacing="0" cellpadding="0" class="llist">
		                    <tr id="couponstemplate" style="display:none;"><%--id="couponstemplate"不能少--%>
			                    <td class="c1 ccenter" id="couponscheckbox"></td>
			                    <td class="c2" id="couponsName"></td>
			                    <td class="c3" id="couponsPrefix"></td>
			                    <td class="c4 ccenter" id="couponsGenQuantity"></td>
			                    <td class="c5 ccenter" id="couponsStatus"></td>
			                    <td class="c6 ccenter" id="couponsType"></td>
		                    </tr>
	                    </table>
                    </div>
                    <div style=" text-align:center;">
                        <input type="button" id="btnCouponsSubmit" value="确认" />
                        <input type="hidden" id="couponsIDs" name="couponsIDs" value="" /><%--优惠券的ID--%>
                        <input type="hidden" id="couponsNames" name="couponsNames" value="" /><%--优惠券名称--%>
                    </div>
	            </div>
                <div style="clear:both;"></div>
            </div>
        </div>
        
        
        <%--礼品弹出窗口--%>
		<div id="giftPopupContact" class="popupContact" style="z-index:2; width:800px;">
			<div id="giftPopupHead" class="popupHead">
                <div class="popupTitle">dialog</div>
                <div class="popupClose" id="giftPopupContactClose" title="关闭">关闭</div>
                <div style="clear:both;"></div>
            </div>
            
            <div style="position:relative; padding:5px; text-align:center;">
              <div style="width:98%;">
                    <div>
                        <select id="gift_sel_searchType" name="gift_sel_searchType">
                            <option value="1">礼品名称</option>
                        </select>
                        <input type="text" id="txtGiftKeyword" name="txtGiftKeyword" />
                        <input type="button" id="btnGiftSearch" name="btnGiftSearch" value="搜索" />
                    </div>
                    <div class="sub_container_listhead" style="padding:0px;">
                        <table cellspacing="0" cellpadding="0" class="llist">
                            <tr id="giftlisthead"><%--id="giftlisthead"不能少--%>
                                <th class="c1"><input type="checkbox" id="chkGiftAll" name="chkGiftAll" /></th>
                                <th class="c2">礼品名称</th>
                                <th class="c3">礼品积分</th>
                                <th class="c4"></th>
                                <th class="c5"></th>
                                <th class="c6"></th>         
                            </tr>
                        </table>           
                    </div>
                    <div class="sub_container_content" style="padding:0px;overflow-x:hidden;overflow-y:scroll;">
	                    <table id="giftdatas" cellspacing="0" cellpadding="0" class="llist">
		                    <tr id="gifttemplate" style="display:none;"><%--id="gifttemplate"不能少--%>
			                    <td class="c1 ccenter" id="giftcheckbox"></td>
			                    <td class="c2" id="giftName"></td>
			                    <td class="c3" id="giftPoint"></td>
			                    <td class="c4 ccenter" id="giftGenQuantity"></td>
			                    <td class="c5 ccenter" id="giftStatus"></td>
			                    <td class="c6 ccenter" id="giftType"></td>
		                    </tr>
	                    </table>
                    </div>
                    <div style=" text-align:center;">
                        <input type="button" id="btnGiftSubmit" value="确认" />
                        <input type="hidden" id="giftIDs" name="giftIDs" value="" /><%--礼品的ID--%>
                        <input type="hidden" id="giftNames" name="giftNames" value="" /><%--礼品名称--%>
                    </div>
	            </div>
                <div style="clear:both;"></div>
            </div>
        </div>
        
        
        <div id="backgroundPopup" class="backgroundPopup"></div>
		<%--弹出来的搜索框--%>
    </form>
	</body>
</html>
