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/edit_pic_s.asp
<!--#include file="../func.asp"-->
<html>
<head>
<title>���ά��-ģ������-�����ģ��</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<%
set conn = APPLICATION("ACN")

if request("Submit")<>empty then 
	str = "update  list_infopic_s set "&_
		 " pic_width ="&request("pic_width")&","&_
		 " pic_height = "&request("pic_height")&","&_
		 " pn_face = '"&request("pn_face")&"',"&_
		" pn_color = '"&request("pn_color")&"',"&_
		" pn_size = "&request("pn_size")&","&_
		" pic_note = '"&adjust_sql(request("pic_note"))&"'"&_
		"  where pic_id = "&request("pic_id")
		 
	conn.execute(str)	
	
	Response.Redirect "info_edit_s.asp?info_id="&request("info_id")
end if 



%>
<body bgcolor="#FFFFFF">

<%
Set rs0 = server.CreateObject("adodb.recordset")
sSQL = "select b.*  , a.info_title from list_info_s a , list_infopic_s b where a.info_id = b.info_id and pic_id ="&request("pic_id")
rs0.Open sSQL,conn
if not rs0.EOF then 

%>
<form method="post" action="">
  <table width="80%" 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%"> 
				 <font size="2">
		  <%
			Response.Write rs0("info_title")
			%> 
			</select>
              </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%"> 
			<img src='../Images/<%=rs0("pic_name")%>' width='<%=rs0("pic_width")%>' height='<%=rs0("pic_height")%>'>
            </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">
				<% Response.Write rs0("pic_name") %></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="pic_note" size=60 value="<%=rs0("pic_note")%>">
            </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="pic_width" size=60 value="<%=rs0("pic_width")%>">
            </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="pic_height" size=60 value="<%=rs0("pic_height")%>">
            </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="pn_face" value="<%= rs0("pn_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="pn_color" value="<%= rs0("pn_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="pn_size" value="<%= rs0("pn_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="Button" value="ȡ�����" language=javascript 
			onClick="window.location.href ='info_set_s.asp'">
			<INPUT type="hidden"  name=pic_id value="<%=request("pic_id")%>">
			<INPUT type="hidden"  name=info_id value="<%=rs0("info_id")%>">
              </div>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</form>

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

Anon7 - 2021