{% extends "base.html" %}
{% block flag_link %}{% url rm-index %}{% endblock %}
{% block flag_img_src %}{{MEDIA_URL}}images/headers/remembrancesround440.gif{% endblock %}
{% block flag_descrip %}Remembering our loved ones.{% endblock %}
{% block content %}
<div style="width:100%; margin:0; padding:0">
	<div class="main_content_left">
        <div style="margin-bottom:25px; text-align:center">
        <ul class="store_nav_list">
            <li class="store_nav_item"><a href="{% url rm-remembrance-index %}" class="store_nav_link">Remembrances</a></li> | 
            <li class="store_nav_item"><a href="{% url rm-announcement-index %}" class="store_nav_link">Death Announcements</a></li> | 
            <li class="store_nav_item"><a href="{% url rm-service-index %}" class="store_nav_link">Memorial Services</a></li> | 
            <li class="store_nav_item"><a href="{% url rm-inmemoriam-index %}" class="store_nav_link">In Memoriam</a></li>
        </ul>
        </div>
<h2 class="sectionhead_wide">Remembrances</h2>
                                    {% if remembrances %}
                                    {% for a in remembrances %}
                                    {% load typogrify markup %}
                                    <div style="clear:both">
                                     	{% if a.photos.all %}
                                    		{% load convert_tags %}
                                    		{% for p in a.photos.all %}
                                                <p style="float:right; padding-left:10px; padding-bottom:4px; padding-top:0px; margin:0px"><img src={{p.image.url}} width="178"/></p>
                                    		{% endfor %}
                                    	{% endif %}
                                   	<p align="center" ><strong>{{a.name}}</strong></p>
                                    	{% if a.military %}
                                    		<img style="padding-right:10px;"width="40" height="40" align="left" alt="Flag" src="{{MEDIA_URL}}images/headers/remflag.gif">
                                    	{% endif %}
                                    {{a.body|urlize|markdown|typogrify}}
                                    <div style="clear:both"></div>
									</div><hr size="1">
                                    {% endfor %}
                                    {% else %}
                                    <h4 align="center">There are no remembrances at this time.</h4><hr size="1">
                                    {% endif %}
                                    
	</div>
</div>
<div class="sidebar_right_media" style="margin-top:4px">
			<!-- Block Ad BEGIN -->
				{% load adzone_tags %} 
				{% random_zone_ad '' 'remembrances' %}
			<!-- Block Ad END -->
</div>
<div style="padding-left:12px; padding-right:12px; padding-bottom:0px">
			<!-- AddThis Button BEGIN -->
			<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
			<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=penbaypress"></script>
			<!-- AddThis Button END -->
			<p>
			{% for s in object.sites.all|dictsortreversed:"id"%}
			{% if forloop.first %}
			<a class="return" href="http://{{s}}">{{s.name}} home page</a>
			{% else %}
			<span style="margin-left:15px; margin-right:15px">&#8226;</span><a class="return" href="http://{{s}}">{{s.name}} home page</a>
			{% endif %}
			{% endfor %}
			</p>
		</div>

<!-- AddThis Smart Layers BEGIN -->
<!-- Go to http://www.addthis.com/get/smart-layers to customize -->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=penbaypress"></script>
<script type="text/javascript">
addthis.layers({
'theme' : 'transparent',
'share' : {
'position' : 'right',
'services' : 'facebook,twitter,email,print,gmail,tumblr,more',
}   
});
</script>
<!-- AddThis Smart Layers END -->


{% endblock %}
