2020-12-23 00:08:31 +08:00
|
|
|
<?php
|
|
|
|
// This is the HTML representing the Object Detection modal on the Events page
|
|
|
|
|
|
|
|
$eid = isset($_REQUEST['eid']) ? $_REQUEST['eid'] : '';
|
|
|
|
|
|
|
|
if ( !validInt($eid) ) {
|
|
|
|
ZM\Error("Invalid event id: $eid");
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
2021-01-03 02:34:33 +08:00
|
|
|
<div id="objdetectModal" class="modal" tabindex="-1">
|
2020-12-23 00:08:31 +08:00
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h5 class="modal-title">Object Detection</h5>
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2020-12-23 01:46:31 +08:00
|
|
|
<img src="?view=image&eid=<?php echo $eid ?>&fid=objdetect">
|
2020-12-23 00:08:31 +08:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|