<p class="description">
  <br />
  Si dà atto che il presente registro è composto da
  <b><?php echo htmlspecialchars($pageCount,ENT_QUOTES,'UTF-8'); ?></b>
  pagine compresa questa, e contiene:
  <br />
  <br />
  <b><?php echo htmlspecialchars($totalEvents,ENT_QUOTES,'UTF-8'); ?></b>
  Accertamenti di Infrazione
  <?php if (count($validEvents)>0) { ?>
    dall'A.D.I. N°
    <b><?php echo htmlspecialchars($firstEvent->ext_code,ENT_QUOTES,'UTF-8'); ?></b>
    all'A.D.I. N°
    <b><?php echo htmlspecialchars($lastEvent->ext_code,ENT_QUOTES,'UTF-8'); ?></b>
    <br />
    <br />
  <?php } ?>
  rilevati dal sottoscritto Verbalizzante
  <?php echo htmlspecialchars($user->fullName,ENT_QUOTES,'UTF-8'); ?>
  nella località
  <?php echo htmlspecialchars($gateGroup->address,ENT_QUOTES,'UTF-8'); ?>
  <br />
  <br />
  <?php if(count($validEvents)>0) { ?>
    dal giorno
    <b><?php echo htmlspecialchars(DateHelper::formatISO9075Date($firstEvent->StartTime) ,ENT_QUOTES,'UTF-8'); ?></b>
    alle ore
    <b><?php echo htmlspecialchars(DateHelper::formatISO9075Time($firstEvent->StartTime, 'medium'),ENT_QUOTES,'UTF-8'); ?></b>
    <br />
    <br />
    al giorno
    <b><?php echo htmlspecialchars(DateHelper::formatISO9075Date($lastEvent->StartTime) ,ENT_QUOTES,'UTF-8'); ?></b>
    alle ore
    <b><?php echo htmlspecialchars(DateHelper::formatISO9075Time($lastEvent->StartTime,  'medium') ,ENT_QUOTES,'UTF-8'); ?></b>
  <?php } ?>
  <br />
  <br />
</p>
<span class="sign">FIRMA</span>
