<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="conditionBox.aspx.cs" Inherits="Web.User.conditionBox" %>
<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>设置查询条件</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file="../Css/head.htm"-->
    <script language="javascript" type="text/javascript" src="manageinfoSearch.js"></script>
    <script type="text/javascript" language="javascript">
        
        //关闭弹出层 刷新列表
        function divClose(){
            parent.$.fancybox.close();
        }
    </script>
    <style type="text/css">
    
    .list-table input 
    {
    	padding:0;
	    border:0;
	    padding:0;
	    margin:0;
	    width:100px;
	    height:24px;
	    background:#589dea;
	    blr: expression(this.onFocus=this.blur());/*消除ie虚线框*/
        color:#fff;
        border-radius:3px;
        font-size:14px;
        font-family:"微软雅黑";
    }
    
    .condition-table
    {
        width:100%;
        	
    }
    .condition-table select
    {
        width: 140px;
    }
    .condition-table tr 
    {
        border-bottom:1px;
    }
    .condition-table td 
    {
    	
    	padding:0.5em;
        height:24px;
    }
    
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="edit-func-box func-box">
        <div class="hd b">
            设置查询条件
        </div>
        <div class="page-content">
                <div class="hd">
                    查询条件字段名列表
                </div>
                <asp:Table ID="ConditionTable" runat="server" CssClass="table table-striped table-bordered table-hover">
                    <asp:TableHeaderRow ID="TableHeaderRow1" runat="server">
                        <asp:TableCell ID="TableCell1" runat="server">条件字段名</asp:TableCell>
                        <asp:TableCell ID="TableCell2" runat="server">关系操作符</asp:TableCell>
                        <asp:TableCell ID="TableCell3" runat="server">内容</asp:TableCell>
                        <asp:TableCell ID="TableCell4" runat="server">逻辑操作符</asp:TableCell>
                        <asp:TableCell ID="TableCell5" runat="server">操作</asp:TableCell>
                    </asp:TableHeaderRow>
                    <asp:TableFooterRow>
                        <asp:TableCell ColumnSpan="5">
                            <asp:Button ID="ConditionSave" OnClientClick="return ConditionSavebb();" OnClick="ConditionSave_Click" runat="server" Text="保 存" CssClass="btn btn-sm btn-primary" />&nbsp;&nbsp;<asp:Label ID="lbmessage" runat="server" Text="" ForeColor="Red"></asp:Label>
                            <asp:HiddenField ID="ConditionValueList" runat="server" />
                            <asp:HiddenField ID="WhereConditionValueList" runat="server" />
                        </asp:TableCell>
                    </asp:TableFooterRow>
                </asp:Table>
                <br />
                <div class="hd">
                    添加查询条件
                </div>
                <table id="AddConditionTable" class="condition-table">
                    <tr>
                        <td>
                            条件字段名：
                        </td>
                        <td runat="server" id="AddFields">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            关系操作符：
                        </td>
                        <td runat="server" id="AddRelations">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            逻辑操作符：
                        </td>
                        <td runat="server" id="AddLogicals">
                        </td>
                    </tr>
                    <tr>
                    <td colspan="2">
                        <input type="button" value="添 加" onclick="ConditionAdd();" class="btn btn-sm btn-primary" />
                    </td>
                    </tr>
                </table>
        </div>
        <div class="ft">
            <div class="action-field text-center">
                <input type="button" value="关 闭" onclick="parent.$.fancybox.close();" class="btn btn-sm btn-primary" />
            </div>
        </div>
    </div>
    </form>
</body>
</html>
