永发信息网

ASP.NET论坛项目

答案:2  悬赏:60  手机版
解决时间 2021-05-17 02:54
  • 提问者网友:伴风望海
  • 2021-05-16 16:00

现在在写一个BBS论坛,但是不知道怎么写,求一个简单的ASP.net(论坛项目),只要能实现基本的功能就行了不要太复杂,用来学习用的谢谢。

最佳答案
  • 五星知识达人网友:琴狂剑也妄
  • 2021-05-16 16:28

<%
if session("name")="" then
response.write"<script>alert('蛋疼!请先登录!');location.href='../webs/index.asp';</script>"
end if
%>
<!--#include file="conn.asp"-->
<SCRIPT>
<!--
function movstar(a,time){
    movx=setInterval("mov("+a+")",10)
    }
function movover(){
    clearInterval(movx)
    }
function mov(a){
    scrollx=new_date.document.body.scrollLeft
    scrolly=new_date.document.body.scrollTop
    scrolly=scrolly+a
    new_date.window.scroll(scrollx,scrolly)
    }
function o_down(theopacity){
opacity=theopacity
    while(opacity>60){
    opacity+=-10}
    }
function o_up(theopacity){
opacity=theopacity
    while(opacity<100){
    opacity+=10}
    }
function wback(){
    if(new_date.history.length==0){window.history.back()}
    else{new_date.history.back()}
    }


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</SCRIPT><head>
<title>《天下贰》——论坛</title>
<style type="text/css">
<!--
#Layer1 {
    position:relative;
 left:auto;
 top:auto;
 width:1000px;
 height:auto;
 z-index:1;
 background-color:#FEDEF9;
}
body{text-align:center;background-color:#FEDEF9;}
-->
</style>
</head>


<div id="Layer1">
<TABLE cellSpacing=0 cellPadding=0 width="233" border=0>
  <TBODY>
  <TR>
    <TD width="189">
    <TABLE cellSpacing=0 cellPadding=0 width=233 border=0>
    <TBODY>
    <TR>
    <TD
    style="PADDING-RIGHT: 61px; PADDING-LEFT: 0px; PADDING-BOTTOM: 5px; PADDING-TOP: 0px"
    vAlign=bottom align=right background=images/index_top_bg01.gif
    colSpan=3 height=46>&nbsp;</TD>
    </TR>
    <TR>
    <TD colSpan=3><IMG src="images/index_top_img01.gif"></TD></TR>
    <TR vAlign=top>
    <TD width=114 ><IMG
    src="images/index_left.jpg"></TD>
    <TD width=596 bgColor=#ffffff><table width="590"  border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><table width="100%"  border="0" cellpadding="1" cellspacing="1" bgcolor="#2F5E4E">
    <tr>
    <td bgcolor="#FFFFFF"><div align="center"><img src="images/luntan.jpg" width="590" height="117"></div></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><img src="images/Leave-word.jpg" width="590" height="50"></td>
    </tr>
    <tr>
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tbody>
    <tr>
    <td width="560" valign="top"><table width="560" height="450"  border="0" cellpadding="0" cellspacing="1">
    <tr>
    <td width="560" height="450"><iframe src="guest.asp" name="new_date" width="" marginwidth="0" height=""  marginheight="0" scrolling="No" frameborder="0" id="new_date" style="WIDTH:560px; HEIGHT: 450px" border="0" framespacing="0" noresize="noResize" vspale="0"> </iframe></td>
    <td width="7" height="380">&nbsp;</td>
    <td width="3" valign="top" background="images/line.gif"></td>
    <td width="12"><table width="8" height="450" border="0" align="center" cellpadding="0" cellspacing="0">
    <tbody>
    <tr>
    <td><a href="javascript:"><img onMouseUp="movover();movstar(-1,20)" onMouseDown="movover();movstar(-8,2)" onMouseOver="movstar(-1,20)" onMouseOut="movover()" height="11" alt=":::向上:::" src="images/up.gif" width="11" border="0" /></a></td>
    </tr>
    <tr>
    <td height="400" valign="top" background="images/line.gif"></td>
    </tr>
    <tr>
    <td><a href="javascript:"><img onMouseUp="movover();movstar(1,20)" onMouseDown="movover();movstar(8,2)" onMouseOver="movstar(1,20)" onMouseOut="movover()" height="11" alt=":::向下:::" src="images/down.gif" width="11" border="0" /></a></td>
    </tr>
    </tbody>
    </table></td>
    </tr>
    </table></td>
    </tr>
    </tbody>
    </table></td>
    </tr>
    </table></td>
    </tr>
    </table></td>
    </tr>
    </table>    
    <!-- ?? ?? ?? -->    </TD>
    <TD width=59><IMG src="images/index_right.jpg"></TD></TR>
    <TR>
    <TD
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 127px; PADDING-BOTTOM: 27px; PADDING-TOP: 0px"
    vAlign=bottom background=images/index_bottom_bg.gif colSpan=3
    height=73></TD></TR></TBODY></TABLE></TD>
    <TD vAlign=top width=233>&nbsp;</TD>
    <TD width=100% vAlign=top bgcolor="#CCCCCC"></TD>
  </TR>
  </TBODY></TABLE>
<br>
</OBJECT></div></BODY></HTML>

全部回答
  • 1楼网友:山河有幸埋战骨
  • 2021-05-16 18:07

楼上的居然给你asp 的源码。

自己去源码网下载一个嘛。多得很。

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯