KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/chinatranslationsweb/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/chinatranslationsweb/admin/path_set.asp
<html>
<head>
<title>System Configuration</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body bgcolor="#FFFFFF">



<p align="center"><font size="2"><b><font size="3">Path Setup</font></b></font></p>
<p> <%
set conn = APPLICATION("ACN")
if request("Submit")<>empty then 

	str = " update list_showtype set "&_
		" show_href ='"&request("show_href")&"'"&_
		" where show_id ="&Request.Form("show_id")
	
	conn.execute(str)	
end if 

Set rs = server.CreateObject("adodb.recordset")
sSQL = "select * from list_showtype "
rs.Open sSQL,conn
if not (rs.BOF and rs.EOF) then 
	
%> </p>
<table width="70%" border="1" cellspacing="0" cellpadding="0" align="center">
    <tr>
      <td>
        
      <table width="100%" border="0" cellpadding="1" cellspacing="1">
        <tr bgcolor="eeeeff"> 
          <td><font size="2">ShowType</font></td>
          <td><font size="2">Path Setup</font></td>
        </tr>
        <tr> 
          <td colspan="2" height=1 bgcolor="#aaaaFF" > 
        </tr>
        <%
      do while not rs.EOF 
      %> 
        <tr> 
          <form method="post" action="" name="form<%=rs("show_id")%>">
            <td width="18%" bgcolor="F4F8F6"><font size="2"><%=rs("show_name")%></font></td>
            <td width="82%"> <%
			if rs("url_flag") = "1" then 
			%> 
              <input type="text" name="show_href" size="70" maxlength="100" value="<%= rs("show_href")%>" >
              <input type="submit" name="Submit" value="Save">
              <INPUT type="hidden" size=10 name=show_id  value="<%= rs("show_id")%>">
              <%
			else
				Response.Write "<font size=2 color=0000ff >"&rs("show_href")&"</font>"
			end if 	
			%> </td>
          </form>
        </tr>
        <tr> 
          <td colspan="2" height=1 bgcolor="#aaaaFF" > 
        </tr>
        <%
			rs.MoveNext 
		loop
			
        
        %> 
      </table>
      </td>
    </tr>
  </table>

<%
end if 
rs.Close 
set rs= nothing 
%>
<div align=center>
<!--#include file="menu.asp" -->
</div>
</body>
</html>

Anon7 - 2021