📄 caseedit.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../conn.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>文章添加</title>
<link href="../images/css.css" rel="stylesheet" type="text/css">
</head>
<body>
<%
id =trim(request.QueryString("id"))
if id<>"" and isnumeric(id) then
sql="select * from webCase where ID ="&id
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,1
if not rs.eof then
%>
<div class="div1">
<table width="100%" border="0" cellspacing="1">
<tr class="tb_title">
<td width="112">案例编辑</td>
<td colspan="3"> </td>
</tr>
<form action="CaseUpdate.asp" method="post">
<tr class="tr_list1">
<td align="right">案例标题:</td>
<td colspan="3"><input name="title" type="text" id="title" value="<%=rs("title")%>"></td>
</tr>
<tr class="tr_list2">
<td align="right">是否推荐:</td>
<td colspan="3">
<select name="commend" id="commend">
<option <%if rs("commend")=1 then%> selected<%end if%> value="1">是</option>
<option <%if rs("commend")=0 then%> selected<%end if%> value="0">否</option>
</select> </td>
</tr>
<tr class="tr_list1">
<td align="right">网站地址:</td>
<td colspan="3"><input name="url" type="text" id="url" value="<%=rs("url")%>"></td>
</tr>
<tr class="tr_list2">
<td align="right">图片上传:</td>
<td width="375"><iframe src="../upload.htm" width="360px" height="30px" frameborder="0" scrolling="no"></iframe>
<input name="articlePic" type="hidden" id="articlePic"></td>
<td width="129" height="120" id="picView"><%if rs("Picurl")<>"" then%>
<a href="<%=rs("Picurl")%>" target="_blank"><img src="<%=rs("Picurl")%>" width="120" height="120" border="0"></a>
<%else%>
无上传图片
<%end if%></td>
<td width="316"> </td>
</tr>
<tr class="tr_list1">
<td align="right">案例介绍:</td>
<td colspan="3"><IFRAME ID='eWebEditor1' src='../ewebeditor/ewebeditor.htm?id=content&style=popup' frameborder='0' scrolling='no' width='550' height='310'></IFRAME>
<textarea name="content" id="content" style="display:none;"><%=rs("content")%></textarea></td>
</tr>
<tr class="tr_list1">
<td align="right">排序:</td>
<td colspan="3"><input name="index" type="text" id="index" value="<%=rs("index")%>" size="4"></td>
</tr>
<tr class="tr_list2">
<td> </td>
<td colspan="3"><input name="Submit" type="submit" class="tbb" value="修改"><input name="id" type="hidden" value="<%=id%>"></td>
</tr>
</form>
</table>
</div>
<%
end if
end if
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -