{% extends "base.html" %}
{% block rss %}<link rel="alternate" type="application/rss+xml" href="{% url cl-feed %}" title="RSS feed for Classifieds at Penobscot Bay Press" />{% endblock %}
{% block meta_keywords %}classifieds, penobscot bay press, maine, ads{% endblock %}
{% block title %}Classifieds | Penobscot Bay Press {% endblock %}
{% block flag_link %}{% url cl-index %}{% endblock %}
{% block flag_descrip %}Classified advertisments covering the unique towns and islands of East<br/> Penobscot and Blue Hill Bays, Maine.{% endblock %}
{% block flag_img_src %}{{MEDIA_URL}}images/headers/classround440.gif{% endblock %}
{% block flag_update_stamp %}{% endblock %}
{% block content %}
					<td align="center" valign="top" bgcolor="white" width="440">
						<table width="444" border="0" cellspacing="2" cellpadding="0">
							<tr>
								<td colspan="2" align="center" valign="middle" width="429"><img src="{{MEDIA_URL}}images/headers/choosecat428.gif" alt="Choose a Category" width="428" border="0"></td>

							</tr>
							{% regroup subcategories by parent as subcat_list %}
							{% for subcat in subcat_list %}
							<tr>
								<td colspan="2" align="center" valign="middle" width="429">
									{% if not forloop.first %}<hr size="1">{% endif %}
									<p><b>{{ subcat.grouper }}</b></p>
								</td>
							</tr>
							<tr>
							{% for item in subcat.list %}
								<td align="center" valign="middle" width="205">

									<a href="{{item.get_absolute_url}}">{{item}}</a> ({{item.active_ads.count}})
								</td>
							{% cycle '' '</tr><tr>' %}
							{% endfor %}
							{% endfor %}
						</table>
					</td>
{% endblock %}
{% block ads %}
{% load adzone_tags %}
<td align="right" valign="top" bgcolor="white" width="120"> 
<table width="64" border="0" cellspacing="0"> 
<tr> 
  <td>
  {% random_zone_ad '' 'towers' %}
  </td>
</tr> 
</table> 
</td> 
{% endblock %}
