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

📄 ly_html.asp

📁 本代码是一个个人主页
💻 ASP
字号:
<%sub postbody%>
<SCRIPT LANGUAGE="JavaScript">
<!--
function CheckForm(obj){
	if(document.form1.ly_author.value=="")
	{
	alert("昵称不能为空");
	document.form1.ly_author.focus();
	return false;
	}
	if(document.form1.content.value=="")
	{
	alert("内容不能为空");
	document.form1.content.focus();
	return false;
	}
	return true;
}
//-->
</SCRIPT>
<div id=ly_body>
  <div id=ly-2>
    <div id=ly-2-1>发表留言</div>
	<div id=ly-2-2>
	  <form name="form1" method="post" action="getpost.asp?action=add" onsubmit="return CheckForm(this);">
	  <div id="postbody"><div id="kong"></div>昵称:<input type="text" name="ly_author" id="input1"></div>
	  <div id="postbody"><%showubb%></div>
	  <div id="ubb_5"><textarea name="content" id="centent1" rows="1" cols="1" style="height:200px;width:550px;"></textarea></div>
	  <div id="postbutton"><input type="submit" value="发表留言" onclick="return CheckForm(this);" class="button"></div>
	  </form>
	</div>
  </div>
</div>
<%end sub%>

<%sub editbody%>
<div id=ly_body>
  <div id=ly-2>
    <div id=ly-2-1>回复留言</div>
	<div id=ly-2-2>
	  <form name="form1" method="post" action="getpost.asp?action=edit&id=<%=rs("id")%>" onsubmit="return CheckForm(this);">
	  <div id="postbody"><div id="kong"></div>昵称:<input type="text" name="ly_author" id="input1" value="<%=rs("ly_author")%>"></div>
	  <div id="postbody"><%showubb%></div>
	  <div id="ubb_5"><textarea name="content" id="centent1" rows="1" cols="1" style="height:200px;width:550px;" onClick="javascript: storeCaret(this);"><%=rs("ly_content")%></textarea></div>
	  <div id="postbutton"><input type="submit" value="发表留言"><div id="kong"></div></div>
	  </form>
	</div>
  </div>
</div>
<%end sub%>

<%sub footer%>
<div id="footer">Powered by F-Blog v1.0 Copyright@2005,F-BLOG </div>
</body>
</html>
<%end sub%>

⌨️ 快捷键说明

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