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/cfg_trad_add.asp
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--

function id_t_onchange() {
	from_trad_add.submit() ;
}




//-->
</SCRIPT>


<meta http-equiv="Content-Type" content="text/html; charset=big5">
<%
	
	session("cfg_trad_id") = request("id_t")
	
	id_t_value = request("id_t")
%>
<form name="from_trad_add" action=""  onsubmit="return from_trad_add_onsubmit()">
  <select name="id_t" LANGUAGE=javascript onchange="return id_t_onchange()">
  <option value="0" <% if clng(id_t_value)  = 0 then response.write " selected " %>>--No module--</option>
	        <% 
	        set conn = APPLICATION("ACN")
			 sSQL = "select * from list_module_t where module_id not in ( select id_t from cfg_module )"
			Set rs = server.CreateObject("adodb.recordset")
			 rs.Open sSQL,conn 
			 if not (rs.BOF and rs.EOF) then 
				do while not rs.eof 
					response.write " <option " 
					if clng(id_t_value) = rs("module_id") then Response.Write "selected "
					response.write " value='"&	rs("module_id")&"'> "&  rs("module_name")&" </option>"
					rs.MoveNext 
				loop 
			end if 
			rs.close 
			%> 
        
  </select>
  
</form>

Anon7 - 2021