Web Interface For Lite Argus Control modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
722 B

<?php
require_once('../ajax_asm.php');
if( $CUser->Data['id'] > 1 ){
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
if( isset( $_POST['PID'] )){
$PID = intval($_POST['PID']);
} else {
$PID = intval($_GET['PID']);
};
if( $PID ){
loadPicture( $PID );
} else {
loadNotPicture();
};
} else {
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Content-Type: image/png");
echo file_get_contents( $SYSPath . '/style/assets/access.png' );
};
?>