mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-06 12:02:32 +02:00
- Removed the `getEPGNames` and `processEPGAPI` functions from `admin.php` as they are no longer needed. - Cleaned up the `API` class in `admin_api.php` by removing references to EPG API settings and processing. - Deleted the EPG API related code from the admin table API in `table.php`. - Updated the database schema in `status` to remove unnecessary columns from the `epg_api` and `epg_languages` tables.
618 lines
25 KiB
PHP
618 lines
25 KiB
PHP
<?php if (count(get_included_files()) != 1): ?>
|
||
<div class="modal fade bs-streams-modal-center" tabindex="-1" role="dialog" aria-labelledby="streamViewLabel" aria-hidden="true" style="display: none;" data-id="">
|
||
<div class="modal-dialog modal-dialog-centered modal-xl">
|
||
<div class="modal-content">
|
||
<div class="modal-body">
|
||
<table id="datatable-sources" class="table table-striped table-borderless mb-0" style="width:100%;">
|
||
<thead>
|
||
<tr>
|
||
<th>ID</th>
|
||
<th></th>
|
||
<th>Name</th>
|
||
<th>Server</th>
|
||
<th>Clients</th>
|
||
<th>Uptime</th>
|
||
<th>Actions</th>
|
||
<th>Actions</th>
|
||
<th>Stream Info</th>
|
||
<th>Stream Info</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade bs-epg-modal-center" tabindex="-1" role="dialog" aria-labelledby="epgViewLabel" aria-hidden="true" style="display: none;" data-id="">
|
||
<div class="modal-dialog modal-dialog-centered modal-xl">
|
||
<div class="modal-content">
|
||
<div class="modal-body">
|
||
<table id="datatable-epg" class="table table-striped table-borderless dt-responsive nowrap" style="width:100%;">
|
||
<thead>
|
||
<tr>
|
||
<th class="text-center">Time</th>
|
||
<th>Title</th>
|
||
<th>Description</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade bs-live-modal-center" tabindex="-1" role="dialog" aria-labelledby="liveViewLabel" aria-hidden="true" style="display: none;" data-id="">
|
||
<div class="modal-dialog modal-dialog-centered modal-xl">
|
||
<div class="modal-content">
|
||
<div class="modal-body">
|
||
<table id="datatable-live" class="table table-striped table-borderless mb-0" style="width:100%;">
|
||
<thead>
|
||
<tr>
|
||
<th class="text-center">ID</th>
|
||
<th class="text-center">Quality</th>
|
||
<th>Line</th>
|
||
<th>Stream</th>
|
||
<th>Server</th>
|
||
<th>Player</th>
|
||
<th>ISP</th>
|
||
<th class="text-center">IP</th>
|
||
<th class="text-center">Duration</th>
|
||
<th class="text-center">Output</th>
|
||
<th class="text-center">Restreamer</th>
|
||
<th class="text-center"><?php echo $_['actions']; ?></th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade bs-whois-modal-center" tabindex="-1" role="dialog" aria-labelledby="whoisLabel" aria-hidden="true" style="display: none;">
|
||
<div class="modal-dialog modal-dialog-centered modal-md">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="whoisLabel"></h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<table class="table mb-0" id="whois-table">
|
||
<tbody>
|
||
<tr>
|
||
<th scope="row" class="bg-secondary text-center text-white" colspan="2">GEOLOCATION</th>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row">Continent</th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row">Country</th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row">City</th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row">Postcode</th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row">Lat Lng</th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row" class="bg-secondary text-center text-white" colspan="2">ISP</th>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row">ISP Name</th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row">Organisation</th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row">AS Number</th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row">Type</th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row" class="bg-secondary text-center text-white" colspan="2">LOCALE</th>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row">Timezone</th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th scope="row">Local Time</th>
|
||
<td></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade bs-logs-modal-center" tabindex="-1" role="dialog" aria-labelledby="clearLogsLabel" aria-hidden="true" style="display: none;" data-id="">
|
||
<div class="modal-dialog modal-dialog-centered modal-md">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="clearLogsLabel"><?php echo $_['clear_logs']; ?></h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="form-group row mb-4">
|
||
<label class="col-md-4 col-form-label" for="range_clear"><?php echo $_['date_range']; ?></label>
|
||
<div class="col-md-4">
|
||
<input type="text" class="form-control text-center date" id="range_clear_from" name="range_clear_from" data-toggle="date-picker" data-single-date-picker="true" autocomplete="off" placeholder="<?php echo $_['from']; ?>">
|
||
</div>
|
||
<div class="col-md-4">
|
||
<input type="text" class="form-control text-center date" id="range_clear_to" name="range_clear_to" data-toggle="date-picker" data-single-date-picker="true" autocomplete="off" placeholder="<?php echo $_['to']; ?>">
|
||
</div>
|
||
</div>
|
||
<div class="text-center">
|
||
<input id="clear_logs" type="submit" class="btn btn-primary" value="<?php echo $_['clear']; ?>" style="width:100%" />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade addModal" role="dialog" aria-labelledby="addLabel" aria-hidden="true" style="display: none;" data-username="" data-password="">
|
||
<div class="modal-dialog modal-dialog-centered modal-md">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="addModal"><?php echo $_['select_series']; ?>:</h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="col-12">
|
||
<select id="add_series_id" class="form-control" data-toggle="select2"></select>
|
||
</div>
|
||
<div class="col-12 add-margin-top-20">
|
||
<div class="input-group">
|
||
<div class="input-group-append" style="width:100%">
|
||
<button style="width:50%" class="btn btn-success waves-effect waves-light" type="button" onClick="addEpisode();"><i class="mdi mdi-plus-circle-outline"></i> <?php echo $_['add_episode']; ?></button>
|
||
<button style="width:50%" class="btn btn-info waves-effect waves-light" type="button" onClick="addEpisodes();"><i class="mdi mdi-plus-circle-multiple-outline"></i> <?php echo $_['multiple_episodes']; ?></button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade downloadModal" role="dialog" aria-labelledby="downloadLabel" aria-hidden="true" style="display: none;" data-username="" data-password="">
|
||
<div class="modal-dialog modal-dialog-centered modal-md">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="downloadModal">Download Playlist</h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="form-group row">
|
||
<label class="col-md-4 col-form-label" for="download_type">Format</label>
|
||
<div class="col-8">
|
||
<select id="download_type" class="form-control" data-toggle="select2">
|
||
<?php
|
||
$db->query('SELECT * FROM `output_devices` ORDER BY `device_id` ASC;');
|
||
?>
|
||
|
||
<?php foreach ($db->get_rows() as $rRow): ?>
|
||
<?php if ($rRow['copy_text']): ?>
|
||
<optgroup label="<?php echo htmlspecialchars($rRow['device_name']); ?>">
|
||
<option data-text="<?php echo htmlspecialchars(str_replace('"', '\\"', $rRow['copy_text'])); ?>" value="<?php echo htmlspecialchars($rRow['device_key']); ?>?output=hls"><?php echo htmlspecialchars($rRow['device_name']); ?> - HLS </option>
|
||
<option data-text="<?php echo htmlspecialchars(str_replace('"', '\\"', $rRow['copy_text'])); ?>" value="<?php echo htmlspecialchars($rRow['device_key']); ?>"><?php echo htmlspecialchars($rRow['device_name']); ?> - MPEGTS</option>
|
||
<option data-text="<?php echo htmlspecialchars(str_replace('"', '\\"', $rRow['copy_text'])); ?>" value="<?php echo htmlspecialchars($rRow['device_key']); ?>?output=rtmp"><?php echo htmlspecialchars($rRow['device_name']); ?> - RTMP</option>
|
||
</optgroup>
|
||
<?php else: ?>
|
||
<optgroup label="<?php echo htmlspecialchars($rRow['device_name']); ?>">
|
||
<option value="<?php echo htmlspecialchars($rRow['device_key']); ?>?output=hls"><?php echo htmlspecialchars($rRow['device_name']); ?> - HLS </option>
|
||
<option value="<?php echo htmlspecialchars($rRow['device_key']); ?>"><?php echo htmlspecialchars($rRow['device_name']); ?> - MPEGTS</option>
|
||
<option value="<?php echo htmlspecialchars($rRow['device_key']); ?>?output=rtmp"><?php echo htmlspecialchars($rRow['device_name']); ?> - RTMP</option>
|
||
</optgroup>
|
||
<?php endif; ?>
|
||
<?php endforeach; ?>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="form-group row">
|
||
<label class="col-md-4 col-form-label" for="output_type">Limit Output</label>
|
||
<div class="col-8">
|
||
<select id="output_type" class="form-control select2-multiple" data-toggle="select2" multiple="multiple" data-placeholder="Choose...">
|
||
<option value="live">Live Streams</option>
|
||
<option value="movie">Movies</option>
|
||
<option value="created_live">Created Channels</option>
|
||
<option value="radio_streams">Radio Stations</option>
|
||
<option value="series">TV Series</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="form-group row">
|
||
<div class="col-12">
|
||
<div class="input-group">
|
||
<input type="text" class="form-control" id="download_url" value="">
|
||
<div class="input-group-append">
|
||
<button class="btn btn-warning waves-effect waves-light" type="button" onClick="copyDownload();"><i class="mdi mdi-content-copy"></i></button>
|
||
<button class="btn btn-info waves-effect waves-light" type="button" onClick="doDownload();" id="download_button" disabled><i class="mdi mdi-download"></i></button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade messageModal" role="dialog" aria-labelledby="messageModalLabel" aria-hidden="true" style="display: none;" data-id="">
|
||
<div class="modal-dialog modal-dialog-centered modal-md">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="messageModalLabel"><?php echo $_['mag_event']; ?></h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="col-12">
|
||
<select id="message_type" class="form-control" data-toggle="select2">
|
||
<option value="" selected><?php echo $_['select_an_event']; ?>:</option>
|
||
<optgroup label="">
|
||
<option value="play_channel"><?php echo $_['play_channel']; ?></option>
|
||
<option value="reload_portal"><?php echo $_['reload_portal']; ?></option>
|
||
<option value="reboot"><?php echo $_['reboot_device']; ?></option>
|
||
<option value="send_msg"><?php echo $_['send_message']; ?></option>
|
||
<option value="cut_off"><?php echo $_['close_portal']; ?></option>
|
||
<option value="reset_stb_lock"><?php echo $_['reset_stb_lock']; ?></option>
|
||
</optgroup>
|
||
</select>
|
||
</div>
|
||
<div class="col-12" style="margin-top:20px;display:none;" id="send_msg_form">
|
||
<div class="form-group row mb-4">
|
||
<div class="col-md-12">
|
||
<textarea id="message" name="message" class="form-control" rows="3" placeholder="<?php echo $_['enter_a_custom_message']; ?>..."></textarea>
|
||
</div>
|
||
</div>
|
||
<div class="form-group row mb-4">
|
||
<label class="col-md-9 col-form-label" for="reboot_portal"><?php echo $_['reboot_on_confirmation']; ?></label>
|
||
<div class="col-md-3">
|
||
<input name="reboot_portal" id="reboot_portal" type="checkbox" data-plugin="switchery" class="js-switch" data-color="#039cfd" />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="col-12" style="margin-top:20px;display:none;" id="play_channel_form">
|
||
<div class="form-group row mb-4">
|
||
<label class="col-md-3 col-form-label" for="selected_channel"><?php echo $_['channel']; ?></label>
|
||
<div class="col-md-9">
|
||
<select id="selected_channel" name="selected_channel" class="form-control" data-toggle="select2" style="width:100%;"></select>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button disabled id="message_submit" type="button" class="btn btn-primary waves-effect"><?php echo $_['send_event']; ?></button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade bs-server-modal-center" tabindex="-1" role="dialog" aria-labelledby="restartServicesLabel" aria-hidden="true" style="display: none;" data-id="">
|
||
<div class="modal-dialog modal-dialog-centered modal-xl">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="restartServicesLabel">Server Tools</h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="form-group row">
|
||
<div class="col-md-3">
|
||
<input id="reinstall_server" type="submit" class="btn btn-light" value="Reinstall Server" style="width:100%" />
|
||
</div>
|
||
<div class="col-md-2">
|
||
<input id="restart_services_ssh" type="submit" class="btn btn-light" value="Restart Services" style="width:100%" />
|
||
</div>
|
||
<div class="col-md-2">
|
||
<input id="reboot_server_ssh" type="submit" class="btn btn-light" value="Reboot Server" style="width:100%" />
|
||
</div>
|
||
<div class="col-md-2">
|
||
<input id="update_binaries" type="submit" class="btn btn-light" value="Update Binaries" style="width:100%" />
|
||
</div>
|
||
<div class="col-md-3">
|
||
<input id="update_server" type="submit" class="btn btn-light" value="Update Server(not worked)" style="width:100%" />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade bs-domains" tabindex="-1" role="dialog" aria-labelledby="modalLabel" aria-hidden="true" style="display: none;">
|
||
<div class="modal-dialog modal-dialog-centered modal-md">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="modalLabel">Domain List</h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<p class="sub-header">Ensure the following domains are entered in your reCAPTCHA V2 admin console, otherwise your resellers will be unable to login via their domain.</p>
|
||
<div class="table-responsive">
|
||
<table class="table mb-0">
|
||
<thead>
|
||
<tr>
|
||
<th>Type / Reseller</th>
|
||
<th>Domain Name</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<?php if (strlen($rServers[SERVER_ID]['server_ip']) > 0): ?>
|
||
<tr>
|
||
<td>Server IP</td>
|
||
<td><?php echo $rServers[SERVER_ID]['server_ip']; ?></td>
|
||
</tr>
|
||
<?php endif; ?>
|
||
<?php if (strlen($rServers[SERVER_ID]['domain_name']) > 0): ?>
|
||
<tr>
|
||
<td>Server Domain</td>
|
||
<td><?php echo $rServers[SERVER_ID]['domain_name']; ?></td>
|
||
</tr>
|
||
<?php endif; ?>
|
||
<?php
|
||
$db->query("SELECT `username`, `reseller_dns` FROM `users` WHERE `reseller_dns` <> '' ORDER BY `username` ASC;");
|
||
|
||
if ($db->num_rows() > 0) {
|
||
foreach ($db->get_rows() as $rRow) {
|
||
?>
|
||
<tr>
|
||
<td><?php echo $rRow['username']; ?></td>
|
||
<td><?php echo $rRow['reseller_dns']; ?></td>
|
||
</tr>
|
||
<?php
|
||
}
|
||
}
|
||
?>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade bs-provider-streams-modal-center" tabindex="-1" role="dialog" aria-labelledby="providerStreamsLabel" aria-hidden="true" style="display: none;" data-id="">
|
||
<div class="modal-dialog modal-dialog-scrollable modal-lg">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="providerStreamsLabel">Provider Streams</h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<table id="datatable-provider-streams" class="table table-striped table-borderless dt-responsive">
|
||
<thead>
|
||
<tr>
|
||
<th class="text-center">Icon</th>
|
||
<th>Stream Name</th>
|
||
<th>Provider</th>
|
||
<th class="text-center">Actions</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody></tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade bs-provider-movies-modal-center" tabindex="-1" role="dialog" aria-labelledby="providerMoviesLabel" aria-hidden="true" style="display: none;" data-id="">
|
||
<div class="modal-dialog modal-dialog-scrollable modal-lg">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="providerMoviesLabel">Provider Movies</h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<table id="datatable-provider-movies" class="table table-striped table-borderless dt-responsive">
|
||
<thead>
|
||
<tr>
|
||
<th>Stream Name</th>
|
||
<th>Provider</th>
|
||
<th class="text-center">Actions</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody></tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade bs-picon-modal-center" tabindex="-1" role="dialog" aria-labelledby="epgPiconLabel" aria-hidden="true" style="display: none;" data-id="">
|
||
<div class="modal-dialog modal-dialog-center modal-md">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="epgPiconLabel">Use the EPG icon for this stream?</h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body text-center">
|
||
<img id="epg-picon" src="" class="img-thumbnail" style="max-width: 400px; max-height: 250px;"><br /><br />
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button type="button" class="btn btn-secondary waves-effect" data-dismiss="modal">Cancel</button>
|
||
<button type="button" class="btn btn-success waves-effect waves-light" id="epg_picon_save">Use Icon</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade creditsModal" role="dialog" aria-labelledby="creditsLabel" aria-hidden="true" style="display: none;" data-id="">
|
||
<div class="modal-dialog modal-dialog-centered modal-md">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="creditsModal">Add / Remove Credits</h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="form-group row">
|
||
<label class="col-md-8 col-form-label" for="credits">Credits</label>
|
||
<div class="col-md-4">
|
||
<input type="text" class="form-control text-center" id="credits" onkeypress="return isNumberKey(event)" name="credits" value="">
|
||
</div>
|
||
</div>
|
||
<div class="form-group row">
|
||
<div class="col-md-12">
|
||
<input type="text" class="form-control" id="credits_reason" name="credits_reason" placeholder="Reason for Adjustment..." value="">
|
||
</div>
|
||
</div>
|
||
<div class="form-group row">
|
||
<div class="col-md-12">
|
||
<button class="btn btn-info waves-effect waves-light" style="width:100%;" type="button" onClick="submitCredits();">Adjust Credits</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade bs-programme" tabindex="-1" role="dialog" aria-labelledby="programmeLabel" aria-hidden="true" style="display: none;">
|
||
<div class="modal-dialog modal-dialog-centered modal-md">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title"><span id="programmeLabel"></span> <small><span id="programmeStart"></span></small></h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<p class="sub-header" id="programmeDescription"></p>
|
||
<button type="button" id="programmeRecord" class="btn btn-danger waves-effect"><i class="mdi mdi-record"></i> Record</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade fingerprintModal" role="dialog" aria-labelledby="fingerprintLabel" aria-hidden="true" style="display: none;" data-id="" data-type="">
|
||
<div class="modal-dialog modal-dialog-centered modal-xl">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="fingerprintModal">Fingerprint</h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="form-group row">
|
||
<label class="col-md-1 col-2 col-form-label text-center" for="mod_fingerprint_type"><?php echo $_['type']; ?></label>
|
||
<div class="col-md-2 col-6">
|
||
<select id="mod_fingerprint_type" class="form-control text-center" data-toggle="select2">
|
||
<option value="1"><?php echo $_['activity_id']; ?></option>
|
||
<option value="2"><?php echo $_['username']; ?></option>
|
||
<option value="3"><?php echo $_['message']; ?></option>
|
||
</select>
|
||
</div>
|
||
<label class="col-md-1 col-2 col-form-label text-center" for="mod_font_size"><?php echo $_['size']; ?></label>
|
||
<div class="col-md-1 col-2">
|
||
<input type="text" class="form-control text-center" id="mod_font_size" value="36" placeholder="">
|
||
</div>
|
||
<label class="col-md-1 col-2 col-form-label text-center" for="mod_font_color"><?php echo $_['colour']; ?></label>
|
||
<div class="col-md-2 col-2">
|
||
<input type="text" id="mod_font_color" class="form-control text-center" value="#ffffff">
|
||
</div>
|
||
<label class="col-md-1 col-2 col-form-label text-center" for="mod_position_x"><?php echo $_['position']; ?></label>
|
||
<div class="col-md-1 col-2">
|
||
<input type="text" class="form-control text-center" id="mod_position_x" value="10" placeholder="X">
|
||
</div>
|
||
<div class="col-md-1 col-2">
|
||
<input type="text" class="form-control text-center" id="mod_position_y" value="10" placeholder="Y">
|
||
</div>
|
||
<div class="col-md-1 col-2">
|
||
<button type="button" class="btn btn-info waves-effect waves-light" onClick="setModalFingerprint()">
|
||
<i class="mdi mdi-fingerprint"></i>
|
||
</button>
|
||
</div>
|
||
<div class="col-md-12 col-2" style="margin-top:10px;display:none;" id="mod_custom_message_div">
|
||
<input type="text" class="form-control" id="mod_custom_message" value="" placeholder="<?php echo $_['custom_message']; ?>">
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade bs-failures-modal-center" tabindex="-1" role="dialog" aria-labelledby="failuresLabel" aria-hidden="true" style="display: none;" data-id="">
|
||
<div class="modal-dialog modal-dialog-centered modal-xl">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title" id="failuresLabel"><button onClick='clearLogs()' type='button' class='btn btn-secondary btn-xs waves-effect waves-light'>Clear Stream Logs</button></h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<table id="datatable-stream" class="table table-striped table-borderless dt-responsive">
|
||
<thead>
|
||
<tr>
|
||
<th>Server Name</th>
|
||
<th class="text-center">Source</th>
|
||
<th class="text-center">Action</th>
|
||
<th class="text-center">Date</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal fade bs-proxies-modal-center" tabindex="-1" role="dialog" aria-labelledby="proxiesLabel" aria-hidden="true" style="display: none;" data-id="">
|
||
<div class="modal-dialog modal-dialog-centered modal-lg">
|
||
<div class="modal-content">
|
||
<div class="modal-body">
|
||
<table id="datatable-sources" class="table table-striped table-borderless dt-responsive">
|
||
<thead>
|
||
<tr>
|
||
<th class="text-center">ID</th>
|
||
<th>Server Name</th>
|
||
<th class="text-center">Server IP</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<?php else: ?>
|
||
<?php exit(); ?>
|
||
<?php endif; ?>
|