set('URI.AllowedSchemes', ['data' => true, 'src' => true, 'http' => true, 'https' => true]); $purifier = new HTMLPurifier($purifier_config); if (isset($_GET['document_id'])) { $document_id = intval($_GET['document_id']); } $sql_document = mysqli_query($mysqli, "SELECT * FROM documents LEFT JOIN folders ON document_folder_id = folder_id WHERE document_client_id = $client_id AND document_id = $document_id"); $row = mysqli_fetch_array($sql_document); $folder_name = htmlentities($row['folder_name']); $document_name = htmlentities($row['document_name']); $document_content = $purifier->purify($row['document_content']); $document_created_at = htmlentities($row['document_created_at']); $document_updated_at = htmlentities($row['document_updated_at']); $document_folder_id = intval($row['document_folder_id']); ?>


Files
Passwords
Contacts
Assets
Software
Vendors