<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="webpagetest.aspx.vb" Inherits="gogo_mechanism.webpagetest"  EnableEventValidation="false"%>
<%@ 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 -->
                <script type="text/javascript">
                    function ResetButton() {
                        var btn = document.getElementById("Button1");
                        if (btn.disabled == true) {
                            btn.disabled = false;
                        }
                    }
                    function disableBtn(btn) {
                        btn.value = '系统正在执行操作...';
                        btn.disabled = 'disabled';
                        __doPostBack(btn.id, "OnClick");
                        //doPostBack can now fire serverside event even if button is disabled  
                    }                                                           
</script> 
</head>
  <body class=""> 
     <!--<![endif]-->
    <form id="Form1" runat="server">
    <div class="content">
        
        <div class="header">

            <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="btn-toolbar">
    <asp:button id="Button1" runat="server" Text="获取数据" AccessKey="s" OnClientClick="disableBtn(this);" class="btn"></asp:button>
    </div>
<div class="btn-group"></div>
<div class="well">


<table class="table" width="100%">
					<tr>
						<td class="td1">初始条件：</td>
						<td class="td2">
                            网页地址<asp:TextBox ID="strURL" runat="server" Width="500px"></asp:TextBox>
                            <br />
                            <br />
                            浏览标识<asp:TextBox ID="UserAgent" runat="server" Width="380px"></asp:TextBox>
                            <asp:DropDownList ID="browserusergent" runat="server" AutoPostBack="True" 
                                Width="120px">
                                <asp:ListItem Value="0">当前浏览器</asp:ListItem>
                            </asp:DropDownList>
                            <br />
                            <br />
                            编码模式<asp:TextBox ID="Encodingmode" runat="server" Width="69px"></asp:TextBox>
                            &nbsp; 代理模式<asp:DropDownList ID="dlms" runat="server">
                                <asp:ListItem Value="0">不使用任何代理</asp:ListItem>
                                <asp:ListItem Value="1">与服务器IE相同代理配置</asp:ListItem>
                                <asp:ListItem Value="2">随机使用系统代理服务器库</asp:ListItem>
                            </asp:DropDownList>
                            &nbsp; 解析模式<asp:DropDownList ID="urlAnalytical" runat="server">
                                <asp:ListItem Value="0">常规</asp:ListItem>
                                <asp:ListItem Value="1">新浪微博搜索专用</asp:ListItem>
                            </asp:DropDownList>
                            <br />
                            <br />
                            <asp:CheckBox ID="CHtml" runat="server" Text="清除识别到的定义内容HTML标签" />
                        </td>
					</tr>
					<tr>
						<td class="td1" style="vertical-align: top">测试结果：</td>
						<td class="td2">
                            绝对路径<asp:TextBox ID="jg4" runat="server" Width="497px"></asp:TextBox>
                            <br />
                            <br />
                            <asp:TextBox ID="jg0" runat="server" Height="338px" TextMode="MultiLine" 
                                Width="551px"></asp:TextBox>
                            <br />
                            <br />
                            响应类型<asp:TextBox ID="jg1" runat="server" Width="167px"></asp:TextBox>
                            &nbsp; 域名<asp:TextBox ID="jg2" runat="server" Width="145px"></asp:TextBox>
                            &nbsp; IP地址<asp:TextBox ID="jg3" runat="server" Width="100px"></asp:TextBox>
                            <br />
                            <br />
                            <br />
                            发文时间智能识别<asp:TextBox ID="jg6" runat="server" Width="120px"></asp:TextBox>
                            &nbsp; 发文时间定义识别<asp:TextBox ID="jg7" runat="server" Width="120px"></asp:TextBox>
                            <br />
                            <br />
                            <asp:TextBox ID="jg5" runat="server" Height="338px" TextMode="MultiLine" 
                                Width="551px"></asp:TextBox>
                            <br />
                            <br />
                            <asp:TextBox ID="jg8" runat="server" Height="338px" TextMode="MultiLine" 
                                Width="551px"></asp:TextBox>
                        </td>
					</tr>
					</table>



</div>
                  
            </div>
        </div>
    </div>

    </form>
</body>
</html>
