echo $div; ?> <div class="row"> <div class="col-lg-12"> <div class="ibox float-e-margins"> <div class="ibox-title"> <h5>Edit Meta Information</h5> </div> <div class="ibox-content"> <form name="stationForm" id="stationForm" method="post" action="editMeta.php" class="form-horizontal"> <input type="hidden" name="call" id="call" value="loadMeta"> <div class="form-group"> <label class="col-sm-2 control-label">Select Station</label> <div class="col-sm-6"> <?php echo DropDownUtils::getFoldersDropDownWithStationName($folders, "F_DropDown", "loadMeta()", $selSeq); ?> </div> </div> </form> <hr> <form name="frm1" method="post" action="editMeta.php" class="form-horizontal"> <input type="hidden" name="selectedFolderSeq" value="<?php echo $selSeq; ?> " > <input type="hidden" name="call" id="call" value="updateMeta"> <div class="form-group"> <label class="col-sm-2 control-label">Category</label> <div class="col-sm-6"> <input class="form-control" name="category" type="text" size="50" value="<?php
$isError = true; } if ($toDateForm == null) { $msg .= "Select To date<br>"; $isError = true; } $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"); $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>
?> <div class="row"> <div class="col-lg-12"> <div class="ibox float-e-margins"> <div class="ibox-title"> <h5>Edit Parameters</h5> </div> <div class="ibox-content"> <form name="form1" id="form1" method="post" action="editParameter.php"> <input type="hidden" name="call" id="call"> <div class="row"> <div class="form-group"> <label class="col-sm-1 control-label">Station</label> <div class="col-sm-11"> <?php echo DropDownUtils::getFoldersDropDownWithStationName($folders, "F_DropDown", "editParameters()", $selSeq); ?> </div> </div> </div> </form> <form name="chform" id="chform" method="post" action="editParameter.php" class="form-inline"> <input type="hidden" name="action" id="action"> <input type="hidden" name="selectedFolderSeq" value="<?php echo $selSeq; ?> " > <input type="hidden" name="delSeq" id = "delSeq"> <?php if (empty($channlConfigs)) {
<!DOCTYPE html> <html> <head> <?php include "_jsAdminInclude.php"; ?> <?php include "../_InspiniaInclude.php"; ?> </head> <body> <div id="wrapper"> <?php include "leftButtons.php"; $highValueRules = $HVRDS->FindByLocationSeq($locSeq); $folDDown = DropDownUtils::getFoldersDropDownWithStationName($folders, "folder", "loadGrid(this.value)", ''); ?> <div class="wrapper wrapper-content animated fadeInRight"> <div class="row"> <div class="col-lg-12"> <div class="ibox float-e-margins"> <div class="ibox-title"> <h5>List of Available High Value Rules</h5> </div> <div class="ibox-content"> <form method="post" role="form" name="userForm" action="<?php echo $_SERVER['PHP_SELF']; ?> " class="form-horizontal"> <input type="hidden" name="locationSeq" id="locationSeq" value="<?php echo $locationSeq;
?> </head> <body> <div id="wrapper"> <?php include "leftButtons.php"; $locSeq = $managerSession['locSeq']; $FDS = FolderDataStore::getInstance(); $LDS = LocationDataStore::getInstance(); $CCDS = ChannelConfigurationDataStore::getInstance(); $locationSeqs = $LDS->FindLocationsByUser($managerSession["seq"]); if (!in_array($locSeq, $locationSeqs)) { array_push($locationSeqs, $locSeq); } $folders = $FDS->FindByLocation(implode(",", $locationSeqs)); $folDDown = DropDownUtils::getFoldersDropDownWithStationName($folders, "folder", "changeStation()", $highValueRule->getFolderSeq()); $chDDown = "Select a Station to load Parameters"; if ($highValueRule->getParameter() != null) { $channelConfigs = $CCDS->FindByFolder($highValueRule->getFolderSeq()); $chDDown = DropDownUtils::getChannelsDropDown($channelConfigs, "channelNames", "", $highValueRule->getParameter()); } ?> <div class="wrapper wrapper-content animated fadeInRight"> <div class="row"> <div class="col-lg-12"> <div class="ibox float-e-margins"> <div class="ibox-title"> <h5>Create HighValue Rule</h5> </div> <div class="ibox-content"> <form name="frm1" method="post" action="<?php
</tr> <tr> <td class="ui-widget-header" style="padding:10px 10px 10px 10px;">Edit Meta</td> </tr> <tr> <td class="ui-widget-content"> <form name="frm1" method="post" action="editMeta.php"> <table width="100%" border="0" style="padding:10px 10px 10px 10px;"> <tr> <td width="22%">Select Folder</td> <td width="78%"> <?php echo DropDownUtils::getFoldersDropDownWithStationName($folders, "F_DropDown", "setLocation()", $selSeq); ?> <input type="submit" name="submit" value="Edit"> </td> </tr> </table> </form> </td> </tr> <tr> <td class="ui-widget-content"> <form name="frm1" method="post" action="editMeta.php"> <input type="hidden" name="selectedFolderSeq" value="<?php echo $selSeq; ?> " >