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

📄 index.asp

📁 自己的网站 看看吧 我以前的网站
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="bkconn.asp"-->
<%
session.Abandon  '清除原会话数据

set rs=server.createobject("adodb.recordset")
sql="select * from admin"
rs.open sql,conn,1,3
ljfwrs=rs("ljfwrs")+1
rs("ljfwrs")=ljfwrs
rs.update

fwrs=right("00000"+cstr(ljfwrs),6)
fwrsstr=""
i=1
do while i<=6
   fwrsstr=fwrsstr&"<img src='images/"&mid(fwrs,i,1)&".gif'>"
   i=i+1
loop
%>

<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>夏飘雪真情留言</title>
<meta name="description" content="广东地区专业的域名注册、空间租用服务提供商,域名注册,网页设计,网站建设">
<meta name="keywords" content="网站创意,网站宣传,国际域名,网页设计,域名注册,设计公司,webdesign,网络公司,搜索引擎">
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0" charset = "gb2312">
<bgsound src="hlong.MID" loop="-1">
</head>
<body background=images/back.gif leftmargin="0" topmargin="0">
<div align="center">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr bgcolor="#006633"> 
      <td> 
        <table border=0 cellpadding=1 cellspacing=1 width="60%">
          <tbody> 
          <tr align=middle> 
            <td width="14%"><font color="#FFFF33">网站推荐</font><font color="#CCCCCC">:</font></td>
            <td width="19%"><font color="#FFFFFF">著名 
              搜索引擎</font></td>
            <td width="22%"><a href="http://xiapiaoxue.wwy.cn" target="_blank" title=凝聚中国力量、铸造互联辉煌;登录推荐极具实力的中文网站><font color="#FFFFFF">夏飘雪 
              网页设计</font></a></td>
            <td width="45%"><a href="http://xiapiaoxue.wwy.cn" 
                  target=_blank 
                  title="让中国的网页设计更具专业水准、更具生命力!"><font 
                  color=#ffffff>网页之吻</font></a></td>
          </tr>
          </tbody> 
        </table>
      </td>
    </tr>
    <tr> 
      <td> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0" height="73" background="images/topbg.gif">
          <tr> 
            <td width="22%" valign="middle" align="center"><font size="4"><b><img src="images/logo.gif" width="167" height="73"></b></font></td>
            <td align="center" width="78%">&nbsp;</td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="63%"> 
        <div align="center"><a href="http://www.hhlong.com" target="_blank"><img src="apple_icon.gif" width="14" height="12" border="0" alt="网页设计,域名注册,网站宣传,网站建设"></a><a href="http://www.hhlong.com"><img src="images/tmmm.gif" width="1" height="1" border="0" alt="域名注册,空间租用"></a>打开您的音箱,一支轻快的乐曲,<a href="http://www.hhlong.com">站长</a>给您轻松一下!<img src="apple_icon.gif" width="14" height="12"></div>
      </td>
      <td width="37%">&nbsp;</td>
    </tr>
  </table>
  <div align="left">
    <style TYPE="text/css">
#floater { position: absolute; left: 480;top: 20; width: 120;visibility:visible;z-index: 10;}
</style>
  </div>
</div>
<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="268" cellpadding="0" bgcolor="#009900" cellspacing="0">
    <tr>
      <td width="100%" bgcolor="#FFFFFF" height="90" valign="bottom" align="right"> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr bgcolor="#006633"> 
            <td height="20"><font color="#FFFFFF">网友真情留言、售前咨询、客户问题反馈……</font></td>
    </tr>
    <tr> 
      <td> 
              <table width="100%" border="0" cellspacing="0" cellpadding="0" height="73" background="images/topbg.gif">
                <tr> 
                  <td align="center" valign="middle"><font color="#FFFFFF">我们的前进动力</font><font color="#FFFFFF">,<br>
                    离不开您的建议!</font></td>
                </tr>
              </table>
      </td>
    </tr>
  </table>
   
    <tr bgcolor="#FFFFFF"> 
      <td width="100%" align="center" bgcolor="#006633"><%=fwrsstr%><a href="http://www.hhlong.com"><img src="images/tmmm.gif" width="1" height="1" border="0" alt="域名注册,网页设计"></a></td>
    </tr></table>
    <table border="0" width="268" cellspacing="1" bgcolor="#009900" cellspacing="1">
    <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 value="女士">女士</option>
          </select><br>
       您是来自:<input type="text" name="from" size="26"><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();">
       <input type="button" value="搜索" name="A4" style="width:32;background-color: rgb(255,255,255); border: 0" OnClick="javascript:dispadd();">
        </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=#009933 cellpadding=5>
          <tr bgcolor="#FFFFFF"> 
            <td width=100% colspan=3> 
              <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>

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

<script Language="JavaScript"><!--
function FrontPage_Form2_Validator(theForm)
{
  if (theForm.lycx.value == "")
  {
    alert("请输入您要搜索的关键词!");
    theForm.lycx.focus();
    return (false);
  }
  return (true);

⌨️ 快捷键说明

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