📄 add_load.asp
字号:
<!--#include file=conn.asp-->
<!--#include file=check_login.asp-->
<%
if request("bb")="〓添加〓" then
function deal(exp1)
exp2=replace(exp1,chr(10),"<br>")
deal=exp2
end function
dim content
content=deal(request("content"))
sql="insert into download(title,content,hit,sj,url)values('"
sql=sql&request("theme")&"','"&content&"',"&request("hit")&",'"&request("sj")&"','"&request("url")&"')"
conn.execute(sql)
%>
<script language="JavaScript">
<!--
var message;
message="设计素材添加成功,确定继续添加!"
window.alert(message);
parent.navigate("add_load.asp")
//-->
</script>
<%
conn.close
set conn=nothing
else
%>
<HTML><HEAD><TITLE>咖啡設計後台管理系統</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE type=text/css>BODY {
SCROLLBAR-FACE-COLOR: #ffffff; SCROLLBAR-HIGHLIGHT-COLOR: #0066cc; SCROLLBAR-SHADOW-COLOR: #0066cc; SCROLLBAR-3DLIGHT-COLOR: #eeeeee; SCROLLBAR-ARROW-COLOR: #0066cc; SCROLLBAR-TRACK-COLOR: #eeeeee; SCROLLBAR-DARKSHADOW-COLOR: #eeeeee
}
TD {
FONT-SIZE: 12px; FONT-STYLE: normal
}
P {
FONT-SIZE: 12px; FONT-STYLE: normal
}
LI {
FONT-SIZE: 12px; FONT-STYLE: normal
}
A:link {
FONT-SIZE: 12px; COLOR: #496eb5; LINE-HEIGHT: normal; FONT-STYLE: normal; TEXT-DECORATION: none
}
A:visited {
FONT-SIZE: 12px; COLOR: #0099cc; LINE-HEIGHT: normal; FONT-STYLE: normal; TEXT-DECORATION: none
}
A:active {
FONT-SIZE: 12px; COLOR: #000080; FONT-STYLE: normal
}
A:hover {
FONT-SIZE: 12px; COLOR: #0099cc; FONT-STYLE: normal; TEXT-DECORATION: underline}
.input{ font-family: "宋体"; font-size: 9pt; border: thin #FFFFFF groove; height: 18px; clip: rect( ); background-color: #DAEFFC}
</STYLE>
<SCRIPT language=JavaScript>
<!--
function high(which2) {
theobject=which2
highlighting=setInterval("highlightit(theobject)",100)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=40
}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=13
else if (window.highlighting)
clearInterval(highlighting)
}
//-->
</SCRIPT>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY
text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0"
marginwidth="0">
<TABLE cellSpacing=0 cellPadding=0 width=100% border=0>
<TBODY>
<TR bgColor=#0066cc>
<TD vAlign=top align=left width=98 height=61>
<TABLE height=60 cellSpacing=0 cellPadding=0 width=97 bgColor=#ffffff
border=0>
<TBODY>
<TR>
<TD height=59>
<DIV align=right><IMG height=60 src="images/jiao2.jpg"
width=90></DIV></TD></TR></TBODY></TABLE></TD>
<TD vAlign=top height=61>
<TABLE height=60 cellSpacing=0 cellPadding=0 width="100%" bgColor=#ffffff
border=0>
<TBODY>
<TR>
<TD vAlign=bottom>
<DIV align=center>
<!--#include file=menu.asp-->
</DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD vAlign=top align=left width=98 bgColor=#0066cc>
<TABLE cellSpacing=0 cellPadding=0 width=98 align=left
bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD bgColor=#0066cc>
<TABLE cellSpacing=0 cellPadding=0 width=97 align=left
bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV align=right>
<P><a href="admin.asp"><IMG height=191
src="images/e2.gif" width=96 border=0 alt="::咖啡設計首頁::"></a></P>
<TABLE cellSpacing=2 cellPadding=0 width=90 border=0>
<TBODY>
<TR>
<TD height="180"> </TD>
</TR>
</TBODY>
</TABLE>
</DIV>
</TD>
</TR>
</TBODY>
</TABLE>
<P align=right> </P>
<P align=right> </P></TD></TR></TBODY></TABLE></TD>
<TD vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top width=130><IMG height=60 src="images/jiao1.jpg"
width=90></TD>
<TD width=550>
<TABLE cellSpacing=9 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD>
<DIV align=center><IMG height=60 src="images/banner.gif"
width=468></DIV>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tbody>
<tr>
<td valign=center> <img src="images/doc.gif" width="9" height="9">
<font color="#0066cc">當前位置→素材下載→添加素材</font></td>
</tr>
<tr>
<td valign=center height="200" align="center">
<table width="400" border="0" cellspacing="4" cellpadding="0">
<form name="form1" method="post" action="add_load.asp">
<tr>
<td> 素材名稱:
<input type="text" name="theme" size="50" class="input">
</td>
</tr>
<tr>
<td>更新時間:
<input type="text" name="sj" size="26" class="input" value="<%=now%>">
下載次數:
<input type="text" name="hit" size="10" class="input" value="0">
</td>
</tr>
<tr>
<td>下載地址:
<input type="text" name="url" size="50" class="input">
</td>
</tr>
<tr>
<td>
<textarea name="content" cols="58" rows="14" style="font-family: '宋体'; font-size: 9pt; border: thin #FFFFFF groove; background-color: #DAEFFC"></textarea>
</td>
</tr>
<tr>
<td align="center">
<input type="submit" name="bb" value="〓添加〓" class="input">
<input type="reset" name="bb2" value="〓重寫〓" class="input">
</td>
</tr>
</form>
</table>
</td>
</tr>
</tbody>
</table>
</TD>
</TR>
<TR>
<TD vAlign=top align=left width=98 bgColor=#0066cc rowSpan=2>
<TABLE height=100 cellSpacing=0 cellPadding=0 width=97 bgColor=#ffffff
border=0>
<TBODY>
<TR>
<TD width="96" align="center" valign="bottom">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><img height=33 src="images/ie.gif" width=78></td>
</tr>
<tr>
<td align="center"><font color="#0066cc">建议使用IE5.0以上800*600dpi</font></td>
</tr>
</table>
</TD>
</TR></TBODY></TABLE></TD>
<TD vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top align=right>
<DIV align=right><IMG height=60 src="images/jiao2.jpg"
width=90></DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD vAlign=bottom>
<TABLE height=35 cellSpacing=0 cellPadding=0 width=100% border=0>
<TBODY>
<TR>
<TD vAlign=bottom align=left bgColor=#0066cc height=18>
<TABLE height=17 cellSpacing=0 cellPadding=0 width=100% align=left
bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD>
<DIV align=center><FONT color=#0066cc>版權所有: 咖啡設計 <IMG height=11
src="images/mail.gif" width=14>: <FONT
face="Verdana, Arial, Helvetica, sans-serif"><A
href="mailto:tony@yz888.com">tony@yz888.com</A></FONT></FONT></DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD bgColor=#0066cc height=17>
<DIV align=center><FONT face="Verdana, Arial, Helvetica, sans-serif"
color=#ffffff>Copyright © 2002 bestvision.org All Rights Reserved</FONT></DIV>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -