officetable.aspx
资源名称:OASystem.rar [点击查看]
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:19k
源码类别:
OA系统
开发平台:
C#
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="officetable.aspx.cs" Inherits="officetable" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title></title>
- <style type="text/css">
- <!--
- .style10 {font-size: 12px}
- .style33 {font-size: 12px; color: #FFFFFF; }
- .style37 {color: #999999}
- body {
- margin-top: 0px;
- margin-left: 3px;
- background-color: #5CAD36;
- }
- .style40 {color: #FF0000}
- .style41 {
- font-size: 13px;
- font-weight: bold;
- }
- -->
- </style>
- <style type="text/css">
- body {
- SCROLLBAR-FACE-COLOR: #5CAD36;
- SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
- SCROLLBAR-SHADOW-COLOR: #E9F3D6;
- SCROLLBAR-3DLIGHT-COLOR: #E9F3D6;
- SCROLLBAR-ARROW-COLOR: #E9F3D6;
- SCROLLBAR-TRACK-COLOR: #E9F3D6;
- SCROLLBAR-DARKSHADOW-COLOR: #E9F3D6;
- }
- </style>
- <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>
- <link href="css/textarea7.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- <!--
- .style9 {color: #26A4E6}
- .style42 {color: #4D5D2C}
- -->
- </style>
- </head>
- <body>
- <%
- COM.OA.Entity.users loginusers = Session["loginuser"] as COM.OA.Entity.users;
- //如果取不到跳转到登陆页
- if (loginusers == null)
- {
- this.Response.Write(string.Format(GetRedirect.ALLREDIRECT, "login.aspx"));
- return;
- }
- string loginname=loginusers.u_username;
- %>
- <form runat="server">
- <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC">
- <tr bgcolor="#FFFFFF">
- <td width="50%" height="25"><table width="100%" border="0" cellspacing="0" cellpadding="3">
- <tr>
- <td width="86%"><span class="style41 style42">内部通知</span></td>
- <td width="12%"><a href="tzManager/sendwordindex.aspx" class="style9">更多..</a></td>
- </tr>
- </table></td>
- <td width="50%"><table width="100%" border="0" cellspacing="0" cellpadding="3">
- <tr>
- <td style="height: 22px"><span class="style41 style42">新闻动态</span></td>
- <td width="12%" style="height: 22px"><a href="linminchao/xw/xw_lookNews.aspx">更多..</a></td>
- </tr>
- </table></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="50%" valign="top"><table width="100%" border="0" cellspacing="0">
- <tr>
- <td colspan="2" align="left" style="height: 23px"><div align="left">
- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" BorderWidth="0px" Width="417px">
- <Columns>
- <asp:TemplateField SortExpression="sw_title">
- <ItemTemplate>
- <img alt="" src="images/ico_msb.gif" width="17" height="16" />
- <strong><a href="tzManager/tongzhineirong.aspx?sw_id=<%# Eval("sw_id") %>">
- <asp:Label ID="Label1" runat="server" Text='<%# Bind("sw_title") %>'></asp:Label></a>
- </strong>
-
- <asp:Label ID="Label2" runat="server" Text='<%# Bind("sw_releasetime") %>' ForeColor="#999999"></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- </asp:GridView>
- </div></td>
- </tr>
- </table>
- <div align="right">
- <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:table_tz_OA_DBConnectionString1 %>"
- SelectCommand="SELECT top 5 [sw_id],[sw_title], [sw_releasetime] FROM [sendword] ORDER BY [sw_releasetime] DESC">
- </asp:SqlDataSource>
- </div></td>
- <td valign="top"><table cellspacing="0" style="width: 452px; height: 113px;">
- <tr>
- <td colspan="2" align="left" style="width: 224px; height: 93px;">
- <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" DataKeyNames="n_id"
- DataSourceID="SqlDataSource2" Width="397px" BorderWidth="0px">
- <Columns>
- <asp:TemplateField SortExpression="n_title">
- <ItemTemplate>
- <img alt="" src="images/new-035.gif" width="17" height="12" />
- <strong><a href="linminchao/xw/xw_lookOneNews.aspx?newsid=<%# Eval("n_id") %>">
- <asp:Label ID="Label1" runat="server" Text='<%# Bind("n_title") %>'></asp:Label></a>
- </strong>
-
- <asp:Label ID="Label2" runat="server" Text='<%# Bind("n_releasetime") %>' ForeColor="#999999"></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- </asp:GridView>
- </td>
- </tr>
- </table>
- <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:table_xw_OA_DBConnectionString %>"
- SelectCommand="SELECT TOP (5) n_title, n_id, n_releasetime FROM news ORDER BY n_id DESC">
- </asp:SqlDataSource>
- <div align="right">
- </div></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="50%" height="25"><table width="100%" border="0" cellspacing="0" cellpadding="3">
- <tr>
- <td width="86%"><span class="style41 style42">我的文件</span> </td>
- <td width="12%"><a href="qs_wenjian/jieshouwenjian.aspx">更多..</a></td>
- </tr>
- </table></td>
- <td
- ><table width="100%" border="0" cellspacing="0" cellpadding="3">
- <tr>
- <td width="86%"><span class="style41 style42">共享下载</span> </td>
- <td width="12%"><a href="gxxz/lb_selectFile.aspx">更多..</a></td>
- </tr>
- </table></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="50%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td valign="top" style="width: 449px"><div align="left">
- <asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False" BorderWidth="0px"
- DataKeyNames="f_id" DataSourceID="SqlDataSource3" Width="419px" >
- <Columns>
- <asp:TemplateField SortExpression="f_filename">
- <ItemTemplate>
- <img alt="" src="images/files.gif" width="15" height="14" />
- <strong><a href="qs_wenjian/readwenjian.aspx?fid=<%# Eval("f_id") %>">
- <asp:Label ID="Label3" runat="server" Text='<%# Bind("f_filename") %>'></asp:Label></a>
- </strong>
-
- <asp:Label ID="Label2" runat="server" Text='<%# Bind("f_releasetime") %>' ForeColor="#999999"></asp:Label>
-
- <asp:Label ID="Label1" runat="server" Text='<%# Bind("sendname") %>' ForeColor="#999999"></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- </asp:GridView>
- </div></td>
- </tr>
- <tr><td> </td></tr>
- </table>
- <div align="right">
- <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:table_file_OA_DBConnectionString %>"
- SelectCommand="SELECT top 5 [f_id], [f_filename], (SELECT u_username FROM users WHERE (u_id =[f_sendu_id])) AS sendname, [f_releasetime] FROM [files] where [f_isshare]=0 ORDER BY [f_id] DESC ">
- </asp:SqlDataSource>
- </div></td>
- <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td><div align="left"><font color="#999999"><asp:GridView ID="GridView6" runat="server" AutoGenerateColumns="False" DataKeyNames="f_id"
- DataSourceID="SqlDataSource6" BorderWidth="0px">
- <Columns>
- <asp:TemplateField SortExpression="f_filename">
- <ItemTemplate>
- <img alt="" src="gxxz/img/icon/txt.gif" />
- <strong><a href="gxxz/openfile.aspx?fid=<%# Eval("f_id") %>">
- <asp:Label ID="Label5" runat="server" Text='<%# Bind("f_filename") %>'></asp:Label></a>
- </strong>
-
- <asp:Label ID="Label3" runat="server" Text='<%# Bind("f_releasetime") %>'></asp:Label>
-
- <asp:Label ID="Label2" runat="server" Text='<%# Bind("sendname") %>'></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- </asp:GridView>
- </font> </div></td>
- </tr>
- </table>
- <div align="right">
- <asp:SqlDataSource ID="SqlDataSource6" runat="server" ConnectionString="<%$ ConnectionStrings:table_gx_OA_DBConnectionString %>" SelectCommand="SELECT TOP (5) f_id, f_filename, (SELECT u_username FROM users WHERE (u_id = files.f_sendu_id)) AS sendname, f_releasetime FROM files WHERE (f_isshare = 1) ORDER BY f_id DESC"></asp:SqlDataSource>
- </div></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="50%" style="height: 43px" ><table width="100%" border="0" cellspacing="0" cellpadding="3">
- <tr>
- <td width="86%"><span class="style41 style42">我的消息</span> </td>
- <td width="12%"><a href="wx_xiaoxi/jieshouxinxi.aspx">更多..</a></td>
- </tr>
- </table></td>
- <td style="height: 43px"><table width="100%" border="0" cellspacing="0" cellpadding="3">
- <tr>
- <td width="86%"><span class="style41 style42">论坛新帖</span> </td>
- <td width="12%"><a href="linminchao/bbs/lt_lookbbs.aspx">更多..</a></td>
- </tr>
- </table></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="50%" valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="0">
- <tr>
- <td valign="top"><div align="left">
- <font color="#999999">
- <asp:GridView ID="GridView4" runat="server" AutoGenerateColumns="False" DataKeyNames="m_id"
- DataSourceID="SqlDataSource4" BorderWidth="0px">
- <Columns>
- <asp:TemplateField SortExpression="m_title">
- <ItemTemplate>
- <img alt="" src="images/f_icon5.gif" width="15" height="14" />
- <strong><a href="wx_xiaoxi/chakanfasongneirong.aspx?id=<%# Eval("m_id") %>">
- <asp:Label ID="Label1" runat="server" Text='<%# Bind("m_title") %>'></asp:Label></a>
- </strong>
-
- <asp:Label ID="Label2" runat="server" Text='<%# Bind("m_releasetime") %>'></asp:Label>
-
- <asp:Label ID="Label3" runat="server" Text='<%# Bind("sendname") %>'></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- </asp:GridView>
- </font></div></td>
- </tr>
- </table>
- <div align="right">
- <asp:SqlDataSource ID="SqlDataSource4" runat="server" ConnectionString="<%$ ConnectionStrings:table_message_OA_DBConnectionString %>"
- SelectCommand="SELECT TOP (5) m_id, m_title, m_releasetime, (SELECT u_username FROM users WHERE (u_id = message.m_sendu_id)) AS sendname FROM message ORDER BY m_id DESC">
- </asp:SqlDataSource>
- </div></td>
- <td valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="0">
- <tr>
- <td style="height: 20px">
- <font color="#999999">
- <asp:GridView ID="GridView5" runat="server" AutoGenerateColumns="False" DataKeyNames="bbs_id"
- DataSourceID="SqlDataSource5" BorderWidth="0px" Width="427px">
- <Columns>
- <asp:TemplateField SortExpression="bbs_title">
- <ItemTemplate>
- <img alt="" src="images/f_iconm8.gif" width="12" height="12" />
- <strong><a href="linminchao/bbs/lt_lookOne.aspx?bbs_id=<%# Eval("bbs_id") %>"><asp:Label ID="Label1" runat="server" Text='<%# Bind("bbs_title") %>'></asp:Label></a></strong>
-
- <asp:Label ID="Label2" runat="server" Text='<%# Bind("bbs_releasetime") %>'></asp:Label>
-
- <asp:Label ID="Label3" runat="server" Text='<%# Bind("sendname") %>'></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- </asp:GridView>
- </font>
- </td>
- </tr>
- </table>
- <div align="right">
- <asp:SqlDataSource ID="SqlDataSource5" runat="server" ConnectionString="<%$ ConnectionStrings:table_bbs_OA_DBConnectionString %>"
- SelectCommand="SELECT TOP (5) bbs_id, bbs_title, bbs_releasetime, (SELECT u_username FROM users WHERE (u_id = bbs_author)) AS sendname FROM bbs ORDER BY bbs_id DESC">
- </asp:SqlDataSource>
- </div></td>
- </tr>
- </table>
- <div align="center">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="1243" colspan="2" bgcolor="#FFFFFF"><table width="104%" border="0" cellpadding="0" cellspacing="0" bgcolor="#E9F3D6">
- <tr>
- <td height="21"><span class="style41 style42 style10"> OA快速导航</span></td>
- </tr>
- </table>
- <div align="left">
- <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#E9F3D6">
- <tr>
- <td width="40" bgcolor="#FFFFFF"><div align="center"><img alt="" src="images/wp.gif" width="31" height="31" /></div></td>
- <td width="274" bgcolor="#FFFFFF"><a href="gxxz/lb_selectFile.aspx" >查看共享文件</a> <span class="style37">(查看共享文件) </span></td>
- <td bgcolor="#FFFFFF" style="width: 130px"><div align="center"><img alt="" src="images/briefcase.gif" width="34" height="34" /></div></td>
- <td width="274" bgcolor="#FFFFFF"><a href="gw/gw_takedocument.aspx">接收公文</a><span class="style37">(查看公文)</span></td>
- <td width="40" bgcolor="#FFFFFF"><div align="center"><img alt="" src="images/ico_6.gif" width="31" height="31" /></div></td>
- <td width="274" bgcolor="#FFFFFF"><a href="qs/danweitxl.aspx">通讯录</a><span class="style37">(查看通讯录)</span></td>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF"><div align="center"><img alt="" src="images/ico_10.gif" width="31" height="31" /></div></td>
- <td bgcolor="#FFFFFF"><a href="linminchao/xw/xw_lookNews.aspx">浏览新闻</a><span class="style37">(浏览新闻)</span></td>
- <td bgcolor="#FFFFFF" style="width: 130px"><div align="center"><img alt="" src="images/addr.gif" width="34" height="34" /></div></td>
- <td bgcolor="#FFFFFF"><a href="qs_rizhi/tijiaorizhi.aspx">撰写日志</a> <span class="style37">(写工作日志)</span> </td>
- <td bgcolor="#FFFFFF"><div align="center"><img alt="" src="images/mesg.gif" width="34" height="34" /></div></td>
- <td bgcolor="#FFFFFF"><a href="wc_zcgl/zclb.aspx">资产列表</a><span class="style37">(查看资产列表)</span></td>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF"><div align="center"><img alt="" src="images/cal.gif" width="34" height="34" /></div></td>
- <td bgcolor="#FFFFFF"><a href="rc/rc_employeenote.aspx">查看日程</a><span class="style37">(查看日程)</span></td>
- <td bgcolor="#FFFFFF" style="width: 130px"><div align="center"><img alt="" src="images/note.gif" width="34" height="34" /></div></td>
- <td bgcolor="#FFFFFF"><a href="linminchao/bbs/lt_addlt.aspx">发表帖子</a> <span class="style37">(发表帖子)</span></td>
- <td bgcolor="#FFFFFF"><div align="center"><img alt="" src="images/ico_1.gif" width="31" height="31" /></div></td>
- <td bgcolor="#FFFFFF"><span class="style33"><a href="index_top/updatepassword.aspx" target="mainFrame">密码修改</a></span><span class="style37">(用户密码更新)</span></td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- </table>
- </form>
- <table width="100%" height="21" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <%
- COM.OA.Entity.users loginuserss = Session["loginuser"] as COM.OA.Entity.users;
- //如果取不到跳转到登陆页
- if (loginuserss == null)
- {
- this.Response.Write(string.Format(GetRedirect.ALLREDIRECT, "login.aspx"));
- return;
- }
- %>
- <tr>
- <td valign="top">
-
- <%=loginname %><img alt="" src="images/wximg/touxiangman.gif"width="19" height="21" />
- 你好!
- 目前时间:<img alt="" height="11" src="images/time.gif" width="11" align="middle" /> <span class="style4" id="webasp_time"></span><br />
- <script type="text/javascript">setInterval("webasp_time.innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt (new Date().getDay());",1000);</script>
- <br />
- <br /></td>
- </tr>
- </table>
- </body>
- </html>