<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/HelperMaster.Master" AutoEventWireup="true" CodeBehind="Frm_AddSimpleOptCusLode.aspx.cs" Inherits="AndroidSevice.Web.BackStage.XDGL.Frm_AddSimpleOptCusLode" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function ShowDataHelp(_url, _title, _handler) {
            layer.open({
                type: 2,
                area: ['700px', '500px'],
                fix: false, //不固定
                maxmin: true,
                content: _url
            });
        }
        function sAlert(info) {
            var message = info;
            layer.alert(message, 8); //风格一，layer弹出层特效
        }
        function sAlertok(info) {
            layer.alert(info, { closeBtn: 0
            }, function () {
                parent.location.reload(); //刷新父页面
            });
        }
        function sAlertOut(info) {
            layer.alert(info, { closeBtn: 0
            }, function () {
                window.location.href = '../../default.aspx'; //刷新父页面
            });
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="container-fluid">
				<div class="row-fluid">
				<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-th-list"></i>
								</span>
								<h5>客户线路</h5>
							</div>
							<div class="widget-content">
                            
                             <!---->
                             <div class="container-fluid">
                             <a href="#"><button type="submit" value="mit" name="sub" class="btn" >确定选择</button></a>
                            <asp:HiddenField ID="HiddenField1" runat="server" Visible="false" />
                             <asp:HiddenField ID="HiddenField2" runat="server" Visible="false" />
                    <div class="row-fluid">
					<div class="span3" >
						<div class="widget-box">
							<div class="widget-title">
								   <span class="icon">
									    <i class="icon-arrow-right"></i>
								    </span>
								    <h5>线路信息&nbsp;&nbsp;(<%=_etypename %>)</h5>
							</div>
							<div class="widget-content nopadding">
								<table class="table table-bordered table-striped table-hover">
								<thead>
									<tr>
                                        <th style="width:25px">选择</th>
										<th style="width:25px">序号</th>
										<th>线路名称</th>
									</tr>
								</thead>
								<tbody>
                                <%if (dtlodelist != null && dtlodelist.Rows.Count != 0)
                                    {
                                        for (int i = 0; i < dtlodelist.Rows.Count; i++)
                                        { %>
									<tr>
                                        <td style="width:25px"><input type="checkbox" name="lodecheck" value=<%=dtlodelist.Rows[i]["LoginId"].ToString()+":"+dtlodelist.Rows[i]["EName"].ToString()+":"+dtlodelist.Rows[i]["num"].ToString()%> /></td>
                                        <td style="width:25px"><%=i+1 %></td>
										<td><a href="Frm_AddSimpleOptCusLode.aspx?lodeid=<%=dtlodelist.Rows[i]["num"].ToString() %>&id=<%=_etypeid%>&name=<%=_etypename%>&lodename=<%=dtlodelist.Rows[i]["fullname"].ToString()%>&strdate=<%=_strdate %>&enddate=<%=_enddate %>"><%=dtlodelist.Rows[i]["fullname"].ToString() %></a></td>
									</tr>
                                <% }
                                    }%>
								</tbody>
							</table>
							</div>
						</div>
                           <webdiyer:aspnetpager ID="AspNetPagerLode" runat="server" FirstPageText="首页" 
                                        LastPageText="尾页" PrevPageText="上一页" NextPageText="下一页" 
                                onpagechanging="AspNetPagerLode_PageChanging"
                                PageSize="5" NumericButtonCount="10" AlwaysShow="True" />
					</div>
					<div class="span3" >
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-arrow-right"></i>
								</span>
								<h5>客户线路&nbsp;&nbsp;(<%=_lodename %>)</h5>
							</div>
							<div class="widget-content nopadding">
							<table class="table table-bordered table-striped table-hover">
								<thead>
									<tr>
										<th style=" width:30px">序号</th>
                                        <th>客户名称</th>
										<th>地址</th>
									</tr>
								</thead>
								<tbody>
                                    <%if (dtuserlodelist != null && dtuserlodelist.Rows.Count != 0)
                                    {
                                        for (int i = 0; i < dtuserlodelist.Rows.Count; i++)
                                        { %>
									<tr>
                                        <td style="width:30px"><%=i+1 %></td>
										<td><a href="#"><%=dtuserlodelist.Rows[i]["FullName"].ToString()%></a></td>
										<td><a href="#"><%=dtuserlodelist.Rows[i]["Address"].ToString()%></a></td>
									</tr>
                                    <%  }
                                    }%>
								</tbody>
							</table>
							</div>
						</div>
                            <webdiyer:aspnetpager ID="AspNetPagerLodeuser" runat="server" FirstPageText="首页" 
                                LastPageText="尾页" PrevPageText="上一页" NextPageText="下一页" 
                                onpagechanging="AspNetPagerLodeUser_PageChanging"
                                PageSize="10" NumericButtonCount="10" AlwaysShow="True" />
					</div>
					</div>
				</div>
            </div>
							</div>
						</div>
				</div>
			</div>
</asp:Content>
