<?php $user = $period->user; ?>
<?php $generationTime = DateHelper::formatDateTime($period->report_generation_date); ?>
<?php $this->setPageTitle(t("Export - {server_name} - {year}_{month} - {gate_sn} - {start_time} - {end_time}", array('{server_name}' => t($eventServer->locality), '{year}' => t($startDate->format('Y')), '{month}' => t($startDate->format('m')), '{gate_sn}' => t(($gate>0)?$gate:"ALL"), '{start_time}' => DateHelper::formatFileDateTime($startDate), '{end_time}' => DateHelper::formatFileDateTime($endDate), '{generationTime}' => $generationTime) )); ?>
<?php $appLanguage = Yii::app()->language; ?>
<?php $this->renderPartial("_titlePage_{$appLanguage}", array('eventServer' => $eventServer, 'gate'=> $gate, 'startDate' => $startDate, 'endDate' => $endDate, 'exportedEvents' => $exportedEvents, 'exportedEvents' => $exportedEvents, 'numOfExported' => $numOfExported, 'numOfDeletes' => $numOfDeletes)); ?>
<hr class="report">
  <?php $this->renderPartial("_table", array('exportedEvents' => $exportedEvents)); ?>
</hr>
