<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/SiteMaster.Master" AutoEventWireup="true" CodeBehind="Frm_DelarsUserPower.aspx.cs" Inherits="AndroidSevice.Web.JXS.Frm_DelarsUserPower" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function ShowDataHelp(_url, _title, _handler) {
            layer.open({
                type: 2,
                area: ['800px', '600px'],
                fix: false, //不固定
                maxmin: true,
                content: _url
            });
        }

        function ShowDataHelpImage(_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 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 id="content-header">
    <!--可做顶部导航-->
			</div>
	<div id="breadcrumb">
				<a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i>经销商版</a>
				<a href="#" class="current">用户配置</a>
			</div>
	<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">
                            <button type="button" class="btn"  style=" color:White; background:#00B7EE"  onclick="ShowDataHelp('../WLTGL/Frm_DealersUserPowerEdit.aspx?view=view','','')"><i class="icon-cog"></i>修改设置</button>
                             <table id="wew" class="table table-bordered table-striped table-hover">
                                    <thead>
										<tr>
											<th>设置项名称</th>
											<th>值</th>
											<th>备注</th>
										</tr>
									</thead>
                                    <tbody>
								<%
                                    if (dt != null)
                                    {
                                        for (int i = 0; i < dt.Rows.Count; i++)
                                        {%>
                                        <tr>
											<td><%=dt.Rows[i]["fullname"].ToString()%></td>
											<td><% if (dt.Rows[i]["TypeName"].ToString() == "UploadMainImage")
                                                {%>
                                                    <%=dt.Rows[i]["typevalues"].ToString()%>&nbsp;&nbsp;&nbsp;&nbsp; 
                                                    
                                                <%}
                                               else if (dt.Rows[i]["TypeName"].ToString() == "UploadMainLog")
                                                {%>
                                                        <img alt="" style=" width:90px; height:90px;" src="../ReadImages.ashx?typeid=''&nubconunt=0&DbName=<%=Session["DbName"].ToString() %>&pagetype=UploadMainLog" />
                                                      <%}
                                            else
                                            { %>
                                            <%=dt.Rows[i]["typevalues"].ToString()%>
                                            <%} %>
                                            </td>
											<td><%=dt.Rows[i]["comment"].ToString()%></td>
										</tr>
                                <%
                                        }
                                    }
                                 %>
                                 </tbody>
								</table>
                                
							</div>
						</div>
					</div>
				</div>
			</div>
</asp:Content>