File Manager
Back to List
|
Up to Parent Directory
| Current Directory: ~/ef
Editing: ef/index.asp
Full path: C:\ict\ICT\ef\index.asp
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <meta http-equiv="Content-Type" content="text/html; charset=windows-874"> <html> <head> <title>���Ѥ�</title> <link href="https://fonts.googleapis.com/css2?family=Trirong:wght@500&display=swap" rel="stylesheet"> <!--<link href="https://fonts.googleapis.com/css?family=chonburi:300,400,500,700" rel="stylesheet">--> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous"> <style> @import url(https://fonts.googleapis.com/css?family=Trirong:400,300,600,400italic); * { margin: 0; padding: 0; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-font-smoothing: antialiased; -o-font-smoothing: antialiased; font-smoothing: antialiased; text-rendering: optimizeLegibility; } body { font-family: "Trirong", Helvetica, Arial, sans-serif; font-weight: 100; font-size: 18px; line-height: 30px; color: #000000; background: #ffffff; } .hero-image { background-image: url("picture.jpg"); background-color: #cccccc; height: 500px; background-position: top; background-repeat: no-repeat; background-size: cover; position: relative; } .container { max-width: 90%; width: 100%; margin: 0 auto; position: relative; } #contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact textarea, #contact button[type="submit"] { font: 400 12px/16px "Trirong", Helvetica, Arial, sans-serif; } #contact { background: #F9F9F9; padding: 25px; margin: 150px 0; box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24); } #contact h3 { display: block; font-size: 33px; font-weight: 500; margin-bottom: 10px; } #contact h2 { display: block; font-size: 26px; font-weight: 400; margin-bottom: 5px; text-align: left; } h5 { font-size: 24px; text-indent: 1.5em; } #contact h4 { margin: 5px 0 15px; display: block; font-size: 25px; font-weight: 400; } fieldset { border: medium none !important; margin: 0 0 10px; min-width: 100%; padding: 0; width: 100%; background: #FFF; } #contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact textarea { width: 100%; border: 1px solid #ccc; background: #FFF; margin: 0 0 5px; padding: 10px; } #contact input[type="text"]:hover, #contact input[type="email"]:hover, #contact input[type="tel"]:hover, #contact input[type="url"]:hover, #contact textarea:hover { -webkit-transition: border-color 0.3s ease-in-out; -moz-transition: border-color 0.3s ease-in-out; transition: border-color 0.3s ease-in-out; border: 1px solid #aaa; } #contact textarea { height: 100px; max-width: 100%; resize: none; } #contact input[type="radio"] { border: 0px; width: 4em; height: 4em; } #contact input[type="checkbox"] { border: 0px; width: 4em; height: 4em; } #contact button[type="submit"] { cursor: pointer; width: 100%; border: none; background: #cc0000; color: #FFF; margin: 5px 5px 5px; padding: 20px; font-size: 29px; line-height: 150%; } #contact button[type="submit"]:hover { background: #3333ff; -webkit-transition: background 0.3s ease-in-out; -moz-transition: background 0.3s ease-in-out; transition: background-color 0.3s ease-in-out; } #contact button[type="submit"]:active { box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5); } .copyright { text-align: center; } #contact input:focus, #contact textarea:focus { outline: 0; border: 1px solid #aaa; } ::-webkit-input-placeholder { color: #888; } :-moz-placeholder { color: #888; } ::-moz-placeholder { color: #888; } :-ms-input-placeholder { color: #888; } p { border: 0px solid green; padding: 30px 10px; } label { font-size: 25px; vertical-align: left; } #customers { border-collapse: collapse; width: 100%; } #customers td, #customers th { border: 1px solid #ddd; padding: 8px; text-align: center; } #customers tr:nth-child(even){background-color: #f2f2f2;} #customers tr:hover {background-color: #ddd;} #customers th { padding-top: 12px; padding-bottom: 12px; text-align: center; background-color: #0472b3; color: white; font-size: 22px; } * { box-sizing: border-box; } .autocomplete { /*the container must be positioned relative:*/ position: relative; display: inline-block; } .autocomplete-items { position: absolute; border: 1px solid #d4d4d4; border-bottom: none; border-top: none; z-index: 99; /*position the autocomplete items to be the same width as the container:*/ top: 100%; left: 0; right: 0; } .autocomplete-items div { padding: 10px; cursor: pointer; background-color: #fff; border-bottom: 1px solid #d4d4d4; } .autocomplete-items div:hover { /*when hovering an item:*/ background-color: #e9e9e9; } .autocomplete-active { /*when navigating through the items using the arrow keys:*/ background-color: DodgerBlue !important; color: #ffffff; } </style> <script> function onlyNumberKey(evt) { // Only ASCII character in that range allowed var ASCIICode = (evt.which) ? evt.which : evt.keyCode if (ASCIICode > 31 && (ASCIICode < 48 || ASCIICode > 57)) return false; return true; } </script> <script src="https://code.jquery.com/jquery-3.1.0.js"></script> <script type="text/javascript"> function check() { if (document.getElementById("l5").checked==true) && (document.getElementById("lo").value=="") { alert("5.��ҹ���������Ѻ -�ؤ���� �- ��س��к�"); //document.getElementById("lo").focus(); } if (document.getElementById("t14").checked==true) { alert("7.��ҹ����觷��ͺ��������ҧ�����ú�ҧ -��� �- ��س��к�"); } } </script> <script language="javascript" type="text/javascript"> function uncheckShowYear(obj) { if (obj.checked == true) { document.getElementById("h-1").checked = true; } } function uncheckh1(obj) { if (obj.checked == true) { document.getElementById("h11").checked = false; document.getElementById("h12").checked = false; document.getElementById("h13").checked = false; document.getElementById("h14").checked = false; } } </script> </head> <body> <div class="container"> <!--<div class="hero-image"> <img src="web_logo.png" width="150" height="150" border="0" alt=""><img src="Srinakharinwirot_Logo_TH_Color.png" width="150" height="150" border="0" alt=""> <form id="contact" method="post" action="add.asp" autocomplete="off">--> <form id="contact" method="post" action="add.asp" autocomplete="off"> <% qno=request("w") If qno="" Then qno=request.form("w") End if If qno=1 then %> <h3 align="center"></h3> <h3 align="center">���Ѥ�������Ѥü�������Ԩ�������ͧ���Ѳ�ҷѡ�зҧ��ͧ</h3><hr> <h5>����������������Ѥ�㹡�÷��ͺ����Է���Ҿ�ͧ���Ѳ�ҷѡ�зҧ��ͧ � ʶҺѹ�Ԩ�¾ĵԡ�����ʵ�� ����Է�������չ��Թ�����ò ����ҹ�Ե� �آ���Է 23 </h5> <%else%> <h3 align="center"></h3> <h3 align="center">���Ѥ�������Ѥ���������֡�繼������Ѳ�ҷѡ�зҧ��ͧ</h3><hr> <h5>����������������Ѥ�㹡�ý֡�繼������Ѳ�ҷѡ�зҧ��ͧ � ʶҺѹ�Ԩ�¾ĵԡ�����ʵ�� ����Է�������չ��Թ�����ò ����ҹ�Ե� �آ���Է 23 </h5> <%End if%> <table id="customers"> <%If qno=1 then%> <tr ><th bgcolor="#7ac0eb" colspan="2"><h2>1. ��ҹ�Թ�����������������Ѥ����ͷ��ͺ����Է���Ҿ�ͧ���Ѳ�ҷѡ�зҧ��ͧ</h2> <%else%> <tr ><th bgcolor="#7ac0eb" colspan="2"><h2>1. ��ҹ�Թ�����������������Ѥ����ͽ֡�繼������Ѳ�ҷѡ�зҧ��ͧ</h2> <%End if%> <tr><td ><div align="right"><input type="radio" name ="sayyes" value ="�Թ��" id="say1" required/> <td align="left" colspan="2"><label for="say1" align="left"><h2>�Թ��</h2></label></div> <tr valign="top"><td > <div align="right"><input type="radio" name ="sayyes" value ="����Թ��" id="say2" required/> <td align="left" colspan="2"><label for="say2" align="left"><h2>����Թ��</h2></label></div> <tr ><th bgcolor="#7ac0eb" colspan="2"><h2>2. �ӹ�˹�Ҫ���</h2> <tr><td ><div align="right"><input type="radio" name ="prefix" value ="���" id="prefix1" required/> <td align="left" ><label for="prefix1" align="left"><h2>���</h2></label></div> <tr valign="top"><td > <div align="right"><input type="radio" name ="prefix" value ="�ҧ" id="prefix2" required/> <td align="left" ><label for="prefix2" align="left"><h2>�ҧ</h2></label></div> <tr valign="top"><td > <div align="right"><input type="radio" name ="prefix" value ="�ҧ���" id="prefix3" required/> <td align="left" ><label for="prefix3" align="left"><h2>�ҧ���</h2></label></div> <tr valign="top"><td > <div align="right"><input type="radio" name ="prefix" value ="��� �" id="prefix4" required/> <td align="left" ><label for="prefix4" align="left"><h2>��� �</h2></label></div> <tr valign="top"><td> <td align="left"><input id="prefix_o" type="text" name="prefix_o" style="font-size:22px;"></div> <tr valign="top"><td bgcolor="#7ac0eb"><h2>3. ����-���ʡ��</h2> <td > <h2> <div align="left"> <input id="name" type="text" name="name" style="font-size:22px;" required> </div></h2> <tr ><th bgcolor="#7ac0eb" colspan="2"><h2>4. ���آͧ��ҹ</h2> <tr><td ><div align="right"><input type="radio" name ="age" value ="55-60 ��" id="age1" required/> <td align="left" ><label for="age1" align="left"><h2>55-60 ��</h2></label></div> <tr valign="top"><td > <div align="right"><input type="radio" name ="age" value ="61-65 ��" id="age2" required/> <td align="left" ><label for="age2" align="left"><h2>61-65 ��</h2></label></div> <tr valign="top"><td > <div align="right"><input type="radio" name ="age" value ="65 �բ���" id="age3" required/> <td align="left" ><label for="age3" align="left"><h2>65 �բ���</h2></label></div> <tr valign="top"><td bgcolor="#7ac0eb" width="20%"><h2>5. �������Ѿ��</h2> <td > <h2> <div class="autocomplete" style="width:300px;" align="left"> <input id="mytel" type="text" name="tel" style="font-size:22px;" required> </div></h2> <tr ><th bgcolor="#7ac0eb" colspan="2"><h2>6. �ѹ ���� ����ҹ�дǡ��������Ԩ����</h2> <%If qno=1 then%> <tr><td ><div align="right"> <input type="radio" name ="appoint" value ="�ѹ������� 18 �ѹ�Ҥ� 2564 ���� 09.00-12.00 �." id="appoint1" required/> <td align="left" ><label for="appoint1" align="left"><h2>�ѹ������� 18 �ѹ�Ҥ� 2564 ���� 09.00-12.00 �.</h2></label></div> <tr valign="top"><td > <div align="right"> <input type="radio" name ="appoint" value ="�ѹ�ҷԵ���� 19 �ѹ�Ҥ� 2564 ���� 09.00-12.00 �." id="appoint2" required/> <td align="left" ><label for="appoint2" align="left"><h2>�ѹ�ҷԵ���� 19 �ѹ�Ҥ� 2564 ���� 09.00-12.00 �.</h2></label></div> <%else%> <tr><td ><div align="right"> <input type="radio" name ="appoint" value ="�ѹ������� 22 ���Ҥ� 2565 ���� 09.00-12.00 �." id="appoint3" required/> <td align="left" ><label for="appoint3" align="left"><h2>�ѹ������� 22 ���Ҥ� 2565 ���� 09.00-12.00 �.</h2></label></div> <tr valign="top"><td > <div align="right"> <input type="radio" name ="appoint" value ="�ѹ�ҷԵ���� 23 ���Ҥ� 2565 ���� 09.00-12.00 �." id="appoint4" required/> <td align="left" ><label for="appoint4" align="left"><h2>�ѹ�ҷԵ���� 23 ���Ҥ� 2565 ���� 09.00-12.00 �.</h2></label></div> <%End if%> <input type="hidden" name="qno" value=<%=qno%>> <!--<tr ><td width="15%" bgcolor="#7ac0eb"><h2>4. �ѧ��Ѵ</h2><td width="85%" colspan="2" align="left"> <h2><div style="width:300px;" align="left"> <input id="myInput" type="text" name="province" style="font-size:22px;" required> </div></h2> <tr valign="top"><td bgcolor="#7ac0eb"><h2>5. �Ѩ�غѹ��ҹ����</h2> <td> <h2> <div style="width:300px;" align="left"> <input name="age" type="text" onkeypress="return onlyNumberKey(event)" maxlength="2" style="font-size:22px;" required> </div></h2><td width="60%"><h2>��</h2> <tr ><td width="20%" bgcolor="#7ac0eb" ><h2>5. �Ѩ�غѹ��ҹ����</h2><td><h2><input name="age" type="text" onkeypress="return onlyNumberKey(event)" maxlength="2" style="font-size:22px;" required><td><h2>��</h2> <tr><td colspan="3" bgcolor="#7ac0eb"><h2>6. ��</h2><tr><td ><div><input type="radio" name ="sex" value ="1" id="s1" required/> <td align="left" colspan="2"><label for="s1" align="left"><h2>���</h2></label></div> <tr valign="top"><td > <div><input type="radio" name ="sex" value ="2" id="s2" required/> <td align="left" colspan="2"><label for="s2" align="left"><h2>˭ԧ</h2></label></div>--> <tr><td colspan=5><button onclick="check()" name="submit" type="submit" id="contact-submit" data-submit="...Sending">�觢�����!!!</button> </table> <br> <!--<tr><td colspan=5> <p class="copyright">Designed by <a href="https://colorlib.com" target="_blank" title="Colorlib">Colorlib</a> and W3School</p>--> </table> </form> <!--#INCLUDE FILE="showhide.asp"--> <script> function autocomplete(inp, arr) { /*the autocomplete function takes two arguments, the text field element and an array of possible autocompleted values:*/ var currentFocus; /*execute a function when someone writes in the text field:*/ inp.addEventListener("input", function(e) { var a, b, i, val = this.value; /*close any already open lists of autocompleted values*/ closeAllLists(); if (!val) { return false;} currentFocus = -1; /*create a DIV element that will contain the items (values):*/ a = document.createElement("DIV"); a.setAttribute("id", this.id + "autocomplete-list"); a.setAttribute("class", "autocomplete-items"); /*append the DIV element as a child of the autocomplete container:*/ this.parentNode.appendChild(a); /*for each item in the array...*/ for (i = 0; i < arr.length; i++) { /*check if the item starts with the same letters as the text field value:*/ if (arr[i].substr(0, val.length).toUpperCase() == val.toUpperCase()) { /*create a DIV element for each matching element:*/ b = document.createElement("DIV"); /*make the matching letters bold:*/ b.innerHTML = "<strong>" + arr[i].substr(0, val.length) + "</strong>"; b.innerHTML += arr[i].substr(val.length); /*insert a input field that will hold the current array item's value:*/ b.innerHTML += "<input type='hidden' value='" + arr[i] + "'>"; /*execute a function when someone clicks on the item value (DIV element):*/ b.addEventListener("click", function(e) { /*insert the value for the autocomplete text field:*/ inp.value = this.getElementsByTagName("input")[0].value; /*close the list of autocompleted values, (or any other open lists of autocompleted values:*/ closeAllLists(); }); a.appendChild(b); } } }); /*execute a function presses a key on the keyboard:*/ inp.addEventListener("keydown", function(e) { var x = document.getElementById(this.id + "autocomplete-list"); if (x) x = x.getElementsByTagName("div"); if (e.keyCode == 40) { /*If the arrow DOWN key is pressed, increase the currentFocus variable:*/ currentFocus++; /*and and make the current item more visible:*/ addActive(x); } else if (e.keyCode == 38) { //up /*If the arrow UP key is pressed, decrease the currentFocus variable:*/ currentFocus--; /*and and make the current item more visible:*/ addActive(x); } else if (e.keyCode == 13) { /*If the ENTER key is pressed, prevent the form from being submitted,*/ e.preventDefault(); if (currentFocus > -1) { /*and simulate a click on the "active" item:*/ if (x) x[currentFocus].click(); } } }); function addActive(x) { /*a function to classify an item as "active":*/ if (!x) return false; /*start by removing the "active" class on all items:*/ removeActive(x); if (currentFocus >= x.length) currentFocus = 0; if (currentFocus < 0) currentFocus = (x.length - 1); /*add class "autocomplete-active":*/ x[currentFocus].classList.add("autocomplete-active"); } function removeActive(x) { /*a function to remove the "active" class from all autocomplete items:*/ for (var i = 0; i < x.length; i++) { x[i].classList.remove("autocomplete-active"); } } function closeAllLists(elmnt) { /*close all autocomplete lists in the document, except the one passed as an argument:*/ var x = document.getElementsByClassName("autocomplete-items"); for (var i = 0; i < x.length; i++) { if (elmnt != x[i] && elmnt != inp) { x[i].parentNode.removeChild(x[i]); } } } /*execute a function when someone clicks in the document:*/ document.addEventListener("click", function (e) { closeAllLists(e.target); }); } /*An array containing all the country names in the world:*/ var countries = ["��ا�", "��к��", "�ҭ������", "����Թ���", "��ᾧྪ�", "���", "�ѹ�����", "���ԧ���", "�ź���", "��¹ҷ", "�������", "�����", "��§����", "��§���", "��ѧ", "��Ҵ", "�ҡ", "��ù�¡", "��û��", "��þ��", "����Ҫ����", "�����ո����Ҫ", "������ä�", "�������", "��Ҹ����", "��ҹ", "�֧���", "���������", "�����ҹ�", "��ШǺ���բѹ��", "��Ҩչ����", "�ѵ�ҹ�", "��й�������ظ��", "�����", "�ѧ��", "�ѷ�ا", "�ԨԵ�", "��ɳ��š", "ྪú���", "ྪú�ó�", "���", "����", "�����ä��", "�ء�����", "�����ͧ�", "��ʸ�", "����", "�������", "�йͧ", "���ͧ", "�Ҫ����", "ž����", "�ӻҧ", "�Ӿٹ", "���", "�������", "ʡŹ��", "ʧ���", "ʵ��", "��طû�ҡ��", "��ط�ʧ����", "��ط��Ҥ�", "������", "��к���", "�ԧ�����", "��⢷��", "�ؾ�ó����", "����ɮ��ҹ�", "���Թ���", "˹ͧ���", "˹ͧ�������", "��ҧ�ͧ", "�ӹҨ��ԭ", "�شøҹ�", "�صôԵ��", "�ط�¸ҹ�", "�غ��Ҫ�ҹ�", ]; var socie = [ "��Ҥ���Ҽ���٧������觻������� ��ШӨѧ��Ѵ�ӻҧ", "��þѲ�ҹ�ѵ�������͡����������آ�Ҿ�Ե��зѡ�зҧ��ͧ", "����٧���ت������ҹ�����ŧ", "���.��к��", "����٧���� �.�ҧ��Ө״", "����٧���� �.�ӹ�� �.�ҧ�ѹ", "����٧���� �.�Ԫ� �.�Ԫ�", "����٧�����Ⱥ�� �. ��ҧ", "����٧���غ�ҹ˹ͧ�˭� �.����˭�", "����٧�����Ⱥ�� �. ������", "����٧�����Ⱥ�ŷ�Ҫ�ҧ �.�ҧ����", "����٧�����Ⱥ�� �. ��ҹ����", "����٧����Ⱥ�� �. �ҹ��к�� �.�ҹ��к��", "�ç���¹����٧���بѧ��Ѵ�ѹ�����", "����٧���� �. ˹ͧ�˹� ", "����٧����Ҵ����", "����٧����˹ͧ˭�ҹ���", "��Ҥ���Ҥ����ͧ", "����٧���ػ�Ъҹ���ȹ� 2 ���� 3", "����٧�����Ҫ�ġ��", "���͢��¤��ѡ��ҹ", "����٧���� �.�������ǧ", "����٧�����������ä�", "�������ä� ͺ�.�֧�Ӿ���� ", "����٧�����Ⱥ�� �.⾵�Ҵ��� ", "���ʧ���� �.������ �.��з���ẹ", "��Ҽ���٧����", "��ҧ���غ��������", "����٧���غ�ҹ�����ä�", "����٧�����Ѵ��ȡ����", "�ѡ���آ�Ҿ�Ѵ��ȡ����", "����٧���� �. �ѧ���˭�", "����٧���ش͡�ѡ���� ��Ң�ҧ", "����٧���� �. ���", "����٧���� �. ��Ǵ������ 1234", ]; /*initiate the autocomplete function on the "myInput" element, and pass along the countries array as possible autocomplete values:*/ autocomplete(document.getElementById("myInput"), countries); autocomplete(document.getElementById("mysocie"), socie); </script> </div> </body> </html>