<%@ Page Title="" Language="C#" MasterPageFile="~/oa/OA.Master" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="oa.oa.Home" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">


     <style>
        .homeheader {
         border-bottom:solid 2px #3498db;  margin-bottom:5px;  margin-right:15px;
        }
        .homenews td a { font-size:13px;
        
        }

        .announcetitle {
        margin:0px; padding:0px; width:390px; overflow:hidden; height:20px;
        }
        .doctitiel {
       margin:0px; padding:0px; width:400px; overflow:hidden; height:20px; 
        }

         .fa {
height:50px;
width:50px;
font-size:30px;
line-height:50px;
border-radius:50px;
border:3px solid #428bca;
color: #428bca; 
text-align:center;
vertical-align:middle;
}
  
i.fa:hover{
border: 3px solid #8dcbc1;
color: #8dcbc1; 
  }

        ul.homeiconlink {
         width:220px;
         float:left;
        }
        .homeiconlink li {
         list-style-type:none;
          float:left;
           height:100px;
            text-align:center;
          width:90px;
           font-size:12px;
        }


        
.linkbox {
width: 934px;
height: 40px;
border: #dadada 1px solid;
padding: 10px 0px 0px 44px;
margin: auto;
margin-bottom: 10px;
background: #FFF;
}

.linkbox ul li {
width: 210px;
height: 21px;
padding-right: 22px;
float: left;
overflow: hidden;
}


.sel{
    width:198px; 
    height:19px; 
    border-top:1px #abadb3 solid;
    border-bottom:1px #e3e9ef solid;
    border-left:1px #e2e3ea solid;
    border-right:1px #e2e3ea solid;
 }

        #cal_calendar td span {
         cursor:pointer;
        }
    </style>

















    
 <div class=" alert alert-danger" style="font-size:12px;  ">
    
 您好 <asp:Literal runat="server" ID="lt_username"></asp:Literal> <asp:Label runat="server" ID="lbl_dt"></asp:Label>。 &nbsp;&nbsp;&nbsp;&nbsp;今日天气：阴转多云 18℃~20℃ &nbsp;&nbsp;  明日天气：晴 22℃~20℃
      
 </div>


<table cellpadding="2" cellspacing="2px">
    <tr valign="top">
        <td style="width:390px">
<div class="homeheader">图片速递</div>
     <iframe src="../news/focus.html?r=4/10/2016 9:34:58 PM" width="390px" height="280px" scrolling="no" frameborder="0"></iframe>
        </td>

      <td style="width:390px;">
<div class="homeheader">新闻速递</div>



               <asp:Repeater runat="server" ID="rpt_news">
                                        <HeaderTemplate>
                                            <table class="table table-hover homenews"> 
                                        </HeaderTemplate>

                                        <ItemTemplate>
                                            <tr>
                                                <td>
	<a   href="../news/News_detail.aspx?itemid=<%#Eval("itemid") %>&catid=<%#Eval("catid") %>"    target="_blank"   >
        <%#Eval("title")%></a>
                                                </td>
                                            </tr>
                                           

                                        </ItemTemplate>
                                        <FooterTemplate>
                                            </table>
                                        </FooterTemplate>
                                    </asp:Repeater>


        </td>

        <td style="width:220px"  rowspan="3">
<div class="homeheader">我的日志</div>

            <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>

            <asp:UpdatePanel ID="UpdatePanel1" runat="server">

                <ContentTemplate>


        

<div class="btn-group">
 
     <asp:LinkButton runat="server"  ID="lb_prev" class="btn btn-default" OnClick="lb_prev_Click" ><span class='glyphicon glyphicon-chevron-left'></span></asp:LinkButton>
  
    <asp:LinkButton runat="server" ID="lb_current" class="btn btn-default"  OnClick="lb_current_Click" />
       
   <asp:LinkButton runat="server"  ID="lb_next" class="btn btn-default" OnClick="lb_next_Click" ><span class='glyphicon glyphicon-chevron-right'></span></asp:LinkButton>
</div>


   <p></p>





<asp:Calendar runat="server"   ShowNextPrevMonth="false"
           BorderWidth="0px" CellPadding="0" CellSpacing="0"
           ClientIDMode="Static" ID="cal_calendar" Width="210px" 
           class="table table-condensed"   Font-Bold="false"  Font-Size="11px"
           OnDayRender="cal_calendar_DayRender" 
            >
  
          <TodayDayStyle BackColor="#e5e5e5" Font-Bold="false"  ForeColor="#ffffff" />
          <TitleStyle BackColor="#3498db" ForeColor="#ffffff" />
          <SelectedDayStyle  />
          <NextPrevStyle ForeColor="Gray" />
          <OtherMonthDayStyle ForeColor="#BABABA" />
      </asp:Calendar>



            
                </ContentTemplate>
            </asp:UpdatePanel>











            <div class="homeheader">
                常用链接
            </div>

            <ul class="homeiconlink">


                      <li>
 <a href="http://120.24.86.232/worklog/" target="_blank"><i class="glyphicon glyphicon-book fa"></i></a><br />
								 <a  target="_blank" href="http://120.24.86.232/worklog/"><b>工作日志</b></a>
                </li>

                 <li>
 <a href="http://120.24.86.232/helpdesk" target="_blank"> 

     <i class="glyphicon glyphicon-th-large fa"></i><br />

								 <a href="http://120.24.86.232/helpdesk" target="_blank"><b>提交问题</b></a>
                </li>


               

              

                 

            </ul>
           





   <div  style="margin-left:30px">
             <a href="#"><img  src="img/1.jpg"   style="    border: 1px solid #ddd; width:191px;margin:2px;border-radius: 4px; padding:2px;"/></a>
               
            <a href=#><img  src="img/2.jpg"  style="    border: 1px solid #ddd; width:191px;margin:2px;border-radius: 4px; padding:2px;" /></a>
            <a href=#><img  src="img/3.jpg"  style="    border: 1px solid #ddd; width:191px;margin:2px;border-radius: 4px; padding:2px;" /></a>
           </div>

          
             

        </td>

    </tr>

 






    <tr valign="top">
        <td colspan="2" style="height:110px;">
            <img src="../images/banner.jpg" style="margin-bottom:10px; width:760px" />
           
             
        </td>

    </tr>












    <tr valign="top">
         
      <td  >
<div class="homeheader">制度规范</div>



               <asp:Repeater runat="server" ID="rpt_doc">
                                        <HeaderTemplate>
                                            <table class="table table-hover homenews"> 
                                        </HeaderTemplate>

                                        <ItemTemplate>
                                            <tr>
                                                <td>
                                                    <div class="doctitiel">
 <a target="_blank" href="../doc/binn.ashx?guid=<%#Eval("guid")%>&id=<%#Eval("id")%>"><%#Eval("filename")%></a>
                                              </div>  </td>
                                            </tr>
                                           

                                        </ItemTemplate>
                                        <FooterTemplate>
                                            </table>
                                        </FooterTemplate>
                                    </asp:Repeater>


        </td>

        <td  >





            <div class="homeheader">企业通知</div>



               <asp:Repeater runat="server" ID="rpt_announce">
                                        <HeaderTemplate>
                                            <table class="table table-hover homenews"> 
                                        </HeaderTemplate>

                                        <ItemTemplate>
                                            <tr>
                                                <td>
 <div class="announcetitle">
				<a   href="../announce/Announce_detail.aspx?itemid=<%#Eval("itemid") %>&catid=<%#Eval("catid") %>"     >
				  【<%#Eval("releasedepartment") %>】 <%#Eval("title") %>
				</a> 
                </div>                                </td>
                                            </tr>
                                           

                                        </ItemTemplate>
                                        <FooterTemplate>
                                            </table>
                                        </FooterTemplate>
                                    </asp:Repeater>













        </td>

      
    </tr>

</table>









        
<div class="line4">
 <div class="linkbox">
      <ul>
    <li>
     <select id="flink1" class="sel"   onchange="openlink('flink1')">
    <option value="#" style=""> == 公司系统导航 == </option>
    <option value="http://www.dotnetcms.org" style="">启明星官网</option> 
    <option value="http://demo.dotnetcms.org/book" style="">预定系统</option> 
    <option value="http://demo.dotnetcms.org/appform" style="">请假系统</option> 
    <option value="http://demo.dotnetcms.org/helpdesk" style="">Helpdesk系统</option> 
    </select>
  </li>

  <li>
     <select id="flink2" class="sel"   onchange="openlink('flink2')">
    <option value="#" style=""> == 门户网站导航 == </option>
    <option value="#" style="">ISO9000认证</option>
    <option value="#" style="">文档中心</option>  
    </select>
</li>

  <li>
    <select id="flink3" class="sel"   onchange="openlink('flink3')">
    <option value="#" style=""> == 网站导航 == </option>
    <option value="#" style="">XX化工网</option>
    <option value="#" style="">XX空调网</option> 
    <option value="#" style="">XX制冷</option>
    </select>
</li>
       
 
 
    </ul>
   </div>
</div>




          <script>
  
  
  
 

function openlink(_id) {
    obj = document.getElementById(_id);
    if (obj.options(obj.selectedIndex).value != '#') {
        window.open(obj.options(obj.selectedIndex).value);
    }
}


 


function _P(_src) {
 
    layer.open({
        type: 2,
        title: "我的日志",
        shadeClose: true,
        shade: 0.8,
        area: ['950px','450px'],
        content: _src
    });
              }
  </script>
</asp:Content>
