<center>
  <img <?php echo MtHaml\Runtime::renderAttributes(array(array('src', $urlCityLogo), array('style', ('height: 150px;'))), 'html5', 'UTF-8'); ?> />
</center>
<br />
<center><?php echo htmlspecialchars($urlCityText,ENT_QUOTES,'UTF-8'); ?></center>
<br />
<center>STAMPA INFRAZIONE IN ACCERTAMENTO (velocità istantanea)</center>
<center>
  <br />
  <table <?php echo MtHaml\Runtime::renderAttributes(array(array('border', 1)), 'html5', 'UTF-8'); ?>>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'Gate'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($event->GateDescription,ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'Allowed Speed'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($event->speed_limit,ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'Contested Speed'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($challengedSpeed,ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'External Code'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($event->ext_code,ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'Event ID'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($event->ID,ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'Date'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($eventDate,ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'Time'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($eventTime,ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'License plate'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($event->Plate,ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'Vehicle type'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($veichleClasses[$event->custom_vehicle_type],ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'Nationality'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($nations[$event->custom_nationality],ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'Lic. plate type'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($event->custom_plate_type,ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'Type'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($event->custom_property_type,ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
    <tr>
      <td><?php echo htmlspecialchars(Yii::t('app', 'Kemler'),ENT_QUOTES,'UTF-8'); ?></td>
      <td><?php echo htmlspecialchars($event->Kemler,ENT_QUOTES,'UTF-8'); ?></td>
    </tr>
  </table>
  <br />
  <center>
    <img <?php echo MtHaml\Runtime::renderAttributes(array(array('src', $mediaUrl)), 'html5', 'UTF-8'); ?> />
    <center>
      <br />
      <center>Sistema di misura della velocità T-EXSPEED v.2.0, omologa del Ministero delle Infrastrutture e dei Trasporti con D.M. n° 5298 del 27/10/2011</center>
      <br />
      <?php echo htmlspecialchars($certificatewarning,ENT_QUOTES,'UTF-8'); ?>
    </center>
  </center>
</center>
