⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 newsadd.asp

📁 软件介绍:国内最完善功能最齐全的多级会员程序.主要功能涵盖所有多级会员管理所需,超强大会员自定义编辑功能
💻 ASP
字号:
<!--#include file="login.asp"-->
<!--#include file="conn1.asp"-->
<%
mm=request("mm")
if mm=1 then
Set rsm=Server.CreateObject("ADODB.recordset")
mysq1="select * from  最新动态 where user='"&user&"'"
rsm.open mysq1,cn1,3,2
if rsm.eof then
rsm.addnew
rsm("user")=user
rsm("最新动态")=request("最新动态")
rsm("da")=now()
rsm.update
else
mysq="update 最新动态 set 最新动态='"&request("最新动态")&"',da='"&now()&"' where user='"&user&"' "
cn1.execute mysq
end if
rsm.close
set rsm=nothing
mm=0
%>
<script language="vbscript">
msgbox("修改成功!")
</script>
<%
end if
Set rs2=Server.CreateObject("ADODB.recordset")
msq2="select * from 最新动态 where user='"&user&"'"
set rs2=cn1.execute(msq2)
if rs2.eof then
rs2.close
set rs2=nothing
Set rs2=Server.CreateObject("ADODB.recordset")
msq2="select * from 最新动态 where user='admin'"
set rs2=cn1.execute(msq2)
end if

%>

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="File-List" href="setad.files/filelist.xml">
<title>
网站网电管理中心!</title>
<link href="mycss.css" rel="stylesheet" type="text/css">

<!--[if !mso]>
<style>
v\:*         { behavior: url(#default#VML) }
o\:*         { behavior: url(#default#VML) }
.shape       { behavior: url(#default#VML) }
</style>
<![endif]--><!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->

</head>
 
</head>
<body leftMargin=0 topMargin=1 background="../images/bg.gif">
<div align="center">
  <center>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="170" height="80">
    <img src="../images1/logo.gif" width="168" height="80"></td>
    <td width="10"> </td>
    <td> 
      <table border=0 cellpadding=0 cellspacing=0 width="100%">
        <tr> 
          <td height=70 width="478" align="center"><!--[if gte vml 1]><v:roundrect id="_x0000_s1025"
 alt="" style='position:absolute;left:219.75pt;top:.75pt;width:365.25pt;
 height:56.25pt;z-index:3' arcsize="10923f" strokecolor="silver">
 <v:fill color2="fill darken(118)" rotate="t" method="linear sigma" focus="50%"
  type="gradient"/>
 <v:shadow on="t" opacity=".5" offset="-6pt,6pt"/>
 <v:textbox>
<table cellspacing="0" cellpadding="0" width="100%" height="100%">
	<tr>
		<td align="center">
		<span style="font-size: 9pt; background-color:#FFFFFF">
		<img src="../images1/banner.gif" width="468" height="50"></span></td>
	</tr>
</table>
 </v:textbox>
</v:roundrect><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:3;left:189px;top:0px;width:500px;height:88px'><img
width=500 height=88 src="reset.files/image001.gif" v:shapes="_x0000_s1025"></span><![endif]></td>
          <td height=70 width="92" align="center"> 
                      <a href="index.asp?id=<%=id%>" style="text-decoration: none">
                      <font color="#000000">
                      <img border="0" src="../images1/b7.jpg" width="100" height="80"></font></a></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<p><!--[if gte vml 1]><v:roundrect
 id="_x0000_s1027" alt="" style='position:absolute;left:88.22pt;top:60.75pt;
 width:572pt;height:67.5pt;z-index:2' arcsize="10923f" strokecolor="silver">
 <v:fill color2="fill darken(118)" rotate="t" method="linear sigma" focus="-50%"
  type="gradient"/>
 <v:shadow opacity=".5" offset="-6pt,-6pt"/>
 <v:textbox>
<table cellspacing="0" cellpadding="0" width="760" height="14" bgcolor="#F6F6F6" border="3" style="border-collapse: collapse" bordercolor="#111111">
	<tr>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton5" type="button" value="管理首页" name="管理首页" onclick="window.location='manage.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <span style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton4" type="button" value="安全退出" name="安全退出" onclick="window.location='exit.asp?id=<%=user%>'" style="color: #FFFFFF; border: 2px solid #FFFF00; background-color: #FF0000"></span></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton12" type="button" value="横幅广告" name="定制站标" onclick="window.location='setad.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton6" type="button" value="新手必读" name="新手必读" onclick="window.location='help.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="会员专区" name="会员专区" onclick="window.location='money_bbs.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="最新动态" name="最新动态" onclick="window.location='newsadd.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="酷站推荐" name="酷站推荐" onclick="window.location='chonglang8.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="在线游戏" name="在线游戏" onclick="window.location='chonglang.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="在线电影" name="在线电影" onclick="window.location='chonglang1.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
  </tr>
  <tr>
    <td width="80" height="1" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton8" type="button" value="站长资料" name="站长资料" onclick="window.location='mastermodi.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="1" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton9" type="button" value="站长信息" name="站长信息" onclick="window.location='masterinfo.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="1" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton10" type="button" value="临时客户" name="临时会员" onclick="window.location='usermanage.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="1" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton11" type="button" value="正式客户" name="正式会员" onclick="window.location='r_usermanage.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="1" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton13" type="button" value="友情连接" name="图标链接" onclick="window.location='setlogo.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="免费资源" name="免费资源" onclick="window.location='chonglang6.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="资讯中心" name="资讯中心" onclick="window.location='chonglang4.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="在线音乐" name="在线音乐" onclick="window.location='chonglang2.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="酷软下载" name="酷软下载" onclick="window.location='chonglang3.asp?id=<%=user%>'" style="color: #FFFFFF; border: 2px solid #FFFF00; background-color: #FF0000"></font></td>
	</tr>
</table>
 </v:textbox>
</v:roundrect><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:2;left:14px;top:92px;width:560px;height:76px'><img
width=760 height=96 src="reset.files/image002.gif" v:shapes="_x0000_s1027"></span><![endif]></p>
<table border="0" cellpadding="0" cellspacing="0" width="760" height="300">
    <tr>
      <td width="630" background="../images1/mybk3.jpg" valign="center" align="center" height="427">
          <table border="0" cellpadding="4" cellspacing="4" width="745">
            <tr> 
              <td width="729"> 
                <hr size="1" color="#0000FF">
              </td>
            </tr>
<tr>
<td width="630" valign="top" align="center" height="300">
<form method="post" action="">
<input type="hidden" name="myflag" value="myflag">
<table border="0" cellpadding="0" width="630" cellspacing="0">
  <tr>
    <td width="200"> </td>
    <td width="200"></td>
  </tr>
  <tr>
    <td width="200"></td>
    <td align="center" width="200"><font color="#0000FF" size="3" face="黑体">最新动态</font></td>
    <td width="200"><input name="mm" type="hidden" id="mm" value="1"></td>
  </tr>
  <tr>
    <td colspan="3" width="760">
      <hr size="1" color="#0000FF">
    </td>
  </tr>
  <tr>
    <td width="200" align="center"><font size="2" face="宋体">最新动态:</font></td>
    <td width="400" colspan="2"><textarea id="mytextarea" rows="8" name="最新动态" cols="53"><%=rs2("最新动态")%></textarea></td>
  </tr>
  <tr>
    <td width="730" colspan="3">
      <hr size="1" color="#0000FF">
    </td>
  </tr>
  <tr>
    <td width="630" colspan="3" align="right"><input id='mybutton2' type='submit' value='提交新闻' name='mysubmit1'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>

  <tr>
                <td width="630" colspan="3">
                <p align="center">&nbsp;&nbsp;&nbsp;&nbsp;尽量不要自己设置网页内容,初始状态推荐使用!</td>
  </tr>


</table>
</form>
</center>
</div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -