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

📄 myworld1.asp

📁 WEB技术的课程设计,用DREAMWEAVER开发,IIS+ACCESS数据库后台
💻 ASP
📖 第 1 页 / 共 2 页
字号:
  }
}

// add the Form variables to the MM_keepForm string
for (var items=new Enumerator(Request.Form); !items.atEnd(); items.moveNext()) {
  var nextItem = "&" + items.item().toLowerCase() + "=";
  if (MM_removeList.indexOf(nextItem) == -1) {
    MM_keepForm += "&" + items.item() + "=" + Server.URLencode(Request.Form(items.item()));
  }
}

// create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL + MM_keepForm;
if (MM_keepBoth.length > 0) MM_keepBoth = MM_keepBoth.substring(1);
if (MM_keepURL.length > 0)  MM_keepURL = MM_keepURL.substring(1);
if (MM_keepForm.length > 0) MM_keepForm = MM_keepForm.substring(1);
%>
<%
// *** Move To Record: set the strings for the first, last, next, and previous links

var MM_moveFirst="",MM_moveLast="",MM_moveNext="",MM_movePrev="";
var MM_keepMove = MM_keepBoth;  // keep both Form and URL parameters for moves
var MM_moveParam = "index";

// if the page has a repeated region, remove 'offset' from the maintained parameters
if (MM_size > 1) {
  MM_moveParam = "offset";
  if (MM_keepMove.length > 0) {
    params = MM_keepMove.split("&");
    MM_keepMove = "";
    for (var i=0; i < params.length; i++) {
      var nextItem = params[i].substring(0,params[i].indexOf("="));
      if (nextItem.toLowerCase() != MM_moveParam) {
        MM_keepMove += "&" + params[i];
      }
    }
    if (MM_keepMove.length > 0) MM_keepMove = MM_keepMove.substring(1);
  }
}

// set the strings for the move to links
if (MM_keepMove.length > 0) MM_keepMove = Server.HTMLEncode(MM_keepMove) + "&";
var urlStr = Request.ServerVariables("URL") + "?" + MM_keepMove + MM_moveParam + "=";
MM_moveFirst = urlStr + "0";
MM_moveLast  = urlStr + "-1";
MM_moveNext  = urlStr + (MM_offset + MM_size);
MM_movePrev  = urlStr + Math.max(MM_offset - MM_size,0);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!-- TemplateBeginEditable name="doctitle" -->
<title>管理留言页面</title>
<!-- TemplateEndEditable --><script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
body {
	background-image: url();
}
.style2 {font-size: 12px}
.style3 {font-size: 14px}
.style4 {color: #6BBC14}
.style5 {color: #8BCC4E}
-->
</style>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>

<body>
<table width="919" height="860" align="left" cellspacing="0" bordercolor="#6BBC14">
  <tr>
    <th width="242" rowspan="3" align="center" valign="top" bgcolor="#FFFFFF" scope="row"><img src="board-left.gif" width="242" height="825">
    <!-- #BeginDate format:Ch2 -->
    </div>
<div id="Layer2" style="position:absolute; width:200px; height:115px; z-index:2; left: 35px; top: 193px;"><img src="boardl1.gif" width="174" height="244">      </div> </th>
    <td width="618" height="168" align="left" valign="top"><div align=<MM:BeginLock type="mmdate" format="Ch2" orig="<!-- #BeginDate format:Ch2 -->2006年1月3日 <!-- #EndDate -->"><img src="board.gif" width="618" height="168"> </div></td>
    <td width="51" height="168" align="left" valign="top"><div align="right"><img src="board-right.gif" width="51" height="168" hspace="0" vspace="0" align="baseline">      </div>      <div align="center"></div></td>
  </tr>
  <tr>
    <td width="618" height="33" align="right"><div align="left">
        <span class="style5 style2">我是一个平凡的人 在自己的世界行走 我就是我 别人怎么说与我何干呢</span>
        <div id="Layer4" style="position:absolute; width:170px; height:104px; z-index:4; left: 56px; top: 78px;">
          <table width="200" border="0">
            <tr>
              <td colspan="2"><div align="left"><span class="style4">欢迎光临本站点</span></div></td>
            </tr>
            <tr>
              <td width="14">&nbsp;</td>
              <td width="140"><div align="left"><span class="style4">今天是</span></div></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td><div align="left">
                <!-- #BeginDate format:Ch2 -->2006年1月3日 <!-- #EndDate -->
              </div></td>
            </tr>
          </table>
  </div>
        <div id="Layer5" style="position:absolute; width:147px; height:221px; z-index:5; left: 60px; top: 204px;">
          <table width="200" height="109" border="0">
            <tr>
              <td height="17"><div align="left"><a href="index.asp"><img src="boardl3.gif" width="141" height="51" border="0"></a></div></td>
            </tr>
            <tr>
              <td height="17"><div align="left"><a href="reg.asp"><img src="boardl5.gif" width="141" height="51" border="0"></a></div></td>
            </tr>
            <tr>
              <td height="17"><div align="left"><img src="boardl6.gif" width="141" height="51"></div></td>
            </tr>
            <tr>
              <td height="46"><div align="left"><img src="boardl4.gif" width="141" height="51"></div></td>
            </tr>
          </table>
        </div>
        <div align="center"></div>
    </div>
    </td>
    <td width="51" rowspan="2" align="left" valign="top"><img src="board-right2.gif" width="51" height="622"></td>
  </tr>
  <tr>
    <td height="649" align="right" valign="top"><div align="left">
      <div id="Layer1" style="position:absolute; width:181px; height:178px; z-index:6; left: 41px; top: 581px;">
        <div align="left" class="style3">
          <p>合作站点</p>
          <p><a href="http://www.sina.com.cn/"><img src="sina_logo2.gif" width="128" height="41" border="0"></a></p>
          <p><a href="http://www.sohu.com/"><img src="sohu.gif" width="160" height="61" border="0"></a></p>
        </div>
        </div>
      <div id="Layer6" style="position:absolute; width:466px; height:608px; <!-- #BeginDate format:Ch2 -->2006年1月3日 <!-- #EndDate --><!-- #BeginDate format:Ch2 -->2006年1月3日 <!-- #EndDate --> 234px;background-color: #B4E372; layer-background-color: #B4E372; border: 1px none #000000;">
        <div id="Layer7" style="position:absolute; width:139px; height:116px; z-index:1; left: 462px; top: -3px;">
          <table width="200">
            <tr>
              <td><img src="cc2.jpg" width="128" height="34" border="0"></td>
            </tr>
            <tr>
              <td><a href="myworld3.asp"><img src="cc1.jpg" width="128" height="34" border="0"></a></td>
            </tr>
            <tr>
              <td><img src="cc4.jpg" width="128" height="34"></td>
            </tr>
            <tr>
              <td><img src="cc3.jpg" width="128" height="34"></td>
            </tr>
          </table>
        </div>
        
        <% while ((Repeat1__numRows-- != 0) && (!Recordset1.EOF)) { %>
        <form name="form1" method="POST" action="<%=MM_editAction%>">
            <table width="461" border="1" bordercolor="#6BBC14">
              <tr>
                <td width="49">主题:</td>
                <td width="396"><%=(Recordset1.Fields.Item("title").Value)%></td>
              </tr>
              <tr>
                <td>留言: </td>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><%=(Recordset1.Fields.Item("message").Value)%></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input type="submit" name="Submit" value="删除"></td>
              </tr>
            </table>
            <input type="hidden" name="MM_delete" value="form1">
            <input type="hidden" name="MM_recordId" value="<%= Recordset1.Fields.Item("message").Value %>">
          </form>
        <%
  Repeat1__index++;
  Recordset1.MoveNext();
}
%>
<br>
<table width="154" border="1" bordercolor="#63B42A">
          <tr>
            <td width="67"><A HREF="<%=MM_movePrev%>">上一页</A> </td>
            <td width="71"><A HREF="<%=MM_moveNext%>">下一页</A></td>
          </tr>
        </table>
                <p>&nbsp;</p>
        </div>
      </div></td>
  </tr>
</table>

</body>
</html>
<%
Recordset1.Close();
%>

⌨️ 快捷键说明

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