Location: PHPKode > projects > Ptk-forensics > ptk/lib/analysis_gallery.php
<?
/*
PTK  - DFLabs
Copyright (C) 2008 - DFLabs srl - All rights reserved
hide@address.com
*/
include("header.php");
include("check_session_image.php");
$_SESSION['listall'] = 'false';

$inv_token = md5(uniqid(rand(), TRUE));
$_SESSION['gal_bro_token'] = $inv_token;
?>
<script type="text/javascript" src="../ajax/tree/ajax.js"></script>
<script type="text/javascript" src="../ajax/tree/gallery-tree-static.js"></script>
<script type="text/javascript" src="../ajax/tree/context-menu.js"></script>
<link rel="stylesheet" href="../css/tree/folder-tree-static.css" type="text/css">
<link rel="stylesheet" href="../css/tree/context-menu.css" type="text/css">	
<div id="container_left">
	<div id="analysis_tree_content">
		<ul id="dhtmlgoodies_tree" class="dhtmlgoodies_tree">
			<li><a href="#" id="node_1"><father onclick="folderWait(this); ajax_request('get_folder_gallery.php?tk=<?=$inv_token?>&arg1=null&arg2=null&arg3=<?=$_SESSION["partition0_id"];?>&arg4=<?=$_SESSION["partition0_tz"];?>', 'folder_content')"><?= $_SESSION['image'];?></father></a>
			<?if($_SESSION['is_partitioned']==1){?>
                        	<ul>
		                        <?for($i=0;$i<$_SESSION['len_partitions'];$i++){?>
						<li><a href="#" id="node_2"><father onclick="folderWait(this); ajax_request('get_folder_gallery.php?tk=<?=$inv_token?>&arg1=<?=$_SESSION["partition".$i."_offset"];?>&arg2=null&arg3=<?=$_SESSION["partition".$i."_id"];?>&arg4=<?=$_SESSION["partition".$i."_tz"];?>',  'folder_content')">partition-<?=$i;?> [<?=$_SESSION["partition".$i."_filesystem"];?>]</father></a>
						<ul><li parentId="<?=$_SESSION["partition".$i."_offset"];?>|null|<?=$_SESSION["partition".$i."_tz"];?>|<?=$_SESSION["partition".$i."_id"];?>|<?=$inv_token?>"><a href="#" id="node_3">Loading...</a></li></ul>
 						</li>
	                                <?}?>
                                </ul>
                        <?}else{?>
                                <ul>
					<li parentId="null|null|<?=$_SESSION["partition0_tz"];?>|<?=$_SESSION["partition0_id"];?>|<?=$inv_token?>"><a href="#" id="node_2">Loading...</a></li>
 				</ul>
                        <?}?>
                        </li>
                </ul>

	</div>	
</div>

<div id="analysis_left_handle" onclick="switchScrollH('container_left')"></div>

<div id="container_right">
	<div id="folder_content" style="width:100%; height:100%; overflow:auto">
	</div>
</div>

<?include("footer.php");?>
Return current item: Ptk-forensics