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

📄 gensystem.asp

📁 企业办公自动化管理系统 asp+sql server 2005
💻 ASP
字号:
<%
oabusyname=request.cookies("oabusyname")
oabusysuid=request.cookies("oabusysuid")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
if oabusysuid="" then response.redirect "default.asp"

mymonth=month(now())
if mymonth<10 then mymonth="0" & mymonth
myyear=year(now())
myday=day(now())
if myday<10 then myday="0" & myday
%>

<html>
<head>
<title>睫毛办公系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css/css.css" type="text/css">

<script language=javascript>
function window.onload()
{
  var isNS = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 4));
  var width = screen.width ;
  var height = screen.height ;
  //if (height <= 600 ) document.body.scroll = "yes"  ;
  //document.body.scroll = "no"  ;
  //不成功全屏显示
  //document.body.clientwidth=width;
  //document.body.clientheight=height;
}
</script>

</head>
<body>

<table height="100%" width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr height="22">
    <td bgcolor="#BFBFBF">
    <table width="100%"  height="100%" border="0" cellspacing="0" cellpadding="0">
      <tr height="100%">
        <td width="10"></td>
        <td align="left">
          <table height=100% border="0" cellspacing="0" cellpadding="0">
            <tr>
      <td width=30 align="center">
        <button onclick="javascript:toolBarLogOut()" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/LogOut.gif" border=0 title="退出" width="16" height="16"></button><!--退出-->
      </td>
      <td width=10 align="center">
        <img src="images/frame/VLine_1.gif" border=0 width="2" height="16">
      </td>
      <td width=30 align="center">
        <button onclick="javascript:toolBarBack()" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/Back.gif" border=0 title="后退" width="16" height="14"></button><!--后退-->
      </td>
      <td width=30 align="center">
        <button onclick="javascript:toolBarForward()" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/Pre.gif" border=0 title="前进" width="15" height="14"></button><!--前进-->
      </td>
      <td width=30 align="center">
        <button onclick="javascript:mainFrame.history.go(0)" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/Refur.gif" border=0 title="刷新" width="14" height="16"></button><!--刷新-->
      </td>
      <td width=30 align="center">
        <button onclick="javascript:toolBarPrint()" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/Print.gif" border=0 title="打印" width="15" height="16"></button><!--打印-->
      </td>
      </tr>
        </table>
        </td>
    <td align="right">
    <table  height=100% border="0" cellspacing="0" cellpadding="0">
      <tr>
      <td width=30 align="center">
        <button onclick="javascript:location.href='gensystem.asp'" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/Home.gif" border=0 title="我的首页" width="18" height="18"></button><!--首页-->
      </td>
      <td width=10 align="center">
        <img src="images/frame/VLine_1.gif" border=0 width="2" height="16">
      </td>
            <td width=30 align="center">
        <button onclick="javascript:mainFrame.location.href='displayworkrec.asp?suid=<%=oabusysuid%>&superior=&recdate=<%=myyear & "-" & mymonth & "-" & myday%>'" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/Plan.gif" border=0 title="今日计划" width="15" height="14"></button><!--今日计划-->
      </td>
      <td width=30 align="center">
        <button onclick="javascript:mainFrame.location.href='havercidate.asp'" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/Mail.gif" border=0 title="已收公文" width="16" height="13"></button><!--已收公文-->
      </td>
            <td width=30 align="center">
        <button onclick="javascript:mainFrame.location.href='senddate.asp'" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/Doc.gif" border=0 title="新建公文" width="16" height="15"></button><!--新建公文-->
      </td>
            <td width=30 align="center">
        <button onclick="javascript:mainFrame.location.href='liuchengsenddate.asp'" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/WorkFlow.gif" border=0 title="新建流程" width="16" height="16"></button><!--新建流程-->
      </td>
            
            <td width=30 align="center">
        <button onclick="javascript:mainFrame.location.href='banliqikuangw.asp'" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/CRM.gif" border=0 title="待办流程" width="15" height="15"></button><!--待办流程-->
      </td>
            <td width=30 align="center">
        <button onclick="javascript:mainFrame.location.href='booking.asp'" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/PRJ.gif" border=0 title="预约资源" width="15" height="14"></button><!--预约资源-->
      </td>
            
            <td width=30 align="center">
        <button onclick="javascript:mainFrame.location.href='a_userinf.asp'" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/Meeting.gif" border=0 title="个人资料" width="16" height="15"></button><!--个人资料-->
      </td>
      <td width=30 align="center">
        <button onclick="showVersion()" class="homePageToolBtnOut" onMouseDown='this.className="homePageToolBtnSelect"' onMouseOver='this.className="homePageToolBtnOver"' onMouseOut='this.className="homePageToolBtnOut"'>
        <img src="images/frame/Version.gif" border=0 title="版本" width="14" height="16"></button><!--版本-->
      </td>
      </tr>
    </table>
    </td>
    <td width="10"></td>
    </tr>
    </table>
    </td>
  </tr>
  <tr height="1">
    <td bgcolor="#5F5F5F">
    </td>
  </tr>
  <tr height="27">
    <td valign="top" nowrap>
    <table width="100%"  height="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td  background = "images/frame/TopMenuBg_2.gif" width="70%" height="27">
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="10"></td>
          <td width="90" align="center" nowrap>
            <IMG id=LeftHideShow  title="左栏隐藏" style="CURSOR: hand" onclick=mnToggleleft() src="images/frame/BP_Hide.gif" width="21" height="21" >
            <IMG id=RightHideShow  title="右栏隐藏" style="CURSOR: hand" onclick=mnToggleright() src="images/frame/RP_Hide.gif" width="21" height="21" >
          </td>
          <td width="20" align="left" nowrap><IMG src="images/frame/VLine_1.gif" width="2" height="16" ></td>
          <td width="100" align="left" nowrap><iframe BORDER=0 FRAMEBORDER=no NORESIZE=NORESIZE height=24 width=100 SCROLLING=no SRC=system/SysRemind.asp></iframe></td>
          <td width="20" align="left" nowrap><IMG src="images/frame/VLine_1.gif" width="2" height="16" ></td>
          <td align="center">欢迎<font color=red><%=oabusyname%></font>来到睫毛办公系统</td>
        </tr>
      </table>
      </td>
      <td  background = "images/frame/TopMenuBg_3.gif" width="30%" nowrap>
        <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="31" valign="top" nowrap><img src="images/frame/TopMenuImg_1.gif" border="0" width="31" height="27"></td>
          <td nowrap></td>
        </tr>
        </table>
      </td>
    </tr>
    </table>
  </td>
</tr>
<tr>
  <td>
    <table width="100%"  height="100%" border="0" cellspacing="0" cellpadding="0" id="mainTable" name="mainTable">
    <tr>
       <td width="102" valign="top" id="leftMenu" name="leftMenu" style="DISPLAY:''">
        <iframe id="leftFrame" name="leftFrame" BORDER=0 FRAMEBORDER=no NORESIZE=NORESIZE height="100%" width="100%" scrolling="NO" src="left.asp" target="mainFrame">
        </iframe>&nbsp;
      </td>
      <td>
        <iframe id="mainFrame" name="mainFrame" BORDER=0 FRAMEBORDER=no NORESIZE=NORESIZE height="100%" width="100%" SCROLLING=yes src="main.asp"></iframe>&nbsp;
      </td>
      <td width="200" valign=top bgcolor="CCCCCC" id="rightMenu" style="DISPLAY:''"><iframe
            frameborder=no height="100%" id=rightFrame name=rightFrame
            scrolling=no src="right.asp" width="200px"> </iframe>
      </td>
    </tr>
    </table>
  </td>
</tr>
</table>
</body>
<SCRIPT language=javascript>

function mnToggleleft(){
  if(leftMenu.style.display == ""){
    leftMenu.style.display = "none";
    LeftHideShow.src = "images/frame/BP_Show.gif";
    LeftHideShow.title = "左栏显示";//显示
  }
  else{
    leftMenu.style.display = "";
    LeftHideShow.src = "images/frame/BP_Hide.gif";
    LeftHideShow.title = "左栏隐藏";//隐藏
  }

}

function mnToggleright(){
  if(rightMenu.style.display == ""){
    rightMenu.style.display = "none";
    RightHideShow.src = "images/frame/RP_Show.gif";
    RightHideShow.title = "右栏显示";//显示
  }
  else{
    rightMenu.style.display = "";
    RightHideShow.src = "images/frame/RP_Hide.gif";
    RightHideShow.title = "右栏隐藏";//隐藏
  }

}

function newSelect()  //新建跳转
{
  var sendRedirect  = document.all("NewBuildSelect").value ;
  if (sendRedirect!="") mainFrame.location.href = sendRedirect ;
}

function favouriteSelect() //收藏夹跳转
{
  var sendRedirect  = document.all("FavouriteSelect").value ;
  if (sendRedirect!="") mainFrame.location.href = sendRedirect ;
}

function toolBarBack() //后退
{
  mainFrame.history.back();
}

function toolBarForward() //前进
{
  mainFrame.history.forward();
}

function toolBarFavourite() //收藏夹
{
  mainFrame.BacoAddFavorite.onclick();
}

function toolBarPrint() //打印
{
  window.print();
}

function isConfirm(LabelStr){
if(!confirm(LabelStr)){
   return false;
}
   return true;
}

function toolBarLogOut() //退出
{
  var LabelStr= "确定要退出系统吗?" ;
  if(isConfirm(LabelStr)) location.href="tuichu.asp";
}
</SCRIPT>
<script language="vbs">
sub showVersion()
  about=window.showModalDialog("version.htm",,"dialogHeight:376px;dialogwidth:466px;help:no")
end sub
</script>
</html>

⌨️ 快捷键说明

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