<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Content.master.cs" Inherits="Content" %> <%@ Register TagPrefix="Estore" Namespace="Estore" Assembly="__code" %> <%@ Register TagPrefix="Controls" TagName="NewsletterSignup" Src="~/Controls/NewsletterSignup.ascx" %> <%@ Register TagPrefix="Controls" TagName="SearchBox" Src="~/Controls/SearchBox.ascx" %> <% string sURL = Request.ServerVariables["PATH_INFO"]; string sFile = Server.MapPath("MetaXML/" + sURL.Substring(1).Replace("/", "--") + ".inc"); string sDefault = Server.MapPath("MetaXML/default.inc"); if (System.IO.File.Exists(sFile) == true) { string sContent = System.IO.File.ReadAllText(sFile); Response.Write(sContent); if (sContent.Contains("") == true) { this.mainTitle.Visible = false; } } else if (System.IO.File.Exists(sDefault) == true) { string sContent = System.IO.File.ReadAllText(sDefault); Response.Write(sContent); if (sContent.Contains("<title>") == true) { this.mainTitle.Visible = false; } } %> <title runat="server" id="mainTitle">Beauty Bundles.