|
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 : |
<!--#include file="../func.asp"-->
<html>
<head>
<title>Information Setup - Edit Pic </title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
<%
set conn = APPLICATION("ACN")
if request("Submit")<>empty then
str = "update list_infopic_t 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_t.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_t a , list_infopic_t 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>Edit Pic Properity<font color="#FF9900">ChineseTraditional</font></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%">
<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">Pic�G</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">Pic Name�G</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">Pic Note</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">Pic Width</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">Pic Height</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">Note Font</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">Note FontColor</font></td>
<td width="81%"> <font size="2">#
<input type="text" name="pn_color" value="<%= rs0("pn_color") %>" size="6" maxlength="6" >
( hex 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">Note FontSize</font></td>
<td width="81%">
<input type="text" name="pn_size" value="<%= rs0("pn_size") %>" size="2" maxlength=2 >
<font size="2">( figure 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="Save">
<input type="button" name="Button" value="Cancel" language=javascript
onClick="window.location.href ='info_set_t.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>