File Manager
Back to List
|
Up to Parent Directory
| Current Directory: ~/work/celebsri52
Editing: work/celebsri52/showdetail.asp.bak
Full path: C:\ict\ICT\work\celebsri52\showdetail.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"> <html><!-- InstanceBegin template="/Templates/bsri_temp.dwt" codeOutsideHTMLIsLocked="false" --> <head> <style> <!-- a{text-decoration:none} //--> </style> <SCRIPT language=JavaScript> var rate = 20; // Increase amount(The degree of the transmutation) var obj; // The object which event occured in var act = 0; // Flag during the action var elmH = 0; // Hue var elmS = 128; // Saturation var elmV = 255; // Value var clrOrg; // A color before the change var TimerID; // Timer ID if (navigator.appName.indexOf("Microsoft",0) != -1 && parseInt(navigator.appVersion) >= 4) { Browser = true; } else { Browser = false; } if (Browser) { document.onmouseover = doRainbowAnchor; document.onmouseout = stopRainbowAnchor; } function doRainbow() { if (Browser && act != 1) { act = 1; obj = event.srcElement; clrOrg = obj.style.color; TimerID = setInterval("ChangeColor()",100); } } function stopRainbow() { if (Browser && act != 0) { obj.style.color = clrOrg; clearInterval(TimerID); act = 0; } } function doRainbowAnchor() { if (Browser && act != 1) { obj = event.srcElement; while (obj.tagName != 'A' && obj.tagName != 'BODY') { obj = obj.parentElement; if (obj.tagName == 'A' || obj.tagName == 'BODY') break; } if (obj.tagName == 'A' && obj.href != '') { act = 1; clrOrg = obj.style.color; TimerID = setInterval("ChangeColor()",100); } } } function stopRainbowAnchor() { if (Browser && act != 0) { if (obj.tagName == 'A') { obj.style.color = clrOrg; clearInterval(TimerID); act = 0; } } } function ChangeColor() { obj.style.color = makeColor(); } function makeColor() { if (elmS == 0) { elmR = elmV; elmG = elmV; elmB = elmV; } else { t1 = elmV; t2 = (255 - elmS) * elmV / 255; t3 = elmH % 60; t3 = (t1 - t2) * t3 / 60; if (elmH < 60) { elmR = t1; elmB = t2; elmG = t2 + t3; } else if (elmH < 120) { elmG = t1; elmB = t2; elmR = t1 - t3; } else if (elmH < 180) { elmG = t1; elmR = t2; elmB = t2 + t3; } else if (elmH < 240) { elmB = t1; elmR = t2; elmG = t1 - t3; } else if (elmH < 300) { elmB = t1; elmG = t2; elmR = t2 + t3; } else if (elmH < 360) { elmR = t1; elmG = t2; elmB = t1 - t3; } else { elmR = 0; elmG = 0; elmB = 0; } } elmR = Math.floor(elmR); elmG = Math.floor(elmG); elmB = Math.floor(elmB); clrRGB = '#' + elmR.toString(16) + elmG.toString(16) + elmB.toString(16); elmH = elmH + rate; if (elmH >= 360) elmH = 0; return clrRGB; } </SCRIPT> <title>::BSRI::</title> <meta name="keywords" content="�Ԩ�¾ĵԡ�����ʵ��, �Ԩ��, �ĵԡ���, �ĵԡ�����ʵ��, �Ԩ�¾ĵԡ���, Behavioral science research institute, research, behavioral, behavior, Research, Behavioral, Behavior, Behavior Science"> <meta name="description" content="ʶҺѹ�Ԩ�¾ĵԡ�����ʵ�� ��� ��觷��Ԩ�� ��м�Ե�ѳ�Ե��������س�Ҿ���Ե�ͧ����"> <!-- InstanceBeginEditable name="doctitle" --> <title>ʶҺѹ�Ԩ�¾ĵԡ�����ʵ��</title> <!-- InstanceEndEditable --> <meta http-equiv="Content-Type" content="text/html; charset=windows-874"> <!-- InstanceBeginEditable name="head" --> <!-- InstanceEndEditable --> <style type="text/css"> <!-- @import url(bsri2006.css); --> </style> <SCRIPT language=JavaScript> function clearsearch() { document.form2.username1.value = ''; } function clearsearch1() { document.form2.password1.value = ''; } function clearsearch2() { document.form1.q.value = ''; } </SCRIPT> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //--> </script> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <script> <!-- function show(){ var Digital=new Date() var hours=Digital.getHours() var minutes=Digital.getMinutes() var seconds=Digital.getSeconds() var dn="AM" if (hours>=12) dn="PM" if (hours>12) hours=hours-12 if (hours==0) hours=12 if (minutes<=9) minutes="0"+minutes if (seconds<=9) seconds="0"+seconds window.status=hours+":"+minutes+":" +seconds+" "+dn setTimeout("show()",1000) } show() //--> </script> <div align="center"> <table width="812" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="138" valign="top" background="image/menu.jpg"><img src="image/h1.jpg" width="138" height="171"> <table widt="100%" border="0" cellpadding="0" cellspacing="0" background="image/menu3.jpg"> <tr> <td width="134" height="21" background="image/menu3.jpg"><a href="aboutus.htm" ><font color="#FFFFFF">����ǡѺʶҺѹ</font></a></td> </tr> <tr> <td height="20" background="image/menu3.jpg"><a href="curriculum.htm" ><font color="#FFFFFF">��ѡ�ٵ�</font></a></td> </tr> <tr> <td height="20" background="image/menu3.jpg"><a href="research.htm" ><font color="#FFFFFF">�ҹ�Ԩ��</font></a></td> </tr> <tr> <td height="20" background="image/menu3.jpg" bgcolor="#FFFFCC"><a href="edu_service.htm" ><font color="#FFFFFF">�ҹ��ԡ���Ԫҡ��</font></a></td> </tr> <tr> <td height="22" background="image/menu3.jpg"><a href="learn.htm" ><font color="#FFFFFF">������¹����</font></a></td> </tr> <tr> <td height="20" background="image/menu3.jpg"><a href="staff_index.htm" ><font color="#FFFFFF">�ؤ�ҡ�</font></a></td> </tr> <tr> <td height="22" background="image/menu3.jpg"><font color="#FFFFFF">Link ���</font></td> </tr> <tr> <td height="41" background="image/menu3.jpg"><a href="http://www.navy.mi.th/civil/website/mainpage.html" target="_parent"><font color="#FFFFFF">�������ѧ����ʵ��<br> �ԧ�ĵԡ���</font></a> </td> </tr> </table> <br> <form name="form2" method="post" action="index_member.asp"> <table width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td height="22"><div align="center"><font color="#000000"><strong>..:: ��Ҫԡ ::..</strong></font></div></td> </tr> <tr> <td><input onclick=clearsearch(); name="username1" type="text" value="username" size="18" maxlength="255" ></td> </tr> <tr> <td> <input onclick=clearsearch1(); name="password1" type="password" value="password" size="18" maxlength="255"> </td> </tr> <tr> <td><input type="submit" name="Submit" value="Submit"> <font color="#FFFFCC"> </font></td> </tr> <tr> <td><font color="#FFFFCC"><strong><a href="register.htm">��Ѥ���Ҫԡ</a></strong></font></td> </tr> </table> </form> <br> <br> </td> <td colspan="2" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr background="image/h6.jpg"> <td width="800" background="image/h6.jpg"><img src="image/h2.gif" width="624" height="76" ></td> </tr> <tr > <td height="28" background="image/h7.jpg"><div align="right"><a href="http://bsri.swu.ac.th" ><font color="#FFFFFF" face="MS Sans Serif, Tahoma, sans-serif">˹���á</font></a><font face="MS Sans Serif, Tahoma, sans-serif"> | <a href="http://www.swu.ac.th" target="_blank"><font color="#FFFFFF">SWU</font></a> | <a href="http://mail.swu.ac.th"><font color="#FFFFFF">E-mail</font></a> | <a href="education_online.htm" ><font color="#FFFFFF">E-Journal</font></a> | <a href="news_letter.htm" ><font color="#FFFFFF">�����¢���</font></a> | <a href="book.htm" ><font color="#FFFFFF">��ª���˹ѧ���</font></a> | <a href="http://webboard.swu.ac.th/?c=5200" target="_blank"><font color="#FFFFFF">��дҹ����</font></a> | <a href="contact.htm" ><font color="#FFFFFF">�Դ���</font></a> | <font color="#FFFFFF"><a href="index_eng.html">English</a> </font></font></div></td> </tr> </table> <br> <table width="100%" border="0" cellpadding="0" cellspacing="1"> <tr> <td> <!-- InstanceBeginEditable name="EditRegion3" --> <B><CENTER><h3>��������´�����Ѥ��������</h3><br> ��Ъ���Ԫҡ���ѹʶһ��ʶҺѹ�Ԩ�¾ĵԡ�����ʵ�� �ú�ͺ �� ��<br> � ��ͧ��Ъ�������Ժ� �����ҧ �Ҥ�û���ҹ�Ե� (�Ҥ�� � )����Է�������չ��Թ�����ò<br> �ѹ�ء���� �� �ԧ�Ҥ� ���� ���� ��.�� - ��.�� �. <br> </CENTER></B> <% id_regis=session("id_regis") set ors=server.createobject("adodb.recordset") sql="select * from register2 where id_regis="&id_regis&" " ors.open sql,conn,1,3 if not ors.eof then '�������� response.write "<table><tr><td width=16% bgcolor=#EDEDEB><strong>����/ʡ��</strong> <td bgcolor=#EDEDEB>"&ors("name_f")&" "&ors("surname_f")&"</td></tr>" response.write "<tr bgcolor=#F9F9F7><td><strong>���˹� </strong><td>"&ors("position")&"</tr>" response.write "<tr bgcolor=#EDEDEB><td><strong>�ѧ�Ѵ </strong><td>"&ors("ins_name")&"</tr>" response.write "<tr bgcolor=#EDEDEB><td><strong>�Ţ��� </strong><td>"&ors("no_add")&"</tr>" response.write "<tr bgcolor=#EDEDEB><td><strong>��� </strong><td>"&ors("road")&"</tr>" response.write "<tr bgcolor=#EDEDEB><td><strong>�Ӻ�/�ǧ </strong><td>"&ors("tumbol")&"</tr>" response.write "<tr bgcolor=#EDEDEB><td><strong>�����/ࢵ </strong><td>"&ors("umphur")&"</tr>" response.write "<tr bgcolor=#EDEDEB><td><strong>�ѧ��Ѵ </strong><td>"&ors("province")&"</tr>" response.write "<tr bgcolor=#EDEDEB><td><strong>������ɳ��� </strong><td>"&ors("id_code")&"</tr>" response.write "<tr bgcolor=#EDEDEB><td><strong>����������š��ԡ�� </strong><td>"&ors("email")&"</tr>" response.write "<tr bgcolor=#EDEDEB><td><strong>�������Ѿ�� </strong><td>"&ors("tel")&"</tr>" response.write "<tr bgcolor=#F9F9F7><td><strong>����� </strong><td> "&ors("fax")&"</tr>" response.write "<tr bgcolor=#EDEDEB><td><strong>�Ţ����¹ö </strong><td>"&ors("id_car")&"</tr>" type_present=ors("type_present") sql_typepresent="select * from present where type_present='"&type_present&"'" set ors_typepresent=server.createobject("adodb.recordset") ors_typepresent.open sql_typepresent,conn,1,3 response.write "<tr bgcolor=#EDEDEB><td><strong>��������ù��ʹ� </strong><td>"&ors_typepresent("type_present_name")&"</tr>" response.write "<tr bgcolor=#F9F9F7><td colspan=2><strong>�դ������ʧ�����Ѥ����������Ъ���Ԫҡ���ѹʶһ��ʶҺѹ�Ԩ�¾ĵԡ�����ʵ�� �ú�ͺ �� �� </strong></tr>" response.write "</table>" response.write "<br><div align=right>�����Ѥ�ŧ��� ..............................................................................." response.write "<br><br>(..........................................................................)" end if %></h3> <!-- InstanceEndEditable --></td> </tr> </table></td> </tr> <tr > <td background="image/bottomedge.jpg"> <% '========================��С�ȵ���÷�����==================== Dim strFilePath Dim strObjFile Dim strObjStream Dim strTemp strFilePath = Server.MapPath("visitors.txt") '��˹����˹觢ͧ������纤�ҵ���Ţ Set strObjFile = CreateObject("Scripting.FileSystemObject") '���ҧ Object �����Ѻ Text File Set strObjStream= strObjFile.OpenTextFile (strFilePath, 1) '�ӡ���Դ��� visitors.txt ������ҹ���ҧ���� strTemp = strObjStream.ReadLine+1 '������ʹ Readline ������ҹ������ +������ա 1 strObjStream.Close '�ӡ�ûԴ��� Set strObjStream = strObjFile.OpenTextFile (strFilePath, 2) '�ӡ���Դ��� visitors.txt ������¹���ҧ���� strObjStream.WriteLine(strTemp) '��¹��ҷ����ҹ��ҡ����觴�ҹ����Ңͧ strTemp ŧ� visitors.txt strObjStream.Close '�ӡ�ûԴ��� %> <div align="center">Visitor No:: <%=strTemp %> <br> (16 �Զع�¹ 2549)</div></td> <td height="52" colspan="2" background="image/bottomedge.jpg" > ʶҺѹ�Ԩ�¾ĵԡ�����ʵ�� ����Է�������չ��Թ�����ò [Behavioral Science Research Institute] <br> �آ���Է 23 �ǧ��ͧ���˹�� ࢵ�Ѳ�� ��ا 10110 �� 02-649-5000 ��� 7600 ����� 02-649-5182 <A href="mailto:wassanaw@swu.ac.th">webmaster</A> </td> </tr> </table> </div> </body> <!-- InstanceEnd --></html>