<?php if (!$isAjax):?>
<div class="block block-aggregator" id="<?php echo $contentId; ?>">
<?php endif;?>
<h3 class="handle">
<a class="block-close"><span>toggle</span></a>
<a class="block-toggle"><span>toggle</span></a>
<?php echo translateAdmin('Novos Inscritos na Newsletter')?>
</h3>

<div class="content">
  <div>
  <?php if (isset($newsletters) && $newsletters && count($newsletters)>0):?>
	<ul class="newsletter">
        <li class="newsletter_linhas">
  	<?php foreach($newsletters as $categoria_id => $inscritos): ?>
  		<ul class="newsletter_linha">
        	<?php if (isset($categorias[$categoria_id])): ?>
        		<li class="newsletter_categoria">
        		<?php echo $categorias[$categoria_id]['titulo']; ?>
        		</li>
        	<?php endif;?>
        	<?php foreach($inscritos as $inscrito):?>
        		<li class="newsletter_inscrito">
  	    	    <?php echo $inscrito['nome']?>
  	    	    <?php echo $inscrito['email']?>
  	    	    </li>
  	    	<?php endforeach;?>
		</ul>
  	<?php endforeach;?>
            </li>
        </ul>
  <?php endif;?>
  </div>
</div>
<?php if (!$isAjax):?>
</div>
<?php endif;?>