📄 pageheader.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="PageHeader.ascx.cs" Inherits="Interspire.ArticleLive.Web.Admin.Template.PageHeader" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Import namespace="Interspire.ArticleLive" %>
<%@ Import namespace="Interspire.ArticleLive.Web" %>
<!-- START PAGE HEADER -->
<!-- Start 100% Height Table (section) -->
<table border="0" height="100%" width="100%" cellpadding="0" cellspacing="0">
<tr><td height="100%" valign=top>
<!-- End 100% Height Table (section) -->
<br>
<% if (!Convert.ToBoolean(Request.QueryString["SimpleTemplate"])) { %>
<table width="97%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10"><img src="Images/Layout/Layout_lc.gif" width="10" height="11"></td>
<td width="100%"><img src="Images/Layout/Layout_tbg.gif" width="100%" height="11"></td>
<td width="10"><img src="Images/Layout/Layout_rc.gif" width="10" height="11"></td>
</tr>
</table>
<% } else { %>
<table width="97%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10"><img src="Images/Layout/Layout_lc_w.gif" width="10" height="11"></td>
<td width="100%"><img src="Images/Layout/Layout_tbg_w.gif" width="100%" height="11"></td>
<td width="10"><img src="Images/Layout/Layout_rc_w.gif" width="10" height="11"></td>
</tr>
</table>
<% } %>
<table width="97%" align="center" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td width="1" style="background-color: black"></td>
<td bgcolor="white" class="body" style="padding:0px;" valign=top>
<% if (!Convert.ToBoolean(Request.QueryString["SimpleTemplate"])) { %>
<table class="PageHeader">
<tr>
<td class="Main"><A href="Default.aspx"><IMG src="Images/Logo.gif" border="0" height="59" width="180"></A></td>
<td class="Menu">
<% if (Config.Current.IsSetUp && Request.IsAuthenticated) { %> <br><br><br>
<A href="Default.aspx"><%= ResourceHelper.GetAdminString("Home") %></A> |
<% if (Interspire.ArticleLive.Web.Security.Authorisation.UserHasPermission(UserPermissionsEnum.ManageTemplates)) { %>
<a href="Templates.aspx"><%= ResourceHelper.GetAdminString("Templates") %></a> |
<% } %>
<% if (Interspire.ArticleLive.Web.Security.Authorisation.UserHasPermission(UserPermissionsEnum.ViewUsers | UserPermissionsEnum.ReviewPendingUsers)){ %>
<a href='Users.aspx'><%= ResourceHelper.GetAdminString("Users") %></a> | <% } %>
<% if (Interspire.ArticleLive.Web.Security.Authorisation.UserHasPermission(UserPermissionsEnum.ViewGlossary)){ %>
<a href="Glossary.aspx?a=ViewGlossary"><%= ResourceHelper.GetAdminString("Glossary") %></a> | <% } %>
<% if (Interspire.ArticleLive.Web.Security.Authorisation.UserHasPermission(UserPermissionsEnum.ManageSettings)) { %>
<a href="Settings.aspx"><%= ResourceHelper.GetAdminString("Settings") %></a> |
<% } %>
<% if (Interspire.ArticleLive.Web.Security.Authorisation.UserHasPermission(UserPermissionsEnum.ViewStatistics)) { %>
<a href="Stats.aspx"><%= ResourceHelper.GetAdminString("Statistics") %></a> |
<% } %>
<a class="topLink" href="LogIn.aspx"><%= ResourceHelper.GetAdminString("Logout") %></a>
|
<a target="_blank" class="topLink" href="../"><%= ResourceHelper.GetAdminString("View") %></a>
<% } %>
</td>
</tr>
</table>
<% } %>
<table cellSpacing="0" cellPadding="0" width="100%" bgcolor="white">
<TBODY>
<tr>
<td vAlign="top">
<!-- END PAGE HEADER -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -