<%@ Page Language="C#" MasterPageFile="~/Admin/Guide.master" AutoEventWireup="true"
    Inherits="PowerEasy.Module.Promotion.WebSite.Admin.Promotion.AccountGuide" CodeBehind="AccountGuide.aspx.cs"
    Title="推广会员管理" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphTitle" runat="Server">
    推广会员管理
</asp:Content>
  <asp:Content ID="Content2" ContentPlaceHolderID="CphSubMenu" runat="Server">
    <div class="guideexpand" onclick="Switch(this)">
        常规操作</div>
    <div class="guide">
        <ul>
            <li><a href="AccountManage.aspx" target="main_right">推广会员管理</a></li>
        </ul>
    </div>
    
    <div class="guideexpand" onclick="Switch(this)">
        帐户搜索</div>
    <div class="guidesearch">
        <ul>
            <li>
                <select id="SelField" style="width: 140px">
                    <option value="0" selected="selected">银行帐号</option>
                    <option value="1">用户名</option>
                    <option value="2">户名</option>
                    <option value="3">银行</option>
                </select>
            </li>
            <li>
                <input id="TxtKeyWord" style="width: 134px;" type="text" onmouseover="this.select()" onclick="javascript:{if (aspnetForm.TxtKeyWord.value == '请输入关键字...')aspnetForm.TxtKeyWord.value=''; };" value="请输入关键字..."  class="inputtext"
                    onfocus="select()" />
            </li>
            <li>
                <input id="BtnSearch" type="button" class="inputbutton" value="查询" onclick="return OpenMainRight()" />
            </li>
        </ul>
    </div>

    <script type="text/javascript">    
    function OpenMainRight()
    {
        var field=0;
        var keyword = document.getElementById("TxtKeyWord").value.trim();
        var objSel = document.getElementById("SelField");
        if (keyword =="")
        {
            alert("请输入要查询的条件！"); 
            return false; 
        }
        field = objSel.options[objSel.options.selectedIndex].value;
         
        var url = "AccountManage.aspx?keyType="+ field +"&keyWords="+escape(keyword);
        JumpToMainRight(url);
    }
    </script>
    </asp:Content>