<!--#include virtual="/incs/config.asp"-->
<%
chk_log()
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
perpage=SafeRequest("perpage")
if chk_int(perpage)=false then
perpage=20
end if 
perpage=clng(perpage)
if perpage>=100 then
perpage=100
end if
ThePage=0
page=0
rcount=0
thepage=0
'''''''''''''''''''''''''''''''''
conn.open constr
query="select * from memlst where u_id="&session("usrid")
rs.open query,conn,1,1
if  rs.eof then
   call errorpage(-2,"对不起，系统故障！")
end if
u_mnyavail=mynum(rs("u_mnyavl"))
u_mnyremain=mynum(rs("u_mnyrmn"))
u_mnyall=mynum(rs("u_mnyall"))
u_mnyborrow=mynum(rs("u_mnybrw"))
u_mnynotarrival=mynum(rs("u_mnytmp"))
u_mnylock=mynum(rs("u_mnylck"))
u_mnyprizeall=mynum(rs("u_mnyprz"))
u_mnyused=mynum(rs("u_mnyusd"))
u_mnyinv=mynum(rs("u_mnyinv"))
rs.close
''''''''''''''''''''''''''''''''''
k_wrds=trim(SafeRequest("k_wrds"))
k_tpe=trim(SafeRequest("k_tpe"))
k_mod=trim(SafeRequest("k_mod"))
unme=trim(SafeRequest("unme"))
gnme=trim(SafeRequest("gnme"))
grd=trim(SafeRequest("grd"))
gid=trim(SafeRequest("gid"))

if  k_wrds<>"" and instr(k_wrds,"'")<=0 then
if k_mod="moda"  then
keywords=" and f_"&k_tpe&"='"&k_wrds&"'"
else
keywords=" and f_"&k_tpe&" like '%"&k_wrds&"%'"
end if

end if
''''''''''''''''''''''''''''''''''
t_str1=trim(SafeRequest("t_str1"))
t_str2=trim(SafeRequest("t_str2"))
if t_str1<>"" and t_str2<>"" then
if ((not chk_tme(t_str1)) and (not chk_tme(t_str2))) or instr(t_str1,"-")<=0 or instr(t_str2,"-")<=0 then
call errorpage(-2,"对不起，时间格式不正确!")
end if
timestrings=" and (f_addtme>='"&t_str1&"' and f_addtme<='"&t_str2&"')"
end if
''''''''''''''''''''''''''''''''''''''
odr1=trim(SafeRequest("odr1"))
odr2=trim(SafeRequest("odr2"))
if odr1="" or odr2="" then
odr1="a_addtme_d"
odr2="b_ttl_a"
end if
order1="f_"&right(odr1,len(odr1)-2)
aff_a=left(order1,len(order1)-2)
if right(order1,1)="a" then
order1=left(order1,len(order1)-2)
else
order1=left(order1,len(order1)-2)&" desc"
end if
order2="f_"&right(odr2,len(odr2)-2)
aff_b=left(order2,len(order2)-2)
if right(order2,1)="a" then
order2=left(order2,len(order2)-2)
else
order2=left(order2,len(order2)-2)&" desc"
end if


if aff_a=aff_b then
orderstring=order1
else
orderstring=order1&","&order2
end if
''''''''''''''''''''''
if chk_int(SafeRequest("aid")) then
keywords=" and a_id="&SafeRequest("aid")
end if
t_usr=trim(session("usrname"))
if t_usr<>"" then
keywords=keywords&" and f_unme='"&t_usr&"'"
end if 
if grd<>"" then
query="select * from v_pdtlst where g_prd='"&grd&"'"
rs.open query,conn,1,1
if rs.eof then
call errorpage(-2,"对不起，产品编号有误或已被删除！")
end if
pc_id=rs("pc_id")
rs.close
pdtfncstring=" and pc_id="&pc_id &" and (f_cnt like '%("&gnme&")%') "
end if
query="select * from v_fnclst where 1=1 "&keywords&timestrings&pdtfncstring&" order by "&orderstring
rs.open query,conn,3
if rs.RecordCount<=0 then
          ErrMsg="<font color=#ff0000>对不起</font>，没有搜索到符合条件的记录！..."
		
	   else
	      rcount=rs.recordcount
	      rs.pagesize=perpage
		  ThePage=rs.pagecount
		  if Chk_Int(SafeRequest("page"))=false then
		  page=1
		  else
		   page=cint(SafeRequest("page"))
		    if page<=0  then
		       page=1
		    elseif page>ThePage then
		       page=ThePage
		    end if	  
		  end if
		    rs.absolutepage=page
       end if   

%>
<!--#include virtual="/incs/top.asp"-->
<script language="javascript">
<!--

function tofirst()
{searchform.page.value=1;
searchform.submit();
 }
  function toprev()
{searchform.page.value-=1;
searchform.submit();
 }
  function tonext()
{
searchform.page.value=<%=page%>-1+2;
searchform.submit();
 }
  function tolast()
{searchform.page.value=<%=ThePage%>;
searchform.submit();
 }
 function toorder(ordn)
{searchform.odr1.value=ordn;
searchform.page.value=1;
searchform.submit();
 }
 function toorder2()
 {
 frm_qry.k_tpe.value="tpe";
 frm_qry.k_wrds.value=form_sss.odrsss.value;
 frm_qry.submit();
 }
function ifdel(fid)
{
if(confirm("是否确认删除该财务记录?"))
location.href="fnc_mng.asp?module=fnc_del&fid="+fid;
}
 //-->
 </script>
<table cellspacing=2 cellpadding=0 width="100%" border=0>
  <tbody> 
  <tr> 
    <td  colspan=2 valign="middle"> 
      <table class=line cellspacing=0 cellpadding=0 width="100%" 
                  border=0 align="center">
        <tbody> 
        <tr> 
          <td valign=bottom width="25%" height=20><font color="#000000" class=ddropshadow><b><span class=enbold><strong>当前帐号</strong></span></b></font></td>
          <td valign=bottom noWrap align=right 
                        width="75%"><a href="mem_prc.asp" class=commonface>购买价格</a> 
            <font color="#000000">|</font> <a href="mem_fnc.asp" class=commonface>财务查看</a> 
            <font color="#000000">|</font> <a href="mem_inf.asp" class=commonface>修改联系信息</a> 
            <font color="#000000">| </font><a href="mem_pss.asp" class=commonface>修改登录密码</a></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=5></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=2 class=menuline></td>
        </tr>
        </tbody> 
      </table>
      <br>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="middle" height="28">
	  <table width="100%" border="0" class=datalist cellspacing="0" cellpadding="0" align="center">
        <tr>
          <th class=datalistheader colspan=8 style="font-size:4px;">&nbsp;</th>
        </tr>
        <tr> 
          <td height="22" class=datalistgrida > 
            <div align="center">可用金额</div>
          </td>
          <td class=datalistgrida  align="right"><font color="#FF0000"><%=u_mnyavail%></font>&nbsp;&nbsp;</td>
          <td class=datalistgrida > 
            <div align="center">实际余额</div>
          </td>
          <td  class=datalistgrida align="right"><font color="#FF0000"><%=u_mnyremain%></font>&nbsp;&nbsp;</td>
          <td class=datalistgrida > 
            <div align="center">入款总额</div>
          </td>
          <td  class=datalistgrida align="right"><font color="#FF0000"><%=u_mnyall%></font>&nbsp;&nbsp;</td>
          <td class=datalistgrida  align="center">借款金额</td>
          <td  class=datalistgrida align="right"><font color="#FF0000"><%=u_mnyborrow%></font>&nbsp;&nbsp;</td>
        </tr>
        <tr> 
          <td height="22" class=datalistgrida > 
            <div align="center">浮动金额</div>
          </td>
          <td class=datalistgrida  align="right"><font color="#FF0000"><%=u_mnynotarrival%></font>&nbsp;&nbsp;</td>
          <td class=datalistgrida > 
            <div align="center">冻结金额</div>
          </td>
          <td  class=datalistgrida align="right"><font color="#FF0000"><%=u_mnylock%></font>&nbsp;&nbsp;</td>
          <td class=datalistgrida > 
            <div align="center">返款总额</div>
          </td>
          <td  class=datalistgrida align="right"><font color="#FF0000"><%=u_mnyprizeall%></font>&nbsp;&nbsp;</td>
          <td  class=datalistgrida align="center">消费总额</td>
          <td  class=datalistgrida align="right"><font color="#FF0000"><%=u_mnyused%></font>&nbsp;&nbsp;</td>
        </tr>
        <tr>
          <td height="22" class=datalistgrida >
            <div align="center">已开票额</div>
          </td>
          <td class=datalistgrida  align="right"><font color="#FF0000"><%=u_mnyinv%></font>&nbsp;&nbsp;</td>
          <td class=datalistgrida >&nbsp;</td>
          <td  class=datalistgrida align="right">&nbsp;</td>
          <td class=datalistgrida >&nbsp;</td>
          <td  class=datalistgrida align="right">&nbsp;</td>
          <td  class=datalistgrida align="center">&nbsp;</td>
          <td  class=datalistgrida align="right">&nbsp;</td>
        </tr>
      </table>
                  <br>
 
      <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tbody> 
        <form action=mem_fnc.asp method=post name=searchform2>
          <tr> 
            <td height=20 width="119">&nbsp;共计 <b> <%=rcount%> </b>条记录 </td>
            <td height=20> 
              <div align="center"> 
                <input type=hidden name=k_tpe value="<%=k_tpe%>">
                <input type=hidden name=k_mod value="<%=k_mod%>">
                <input type=hidden name=k_wrds value="<%=k_wrds%>">
                <input type=hidden name=t_str1 value="<%=t_str1%>">
                <input type=hidden name=t_str2 value="<%=t_str2%>">
                <input type=hidden name=odr1 value="<%=odr1%>">
                <input type=hidden name=odr2 value="<%=odr2%>">
                <input type=hidden name=t_usr value="<%=t_usr%>">
                <input type=hidden name=perpage value="<%=perpage%>">
                <input type=hidden name=grd value="<%=grd%>">
                <input type=hidden name=gnme value="<%=gnme%>">
                <%=page_turn%></div>
            </td>
            <td height=20 width="120"> 
              <div align="right">转第 
                <select name="page" onChange="javascript:document.searchform2.submit();">
                  <option selected value=<%=page%>><%=page%></option>
                  <%
				   for i=1 to thepage
				   response.write "<option value="&i&">"&i&"</option>"
				   next
				   %>
                </select>
                页</div>
            </td>
          </tr>
        </form>
        </tbody> 
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height=8></td>
        </tr>
      </table>
      <%
				  if right(odr1,2)="_d" then
				  odr1_1="a_pay_a"
				  odr1_2="a_rmn_a"
				  odr1_3="a_avl_a"
				  odr1_4="a_ttl_a"
				  odr1_5="a_cnt_a"
				  odr1_6="a_addtme_a"
				  odr1_7="a_addunme_a"
				  odr1_8="a_chkunme_a"
				  odr1_9="a_unme_a"
				  odr1_10="a_yarcnt_a"
				  else
				  odr1_1="a_pay_d"
				  odr1_2="a_rmn_d"
				  odr1_3="a_avl_d"
				  odr1_4="a_ttl_d"
				  odr1_5="a_cnt_d"
				  odr1_6="a_addtme_d"
				  odr1_7="a_addunme_d"
				  odr1_8="a_chkunme_d"
				  odr1_9="a_unme_d"
				  odr1_10="a_yarcnt_d"
				  end if
				  %>
      <br>
      <table border=0 cellpadding=0 
                        cellspacing=0 width="100%"  align="center" class=datalist >
        <tbody> 
        <tr> 
          <th width="4%" height="20" class=datalistheader> 
            <div align="center"><b>序</b></div>
          </th>
          <form action=# name=form_sss method=post>
            <th width="7%"  class=datalistheader> 
              <div align="center"> 
                <select name="odrsss" onchange="javascript:toorder2();">
                  <option value="">--</option>
                  <option value="0">扣款</option>
                  <option value="1">入款</option>
                  <option value="4">返款</option>
                  <option value="2">借款</option>
                  <option value="3">还款</option>
                  <option value="6">冻结</option>
                  <option value="7">解冻</option>
                  <option value="5">退出</option>
                  <option value="8">退入</option>
                </select>
              </div>
            </th>
          </form>
          <th width="6%" class=datalistheader> 
            <div align="center"><a  class=commonface href="javascript:toorder('<%=odr1_1%>');"><b>金额</b></a></div>
          </th>
          <th width="7%" align="center" class=datalistheader><a class=commonface  href="javascript:toorder('<%=odr1_3%>');"><b>可用</b></a></th>
          <th width="13%" class=datalistheader> 
            <div align="center"><a  class=commonface href="javascript:toorder('<%=odr1_4%>');"><b>扣款事由</b></a></div>
          </th>
          <th width="6%" class=datalistheader> 
            <div align="center"><a class=commonface  href="javascript:toorder('<%=odr1_10%>');"><b>期限</b></a></div>
          </th>
          <th width="15%" class=datalistheader> 
            <div align="center"><a class=commonface  href="javascript:toorder('<%=odr1_5%>');"><b>补充说明</b></a></div>
          </th>
          <th width="8%" class=datalistheader> 
            <div align="center"><a class=commonface  href="javascript:toorder('<%=odr1_6%>');"><b>时间</b></a></div>
          </th>
          <th width="7%" class=datalistheader> 
            <div align="center"><a class=commonface  href="javascript:toorder('<%=odr1_7%>');"><b>操作</b></a></div>
          </th>
          <th width="7%" class=datalistheader> 
            <div align="center"><a  class=commonface href="javascript:toorder('<%=odr1_8%>');"><b>审核</b></a></div>
          </th>
        </tr>
        <%
  dim mtypes(9)
  mtypes(0)="<font color=#000000>扣款</font>"
  mtypes(1)="<font color=#ff0000>入款</font>"
  mtypes(2)="借款"
  mtypes(3)="还款"
  mtypes(4)="返款"
  mtypes(5)="退出"          
  mtypes(6)="冻结"
  mtypes(7)="解冻"          
  mtypes(8)="退入"          
  %>
        <%
  i=1
   do while not rs.eof 
   if i mod 2=1 then
   classstl="datalistgrida"
   else
   classstl="datalistgridb"
   end if
   %>
        <tr title="可用金额：<%=rs("f_avl")%><%=vbcrlf%>实际余额：<%=rs("f_rmn")%><%=vbcrlf%>借款金额：<%=rs("f_brw")%><%=vbcrlf%>返款总额：<%=rs("f_prz")%><%=vbcrlf%>冻结金额：<%=rs("f_lck")%><%=vbcrlf%>浮动余额：<%=rs("f_tmp")%><%=vbcrlf%>消费总额：<%=rs("f_usd")%><%=vbcrlf%>汇款总额：<%=rs("f_all")%><%=vbcrlf%>凭证编号：<%=rs("f_cid")%>"> 
          <td height="20" align=center class=<%=classstl%> bgcolor="<% if rs("f_ok")=1 then
  response.write "#FFFFFF"
  else
  response.write "#e8e8e8"
  end if %>" ><%=i+perpage*(page-1)%></td>
          <td height="22"  align=center class=<%=classstl%> bgcolor="<% if rs("f_ok")=1 then
  response.write "#FFFFFF"
  else
  response.write "#e8e8e8"
  end if %>" ><%=mtypes(rs("f_tpe"))%></td>
          <td  align=right class=<%=classstl%> bgcolor="<% if rs("f_ok")=1 then
  response.write "#FFFFFF"
  else
  response.write "#e8e8e8"
  end if %>" > <font color="#000000"><b> 
            <%if rs("f_tpe")=0 or rs("f_tpe")=5 or rs("f_tpe")=3 or rs("f_tpe")=6  then
			response.write  -clng(rs("f_pay"))
			else
			response.write rs("f_pay")
			end if %>
            </b></font>&nbsp; </td>
          <td  align=right class=<%=classstl%> bgcolor="<% if rs("f_ok")=1 then
  response.write "#FFFFFF"
  else
  response.write "#e8e8e8"
  end if %>" ><font color="#000000"><%=rs("f_avl")%>&nbsp;</font></td>
          <td  align=center class=<%=classstl%> bgcolor="<% if rs("f_ok")=1 then
  response.write "#FFFFFF"
  else
  response.write "#e8e8e8"
  end if %>" ><a href="javascript:showurl('/master/turn.asp?gid=<%=rs("f_prd")%>&pid=<%=rs("f_gid")%>');" class=commonface><font color="<%=rs("pt_clr")%>"><%=rs("f_ttl")%></font></a></td>
          <td  align=center class=<%=classstl%> bgcolor="<% if rs("f_ok")=1 then
  response.write "#FFFFFF"
  else
  response.write "#e8e8e8"
  end if %>" ><%
		  if isnull(rs("g_tmetpe"))=false then
		  response.write mynum(rs("f_yarcnt"))
		  if  cint(rs("g_tmetpe"))<=5 then
		  response.write "年"
		  else
		  response.write tmenmes(rs("g_tmetpe"))
		  end if
		  end if
		  %></td>
          <td  align=center class=<%=classstl%> bgcolor="<% if rs("f_ok")=1 then
  response.write "#FFFFFF"
  else
  response.write "#e8e8e8"
  end if %>" ><%=rs("f_cnt")%> 
            <%
	if rs("f_ok")<>1 then
	if session("sysclass")>=2 then
	response.write "<br><a href='javascript:showurl(""fnc_mng.asp?unme="&unme&"&grd="&grd&"&gnme="&gnme&"&gid="&gid&"&module=ruk_cfm&fid="&rs("f_id")&""");'><font color=#ff0000>[到帐确认]</font></a>" 
	end if
	end if
	%>
          </td>
          <td  align=center class=<%=classstl%> bgcolor="<% if rs("f_ok")=1 then
  response.write "#FFFFFF"
  else
  response.write "#e8e8e8"
  end if %>" ><%=rs("f_addtme")%> </td>
          <td  align=center class=<%=classstl%> bgcolor="<% if rs("f_ok")=1 then
  response.write "#FFFFFF"
  else
  response.write "#e8e8e8"
  end if %>" ><%=rs("f_addunme")%></td>
          <td  align=center class=<%=classstl%> bgcolor="<% if rs("f_ok")=1 then
  response.write "#FFFFFF"
  else
  response.write "#e8e8e8"
  end if %>" > 
            <%
		  if trim(rs("f_chkunme"))="" or isnull(rs("f_chkunme")) then
		  response.write "<font color=#ff0000>未审核</font>"
		  else
		  response.write "<font color=#000000>"&rs("f_chkunme")&"</font>"
		  end if %>
          </td>
        </tr>
        <%
  rs.movenext
i=i+1
if i>perpage then
exit do
end if

  loop 
  %>
        </tbody> 
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height=8></td>
        </tr>
      </table>
      <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tbody> 
        <form action=mem_fnc.asp method=post name=searchform>
          <tr> 
            <td height=20 width="120">&nbsp;共计 <b> <%=rcount%> </b>条记录 </td>
            <td height=20> 
              <div align="center"> 
                <input type=hidden name=k_tpe value="<%=k_tpe%>">
                <input type=hidden name=k_mod value="<%=k_mod%>">
                <input type=hidden name=k_wrds value="<%=k_wrds%>">
                <input type=hidden name=t_str1 value="<%=t_str1%>">
                <input type=hidden name=t_str2 value="<%=t_str2%>">
                <input type=hidden name=odr1 value="<%=odr1%>">
                <input type=hidden name=t_usr value="<%=t_usr%>">
                <input type=hidden name=odr2 value="<%=odr2%>">
                <input type=hidden name=perpage value="<%=perpage%>">
                <input type=hidden name=grd value="<%=grd%>">
                <input type=hidden name=gnme value="<%=gnme%>">
                <%=page_turn%> </div>
            </td>
            <td height=20 width="120"> 
              <div align="right">转第 
                <select name="page" onChange="javascript:document.searchform.submit();">
                  <option selected value=<%=page%>><%=page%></option>
                  <%
				   for i=1 to thepage
				   response.write "<option value="&i&">"&i&"</option>"
				   next
				   %>
                </select>
                页</div>
            </td>
          </tr>
        </form>
        </tbody> 
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height=8></td>
        </tr>
      </table>
      <br>
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class=datalist>
        <form action="mem_fnc.asp" method=post name="frm_qry">
          <tr align="center"> 
            <th height="22" class=datalistheader >关键字</th>
            <th class=datalistheader >时间(yyyy-mm-dd)</th>
            <th class=datalistheader >排序</th>
            <th class=datalistheader >条/页</th>
            <th class=datalistheader >查询</th>
          </tr>
          <tr align="center"> 
            <td class=datalistgridb > 
              <select name="k_tpe" class=normalform >
                <option value="ttl"  <% if k_tpe="ttl" then
						  response.write " selected"
						  end if %>>标题</option>
                <option value="cnt"  <% if k_tpe="cnt" then
						  response.write " selected"
						  end if %>>说明</option>
                <option value="prd"  <% if k_tpe="prd" then
						  response.write " selected"
						  end if %>>产品</option>
                <option value="addunme"  <% if k_tpe="addunme" then
						  response.write " selected"
						  end if %>>操作</option>
                <option value="chkunme"  <% if k_tpe="chkunme" then
						  response.write " selected"
						  end if %>>确认</option>
                <option value="tpe"  <% if k_tpe="tpe" then
						  response.write " selected"
						  end if %>>类型</option>
              </select>
              <select name="k_mod">
                <option value="moda" <% if k_mod="moda" then
						  response.write " selected"
						  end if %>>等于</option>
                <option value="modb"  <% if k_mod="modb" then
						  response.write " selected"
						  end if %>>类似</option>
              </select>
              <input name="k_wrds" type="text" size="12" maxlength="50" value="<%=k_wrds%>">
            </td>
            <td class=datalistgridb > 
              <input name="t_str1" type="text" size="10" maxlength="10" value="<%=t_str1%>"  class=normalform >
              到 
              <input name="t_str2" type="text" size="10" maxlength="10" value="<%=t_str2%>"  class=normalform >
            </td>
            <td class=datalistgridb > 
              <select name="odr1"  class=normalform >
                <option value="a_pay_a" style="color:#ff0000;" <% if odr1="a_pay_a" then
						  response.write " selected"
						  end if %> >金额顺</option>
                <option style="color:#ff0000" value="a_pay_d" <% if odr1="a_pay_d" then
						  response.write " selected"
						  end if %> >金额倒</option>
                <option style="color:#ff00ff" value="a_rmn_a" <% if odr1="a_rmn_a" then
						  response.write " selected"
						  end if %> >余额顺</option>
                <option style="color:#ff00ff" value="a_rmn_d" <% if odr1="a_rmn_d" then
						  response.write " selected"
						  end if %> >余额倒</option>
                <option style="color:#0000ff" value="a_tpe_a" <% if odr1="a_tpe_a" then
						  response.write " selected"
						  end if %> >类型顺</option>
                <option style="color:#0000ff" value="a_tpe_d" <% if odr1="a_tpe_d" then
						  response.write " selected"
						  end if %> >类型倒</option>
                <option style="color:#ff6600" value="a_ttl_a" <% if odr1="a_ttl_a" then
						  response.write " selected"
						  end if %> >事由顺</option>
                <option style="color:#ff6600" value="a_ttl_d" <% if odr1="a_ttl_d" then
						  response.write " selected"
						  end if %> >事由倒</option>
                <option style="color:#ff0000" value="a_cnt_a" <% if odr1="a_cnt_a" then
						  response.write " selected"
						  end if %> >说明顺</option>
                <option style="color:#ff0000" value="a_cnt_d" <% if odr1="a_cnt_d" then
						  response.write " selected"
						  end if %> >说明倒</option>
                <option style="color:#000000" value="a_addtme_a" <% if odr1="a_addtme_a" then
						  response.write " selected"
						  end if %> >时间顺</option>
                <option style="color:#000000" value="a_addtme_d" <% if odr1="a_addtme_d" then
						  response.write " selected"
						  end if %> >时间倒</option>
                <option style="color:#0000ff" value="a_addunme_a" <% if odr1="a_mgr_a" then
						  response.write " selected"
						  end if %> >操作顺</option>
                <option style="color:#0000ff" value="a_addunme_d" <% if odr1="a_mgr_d" then
						  response.write " selected"
						  end if %> >操作倒</option>
                <option style="color:#ff00ff" value="a_chkunme_a" <% if odr1="a_mgrcfm_a" then
						  response.write " selected"
						  end if %> >审核顺</option>
                <option style="color:#ff00ff" value="a_chkunme_d" <% if odr1="a_mgrcfm_d" then
						  response.write " selected"
						  end if %> >审核倒</option>
                <option style="color:#006600" value="a_unme_a" <% if odr1="a_unme_a" then
						  response.write " selected"
						  end if %> >用户顺</option>
                <option style="color:#006600" value="a_unme_d" <% if odr1="a_unme_d" then
						  response.write " selected"
						  end if %> >用户倒</option>
                <option value="a_prd_a" style="color:#ff0000;" <% if odr1="a_prd_a" then
						  response.write " selected"
						  end if %> >产品顺</option>
                <option style="color:#ff0000" value="a_prd_d" <% if odr1="a_prd_d" then
						  response.write " selected"
						  end if %> >产品倒</option>
              </select>
              <select name="odr2"  class=normalform >
                <option value="b_pay_a" style="color:#ff0000;" <% if odr1="b_pay_a" then
						  response.write " selected"
						  end if %> >金额顺</option>
                <option style="color:#ff0000" value="b_pay_d" <% if odr1="b_pay_d" then
						  response.write " selected"
						  end if %> >金额倒</option>
                <option style="color:#ff00ff" value="b_rmn_a" <% if odr1="b_rmn_a" then
						  response.write " selected"
						  end if %> >余额顺</option>
                <option style="color:#ff00ff" value="b_rmn_d" <% if odr1="b_rmn_d" then
						  response.write " selected"
						  end if %> >余额倒</option>
                <option style="color:#0000ff" value="b_tpe_a" <% if odr1="b_tpe_a" then
						  response.write " selected"
						  end if %> >类型顺</option>
                <option style="color:#0000ff" value="b_tpe_d" <% if odr1="b_tpe_d" then
						  response.write " selected"
						  end if %> >类型倒</option>
                <option style="color:#ff6600" value="b_ttl_a" <% if odr1="b_ttl_a" then
						  response.write " selected"
						  end if %> >事由顺</option>
                <option style="color:#ff6600" value="b_ttl_d" <% if odr1="b_ttl_d" then
						  response.write " selected"
						  end if %> >事由倒</option>
                <option style="color:#ff0000" value="b_cnt_a" <% if odr1="b_cnt_a" then
						  response.write " selected"
						  end if %> >说明顺</option>
                <option style="color:#ff0000" value="b_cnt_d" <% if odr1="b_cnt_d" then
						  response.write " selected"
						  end if %> >说明倒</option>
                <option style="color:#000000" value="b_addtme_a" <% if odr1="b_addtme_a" then
						  response.write " selected"
						  end if %> >时间顺</option>
                <option style="color:#000000" value="b_addtme_d" <% if odr1="b_addtme_d" then
						  response.write " selected"
						  end if %> >时间倒</option>
                <option style="color:#0000ff" value="b_mgr_a" <% if odr1="b_mgr_a" then
						  response.write " selected"
						  end if %> >操作顺</option>
                <option style="color:#0000ff" value="b_mgr_d" <% if odr1="b_mgr_d" then
						  response.write " selected"
						  end if %> >操作倒</option>
                <option style="color:#ff00ff" value="b_mgrcfm_a" <% if odr1="b_mgrcfm_a" then
						  response.write " selected"
						  end if %> >审核顺</option>
                <option style="color:#ff00ff" value="b_mgrcfm_d" <% if odr1="b_mgrcfm_d" then
						  response.write " selected"
						  end if %> >审核倒</option>
                <option style="color:#006600" value="b_unme_a" <% if odr1="b_unme_a" then
						  response.write " selected"
						  end if %> >用户顺</option>
                <option style="color:#006600" value="b_unme_d" <% if odr1="b_unme_d" then
						  response.write " selected"
						  end if %> >用户倒</option>
                <option value="b_prd_a" style="color:#ff0000;" <% if odr1="b_prd_a" then
						  response.write " selected"
						  end if %> >产品顺</option>
                <option style="color:#ff0000" value="b_prd_d" <% if odr1="b_prd_d" then
						  response.write " selected"
						  end if %> >产品倒</option>
              </select>
            </td>
            <td class=datalistgridb > 
              <input name="perpage" type="text" size="2" maxlength="3" value="<%=perpage%>" class=normalform >
            </td>
            <td class=datalistgridb > 
              <input type="submit" name="Submit" value="查 询" class=btxx>
            </td>
          </tr>
        </form>
      </table>
    </td>
  </tr>
  </tbody> 
</table>
<!--#include virtual="/incs/bottom.asp"-->





