📄 gg_mod.asp
字号:
<!--#include file="islogin.asp"-->
<!--#include file="conn.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sql="select * from GG where id="+request("id")
rs.open sql,conn,1,1
picurl=rs("picurl")
title=rs("title")
content=rs("content")
hits=rs("hits")
up=rs("up")
id=rs("id")
rs.close
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/css.css" rel="stylesheet" type="text/css">
<title></title>
<style type="text/css">
<!--
@import url("../style/admin.css");
.STYLE1 {color: #FF0000}
.STYLE2 {font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: #FF0000;
}
-->
</style></head>
<body>
<br><form name="form1" method="post" action="GG_do.asp?action=mod&id=<%=id%>">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_1">
<tr>
<td height="25" class="table_1_top"><strong>文件修改-<%=fname%></strong></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" class="table_1_inc">
<tr>
<td width="68" align="right"><strong>标题:</strong></td>
<td><input name="title" type="text" id="title" value="<%=title%>" size="55"></td>
</tr>
<tr>
<td align="right"><strong>小图片:</strong></td>
<td><iframe name="ad" frameborder=0 width="454" height="23" scrolling=no src="UpFileForm.asp"></iframe></td>
</tr>
<tr>
<td align="right"> </td>
<td><label></label>
<input name="images" type="text" id="images" value="<%=picurl%>" size="40"></td>
</tr>
<tr>
<td align="right"> </td>
<td><img onclick=sel('[B]文字[/B]') src="../images/ubbpic/bold.gif" alt="加粗" width="23" height="22"> <img src="../images/ubbpic/underline.gif" alt="下划线" width="23" height="22" onclick=sel('[U]文字[/U]')> <img onclick=sel('[I]文字[/I]') src="../images/ubbpic/italic.gif" width="23" height="22"> <img src="../images/ubbpic/center.gif" alt="居中" width="23" height="22" onclick=sel('[center]文字[/center]')> <img onclick=sel('[fly]文字[/fly]') src="../images/ubbpic/fly.gif" width="23" height="22"> <img src="../images/ubbpic/glow.gif" alt="闪光文字" width="23" height="22" onclick=sel('[glow=255,red,2]文字[/glow]')> <img src="../images/ubbpic/image.gif" alt="图片" width="23" height="22" onclick=sel('[img]http://<%=request.ServerVariables("HTTP_HOST")%>/[/img]')> <img src="../images/ubbpic/mpeg.gif" alt="多媒体" width="23" height="22" onclick=sel('[MP=500,350]http://<%=request.ServerVariables("HTTP_HOST")%>/[/MP]')> <img src="../images/ubbpic/rm.gif" alt="多媒体" width="23" height="22" onclick=sel('[RM=500,350]http://<%=request.ServerVariables("HTTP_HOST")%>/[/RM]')> <img src="../images/ubbpic/swf.gif" alt="flash动画" width="23" height="22" onclick=sel('[flash=500,450]http://<%=request.ServerVariables("HTTP_HOST")%>/[/flash]')> <img src="../images/ubbpic/url.gif" alt="网址" width="23" height="22" onclick=sel('[URL]http://<%=request.ServerVariables("HTTP_HOST")%>/[/URL]')> <a onclick=sel('[code]代码[/code]') href="#">代码</a> <a href="ubb_help.html" target="_blank" onClick="window.open(this.href,'','left=100,top=200,width=700,height=380,scrollbars=yes,resizable=no');return false;">更多ubb帮助</a></td>
</tr>
<tr><script language="javascript">
function sel(theinput)
{
if(document.getElementById("content").value!="")
document.getElementById("content").value+="\n"+theinput
else
document.getElementById("content").value=theinput
}
</script>
<td align="right" valign="top"><strong>内容:</strong></td>
<td><textarea name="content" rows="15" id="content" style="width:100%"><%=content%></textarea></td>
</tr>
<tr>
<td align="right" valign="top"><strong>推荐:</strong></td>
<td> <label>
<select name="up" id="up">
<%for i=0 to 25%>
<option value="<%=i%>" <%if i=up then%> selected <%end if%>><%=i%></option>
<%next%>
</select>
</label>
数字越大排队名越前</td>
</tr>
<tr>
<td align="right" valign="top"><strong>点击:</strong></td>
<td><label>
<input name="hits" type="text" id="hits" value="<%=hits%>" size="10">
点击初始化</label></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" align="center" bgcolor="#FFFFFF">
<label>
<input type="submit" name="Submit" value="提交">
</label>
<input name="button" type="button" onClick="history.go(-1)" value="取消">
<label></label>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -