Bladeren bron

Fix 500 error page

Colin Powell 5 jaren geleden
bovenliggende
commit
9118de352d
1 gewijzigde bestanden met toevoegingen van 117 en 160 verwijderingen
  1. 117 160
      templates/500.html

+ 117 - 160
templates/500.html

@@ -1,163 +1,120 @@
-<!HAS_WEBDNA_TAGS>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!doctype html>
 <html>
-	<head>
-		<link rel="stylesheet" href="{{MEDIA_URL}}css/styles.css" type="text/css">
-		<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
-		<meta name="Keywords" content="{% block meta_keywords %}Penobscot Bay Press, Castine Patriot, Island Ad-Vantages, The Weekly Packet, Downeast Maine, East Penobscot Bay, Blue Hill Bay, Deer Isle, Blue Hill Peninsula, Isle au Haut, Events Calendar, Classifieds, Business Directory, Community News, Tides and weather, People news, newspaper, Blue Hill, Brooklin, Brooksville, Castine, Deer Isle, Isle au Haut, Penobscot, Sedgwick, Stonington, Sunset, Sunshine, Oceanville, Harborside, Buck's Harbor, Sargentville, East Blue Hill, Surry{% endblock %}">
-		<meta name="title" content="{% block meta_title %}Penobscot Bay Press Community News{% endblock %}" />
-		<meta name="description" content="{% block meta_description %}Local news and information covering Blue Hill, Brooksville, Brooklin, Castine, Deer Isle, Isle au Haut, Penobscot, Sedgwick, Stonington and Surry, Maine.{% endblock %}" />
-		<link rel="image_src" href="{% block rel-img %}{{MEDIA_URL}}images/headers/pbp_sharing_logo.jpg{% endblock %}" / >
-		{% block rss %}<link rel="alternate" type="application/rss+xml" href="{% url nr-news-feed %}" title="RSS feed for Penobscot Bay Press" />{% endblock %}
-		<title>{% block title %}Penobscot Bay Press Community News{% endblock %}</title>
-
-<script type="text/javascript">
-<!--
-function MM_swapImgRestore() { //v3.0
-  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
-}
-function MM_preloadImages() { //v3.0
-  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
-    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
-    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
-}
-
-function MM_findObj(n, d) { //v4.01
-  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
-    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
-  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
-  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
-  if(!x && d.getElementById) x=d.getElementById(n); return x;
-}
-
-function MM_swapImage() { //v3.0
-  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
-   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
-}
-//-->
-</script>
-
-
-		</csactiondict>
-	</head>
-
-	<body bgcolor="#ffffff" onLoad="MM_preloadImages('{{MEDIA_URL}}images/navbar/navbarcompassover.gif','{{MEDIA_URL}}images/navbar/navcominfoover.gif','{{MEDIA_URL}}images/navbar/navcomnewsover.gif','{{MEDIA_URL}}images/navbar/navcomcalover.gif','{{MEDIA_URL}}images/navbar/navwpover.gif','{{MEDIA_URL}}images/navbar/navcpover.gif','{{MEDIA_URL}}images/navbar/naviaover.gif','{{MEDIA_URL}}images/navbar/navarchover.gif','{{MEDIA_URL}}images/navbar/navcontactover.gif')">
-
-<div align="center">
-  <div align="center">
-    <a name="top"></a>
-    <table width="710" border="0" cellspacing="0" cellpadding="0" bgcolor="#336699" background="{{MEDIA_URL}}images/navbar/navbarstripes.gif">
-      <tr>
-	<td rowspan="2" align="left" valign="top" width="145">
-	  <table width="138" border="0" cellspacing="0" cellpadding="0" background="{{MEDIA_URL}}images/navbar/navbarmap.gif">
-	    <tr>
-            <td><a href="{% url nr-index %}" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('PBP Compass','','{{MEDIA_URL}}images/navbar/navbarcompassover.gif',1)"><img src="{{MEDIA_URL}}images/navbar/navbarcompass.gif" alt="The home page for Penobscot Bay Press Community Information Services" name="PBP Compass" width="145" height="143" border="0"></a></td>
-	      
-	    </tr>
-	    <tr>
-            <td><a href="{% url nr-index %}" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Community News','','{{MEDIA_URL}}images/navbar/navcomnewsover.gif',1)"><img src="{{MEDIA_URL}}images/navbar/navcomnews.gif" alt="News and information for unique towns and islands of East Penobscot and Blue Hill Bays, Maine." name="Community News" width="145" height="68" border="0"></a></td>
-	    </tr>
-	    <tr>
-	      <td><a href="http://calendar.penobscotbaypress.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Community Calendar','','{{MEDIA_URL}}images/navbar/navcomcalover.gif',1)"><img src="{{MEDIA_URL}}images/navbar/navcomcal.gif" alt="Community Calendar: A searchable, comprehensive calendar of area events" name="Community Calendar" width="145" height="68" border="0"></a></td>
-	    </tr>
-	    <tr>
-	      <td><a href="http://penobscotbaypress.com/classifieds/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Compass Classifieds','','{{MEDIA_URL}}images/navbar/navclassover.gif',1)"><img src="{{MEDIA_URL}}images/navbar/navclass.gif" alt="Compass Classifieds: Classified ads from throughout the area" name="Compass Classifieds" width="145" height="68" border="0"></a></td>
-	      
-	    </tr>
-	    <tr>
-	      <td><a href="http://castinepatriot.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Castine Patriot','','{{MEDIA_URL}}images/navbar/navcpover.gif',1)"><img src="{{MEDIA_URL}}images/navbar/navcp.gif" alt="Castine Patriot: News and information for Castine and Penobscot, Maine" name="Castine Patriot" width="145" height="68" border="0"></a></td>
-	    </tr>
-	    <tr>
-	      <td><a href="http://islandadvantages.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Island Ad-Vantages','','{{MEDIA_URL}}images/navbar/naviaover.gif',1)"><img src="{{MEDIA_URL}}images/navbar/navia.gif" alt="Island Ad-Vantages: News and information for Deer Isle, Isle au Haut and Stonington, Maine" name="Island Ad-Vantages" width="145" height="68" border="0"></a></td>
-	    </tr>
-	    <tr>
-	      <td><a href="http://weeklypacket.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('The Weekly Packet','','{{MEDIA_URL}}images/navbar/navwpover.gif',1)"><img name="The Weekly Packet" border="0" src="{{MEDIA_URL}}images/navbar/navwp.gif" alt="The Weekly Packet: News and information for Blue Hill, Brooklin, Brooksville, Sedgwick and Surry, Maine"></a></td>
-	      
-	    </tr>
-	    <tr>
-          <td><a href="{% url di-index %}" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Community Info','','{{MEDIA_URL}}images/navbar/navcominfoover.gif',1)"><img src="{{MEDIA_URL}}images/navbar/navcominfo.gif" alt="Community Information: Remembrances, Business Directory, Town Information, Tides and Weather" name="Community Info" width="145" height="68" border="0"></a></td>
-	    </tr>
-	    <tr>
-	      <td><a href="{% url nr-archive-index %}" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Archives','','{{MEDIA_URL}}images/navbar/navarchover.gif',1)"><img src="{{MEDIA_URL}}images/navbar/navarch.gif" alt="Archives & Multimedia: Short-term archives, videos, slideshows and special features" name="Archives" width="145" height="68" border="0"></a></td>
-	    </tr>
-	    <tr>
-	      <td><a href="http://penobscotbaypress.com/about/contact-us/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Contact Us','','{{MEDIA_URL}}images/navbar/navcontactover.gif',1)"><img src="{{MEDIA_URL}}images/navbar/navcontact.gif" alt="Contact Us: Who we are and how to reach us" name="Contact Us" width="145" height="68" border="0"></a></td>
-	      
-	    </tr>
-	</table>					</td>
-    <td height="170" align="center" valign="top"><a href="http://www.penobscotbaypress.com"><img alt="Community News" height="135" width="440" src="{% block flag_img_src %}{{MEDIA_URL}}images/headers/comnewsround440.gif{% endblock %}" align="top" border="0"></a><br>
-        <span class="flag_descrip">{% block flag_descrip %}Local news and information covering<br/>
-            Blue Hill, Brooksville, Brooklin, Castine, Deer Isle, Isle au Haut,<br/>
-            Penobscot, Sedgwick, Stonington and Surry, Maine.{% endblock %}
-            {% block flag_update_stamp %}{% endblock %}</span></td>
-            
-	<td align="center" valign="top">
-	  
-	  <IMG SRC="{{MEDIA_URL}}images/store/spacer.gif" ALT="spacer" HEIGHT="12" WIDTH="130" BORDER="0">
-	  <TABLE WIDTH="118" BORDER="0" CELLSPACING="0" CELLPADDING="1" BGCOLOR="#FFFFFF">
-	    <TR>
-	      <TD ALIGN="center" VALIGN="top"><A HREF="{{MEDIA_URL}}store/index.html"><IMG SRC="{{MEDIA_URL}}images/store/pbpstore.gif" ALT="Penobscot Bay Press Community Storefront" HEIGHT="30" WIDTH="118" BORDER="0"></A></TD>
-	    </TR>
-	    <TR>
-	      <TD ALIGN="center" VALIGN="top">
-		<P><SPAN CLASS="storeitem">Subscriptions<BR>
-		    Books<BR>
-		    Movies<BR>
-		    Maps<BR></SPAN><SPAN CLASS="storefine">
-		    <A HREF="{{MEDIA_URL}}store/shoppingcart.html"><IMG SRC="{{MEDIA_URL}}images/store/cart.gif" ALT="Your Penobscot Bay Press Community Storefront shopping cart" HEIGHT="13" WIDTH="15" BORDER="0">Cart</A> &#x2022; 
-		    
-		    <A HREF="{{MEDIA_URL}}store/wishlist.html">Wish List</A>
-		    <A HREF="https://secure.3ip.net/penobscotbaypress/account.html?cid=126480065568472">Account</A> &#x2022; 
-		    <A HREF="https://secure.3ip.net/penobscotbaypress/account.html?cid=126480065568472">Log In</A><BR>
-		    <A HREF="{{MEDIA_URL}}store/help.html">Help</A> &#x2022; 
-		    <A HREF="javascript:openWindow('{{MEDIA_URL}}store/privacy.html');">Privacy</A><BR>
-		</SPAN></P>
-	      </TD>
-	    </TR>
-	    <TR>
-	      <TD>
-		
-		<IMG SRC="{{MEDIA_URL}}images/store/spacer.gif" ALT="spacer" HEIGHT="3" WIDTH="118" BORDER="0">
-	      </TD>
-	    </TR>
-	  </TABLE>
-	  <IMG SRC="{{MEDIA_URL}}images/store/spacer.gif" ALT="spacer" HEIGHT="5" WIDTH="130" BORDER="0">
-	  
-	</td>
-      </tr>
-<td align="center" valign="top" bgcolor="white" width="565">
-  <table width="444" border="0" cellspacing="8" cellpadding="0">
-<tr>
-	<h1>Sorry, we couldn't find that page.</h1>
-	<p>The page you are looking for may have been moved. We apologize for any inconvenience. Please click one of the links on the side of the page to visit our site, or click <a href="http://www.penobscotbaypress.com">here</a> to go to our home page. </p>
-	<p>Thank you!</p>
-	</td>
-	</table>
-	</tr>
-  {% block ads %}
-	<td valign="top" bgcolor="white" width="120">
-	  <table width="64" border="0" cellspacing="0">
-
-	  </table>
-	</td>
-  {% endblock %}
-      </tr>
-      <tr>
-	<td align="center" valign="top" width="145">
-	  <a href="http://www.penobscotbaypress.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Penobscot Bay Press','','{{MEDIA_URL}}images/navbar/navpbpover.gif',1)"><img src="{{MEDIA_URL}}images/navbar/navpbp.gif" alt="Penobscot Bay Press" name="Penobscot Bay Press" width="145" height="84" border="0"></a>
-	</td>
-	
-	<td colspan="2" align="center" valign="top" width="565">					 
-	  <p><img src="{{MEDIA_URL}}images/headers/spacer.gif" alt="" height="8" width="120" border="0"><br>
-            <span class="flag_descrip"><a class="whitelink" href="#top">Return to top</a></span></p>
-          <p class="flag_descrip"><a class="whitelink" href="http://penobscotbaypress.com/about/contact-us">Contact Us </a><font color="#339999">&#149; </font>Penobscot Bay Press Community Information Services<br>
-	    207-367-2200 <font color="#339999">&#149; </font>P.O. Box, Stonington, ME 04683 <font color="#339999">&#149; </font><a class="whitelink" href="mailto:cis@penobscotbaypress.com">cis@penobscotbaypress.com</a><br>
-            <img src="{{MEDIA_URL}}images/headers/spacer.gif" alt="spacer" height="12" width="120" border="0"></p>
-	</td>
-      </tr>
-    </table>
-    <p></p>
-  </div>
+<head>
+
+<meta charset="UTF-8">
+
+<link href="https://penobscotbaypress.com/media/css/2013_styles.css" rel="stylesheet" type="text/css">
+<link href="https://penobscotbaypress.com/media/css/2013_text_styles.css" rel="stylesheet" type="text/css">
+<link rel=”publisher” href=”https://plus.google.com/101523496233209435982/“>
+<link rel=”publisher” href=”https://www.facebook.com/penobscotbaypress/“>
+<meta name="google-site-verification" content="frKfps1DIXF9RPfYymQiWG-FtAXS5yQdL2gR1Ko5vE0">
+<meta name="Keywords" content="">
+<!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.-->
+<script>var __adobewebfontsappname__="dreamweaver"</script><script src="https://use.edgefonts.net/eb-garamond:n4:default.js" type="text/javascript"></script>
+
+
+<link rel="alternate" type="application/rss+xml" href="/news/feed.xml" title="RSS feed for Penobscot Bay Press">
+<title>Page not found</title>
+
+
+
+</head>
+
+<body>
+
+<div style="width: 980px; margin: 0 auto">
+
+	<div class="top_nav_container">
+		<div class="top_nav_links_white">
+			<ul class="top_nav_ul">
+			<a href="https://penobscotbaypress.com" class="top_nav_link_current"><li class="top_nav_li_current">Community News</li></a>
+			<a href="http://castinepatriot.com" class="top_nav_link"><li class="top_nav_li">Castine Patriot</li></a>
+			<a href="http://islandadvantages.com" class="top_nav_link"><li class="top_nav_li">Island Ad-Vantages</li></a>
+			<a href="http://weeklypacket.com" class="top_nav_link"><li class="top_nav_li">The Weekly Packet</li></a>
+			</ul>
+			<div style="clear:both"></div>
+		</div>
+		<div class="bordered_nav_container">
+			<div class="pbp_logo_nav">
+				<a href="https://penobscotbaypress.com">
+				<img src="https://penobscotbaypress.com/media/images/headers/2013/pbp_compass_rose_transp.gif"  alt="Penboscot Bay Press Compass Logo" width="80" height="79" style="display:block; float:left; margin-right:12px; margin-left:6px; margin-top:6px; margin-bottom:6px; border-width:0px">
+				</a>
+				<h1 class="pbp_site_name" style="margin-top:8px">Penobscot Bay Press<br>
+				<span class="pbp_site_name_subhed">Community Information Services</span></h1>
+			</div>
+			<div class="top_middle_teaser">
+				<ul class="contact_nav_ul">
+				<li class="contact_nav_li"><a href="https://penobscotbaypress.com/subs/" class="contact_nav_links">Subscribe</a></li>
+				<li class="contact_nav_li"><a href="https://penobscotbaypress.com/about/advertise/" class="contact_nav_links">Advertise With Us</a></li>
+				<li class="contact_nav_li"><a href="https://penobscotbaypress.com/about/contact-us/" class="contact_nav_links">Contact Us</a></li>
+				<li class="contact_nav_li"><a href="https://penobscotbaypress.com/submit/" class="contact_nav_links">Submit Content</a> </li>
+				</ul>
+			</div>
+			<div class="top_right_teaser"><a href="http://www.penbaypress.me">
+				<img src="https://penobscotbaypress.com/media/images/headers/2013/pbp_media_ad.jpg" width="200" height="100" alt="PBP Media"></a>
+			</div>
+			<div style="clear:both"></div>
+		</div>
+		<div class="top_nav_links" style="text-align:center">
+			<ul class="site_nav_ul">
+<li class="site_nav_li"><a href="https://penobscotbaypress.com" class="nav_link">News</a>
+			<li class="site_nav_li"><a href="http://sports.penobscotbaypress.com" class="nav_link">Sports</a></li>
+			<li class="site_nav_li"><a href="https://penobscotbaypress.com/classifieds" class="nav_link">Classifieds</a></li>
+			<li class="site_nav_li"><a href="https://penobscotbaypress.com/notices/" class="nav_link">Notices</a></li>
+			<li class="site_nav_li"><a href="https://penobscotbaypress.com/remembrances/" class="nav_link">Remembrances</a></li>
+			<li class="site_nav_li"><a href="http://calendar.penobscotbaypress.com" class="nav_link">Events</a></li>
+			<li class="site_nav_li"><a href="http://baycommunityregister.com/" class="nav_link">Local Info</a></li>
+			<li class="site_nav_li"><a href="http://baycommunityregister.com/businesses/" class="nav_link">Businesses</a></li>
+			<li class="site_nav_li"><a href="http://baycommunityregister.com/tides/" class="nav_link">Tides</a></li>
+			<li class="site_nav_li"><a href="http://penbaypress.me/" class="nav_link">Store</a></li>
+			</ul>
+			<div style="clear:both"></div>
+		</div>
+	</div>
+	<div style="clear:both" class="body_container">
+
+
+<div style="width:100%; margin:0; padding:0">
+	<div class="main_content_left">
+    <h1>Sorry, we encountered an error.</h1>
+    <p>We apologize for any inconvenience. Please click one of the links on the side of the page to visit our site, or click <a href="http://www.penobscotbaypress.com">here</a> to go to our home page. </p>
+    <p>Thank you!</p>
+	</div>
+	<div style="clear:both" class="footer_container_grey">
+		<a class="return" href="/">Penobscot Bay Press Community News</a>
+		<span style="margin-left:15px; margin-right:15px">&#8226;</span><a class="return" href="http://castinepatriot.com">Castine Patriot</a>
+		<span style="margin-left:15px; margin-right:15px">&#8226;</span><a class="return" href="http://islandadvantages.com">Island Ad-Vantages</a>
+		<span style="margin-left:15px; margin-right:15px">&#8226;</span><a class="return" href="http://weeklypacket.com">The Weekly Packet</a>
+	</div>
+	<div style="clear:both" class="footer_container">
+		<a href="https://penobscotbaypress.com">
+		<img src="https://penobscotbaypress.com/media/images/headers/2013/pbp_cis_small_logo.gif"  alt="Penboscot Bay Press Compass Logo" style="display:block; float:left; margin-left:12px; margin-top:2px; border-width:0px">
+		</a>
+		<h3 class="footer"><strong>Penobscot Bay Press Community Information Services</strong><br>
+		<a href="https://penobscotbaypress.com/about/contact-us/" class="contact_nav_links">Contact Us</a> &bull; <a href="https://penobscotbaypress.com/subs/" class="contact_nav_links">Subscribe</a> &bull; <a href="https://penobscotbaypress.com/about/advertise/" class="contact_nav_links">Advertise With Us</a><br>
+		207-367-2200 &bull; P.O. Box 36, Stonington, ME 04681 &bull; <a href="mailto:info@pbp.me" class="contact_nav_links">info@pbp.me</a></h3>
+		<div style="clear:both"></div>
+	</div>
+
+	<!--Begin Google Analytics Code-->
+	<script type="text/javascript">
+
+	var _gaq = _gaq || [];
+	_gaq.push(['_setAccount', 'UA-16906048-1']);
+	_gaq.push(['_setDomainName', '.penobscotbaypress.com']);
+	_gaq.push(['_trackPageview']);
+
+	(function() {
+	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+	})();
+
+	</script>
+	<!--End Google Analytics Code-->
+
+
+</div>
 </body>
-	
 </html>