<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="character_number_data.aspx.vb" Inherits="gogo_mechanism.character_number_data" %>
<%@ 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 src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="lib/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/myjs.js" language="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=""> 
  	<form id="Form1" runat="server">
     <!--<![endif]-->
    <div class="content">
        
        <div class="header">
<div class="stats">
    <p class="stat">数量 <span class="number"><asp:label id="Label1" runat="server"></asp:label></span></p>
</div>
            <h1 class="page-title"><%=pagename %></h1>
        </div>
        
                <ul class="breadcrumb">
            <li><a href="info.aspx">系统首页</a> <span class="divider">/</span></li>
            <li class="active"><%=pagename %></li>
        </ul>

        <div class="container-fluid">
            <div class="row-fluid">
                    

    <div class="search-toolbar"><i class="icon-search"></i>
    类型<asp:DropDownList 
            ID="cid" runat="server" AutoPostBack="True">
            <asp:ListItem Value="0">所有</asp:ListItem>
        </asp:DropDownList>
                                
                                
							    <STONG>&nbsp;显示量<asp:DropDownList ID="xsl" 
            runat="server" AutoPostBack="True">
            <asp:ListItem>100</asp:ListItem>
            <asp:ListItem>200</asp:ListItem>
            <asp:ListItem>500</asp:ListItem>
            <asp:ListItem>1000</asp:ListItem>
            <asp:ListItem>2000</asp:ListItem>
            <asp:ListItem>5000</asp:ListItem>
            <asp:ListItem>10000</asp:ListItem>
            <asp:ListItem>所有</asp:ListItem>
        </asp:DropDownList>
        &nbsp;搜索<asp:DropDownList ID="how" runat="server">
            <asp:ListItem Value="nu">内容号码</asp:ListItem>
            <asp:ListItem Value="bt">标题</asp:ListItem>
            <asp:ListItem Value="url">地址</asp:ListItem>
            <asp:ListItem Value="host">域名</asp:ListItem>
            <asp:ListItem Value="nr">内容</asp:ListItem>
        </asp:DropDownList>
        关键词<asp:TextBox ID="key" runat="server" Width="100px"></asp:TextBox>

         </div>
         <div class="btn-toolbar">
             <asp:Button ID="Button4" runat="server" Text="执行搜索" class="btn"/>
             <asp:Button ID="Button5" runat="server" Text="退出搜索" class="btn"/>              
</div>

 <div class="btn-group"></div>
<div class="well">
   <!--内容-->
     <asp:ScriptManager ID="ScriptManager1" runat="server" />
                   <asp:UpdatePanel ID="UpdatePanel3" runat="server"> 
<ContentTemplate> 
<asp:Timer ID="Timer1" runat="server" Interval="10000" OnTick="Timer1_Tick"> 
</asp:Timer> 
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True"  AutoGenerateColumns="False" GridLines="None" PageSize="15" Width="100%" CssClass="table">
         <Columns>
                                        <asp:BoundField DataField="id" HeaderText="系统编号" ReadOnly="True" />
                                         <asp:TemplateField HeaderText="号码类型">
                                            <ItemTemplate>
                                                <%# dbstring("select mc from gogo_character_number_config where id=" & DataBinder.Eval(Container, "DataItem.cid"))%>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="nu" HeaderText="号码" />
                                        <asp:HyperLinkField DataNavigateUrlFields="url" 
                                            DataNavigateUrlFormatString="{0}" DataTextField="host" 
                                            DataTextFormatString="{0}" HeaderText="采集网站" Target="_blank" />
                                       <asp:TemplateField HeaderText="网页标题">
                                            <ItemTemplate>
                                               <a title="<%# DataBinder.Eval(Container, "DataItem.bt")%>" href="view_cn.aspx?id=<%# DataBinder.Eval(Container, "DataItem.id")%>" target="_blank"><%# cutstr2(DataBinder.Eval(Container, "DataItem.bt"), Session("zs"), "标题信息缺失")%></a>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                       <asp:TemplateField HeaderText="采集时间">
                                            <ItemTemplate>
                                                <%# c_date_d(DataBinder.Eval(Container, "DataItem.cjsj"))%>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                             <asp:HyperLinkField DataNavigateUrlFields="id" 
                                            DataNavigateUrlFormatString="view_cn.aspx?id={0}" DataTextFormatString="查看内容" 
                                            HeaderText="截取内容" Target="_blank" Text="查看内容" />
                                    </Columns>
        <PagerStyle CssClass="pagerclass" />
        <EmptyDataTemplate>
             暂无特征号数据！
        </EmptyDataTemplate>
        </asp:GridView>
    </ContentTemplate> 
</asp:UpdatePanel> 
</div>
                    
            </div>
        </div>
    </div>
    </form>
</body>
</html>
