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/module_add_t.asp
<html>
<head>
<title>Module Setup - Add Module</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
<%
set conn = APPLICATION("ACN")

if request("Submit")<>empty then 
	str = " insert into list_module_t( module_name , show_type , sort_id , module_note , pagesize ) values"&_
		"('"&request("module_name")&"',"&request("show_type")&","&request("sort_id")&",'"&request("note")&" ',"&request("pagesize")&")"
	conn.execute(str)	
	
	Response.Redirect "module_set_t.asp"	
end if 

%>
<body bgcolor="#FFFFFF">
<form method="post" action="">
  <table width="50%" border="1" cellspacing="0" cellpadding="0" align="center">
    <tr>
      <td>
        <table width="100%" border="0" cellpadding="1" cellspacing="1">
          <tr> 
            <td colspan="2" bgcolor="eeeeff" height="25"><font size="2"><b>Add Module</b></font></td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">ModuleName</font></td>
            <td width="81%"> 
              <input type="text" name="module_name">
            </td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">ShowType</font></td>
            <td width="81%">
            <select name="show_type" size=1>
		  <%
			Set rs = server.CreateObject("adodb.recordset")
			sSQL = "select * from list_showtype "
			rs.Open sSQL,conn
			if not (rs.BOF and rs.EOF) then 
				do while not rs.eof
					response.write " <option "	
					response.write " value='"&rs("show_id")&"'>"& rs("show_name")&" </option>"
					rs.MoveNext
				loop
			end if 
			rs.close
			%> 
			</select>
            </td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">Sort ID</font></td>
            <td width="81%"> 
              <input type="text" name="sort_id">
            </td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">InfoNumber per page</font></td>
            <td width="81%"> 
              <input type="text" name="pagesize" value="3">
            </td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">Note</font></td>
            <td width="81%"> 
              <textarea name="note" cols="50" rows="5"></textarea>
            </td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td colspan="2" height="25" > 
              <div align="center"> 
                <input type="submit" name="Submit" value="Save">
                <input type="button" name="Button" value="Cancel" language=javascript 
			onClick="window.location.href ='module_set+t.asp'">
              </div>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</form>
<div align=center>
<!--#include file="menu.asp" -->
</div>
</body>
</html>

Anon7 - 2021