PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/themes/Mobile/site.master

#
ASP.NET | 43 lines | 38 code | 5 blank | 0 comment | 2 complexity | c4ecfde373cac4d3c14c6f6e37d1ace2 MD5 | raw file
 1<%@ Master Language="C#" AutoEventWireup="true" CodeFile="site.master.cs" Inherits="MobileSite" %>
 2<%@ Register Src="~/admin/menu.ascx" TagName="menu" TagPrefix="uc1" %>
 3<%@ Import Namespace="BlogEngine.Core" %>
 4
 5<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 6<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
 7<head runat="server" profile="http://gmpg.org/xfn/11">
 8  <link rel="stylesheet" href="style.css" type="text/css" />
 9  <link rel="shortcut icon" href="~/pics/blogengine.ico" type="image/x-icon"/>
10</head>
11
12<body>
13  <form runat="server">
14    <div id="header">
15      <h3><%=BlogSettings.Instance.Name %></h3>
16      <p><%=BlogSettings.Instance.Description %></p>
17    </div>
18
19    <div id="menu">
20      <a href="<%=Utils.RelativeWebRoot%>default.aspx">Home</a> |
21      <a href="<%=Utils.RelativeWebRoot%>archive.aspx">Archive</a> |
22      <a href="<%=Utils.RelativeWebRoot%>contact.aspx">Contact</a> |
23      <a href="<%=Utils.FeedUrl %>">Feed</a> 
24      <% if (Utils.IsMobile)
25         { %>
26       | <blog:MobileThemeSwitch runat="server" />
27      <%
28         }
29      %>
30    </div>
31	  
32    <div id="content">
33      <blog:SearchOnSearch ID="SearchOnSearch1" runat="server" MaxResults="3" Headline="You searched for" Text="Here are some results for the search term on this website" />
34      <asp:ContentPlaceHolder ID="cphBody" runat="server" />
35    </div>
36    
37    <div id="footer">
38	    <p>Powered by <a href="http://www.dotnetblogengine.net/" target="_blank">BlogEngine.NET</a> <%=BlogSettings.Instance.Version() %> | 
39        Original Design by <a href="http://smallpark.org">SmallPark</a>, Adapted by <a href="http://www.nyveldt.com/blog/">RazorAnt</a></p>
40    </div>
41  </form>
42</body>
43</html>