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 ){ $NID = intval($_POST['NID']); $Data = array(); if( $NID ){ $QS = "SELECT * FROM nodes WHERE id={$NID}"; $result = $DATABASE->Query( $QS, false ); if( count( $result ) ){ $Data['success'] = deleteNode( $NID ); } else { $Data['error'] = 'Unknown Node ID Provided!'; }; } else { $Data['error'] = 'Unknown Node ID Provided!'; }; echo json_encode( $Data ); exit(); }; header('location: /');?>
|