<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="info.aspx.vb" Inherits="gogo_mechanism.info" %>
<%@ Import namespace="gogo_mechanism"%>
<html>
	<head id="head1"  runat="server">
    <title><%=pagename %></title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="stylesheets/theme.css">
    <link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
    <link href="site_css2.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></script>
    <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
    <script src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="lib/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->
</head>
  <body class=""> 
     <!--<![endif]-->
    <form id="Form1" runat="server">
    <div class="content">
        
        <div class="header">
<div class="stats">
    <p class="stat">&nbsp;</p>
</div>
            <h1 class="page-title"><%=pagename %></h1>
        </div>
        
                <ul class="breadcrumb">
            <li><a href="info.aspx">系统首页</a> <span class="divider">/</span></li>
            <li><a href="info2.aspx" target="_blank">投屏页面</a></li>
        </ul>

        <div class="container-fluid">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:UpdatePanel ID="UpdatePanel3" runat="server"> 
<ContentTemplate> 
<asp:Timer ID="Timer1" runat="server" Interval="300000" OnTick="Timer1_Tick"> 
</asp:Timer> 
<!--行开始-->
<div class="row-fluid">   
<div class="block span6">
        <a href="#tablewidget3" class="block-heading" data-toggle="collapse">近期关注预警趋势<span class="label label-warning">+<asp:Label ID="tj1" runat="server"></asp:Label></span></a>
        &nbsp;<div id="tablewidget3" class="block-body collapse in">
            <asp:Chart ID="Chart1" runat="server" Visible="False" Width="740px" 
                Height="340px" Palette="Pastel">
                <Series>
                    <asp:Series BorderWidth="4" ChartType="Line" Color="Brown" 
                        Font="Microsoft Sans Serif, 14pt" Name="Series1" Legend="Legend1" 
                        LegendText="所有关注预警">
                    </asp:Series>
                </Series>
                <ChartAreas>
                    <asp:ChartArea Name="ChartArea1">
                        <AxisX IntervalAutoMode="VariableCount" IsLabelAutoFit="False">
                        </AxisX>
                        <Position Height="90" Width="100" Y="10" />
                    </asp:ChartArea>
                </ChartAreas>
                <Legends>
                    <asp:Legend Name="Legend1" DockedToChartArea="ChartArea1" Docking="Top" 
                        IsDockedInsideChartArea="False" MaximumAutoSize="100">
                    </asp:Legend>
                </Legends>
            </asp:Chart>
        </div>
</div>
<div class="block span6">
        <a href="#tablewidget4" class="block-heading" data-toggle="collapse">近期关注预警统计<span class="label label-warning">+<asp:Label ID="tj2" runat="server"></asp:Label></span></a>
        <div id="tablewidget4" class="block-body collapse in">                      
            <asp:Chart ID="Chart2" runat="server" Visible="False" Width="740px" Height="360px">
                <Series>
                    <asp:Series BorderWidth="2" ChartType="Bar" Color="Brown" 
                        Font="Microsoft Sans Serif, 14pt" Name="Series1" ChartArea="ChartArea1" 
                        Palette="Pastel">
                    </asp:Series>
                </Series>
                <ChartAreas>
                    <asp:ChartArea Name="ChartArea1">
                        <AxisX IntervalAutoMode="VariableCount" IsLabelAutoFit="False">
                        </AxisX>
                        <Position Height="100" Width="100" />
                    </asp:ChartArea>
                </ChartAreas>
            </asp:Chart>
                      
        </div>
</div>
</div>
<!--行结束--> 
<!--行开始-->
<div class="row-fluid">   
<div class="block span6">
        <a href="#tablewidget1" class="block-heading" data-toggle="collapse">最新关注预警</a>
        <div id="tablewidget1" class="block-body collapse in">
        <asp:GridView ID="GridView1" runat="server"  AutoGenerateColumns="False" 
                GridLines="None" Width="100%" CssClass="table" ShowHeader="False">
         <Columns>
                                        <asp:TemplateField HeaderText="预警级别">
                                            <ItemTemplate>
                                                <%# jbstr(DataBinder.Eval(Container, "DataItem.jb"))%>
                                            </ItemTemplate>
                                        </asp:TemplateField> 
                                         
                                       <asp:TemplateField HeaderText="网页标题">
                                            <ItemTemplate>
                                               <a title="<%# DataBinder.Eval(Container, "DataItem.title")%>" href="view_webpage.aspx?id=<%# DataBinder.Eval(Container, "DataItem.webpageid")%>&keys=<%# System.Web.HttpUtility.UrlEncode(DataBinder.Eval(Container, "DataItem.keys"))%>" target="_blank"><%# Focusinfo(cutstr2(CleanHtml(DataBinder.Eval(Container, "DataItem.title")), Session("zs"), "标题信息缺失"), DataBinder.Eval(Container, "DataItem.keys"), ",", "FF0000", False)%></a>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                            <asp:TemplateField HeaderText="发现时间">
                                            <ItemTemplate>
                                                <%# c_date_d(DataBinder.Eval(Container, "DataItem.addtime"))%>
                                            </ItemTemplate>
                                            </asp:TemplateField>                                           
                                    </Columns>
        <PagerStyle CssClass="pagerclass" />
        <EmptyDataTemplate>
        </EmptyDataTemplate>
        </asp:GridView>

                       <p><a href="particular_warning_data.aspx">More...</a></p>
        </div>
</div>
<div class="block span6">
        <a href="#tablewidget2" class="block-heading" data-toggle="collapse">最新信息</a>
        <div id="tablewidget2" class="block-body collapse in">
        <asp:GridView ID="GridView2" runat="server"  AutoGenerateColumns="False" 
                GridLines="None" Width="100%" CssClass="table" ShowHeader="False">
          <Columns>

                                        <asp:TemplateField HeaderText="标题">
                                            <ItemTemplate>
                                             <asp:Label ID="Label11" runat="server" 
                                                    Text='<%# articlename(DataBinder.Eval(Container, "DataItem.id"), Session("zs"), "view_article.aspx?id=", 0, 1, 1, "") %>'></asp:Label>
                                            </ItemTemplate>

                                            <HeaderStyle HorizontalAlign="Left" />
                                            <ItemStyle HorizontalAlign="Left" />
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="录入时间">
                                            <ItemTemplate>
                                                <asp:Label ID="Label3" runat="server" Text='<%# c_date_d(DataBinder.Eval(Container, "DataItem.tjsj")) %>'></asp:Label>
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                               
                                            </EditItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
        <PagerStyle CssClass="pagerclass" />
        <EmptyDataTemplate>
        </EmptyDataTemplate>
        </asp:GridView>
                       <p><a href="articles.aspx">More...</a></p>
        </div>
</div>
</div>
<!--行结束--> 
    </ContentTemplate> 
</asp:UpdatePanel> 
        </div>
    </div>
    </form>
</body>
</html>