File Manager
Back to List
|
Up to Parent Directory
| Current Directory: ~/ef
Editing: ef/detail.asp
Full path: C:\ict\ICT\ef\detail.asp
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: #4CAF50; } .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; } #contact h4 { margin: 5px 0 15px; display: block; font-size: 20px; 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 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: #43A047; -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: middle; } #customers { border-collapse: collapse; width: 100%; } #customers td, #customers th { border: 1px solid #ddd; padding: 8px; text-align: center; font-size: 28px; } #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: #04AA6D; color: white; font-size: 29px; } ul { padding: 15px; } ul li { padding: 5px; margin-left: 15px; } </style> </head> <body> <% ide=session("ide") sqlcheck="select * from ethinking where id='"&ide&"'" set orscheck=server.createobject("adodb.recordset") orscheck.open sqlcheck,conn,1,3 ' Response.write sqlcheck If Not orscheck.eof Then q1=orscheck("q1") q2=orscheck("q2") q3=orscheck("q3") q4=orscheck("q4") q5=orscheck("q5") q6=orscheck("q6") q7=orscheck("q7") q8=orscheck("q8") q9=orscheck("q9") q10=orscheck("q10") q11=orscheck("q11") q12=orscheck("q12") q13=orscheck("q13") q14=orscheck("q14") q15=orscheck("q15") q16=orscheck("q16") q17=orscheck("q17") q18=orscheck("q18") q19=orscheck("q19") q20=orscheck("q20") qa1=CInt(q3)+CInt(q5)+CInt(q10)+CInt(q13)+CInt(q16)+CInt(q17)+CInt(q21) qa2=CInt(q2)+CInt(q4)+CInt(q7)+CInt(q9)+CInt(q15)+CInt(q19)+CInt(q20) qa3=CInt(q1)+CInt(q6)+CInt(q8)+CInt(q11)+CInt(q12)+CInt(q14)+CInt(q18) If qa1>=14 Then qa1t="�дѺ�ҡ����ش <br>(Extremely Severe)" ElseIf qa1>=11 Then qa1t="�дѺ�ҡ <br>(Severe)" ElseIf qa1>=7 Then qa1t="�дѺ�ҹ��ҧ <br>(Moderate)" ElseIf qa1>=5 Then qa1t="�дѺ��� (Mild)" ElseIf qa1>=0 Then qa1t="���� (Normal)" End If If qa2>=10 Then qa2t="�дѺ�ҡ����ش <br>(Extremely Severe)" ElseIf qa2>=8 Then qa2t="�дѺ�ҡ <br>(Severe)" ElseIf qa2>=6 Then qa2t="�дѺ�ҹ��ҧ <br>(Moderate)" ElseIf qa2>=4 Then qa2t="�дѺ��� (Mild)" ElseIf qa2>=0 Then qa2t="���� (Normal)" End If If qa3>=17 Then qa3t="�дѺ�ҡ����ش <br>(Extremely Severe)" ElseIf qa3>=13 Then qa3t="�дѺ�ҡ <br>(Severe)" ElseIf qa3>=10 Then qa3t="�дѺ�ҹ��ҧ <br>(Moderate)" ElseIf qa3>=8 Then qa3t="�дѺ��� (Mild)" ElseIf qa3>=0 Then qa3t="���� (Normal)" End if %> <div class="container"> <form id="contact" method="post" action="form3.asp"> <h3>����ż�Ẻ�ͺ����آ�Ҿ� ��ǹ��� 2 Ẻ�Ѵ�ҧ�</h3> <!--<h5>������������</h5> <h4><%=qa1%> ��ṹ ������дѺ<%=qa1t%></h4> <h5>�����Ե��ѧ��</h5> <h4><%=qa2%> ��ṹ ������дѺ<%=qa2t%></h4> <h5>�������´</h5> <h4><%=qa3%> ��ṹ ������дѺ<%=qa3t%></h4> <h3></h3> <h4></h4>--> <table id="customers"> <tr><th>���Ы�������<th>�����Ե��ѧ��<th>�������´ <tr><td><%=qa1%> ��ṹ<td><%=qa2%> ��ṹ<td><%=qa3%> ��ṹ <tr valign="top"><td>������дѺ<br><%=qa1t%><td>������дѺ<br><%=qa2t%><td>������дѺ<br><%=qa3t%> <tr><td colspan=5><button name="submit" type="submit" id="contact-submit" data-submit="...Sending" > >> �ô��ԡ���͡� ���͡�͡Ẻ���Ǩ�</button> <tr><td colspan=5> <ul> <li><h2>��ҹ����դ�ṹ����д�ҹ <strong><u>��дѺ���� ������</u></strong> �ʴ���� ��ҹ���آ�Ҿ�Ե�дѺ��</h2></li> <li><h2>��ҹ����դ�ṹ����д�ҹ <strong><u>��дѺ�ҹ��ҧ</u></strong> �ʴ���� ��ҹ��õ��˹ѡ�֧��ô����آ�Ҿ�Ե�ͧ���ͧ��ҧ</h2></li> <li><h2>��ҹ����դ�ṹ����д�ҹ <strong><u>��дѺ�ҡ �����ҡ����ش </u></strong>�ʴ���ҷ�ҹ��õ�ͧ��������Ƿҧ���д����آ�Ҿ�Ե�����������Ѻ���ͧ������� ��駹���ҹ����ö�ͤӻ�֡�Ҩҡ�س��� ���ͼ������Ǫҭ���ͤ͢ӻ�֡����</h2></li> </ul> <!--<tr><td colspan=5><p>Ẻ�ͺ���������ҧ�� Lovibond ��Ф�� (1995) ��Ẻ�ͺ��������Թ�дѺ�������ҹź 3 ��ҹ ��� ���Ы������� �����Ե��ѧ�� ��Ф������´ �բ�ͤӶ���ӹǹ 21 ��� ��Ẻ�ͺ�����Ѻ�������������� �ء���� ���ҧ (Sukanlaya Sawang) �ҡ The National Centre in HIV Epidemiology and Clinical Research (NCHECR) �������������� �����حҵ �ѷ�� �Է��ѵ���ʶ��� ��г�Ѥ��õ ��Ƿͧ �Ѵ�ŧ��ͤ��������������Ѻ�����������ҧ ��õͺ���ҵ����ǹ����ҳ��� (rating scale) ���� 4 �дѺ </p><p>��Ҥ���������蹢ͧ����ͧ��� (Cronbach�s alpha coefficient) ��ҹ���Ы������� ��ҡѺ 0.82 �����Ե��ѧ����ҡѺ 0.78 ��Ф������´ ��ҡѺ 0.69 </p> �Ѵ��Ẻ�ͺ�����Ź� �� �ç���...ʹѺʹع��...--> </table> <% Else Response.write "No anwers" End if %> <!-- <fieldset> <button name="submit" type="submit" id="contact-submit" data-submit="...Sending">�ټš�û����Թ <br>!!!��سҡ�͡���ú�ء���!!!</button> </fieldset>--> </form> </div> </body> </html>