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.
|
|
<?php require_once('../ajax_asm.php'); if( $CUser->Data['id'] > 1 ){ $Data = array(); $Data['success'] = false; if( isset( $_POST['OID'] ) ) { $OpID = intval($_POST['OID']); } else $OpID = 0; if( $OpID > 0 ){ $QS = "SELECT `status` FROM `nodes_qcq` WHERE `id`={$OpID}"; $RV = $DATABASE->Query( $QS, false ); if( count( $RV ) ){ $Data['success'] = true; $Data['code'] = intval( $RV[0]['status'] ); }; } else { $Data['msg']='Wrong Parameters'; }; echo json_encode( $Data ); exit(); }; header('location: /');?>
|