village-test.ntpc.gov.tw Open in urlscan Pro
61.60.98.240  Public Scan

Submitted URL: http://village-test.ntpc.gov.tw/
Effective URL: https://village-test.ntpc.gov.tw/
Submission: On March 24 via api from US — Scanned from US

Form analysis 1 forms found in the DOM

Name: form2POST ./

<form name="form2" method="post" action="./" id="form2">
  <div>
    <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
    <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
      value="vUXsVxglGJO7hO2bdsaA9VQLOQLLnTcEY+Isr3+UYTwsMX/nLM6Ef+8ojkyr96HS5UaNkwT51391dFm7ajDTzAh+KWHTqtNL82r9DcmS0KSoxIzhOZ/sS7+d56zGwBp66pO5uiJlNxd8CIeJvYMuJAOnrVsRgL6NdXKnxfgyZJRaYgyZyBvB1vcqE47eQy4q3dHcFpPdKFFJ6/eSjypbPg==">
  </div>
  <script type="text/javascript">
    //<![CDATA[
    var theForm = document.forms['form2'];
    if (!theForm) {
      theForm = document.form2;
    }

    function __doPostBack(eventTarget, eventArgument) {
      if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
      }
    }
    //]]>
  </script>
  <div>
    <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="C2EE9ABB">
    <input type="hidden" name="__VIEWSTATEENCRYPTED" id="__VIEWSTATEENCRYPTED" value="">
    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION"
      value="AIPXC/QN1Yac1th1m3sFy5hKrvBbB2mV96+0gJNGoTSO4O8nGmf1NyduClSsYDHU6oXhP6nAWkqVD0VYPpxNd4LXKSBIn+NHSFH5e651xyvoPdsCbUVPx5G77IqbglJLrTPkq0m/U1Q8zlPLiEBGlk653kFLNtEYEwW+PUGFp3HuAxgYvdUImIprApQucNe3exnmSnnjzDEcdqnDKhS7UwJNmImBzzw5bsjPyMExEP5bHYRQNztziyFF6isQnOhqbhcXAdSkprBLtIrSFLNf+BiBZ7nVFFpK/0Ke9wqJo2ZZMtD4ENgoV+5+W2E3L5Jfw2z/Chq+bmeztxACmYZKpQ==">
  </div>
  <div style="margin: 0px; padding: 0px; background: url('images/bga.jpg'); overflow: hidden;">
    <div id="block_01" style="background: url(&quot;images/bg0.jpg&quot;) center top no-repeat; height: 1200px;">
      <div id="block_02" style="background: url(&quot;images/01.png&quot;) no-repeat; width: 357px; height: 386px; margin: 0px auto; position: relative; top: 407px;">
        <div style="border: 1px solid #CECECE; width: 300px; height: 30px; position: absolute; top: 110px; left: 30px; border-radius: 5px; line-height: 28px; background: #FFFFFF;"> &nbsp;<img alt="05.png" src="images/05.png" width="27" height="23"
            border="0" style="vertical-align: middle;">
          <input name="txtAcc" type="text" id="txtAcc" class="inputTxt" autocomplete="off">
          <!-- for testing -->
          <!--
                                <select name="DropDownList1" id="DropDownList1">
	<option value="0939773166">0939773166</option>
	<option value="AC6677">AC6677</option>
	<option value="AI3750">AI3750</option>
	<option value="AJ9431">AJ9431</option>
	<option value="AB7376">AB7376</option>
	<option value="AA9644">AA9644</option>

</select>
                                -->
        </div>
        <div style="border: 1px solid #CECECE; width: 300px; height: 30px; position: absolute; top: 160px; left: 30px; border-radius: 5px; line-height: 28px; background: #FFFFFF;"> &nbsp;<img alt="06.png" src="images/06.png" width="27" height="23"
            border="0" style="vertical-align: middle;">
          <input name="txtPwd" type="password" id="txtPwd" class="inputTxt" autocomplete="off">
        </div>
        <div style="position: absolute; top: 200px; left: 30px; width: 300px; text-align: center; font-size: 12px;">
          <input type="checkbox" id="saveCookie"><label
            for="saveCookie">記住密碼</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a id="lbnVillageReg" href="javascript:__doPostBack('lbnVillageReg','')" style="color:Black;text-decoration:none;">里長註冊</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<label id="fogpwd"
            style="cursor: pointer;">忘記密碼?</label>
        </div>
        <a onclick="chkCookie();" id="lbnSubmit" href="javascript:__doPostBack('lbnSubmit','')"><div id="confirm" style="position:absolute;top:230px;right:21px;"></div></a>
        <div>
        </div>
      </div>
    </div>
  </div>
  <script type="text/javascript">
    $("#checkbox").change(function() {
      if (this.checked) $("#next").show();
      else $("#next").hide();
    });
    $("#checkbox").trigger('change');
    $(document).ready(function() {
      $('#block_01').height($(window).height());
      var offset = ($(window).height() - $('#block_02').height()) / 2;
      $('#block_02').css('top', offset + 'px');
      $("[id$=txtAcc]").val($.cookie('userName'));
      $("[id$=txtPwd]").val($.cookie('password'));
      $("#saveCookie")[0].checked = $.cookie('userName') != null;
      $("#fogpwd").click(function() {
        $(pwd).dialog('open');
      });
      $("#villagereg").click(function() {
        //$(reg).dialog('open');
        $("#divLogin").hide();
        $("#divReg").show();
      });
      var village = $("[id$=ddlVillage]").clone();
      $("[id$=ddlZoe]").change(function() {
        $("[id$=ddlVillage]").find('option').remove();
        $(village).find("option[value^=" + $(this).val() + "]").clone().appendTo($("[id$=ddlVillage]"));
      });
      $("[id$=ddlZoe]").trigger("change");
      var pwd = $("#pwd").dialog({
        title: '忘記密碼',
        autoOpen: false,
        closeOnEscape: true,
        bgiframe: true,
        width: 350,
        height: 200,
        modal: true,
        draggable: true,
        resizable: false,
        overlay: {
          opacity: 0.7,
          background: "#FF8899"
        },
        open: function() {
          $("[id$=txtAccount]").val($("[id$=txtAcc]").val());
        },
        buttons: {
          '確定': function() {
            var re = /^[09]{2}[0-9]{8}$/;
            if ($("[id$=txtAccount]").val() != "") {
              if (re.test($("[id$=txtAccount]").val())) {
                $.ajax({
                  url: "fun.aspx?fun=GetReSetPassword&pk=" + $("[id$=txtAccount]").val(), //本例中,url為genXML.php
                  type: 'GET', //根據實際情況,可以是'POST'或者'GET'
                  //data: "name=adam&location=61dh",本例中沒有用到data
                  dataType: 'text', //指定數據類型
                  timeout: 105000, //設置超時1000 = 1秒
                  error: function() {
                    alert("執行失敗\n");
                  }, //錯誤提示
                  success: function(text) { //ajax請求成功後 do something with xml
                    //把XML的相關節點值賦給HTML裡相關ID
                    if (text == "Y") {
                      //$(this).dialog('close');
                      $(pwd).dialog('close');
                      alert("系統將自動發送密碼至手機!");
                    } else {
                      alert("執行失敗!\n" + text);
                    }
                  }
                });
              } else {
                alert("請輸入正確的帳號");
              }
            } else {
              alert("尚未輸入帳號");
            }
          },
          '取消': function() {
            $(this).dialog('close');
          }
        }
      });
    }).keydown(function(event) {
      if (event.keyCode == 13) { //如果按 enter
        chkCookie();
        window.location = $("[id$=lbnSubmit]").attr("href");
      }
    });
  </script>
</form>

Text Content

 
 
記住密碼     里長註冊     忘記密碼?


忘記密碼 Close
請輸入帳號:
確定取消