
<?php if (0 < count($creators)): ?>
  <?php foreach($events as $date): ?>
    <?php $creator = QubitActor::getById($date->actorId); ?>

    <?php if (($value = $creator->getHistory(array('cultureFallback' => true))) || $creator->datesOfExistence): ?>
      <bioghist id="<?php echo 'md5-' . md5(url_for(array($creator, 'module' => 'actor'), true)) ?>" encodinganalog="<?php echo $ead->getMetadataParameter('bioghist') ?>">
        <?php if ($value): ?>
          <note><p><?php echo escape_dc(esc_specialchars($value)) ?></p></note>
        <?php endif; ?>
        <?php if ($creator->datesOfExistence): ?>
          <note><p><date type="existence"><?php echo escape_dc(esc_specialchars($creator->datesOfExistence)) ?></date></p></note>
        <?php endif; ?>
      </bioghist>
    <?php endif; ?>

  <?php endforeach; ?>
<?php endif; ?>


<?php if (0 < count($creators)): ?>
  <?php foreach($events as $date): ?>
    <?php $creator = QubitActor::getById($date->actorId); ?>

    <?php if (($value = $creator->getHistory(array('cultureFallback' => true))) || $creator->datesOfExistence): ?>
      <bioghist id="<?php echo 'md5-' . md5(url_for(array($creator, 'module' => 'actor'), true)) ?>" encodinganalog="<?php echo $ead->getMetadataParameter('bioghist') ?>">
        <?php if ($value): ?>
          <note><p><?php echo escape_dc(esc_specialchars($value)) ?></p></note>
        <?php endif; ?>
      </bioghist>
    <?php endif; ?>

  <?php endforeach; ?>
<?php endif; ?>

Remove dates of existence from bioghist
Remove dates of existence from bioghist
