<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Model.aspx.cs" Inherits="AnonymousAccess_Model" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title><%=(eBase.parseBool(model.ModelInfo["AnonymousAccess"]) ? model.ModelInfo["mc"].ToString() : "无权查看!") %></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=0,uc-fitscreen=yes" />
    <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"/>
    <script src="../Scripts/Init.js?ver=<%=Common.Version %>"></script>
     <link href="../Plugins/font-awesome-4.7.0/css/font-awesome.css" rel="stylesheet">
    <link href="../Plugins/dripiconsv2/css/icons.min.css" rel="stylesheet">    
    <link href="../Plugins/layui226/css/layui.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" />   
      <%if(eBase.IsMobile()){ %>
    <link href="../Plugins/eControls/default/mobile/style.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" />   
    <script src="../Plugins/Theme/default/mobile/layout.js?ver=<%=Common.Version %>"></script>
    <%}else{ %>
      <link href="../Plugins/eControls/default/style.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" />  
    <%} %>
    <link href="../Plugins/Theme/default/style.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" />   
	<link href="../Plugins/Theme/manage/style.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" />
	
    <%=Common.LoadJS %>
    <script>var ModelID = "<%=ModelID%>";</script>
</head>
<asp:Literal ID="LitJavascript" runat="server" />
<asp:Literal ID="LitStyle" runat="server" />
<body>
    <%if (!eBase.IsMobile() && (model.Action.Length == 0 || model.Action == "pivot") && (eBase.parseBool(model.ModelInfo["AnonymousPrint"]) || eBase.parseBool(model.ModelInfo["AnonymousExport"]) || eBase.parseBool(model.ModelInfo["AnonymousPivot"])))
      { %>
<div class="nav" style="margin-bottom:0;"><%=model.ModelInfo["mc"].ToString()%>

      <%if (eBase.parseBool(model.ModelInfo["AnonymousAccess"]) && eBase.parseBool(model.ModelInfo["AnonymousPrint"]))
      {%>
 <a class="button" href="<%=eBase.getActionURL("print") %>" tar3get="_blank"><span><i class="print">打印</i></span></a> <%}%>


  <%if (eBase.parseBool(model.ModelInfo["AnonymousAccess"]) && eBase.parseBool(model.ModelInfo["AnonymousExport"]))
      {%>
 <a class="button" href="<%=eBase.getExportURL()%>"><span><i class="export">导出</i></span></a> <%}%>
  <%if (eBase.parseBool(model.ModelInfo["AnonymousAccess"]) && eBase.parseBool(model.ModelInfo["AnonymousPivot"]))
      {%>
 <a class="button" href="javascript:;" onclick="PivotConfig('<%=user.Area %>');"><span><i class="filter">透视</i></span></a>
     <%}%>


</div>
    <%}%>
<%if(eBase.parseBool(model.ModelInfo["AnonymousAccess"])) {%>
<%= model.StartHTML  %>
<%= model.Tip.Length==0? "" : "<div style=\"margin:8px 8px 0px 8px;\">" + model.Tip + "</div>"  %>
<%}%>
    <asp:Literal ID="LitBody" runat="server" />
</body>
</html>