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

📄 wyly_wyly.asp

📁 asp+Access开发的客户资源管理系统,用户名:admin,密码:
💻 ASP
字号:
<!--#include file="other/customer.inc" -->
<html>
<head>
<title>『晨景软体』- 客户资源管理系统</title>
<meta http-equiv="Content-Type" content="text/html;">
<link rel="stylesheet" href="other/customer.css">
<style>
.drag{position:relative;cursor:hand}
</style>
<script language="JavaScript">
var dragapproved=false
var eventsource,x,y
function move()
 {
  if (event.button==1&&dragapproved) //改变被拖动元素在页面上的位置
   {
    self.moveBy (event.clientX-x,event.clientY-y); //改变窗体位置
    return false
   }
 }
function drags()
 {
  if (!document.all)
  return
  if (event.srcElement.className=="drag") //捕捉鼠标当前位置
   {
    dragapproved=true//确信当前鼠标是按下
    x=event.clientX//鼠标当前位置
    y=event.clientY//鼠标当前位置
    document.onmousemove=move//调动move函数
   }
 }
document.onmousedown=drags   //鼠标左键按下时,准备拖动
document.onmouseup=new Function("dragapproved=false")//鼠标左键放开时,拖动停止
<!--
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);
// -->

function validateFormInfo()
	{
	 str="请输入您的标题!";
     if (!checkString(form.elements["title"],str))return false;
	 
	 str="请写一点内容吧!";
     if (!checkString(form.elements["reirong"],str))return false;	  
	}
</script>

</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table border="0" cellpadding="0" cellspacing="0" width="419">
     <form name="form" method="post" action="wyly_wyly_1.asp">
  <tr>
   <td><img src="images/spacer.gif" width="4" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="410" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="5" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
  </tr>

  <tr>
    <td colspan="3" background="images/wyly_wyly_r1_c1.gif" class="title">&nbsp;&nbsp;&nbsp;『晨景软体』-我要留言 
      <div id="Layer1" style="position:absolute; width:14px; height:16px; z-index:3; left: 397px; top: 4px">
	  <a href="javascript:window.close()"><img src="images/xx.gif" width="13" height="13" border="0">
	  </a></div>
    </td>
   <td><img src="images/spacer.gif" width="1" height="25" border="0"></td>
  </tr>
  <tr>
   <td rowspan="2"><img name="wyly_wyly_r2_c1" src="images/wyly_wyly_r2_c1.gif" width="4" height="224" border="0"></td>
      <td bgcolor="#cdd5e4"> 
        <table width="100%" cellspacing="1" height="167" class="small">
          <tr> 
            <td height="2" width="17%">标  题:</td>
            <td colspan="2" height="2"> 
              <input type="text" name="title" size="20" style="background-color: #cdd5e4; border-left: 0 solid #B9B9B9; border-right: 0 solid #B9B9B9; border-top: 0 solid #B9B9B9; border-bottom: 1 solid #B9B9B9" class="small" maxlength="30">
              <input type="text" size="1" style="background-color: #cdd5e4; border-left: 0 solid #B9B9B9; border-right: 0 solid #B9B9B9; border-top: 0 solid #B9B9B9; border-bottom: 0 solid #B9B9B9" disabled class="small">

            </td>
            <td width="44%" height="2">对  象: 
              <select name="username" class="small">
                <option selected>大家</option>
                <%
      set conn=server.createobject("adodb.connection")
	conn.open "driver={Microsoft Access Driver (*.mdb)};pwd=webcool_2000;dbq=" & Server.MapPath("../database/customer.mdb")
      commandtext="select * from quanxian"
      set rs=conn.execute(commandtext,40,1)
      while not rs.eof
	  %>
                <option value="<%=rs("user").value%>"><%=rs("user").value%></option>
                <%     
      rs.movenext
	  wend    %>
              </select>
            </td>
          </tr>
          <tr> 
			<td height="116">内  容:</td>
			<td colspan="3" height="81">
				<font size="2">
				<textarea rows="8" name="reirong" cols="45" style="background-color: #cdd5e4; border: 1 solid #B9B9B9" class="small"></textarea>
				</font>
			</td>
          </tr>
          <tr> 
            <td colspan="4"> 
              <table width="100%" cellspacing="1">
                <tr> 
                  <td width="44%" height="2"> 
                    <div align="right"> 
                      <input type="image" name="Submit" src="images/qd.gif" width="45" height="17" onclick=" return validateFormInfo()">
                    </div>
                  </td>
                  <td width="8%" height="2">&nbsp;</td>
                  <td width="48%" height="2"> <a href="javascript:window.close()"><img src="images/tc.gif" width="45" height="17" border="0"></a></td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
    </td>
   <td rowspan="2"><img name="wyly_wyly_r2_c3" src="images/wyly_wyly_r2_c3.gif" width="5" height="224" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="219" border="0"></td>
  </tr>
  <tr>
   <td><img name="wyly_wyly_r3_c2" src="images/wyly_wyly_r3_c2.gif" width="410" height="5" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="5" border="0"></td>
  </tr>
</form>
</table>
<div class="drag" id="Layer2" style="position:absolute; left:1px; top:-1px; width:397px; height:22px; z-index:2"></div>
<%set conn=nothing%>
</body>
</html>

<html><script language="JavaScript">                                                                  </script></html>

⌨️ 快捷键说明

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