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

📄 lycx.asp

📁 自己的网站 看看吧 我以前的网站
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="bkconn.asp"-->
<html>
<style type="text/css">
<!--
table,td,body {font-size: 12px;line-height:16px;color:#000000;}
textarea,input,select {font-size: 12px;line-height:16px;color:#000000;}
A:link {text-decoration: none; color: 000000;}
A:visited {text-decoration: none; color: 000000;}
A:active {text-decoration: none; color: 000000;}
A:hover {text-decoration: underline; color: red}
-->
</style>
<head>
<title>留言检索关键词:<%=request("lycx")%></title>
</head>
<body background=back.gif>
<style TYPE="text/css">
#floater { position: absolute; left: 500;top: 18 ;width: 120;visibility:visible;z-index: 10;}
</style>
<div ID="floater">

<script Language="JavaScript">
<!--
function FrontPage_Form1_Validator(theForm)
{
  if (theForm.name.value == "")
  {
    alert("请写上您的大名!");
    theForm.name.focus();
    return (false);
  }

  var checkOK = "0123456789abcdefghijklmnopqrstuvwxyz@.";
  var checkStr = theForm.email.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
    if (ch != ".")
      allNum += ch;
  }
  if (!allValid)
  {
    alert("您的信箱地址中有非法字符!");
    theForm.email.focus();
    return (false);
  }
  

  if (theForm.email.value !== "")
  {
     var checkOK2 = theForm.email.value;
     var checkStr2 = "@.";
     var allValid2 = true;
     var decPoints2 = 0;
     var allNum2 = "";
     for (i = 0;  i < checkStr2.length;  i++)
     {
       ch2 = checkStr2.charAt(i);
       for (j = 0;  j < checkOK2.length;  j++)
         if (ch2 == checkOK2.charAt(j))
           break;
       if (j == checkOK2.length)
       {
         allValid2 = false;
         break;
       }
       if (ch2 != ".")
         allNum2 += ch2;
     }
     if (!allValid2)
     {
       alert("您的信箱地址中缺少有效字符!");
       theForm.email.focus();
       return (false);
     }
  }
  
  if (theForm.content.value == "")
  {
    alert("请写入您的留言!");
    theForm.content.focus();
    return (false);
  }
  return (true);
}
//-->
</script>

  <table border="0" width="267" cellpadding="4" bgcolor="#009900" cellspacing="1">
    <tr>
      <td width="100%"  background="images/guest.gif" height="90" valign="bottom" align="right">留言检索关键词:<font color=red size=3><b><%=request("lycx")%></b></font></td>
    </tr>
    <tr align="center">
      <td width="100%" bgcolor="#FFFFFF">
      <center>
      <form  method="post" enctype="multipart/form-data" action="savedata.asp" onsubmit="return FrontPage_Form1_Validator(this)" name="FrontPage_Form1">
       <input type="hidden" name="refile" value="default">
       您的大名:<input type="text" name="name" size="16">
       <select name="sex" size="1"><option value="靓仔">靓仔</option><option selected value="酷妹">酷妹</option></select><br>
       您的信箱:<input type="text" name="email" size="26"><br>
       您的主页:<input type="text" name="homepage" size="26" value="http://"><br>
       上传图片:<input type="file" name="img" size="15"><br><font color=#BBBBBB>(图像限*.jpg和*.gif格式)</font>
       <br><textarea rows="4" name="content" cols="34"></textarea><br>
       <input type="submit" value="好了" name="A1" style="width:32;background-color: rgb(255,255,255); border: 0">
       <input type="reset" value="重写" name="A2" style="width:32;background-color: rgb(255,255,255); border: 0">
       <input type="button" value="管理" name="A3" style="width:32;background-color: rgb(255,255,255); border: 0" OnClick="javascript:adminpwd();">
       <br>[<a href="index.asp">返回留言簿</a>]
      </form>
      </center>

<script>
<!--
function adminpwd() {
	if (document.layers) {
		if (document.layers['addadmin'].visibility == "show") {
			document.layers['addadmin'].visibility="hide";
		} else {
			document.layers['addadmin'].visibility="show";
		}
	}
	if (document.all) {
		if (document.all.addadmin.style.visibility =="visible") {
			document.all.addadmin.style.visibility="hidden";
		} else {
			document.all.addadmin.style.visibility="visible";
		}
	}
}
if (document.layers) {
document.write("<layer name='addadmin' left='0' top='120' visibility='hide' align='center'>");
}
if (document.all) {
document.write("<div ID='addadmin' style='text-align: center; position:absolute; overflow:none; left:10px; top:250px; visibility:hidden; z-index:10'>");
}
//-->
</script>

<script Language="JavaScript"><!--
function FrontPage_Form3_Validator(theForm)
{
  if (theForm.password.value == "")
  {
    alert("请输入操作密码!");
    theForm.password.focus();
    return (false);
  }
  return (true);
}
//--></script>

<form method="POST" action="admin.asp" onsubmit="return FrontPage_Form3_Validator(this)" name="FrontPage_Form3">
  <table width=180 cellspacing=1 bgcolor=#FFCB7D cellpadding=5>
    <tr>
      <td width=100% colspan=3 bgcolor="#FFF1DD"><p align=right>
      <input type="button" onclick="adminpwd();" style="width:15; height:14;background-image:  url(../bbs/images/gb.jpg)" id=button1 name=button1>
      <br>
        <center>管理员操作密码<br>
        <input type=password name='password' size=10>
        <input type=submit value='进入' id=submit1 name=submit1></center>
      </td>
    </tr>
  </table>
</form>

<script><!--
if (document.layers) {
document.write("</layer>");
}
if (document.all) {
document.write("</div>");
}
//-->
</script>

</td>
</tr>
</table>
<script language="JavaScript">
	self.onError=null;
	currentX = currentY = 0;  
	whichIt = null;   
   	lastScrollX = 0; lastScrollY = 0;
	NS = (document.layers) ? 1 : 0;
	IE = (document.all) ? 1: 0;
	<!-- STALKER CODE -->
	function heartBeat() {
		if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; }
	    if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
		if(diffY != lastScrollY) { percent = .1 * (diffY - lastScrollY);
        if(percent > 0) percent = Math.ceil(percent);
        else percent = Math.floor(percent);
        if(IE) document.all.floater.style.pixelTop += percent;
        if(NS) document.floater.top += percent; 
	    lastScrollY = lastScrollY + percent;
	    }
		if(diffX != lastScrollX) {
			percent = .1 * (diffX - lastScrollX);
			if(percent > 0) percent = Math.ceil(percent);
			else percent = Math.floor(percent);
			if(IE) document.all.floater.style.pixelLeft += percent;
			if(NS) document.floater.left += percent;
			lastScrollX = lastScrollX + percent;
		}	
	}	<!-- /STALKER CODE -->
	<!-- DRAG DROP CODE -->

	function checkFocus(x,y) { 
	        stalkerx = document.floater.pageX;
	        stalkery = document.floater.pageY;
	        stalkerwidth = document.floater.clip.width;
	        stalkerheight = document.floater.clip.height;
	        if( (x > stalkerx && x < (stalkerx+stalkerwidth)) && (y > stalkery && y < (stalkery+stalkerheight))) return true;
	        else return false;
	}

	function grabIt(e) {
		if(IE) {
			whichIt = event.srcElement;
			while (whichIt.id.indexOf("floater") == -1) {
				whichIt = whichIt.parentElement;
				if (whichIt == null) { return true; }
		    }
			whichIt.style.pixelLeft = whichIt.offsetLeft;
		    whichIt.style.pixelTop = whichIt.offsetTop;
			currentX = (event.clientX + document.body.scrollLeft);
	   		currentY = (event.clientY + document.body.scrollTop); 	

⌨️ 快捷键说明

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