📄 photo.asp
字号:
<%response.expires=0%>
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/vip.asp"-->
<!--#include file="inc/category.asp"-->
<%
if Session("photodata")="" then
call msgbox("请指定修改文章!",1)
end if
filenum =Session("filenum")
if filenum="" then
filenum =Session("editfilenum")
end if
if filenum="" or not isnumeric(filenum) then
call msgbox("请指定插入图片的文章!",1)
end if
sql="select id from "&Session("photodata")&"photo where filenum="&filenum
rs.open sql,conn,1,1
if not rs.eof then
photodata=rs.getrows
end if
rs.close
Set rs=nothing
Set conn=nothing
%>
<html>
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>易影中国</title>
<style>
body{margin:0px;scrollbar-face-color:buttonface;scrollbar-highlight-color:buttonface;scrollbar-shadow-color:buttonface;scrollbar-3dlight-color:buttonhighlight;scrollbar-arrow-color:#797979;scrollbar-track-color:#EEEEEE;scrollbar-darkshadow-color:buttonshadow}
body,a,table,div,span,td,th,input,select{font:9pt;font-family: "宋体", Verdana, Arial, Helvetica, sans-serif;}
.text{border:1 solid buttonface;background-color:buttonhighlight}
.button{height:18;border:1 ridge buttonhighlight;background-color:buttonface}
</style>
<body scroll="no" bgColor="EFEFEF">
<table border=0 cellPadding=0 cellSpacing=0 height="100%" width="100%">
<tbody>
<form method="post" action="delphoto.asp" name="photo">
<tr><td><input class=button type=submit name=Del value="删除" style="width:36"><select class=text name=id><option>选择图片...<%if isarray(photodata) then%><%Session("photoup")=1%><%for i=0 to ubound(photodata,2)%><option value="<%=photodata(0,i)%>"><%=photodata(0,i)%><%next%><%end if%></select><input class=button type=button name=In value="插入" onClick="parent.inphoto(photo.id[photo.id.selectedIndex].value);photo.id.selectedIndex=0"></td></tr>
</form>
<form method="post" action="upphoto.asp" enctype="multipart/form-data">
<tr><td nowrap>上传<input class=text type=file name=pic size="16" value=""></td></tr>
<tr><td> <input class=button type=submit value=" 图 片 上 传 "></td></tr>
</form>
</tbody>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -