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

📄 main.asp

📁 用来作工资的ASP源代码下载后解压后就行了
💻 ASP
字号:
<!--#include file="conn.asp" -->
<HTML>
<HEAD>

<%set rs=server.createobject("adodb.recordset")		         
sql="select * from config"
rs.open sql,conn,3,1

%>
<TITLE><%=rs("sysname")%></TITLE>
<%session("who")=rs("sysname")%>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;

}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css">

</HEAD>
<BODY bgcolor="#D4D4D4" background="images/bg.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  >
<div align="center"> 
  <table width="760" border="0" cellspacing="0" cellpadding="0">
    <tr valign="top">
      <td width="136" bgcolor="#006699"><table width="99%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
          <tr valign="top"> 
            <td height="80" colspan="2" bgcolor="#EBEBEB"> 
			<iframe  frameborder=0 scrolling="no"  height="80" width="146" src="logo.asp"></iframe></td>
          </tr>
          <tr> 
            <td width="22%" height="25" bgcolor="#EBEBEB" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"  onmouseout="this.style.backgroundColor = '#F5F5F5'"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td width="78%" bgcolor="#F5F5F5" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"  onmouseout="this.style.backgroundColor = '#F5F5F5'"><div align="center"><strong><a href="main.asp">回主界面</a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"  onmouseout="this.style.backgroundColor = '#F5F5F5'"><div align="center"><strong><a href="hesuan.asp" target="m">工资核算</a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="search.asp" target="m">工资查询</a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="day.asp" target="m">工作日录</a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="month.asp" target="m">工作月录</a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="men.asp" target="m">人员管理</a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="gongxu.asp" target="m">工序管理</a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="note.asp" target="m">财务笔记</a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="gongxub.asp" target="m">货号价格</a></strong></div></td>
          </tr>
          <tr> 
            <td height="24" bgcolor="#EBEBEB"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="config.asp" target="m">系统配置</a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="help.asp?id=help" target="m">使用帮助</a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="index.asp?exit=yes"><font color="#FF0000">退出系统</font></a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="help.asp?id=lianxi" target="m">联系我们</a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="help.asp?id=copy" target="m">版权声名</a></strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#EBEBEB"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><img src="images/gl.gif" width="16" height="16"></div></td>
            <td bgcolor="#F5F5F5"  onmouseout="this.style.backgroundColor = '#F5F5F5'" 
                      onmouseover="this.style.backgroundColor = '#FFE8D2'"><div align="center"><strong><a href="http://www.design-cl.com" target="_blank">友情连接</a></strong></div></td>
          </tr>
        </table></td>
      <td width="624"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="front">
          <tr bgcolor="#DFDFDB"> 
            <td width="22" height="21" align="center" bgcolor="#FFFFFF"><div align="left"><img src="images/animp.gif" width="32" height="32"></div></td>
            <td width="423" align="center" bgcolor="#FFFFFF"><div align="left"><strong><%=rs("sysname")%> 
                <font color="#000000">&nbsp;&nbsp;<font color="#999999">保定云景公司开发制作</font></font> 
                <a href="http://design-cl.com" target="_blank">http://design-cl.com</a></strong></div></td>
            <td width="179" align="center" id=Clock><font color="#FFFFFF"> 
              <script language=jscript>
function tick() {
  var hours, minutes, seconds, xfile;
  var intHours, intMinutes, intSeconds;
  var today;

  today = new Date();

  intHours = today.getHours();
  intMinutes = today.getMinutes();
  intSeconds = today.getSeconds();

  if (intHours == 0) {
     hours = "12:";
     xfile = "北京时间:午夜 ";
  } else if (intHours < 12) { 
     hours = intHours+":";
     xfile = "北京时间:上午 ";
  } else if (intHours == 12) {
     hours = "12:";
     xfile = "北京时间:正午 ";
  } else {
     intHours = intHours - 12
     hours = intHours + ":";
     xfile = "北京时间:下午 ";
  }

  if (intMinutes < 10) {
     minutes = "0"+intMinutes+":";
  } else {
     minutes = intMinutes+":";
  }

  if (intSeconds < 10) {
     seconds = "0"+intSeconds+" ";
  } else {
     seconds = intSeconds+" ";
  } 

  timeString = xfile+hours+minutes+seconds;

  Clock.innerHTML = timeString;

  window.setTimeout("tick();", 100);
}

window.onload = tick;	

						</script>
              </font></td>
          </tr>
      
        </table>
        <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height="447" valign="top"  bgcolor="#FFFFFF"><hr size="1" noshade> 
              <br> <iframe name="m"  frameborder=0 scrolling="auto"  width=100% height=430 src="<%=rs("first")%>"></iframe> 
            </td>
          </tr>
        </table></td>
    </tr>   
  </table>
</div>
</BODY>
</HTML>

⌨️ 快捷键说明

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