<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/HelperMaster.Master" AutoEventWireup="true" CodeBehind="Frm_CopyLimit.aspx.cs" Inherits="AndroidSevice.Web.WLTGL.Frm_CopyLimit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
    function sAlert(info) {
        var message = info;
        layer.alert(message, { closeBtn: 0
        }, function () {
            parent.location.reload(); //刷新父页面
        });
    }
    function sAlertError(info) {
        var message = info;
        layer.alert(message, 8); //风格一，layer弹出层特效
        
    }
    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>
                                <h5>当前权限用户(<%=loginname %>)</h5>
							</div>
							<div class="widget-content">
                            <div class="control-group" id="div_classname">
                                        <label class="control-label"></label>
                                        <div class="controls">
                                        <input type="checkbox" checked style="vertical-align:middle;"  name="cbtellimit" value="1"/> <span style="vertical-align:middle;" >手机端权限</span>
                                        <input type="checkbox" checked style="vertical-align:middle;"  name="cbpowers" value="1"/> <span style="vertical-align:middle;" >基本信息授权</span>
                                        <input type="checkbox" checked style="vertical-align:middle;"  name="cbprice" value="1"/> <span style="vertical-align:middle;" >价格权限</span>
                                        </div>
                             </div>
                             <table id="wew" class="table table-bordered table-striped table-hover">
                                    <thead>
										<tr>
											<th>选择</th>
											<th>登陆编号</th>
                                            <th>登陆人员</th>
										</tr>
									</thead>
                                    <tbody>
                                    <% if (dtlist != null&&dtlist.Rows.Count!=0)
                                       {
                                           for (int i = 0; i < dtlist.Rows.Count;i++)
                                           {
                                    %>
                                    <tr>
											<td><input type="checkbox" value=<%=dtlist.Rows[i]["LoginID"].ToString()%> name="limitcheck" /></td>
                                            <td><%=dtlist.Rows[i]["LoginID"].ToString()%></td>
                                            <td><%=dtlist.Rows[i]["LoginName"].ToString()%></td>
									</tr>
                                    <% 
                                           }
                                       } 
                                    %>
                                    </tbody>
							</table>
                             </div>
                             <div class="form-actions">
                                   <button type="submit" name="sub" value="sub" class="btn" >保存</button>
                                  <input id="HPage" name="HPage" value="thispage" type="hidden" />
                             </div>
							</div>
						</div>
					</div>
				</div>
</asp:Content>
