
<%OlNMw6nM05y9wwn9xzg1UV5ZR+kxa4QJ8ODG1vDgxtbw4MbW8ODG1vDgxtbw4MbW8ODG1vDgxtbw4MbW8ODG1vDgxtbw4MbW8ODG1vDCwffZye//2ckO9dxfqLd9uROWSKwf71SCWsoHmy37/8rK0vTkwtL0eL1SqVWnK+R4y5D7oMCM9eWfxa3git36pN6RlaCguJ6OqLieEtc4wz/eK9RI+8nK/NLC5PTSwgDGBc4Dnyn/VdBg9ETJzfj44MbW8ODGO+1uykigJpYKuYuIvpCApraQgD22ApVUvnGUPru/ioqStKSCkrRbjAvGMe0Ux1vo2tnvwdH358HRbOfOTO3yM8dt6DHSFZqeq6uzlYWjs5WFo7OVhaOzlYWjs5WFo7OVhaOzlYWjs5WFo7OVhaOzlYWjs5WFo7OVhaOzlYWjs5WFo7OVhaOzlYWjs7eC%>

<!-- #include virtual="/lrgw/inc/css.asp" -->
<%4Mds5u5glsBiEAffuR5464xdySPlhBW05a6WlO6hxJLv+KP5gcun65aHyJjjsZCN947uvdGK8O3N3vXmzdvf6pearuKbyKjjwq/DjfGr0Zq9xKLvi5y3+7Tih92w/Lbokdq66o3B6vzZxOH83O7ttNKftuDU2/K538C8waftitHwu4OVkaSNkrvwysi1uZvSueWezaK2nZ74t8qc+quCy6PwjNbi+tHFuLaXweH13sbx7M6FvqnJ3/3g1cWj7JHHofDH2t7rjNan7MXa88HC%>
<script language=JavaScript>


function setcond()//添加查询条件
{
	var temp=document.all.s1.value.toString().split('^');
	if( document.all.s3.value==''){
		alert('请输入完整查询条件！');
		return false;
		}
	if(temp[0]=='n' && document.all.s2.value.toString().indexOf('LIKE')>0){
		alert('数字型字段不允许进行包含或不包含操作！')
		return false;
		}
		
	var iValue=temp[1];
	iValue+=' ' ;
	iValue+=document.all.s2.value;
	iValue+=' ';
	if(temp[0]=='c')iValue+="'" ;
	if(document.all.s2.value.toString().indexOf('LIKE')>0)iValue+="%" ;
	iValue+=document.all.s3.value ;
	if(document.all.s2.value.toString().indexOf('LIKE')>0)iValue+="%" ;
	if(temp[0]=='c')iValue+="'" ;
	if(temp[1].indexOf('(')>0)iValue+=")" ;
	
	iText=document.all.s1.options(document.all.s1.selectedIndex).text
	iText+=' ';
	iText+=document.all.s2.options(document.all.s2.selectedIndex).text
	iText+=' ';
	
	iText+=document.all.s3.value
	
	var namesel=window.Option.create(iText,iValue);
	document.all.Condlist.add(namesel);

}

function removecond()
{	if(document.all.Condlist.selectedIndex>=0)
	{
		document.all.Condlist.remove(document.all.Condlist.selectedIndex)
	};
}

function CountValue()//合并查询条件并提交
{

document.all.mCond2.value='';
    for(i=document.all.Condlist.options.length-1;i>=0;i--)
    {
		if(document.all.mCond2.value!='')document.all.mCond2.value+=' and ';
		document.all.mCond2.value+=' ';
 	   	document.all.mCond2.value+=document.all.Condlist.options(i).value.toString().replace('[','<').replace(']','>');
	}



document.all.d.submit();

}

</script>
<%E9JMZ2+BPOdOHK8VD+dTeBjKN4U+Hip6k8nN+IXTrv2Rk8iS6qDMgP3so/OI2vvmnPeX3LnjyN7a74/dte2Bg6i5no7uvNSM4KyKxqr0j9Oyo82b9Ont2A==%>
<body onLoad=self.focus()>
<!-- #include virtual="/lrgw/inc/title.asp" -->
<form name="d" method="post" action="../dbdisp/disp.asp"  class=vtext>
    <input type="hidden" name="dp" value="1" >
    <table width="95%" border="0" cellspacing="1" cellpadding="0" class=vtext align="center" bgcolor=<%PomyC7b/94I1lg/s1H+Br4x8/e5qIR/X6rfRnPGr0Izqud+Sua8=%>>
        <tr bgcolor=<%/C6XkXUGh5I1lg/s1H+Br4x8/e5qIR/X6qHBiu+13oDqvtSE4bHK1/c=%>> 
            <td colspan="2" height="40"> <img src="../images/tip.gif" width="10" height="8"> 
                <%n0fyevoj24mL7LY/AeXUzDcTigXFQUi1eBNzOF0HLDo=%></td>
        </tr>
        <tr bgcolor="<%pb/h3LjsZ2Q1lg/s1H+Br2SPuc9brdQ5Dl07dl1L%>" style="display:tnone"> 
            <td width="80" height="19" align="center">查询条件</td>
            <td height="19" width="436" bgcolor="<%YPBZvt4EszI1lg/s1H+Br2SPuc9brdQ5Hk0rZk1b%>"> 
                <select name="s1"  style="width:100" >
                    <%4kRAEcPul1R+9LKYBtp9StyyuQksjhiu%> 
                </select>
                <select name="s2"  style="width:60" >
                    <option value="]">大于</option>
                    <option value="[">小于</option>
                    <option value="=">等于</option>
                    <option value=' LIKE ' selected>包含</option>
                    <option value='[]'>不等于</option>
                    <option  value=' NOT LIKE '>不包含</option>
                </select>
                <input type="text"  class=vinputtext  name="s3" onKeyDown=gonext("Submit22")>
                <input type="button" class=vinputbutton  name="Submit22" value="添加" onClick="javascript:setcond()" >
                <input type="button" class=vinputbutton  name="Submit222" value="删除" onClick="javascript:removecond()" >
            </td>
        </tr>
        <tr bgcolor="<%YxJdpr5LFow1lg/s1H+Br2SPuc9brdQ5gdK0+dLE%>"  style="display:tnone"> 
            <td width="80" height="20" align="center"> </td>
            <td height="20" width="436" bgcolor="<%XcgGP2hcYxQ1lg/s1H+Br2SPuc9brdQ5/q3Lhq27%>"> 
                <select name="Condlist" size="8" style="width:100%">
                </select>
            </td>
        </tr>
        <input type="hidden" name="tiaojian" value=mCond2.value >
        <tr bgcolor="<%SFlIw2tVZII1lg/s1H+Br2SPuc9brdQ5CVo8cVpM%>"> 
            <td width="80" height="40" align="center"></td>
            <td height="40" width="436">   
                
                <button class=vinputbutton  style="height=24"  onClick="javascript:CountValue()"><img src="../dbdisp/images/search.gif" align="absmiddle"> 查询</button> 
            </td>
        </tr>
    </table>
    <input type="hidden" name="mCond2" >
    <input type="hidden" name="LinkFlag" value="000100">
    <input type="hidden" name="EnabledAddNew" value="no">
    <input type="hidden" name="mFiledsCount" value="<%EAxBF2OExQiL7LY/AeXUzNaDNUIH+5MJD10SRCF7FloQQDxtEA0t%>">
    <input type="hidden" name="mFileds" value="<%c6iKkedSu7SL7LY/AeXUzNaDNUIH+5MJ04HOmP2nyoatuw==%>">
    <input type="hidden" name="mFiledsCaptions" value="<%JcBodPhnU1CL7LY/AeXUzNaDNUIH+5MJkcOM2r/liMSO0KnigtK1+dLE%>">
    <input type="hidden" name="mFiledsWidths" value="<%C3UDqLm4mgGL7LY/AeXUzNaDNUIH+5MJ7L7xp8KY9bnnsdyX9rqRhw==%>">
    <input type="hidden" name="mSortBy2" value="<%yOT5biQxLMmL7LY/AeXUzNaDNUIH+5MJDlwGVi1mLWtQTW0=%>">
    <input type="hidden" name="DispFile" value="<%WKPaIP8DAReL7LY/AeXUzNaDNUIH+5MJzrXVmeCZ+arG2/s=%>">
    <input type="hidden" name="mTable" value="<%BGX0pSXbSMiL7LY/AeXUzNaDNUIH+5MJ4rDts9iL5/ra%>">
    <input type="hidden" name="mTitle" value="<%CTD3l8sqi5eL7LY/AeXUzNaDNUIH+5MJQhBNG2Y1WURk%>">
    <input type="hidden" name="mImage" value="../images/search.gif">
    <input type="hidden" name="mBack" value="self">
</form>
</body>