File Manager
Back to List
|
Up to Parent Directory
| Current Directory: ~/ef
Editing: ef/result.asp.bak
Full path: C:\ict\ICT\ef\result.asp.bak
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#INCLUDE FILE="ConnectDB.asp"--> <!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; } .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; } h5 { font-size: 25px; text-indent: 1.5em; } #contact h4 { margin: 5px 0 15px; display: block; font-size: 26px; 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: #990000; 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: 0px solid #ffffff; 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: #009900; 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; } <% sub checka(num1) If num1<1.5 then Response.Write "<td bgcolor=#00cc00>" Elseif num1>3 then Response.Write "<td bgcolor=#cc0000>" else Response.Write "<td bgcolor=#ffffff>" end if end sub %> </script> <script src="https://code.jquery.com/jquery-3.1.0.js"></script> </head> <body> <% id=request.form("id") sqlcheck="select * from ethinking where id="&id&"" set orscheck=server.createobject("adodb.recordset") orscheck.open sqlcheck,conn,1,3 'Response.write sqlcheck If Not orscheck.eof Then sd1=CInt(orscheck("q1"))+CInt(orscheck("q2"))+CInt(orscheck("q3"))+CInt(orscheck("q4")) sd2=CInt(orscheck("q5"))+CInt(orscheck("q6"))+CInt(orscheck("q7"))+CInt(orscheck("q8")) sd3=CInt(orscheck("q9"))+CInt(orscheck("q10"))+CInt(orscheck("q11"))+CInt(orscheck("q12")) sd4=CInt(orscheck("q13"))+CInt(orscheck("q14"))+CInt(orscheck("q15"))+CInt(orscheck("q16")) sd5=CInt(orscheck("q17"))+CInt(orscheck("q18"))+CInt(orscheck("q19"))+CInt(orscheck("q20")) d1=CInt(sd1)/4 d2=CInt(sd2)/4 d3=CInt(sd3)/4 d4=CInt(sd4)/4 d5=CInt(sd5)/4 ed=(d1+d2+d3+d5+d4)/5 %> <div class="container"> <!--<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" name="form1" method="post" action="#" autocomplete="off"> <h3 align="center">�š���Ѵ��äԴ�ͧ�ѹ</h3> <table id="customers"> <tr><th><div align= "left"><h5>��ҹ</h5><th><h5>��ṹ���</h5></th><th><h5>��ṹ�����</h5></th><th><h5>��</h5></th></div> <tr><td width="40%"><div align= "left"><h2>��ҹ �. </td><td><div align="center"><h2><%=sd1%></h2></div><td><div align="center"><h2 ><%=d1%></h2><% Call checka(d1)%></div> <tr><td width="40%"><div align= "left"><h2>��ҹ �. </td><td><div align="center"><h2><%=sd2%></h2></div><td><div align="center"><h2 ><%=d2%></h2> <% Call checka(d2)%></div> <tr><td width="40%"><div align= "left"><h2>��ҹ �. </td><td><div align="center"><h2><%=sd3%></h2></div><td><div align="center"><h2 ><%=d3%></h2><% Call checka(d3)%> </div> <tr><td width="40%"><div align= "left"><h2>��ҹ �. </td><td><div align="center"><h2><%=sd4%></h2></div><td><div align="center"><h2 ><%=d4%></h2><% Call checka(d4)%> </div> <tr><td width="40%"><div align= "left"><h2>��ҹ �. </td><td><div align="center"><h2><%=sd5%></h2></div><td><div align="center"><h2 ><%=d5%></h2><% Call checka(d5)%> </div> <tr><td colspan="2"> <div align="right"><h2>��ṹ�������� EF<td><h2><div align="center"><%=ed%></div></h2></td> <% 'Call checka(ed)%></tr></table> </div> <% Else Response.write "�������" End if %> </table> </form> </div> </body> </html>