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

📄 restory.asp

📁 BBS源代码网上到处都是, 实现语言也不尽相同, 本人上传的BBSExample是自己做的, 符合课程设计的要求
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#Include file="odbc_conn.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<Script Language="JavaScript">
  <!--
    function check()
	{	
	  if (document.form1.name.value=="")
	    {
		  alert("姓名不能为空!");
		  return false;
	    }
	  if (document.form1.title.value=="")
	    {
		  alert("主题不能为空!");
		  return false;
	    }

	  return true;
	}
	// -->
</Script>
<style type="text/css">
<!--
.style1 {
	font-size: 36px;
	font-weight: bold;
	color: #0033FF;
}
.style2 {color: #0000FF}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<body background="images/back.jpg">
<table border="1" width="75%" cellspacing="0" cellpadding="0" height="114"  align="center">
<tr><td>
<table width="750" border="0" height="20" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="images/top.gif" width="750" height="20"></td>
  </tr>
</table>
<table width="750" border="0" align="center" bgcolor="#e8f4ff" cellspacing="0" cellpadding="0" height="70">
  <tr> 
    <td width="166" rowspan="3">
      <div align="center"><img src="images/logo.gif" width="150" height="70"></div>
    </td>
    <td width="487" rowspan="3">
      <div align="center"><font size="7" face="楷体_GB2312" color="#0066FF"><b>心情故事</b></font></div>
    </td>
    <td width="97"><img src="images/zhuye.gif" width="18" height="18"> 设为首页</td>
  </tr>
  <tr>
    <td width="97"><img src="images/shoucang.gif" width="18" height="18"> 加入收藏</td>
  </tr>
  <tr>
    <td width="97"><img src="images/lianxi.gif" width="16" height="16"> 联系我们</td>
  </tr>
</table>
<table width="750" border="0" cellspacing="0" cellpadding="0" align="center" height="30">
  <tr> 
    <td rowspan="2" width="130"><img src="images/c1.gif" width="130" height="30"></td>
    <td height="12" valign="top"><img src="images/c2.gif" width="490" height="12"></td>
    <td rowspan="2" width="130"><img src="images/c3.gif" width="130" height="30"></td>
  </tr>
  <tr> 
    <td background="images/c4.gif" height="18"><marquee height="20" direction="left" width="100%">
<font>欢迎光临我的论坛,请指教~!</font>
</marquee></td>
  </tr>
</table>
</td></tr>
<tr><td><hr></td></tr>
<tr>
<td>

<table border="1" width="100%">
<form method="post" action="addstory.asp" name="form1" onSubmit="javascript:return check();">
 <tr><td width="100%"><font color="#000000">  作者:</font></td><td><%=session("name")%></td></tr>
 <tr><td><font color="#000000">  发表主题:</font></td><td><input type="text" name="title" size="60" height="20"><font color="#000000">**</font></td></tr>
 <tr><td><font color="#000000">  发表内容:</font></td><td><textarea name="body" rows="10" cols="70" wrap="soft"></textarea></td></tr> 
 <tr>
 <td>选择你想要的表情:</td>
 <td>
 <input type="radio" name="face" value="images/face1.gif"><img src="images/face1.gif">
 <input type="radio" name="face" value="images/face21.gif"><img src="images/face21.gif">
 <input type="radio" name="face" value="images/face49.gif"><img src="images/face49.gif">
 <input type="radio" name="face" value="images/face54.gif"><img src="images/face54.gif">
 </td>
 </tr>
 <tr>
   <td colspan="2" align="center"><input name="submit" type="submit" value=" 发 表 " size="20"></td>
 </tr>
</form>
</table>
</td>
</tr>
</table>
<p>
</body>
</html>

⌨️ 快捷键说明

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