📄 editgg.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="adminset.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>"
response.End
end if
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限!</b></font></div>"
response.End
end if
if qx15<>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限!</b></font></div>"
response.End
end if
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style1 {
color: #000000;
font-weight: bold;
}
-->
</style></head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/right_top2.gif">
<tr>
<td width="1%"> </td>
<td width="99%"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td width="30%" style="font-size:14px;color:#ffffff"> <span class="style1">添加公告信息</span></td>
<td width="70%" align="right"> </td>
</tr>
</table></td>
</tr>
</table><br>
<form method="POST" action="savegg.asp?action=save">
<%
id=request("id")
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from [shop_usergg] where id="&id&" ",conn,1,1
%>
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#9DB2D4">
<tr bgcolor="#F0F3F8">
<td><div align="center">选择类型:</div></td>
<td>
<input name="lx" type="radio" value="0" <%if trim(rs("lx"))=0 then%>checked<%end if%>>
所有会员
<input type="radio" name="lx" value="1" <%if trim(rs("lx"))=1 then%>checked<%end if%>>
普通会员
<input name="lx" type="radio" value="2" <%if trim(rs("lx"))=2 then%>checked<%end if%>>
VIP会员
<input type="radio" name="lx" value="3" <%if trim(rs("lx"))=3 then%>checked<%end if%>>
批发会员</td>
</tr>
<tr bgcolor="#F0F3F8">
<td><div align="center">公告主题</div></td>
<td><input name="zt" type="text" class="wenbenkuang" id="zt" value="<%=trim(rs("zt"))%>">
<input name=id type=hidden value="<%=trim(rs("id"))%>" ></td>
</tr>
<tr bgcolor="#F0F3F8">
<td width="16%" valign="top"><div align="center">内容说明 :</div></td>
<td width="84%" valign="middle">
<textarea name="nr" cols="80" rows="16" class="wenbenkuang" id="nr"><%=trim(rs("nr"))%></textarea>
</td>
</tr>
<tr bgcolor="#F0F3F8">
<td></td>
<td></td>
</tr>
<tr bgcolor="#F0F3F8">
<td width="16%" align="center"> </td>
<td width="84%">
<input type="submit" value="马上发布" name="B12">
<input type="reset" value="全部重填" name="B22" class="go-wenbenkuang">
</td>
</tr>
</table>
</form>
<br>
<!--#include file="copyright.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -