Location: PHPKode > projects > Ptk-forensics > ptk/lib/modal_search_info.php
<?
/*
PTK  - DFLabs
Copyright (C) 2008 - DFLabs srl - All rights reserved
hide@address.com
*/
include("check_session.php");
include("check_session_image.php");
include("lib_std.php");
include("lib_commands.php");

$id = sanitize($_GET['arg1'],INT);
$file = file_info_from_id($id);
$file_tml = file_info_from_timeline($id);
?>
<div style="overflow:auto">


<b style="float:left">File details</b><img id="close_box" style="float:right; cursor: pointer" src="../img/cancel.png" onclick="closeMessage()">
<br><hr>
<b>Name: </b><?=sanitize(RemoveXSS($file['file_name']),PARANOID);?>
<br>
<b>File type: </b><?=sanitize(RemoveXSS($file['file_type']),PARANOID);?>
<br>
<b>Permissions: </b><?=sanitize(RemoveXSS($file_tml['permission']),PARANOID);?>
<br>
<b>Size: </b><?=sanitize(RemoveXSS($file_tml['size']),PARANOID);?>
<br>
<b>Meta: </b><?=sanitize(RemoveXSS($file['inode']),PARANOID);?>
<br>
<b>MD5: </b><?=sanitize(RemoveXSS($file['md5']),PARANOID);?>
<br>
<b>SHA1: </b><?=sanitize(RemoveXSS($file['sha1']),PARANOID);?>
Return current item: Ptk-forensics