<%@ page language="C#" autoeventwireup="true" inherits="general_Assistant_Post_query, CrmCommand" %>

<!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 id="Head1" runat="server">
    <title>邮政编码查询</title>

    <script>
    function CheckForm1()
    {
       if(document.getElementById("area").value=="")
       {
         alert("查询条件不能为空");
         return false;
       }
       window.location="PostSearch.aspx?flag=0&where="+document.getElementById("area").value;
       
    }
    
    function CheckForm2()
    {
        if(document.getElementById("tel_no").value=="")
        {
            alert("查询条件不能为空");
            return false;
        }
        window.location="PostSearch.aspx?flag=1&where="+document.getElementById("tel_no").value;
    }
    </script>

</head>
<body style="font-size:12px;">
    <form id="form1" runat="server">
        <div align="center" >
            <table border="0" cellspacing="1" width="450" cellpadding="1" bgcolor="black">
                <tr>
                    <td nowrap align="center" colspan="5" class="TableData">
                        <b>中国 - 省(直辖市/自治区)</b></td>
                </tr>
                <tr>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=安徽">安徽</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=澳门">澳门</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=北京">北京</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=福建">福建</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=甘肃">甘肃</a></td>
                </tr>
                <tr>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=广东">广东</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=广西">广西</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=贵州">贵州</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=海南">海南</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=河北">河北</a></td>
                </tr>
                <tr>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=河南">河南</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=黑龙江">黑龙江</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=湖北">湖北</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=湖南">湖南</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=吉林">吉林</a></td>
                </tr>
                <tr>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=江苏">江苏</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=江西">江西</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=辽宁">辽宁</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=内蒙古">内蒙古</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=宁夏">宁夏</a></td>
                </tr>
                <tr>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=青海">青海</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=山东">山东</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=山西">山西</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=陕西">陕西</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=上海">上海</a></td>
                </tr>
                <tr>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=四川">四川</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=台湾">台湾</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=天津">天津</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=西藏">西藏</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=香港">香港</a></td>
                </tr>
                <tr>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=新疆">新疆</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=云南">云南</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=浙江">浙江</a></td>
                    <td align="center" class="TableData">
                        <a href="post_info.aspx?province=重庆">重庆</a></td>
                    <td align="center" class="TableData">
                        &nbsp;</td>
                </tr>
            </table>
            <br>
            <table border="0" cellspacing="1" width="450" cellpadding="3" bgcolor="black">
                <tr>
                    <td colspan="3" class="TableData" align="center">
                        <b>模糊查询</b></td>
                </tr>
                <tr>
                    <td class="TableData">
                        市(县/区)名称包含：</td>
                    <td class="TableData" align="center">
                        <input type="text" id="area" name="area" size="20"></td>
                    <td class="TableData" align="center">
                        <input type="button" class="BigButton" value="查询" title="进行查询" name="button" onclick="CheckForm1();"></td>
                </tr>
                <tr class="TableData">
                    <td class="TableData">
                        邮政编码等于：</td>
                    <td class="TableData" align="center">
                        <input type="text" id="tel_no" name="tel_no" size="20"></td>
                    <td class="TableData" align="center">
                        <input type="button"  class="BigButton"  value="查询" title="进行查询" name="button" onclick="CheckForm2();"></td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>

