public static function getInstance()
 {
     if (!self::$highValueRuleReminderDataStore) {
         self::$highValueRuleReminderDataStore = new HighValueRuleReminderDataStore();
         return self::$highValueRuleReminderDataStore;
     }
     return self::$highValueRuleReminderDataStore;
 }
    $toDateStr = $toDate->format("Y/m/d  H:i:s");
    $remindersCount = $HVRRDS->FindByFolderFromToDate($folderSeq, $fromDateStr, $toDateStr);
    $logs = $HVRRDS->getHighValueReminderLogs($folderSeq, $fromDateStr, $toDateStr);
    $logs = json_encode($logs);
}
$folDDown = DropDownUtils::getFoldersDropDownWithStationName($folders, "folder", "", $folderSeq);
if (isset($_POST["call"]) && $_POST["call"] == "exportLogs") {
    $folderSeq = $_POST["folderSeq"];
    $fromDateForm = $_POST["fromDate"];
    $toDateForm = $_POST["toDate"];
    $fromDate = new DateTime($fromDateForm);
    $toDate = new DateTime($toDateForm);
    $toDate = $toDate->add(new DateInterval('P1D'));
    $fromDateStr = $fromDate->format("Y/m/d  H:i:s");
    $toDateStr = $toDate->format("Y/m/d  H:i:s");
    $HVRRDS = HighValueRuleReminderDataStore::getInstance();
    $logs = $HVRRDS->getHighValueReminderLogs($folderSeq, $fromDateStr, $toDateStr);
    ExportUtils::ExportData($logs);
}
?>
<!DOCTYPE html>
<html>
    <head>
     <?php 
include "_jsAdminInclude.php";
?>
     <?php 
include "../_InspiniaInclude.php";
?>
 
    </head>