Location: PHPKode > projects > Ptk-forensics > ptk/lib/get_tags.php
<?
/*
PTK  - DFLabs
Copyright (C) 2008 - DFLabs srl - All rights reserved
hide@address.com
*/
include ('check_session.php');
include ('lib_std.php');
include ("sanitize.php");
$case_id = sanitize($_SESSION['case_id'],INT);
$tags = get_tag_list($case_id, 'null');
echo "<ul>";
foreach($tags as $tags){
	if(preg_match("/(.+)(\(\d+\))/", $tags, $out)){
		$value = sanitize(RemoveXSS($out[1]),PARANOID);
		$total = sanitize(RemoveXSS($out[2]),PARANOID);
		echo "<li><div class='autocomplete_float'>$value</div><div class='autocomplete_float'><span class='informal'>$total</span></div></li>";
	}	
}
echo "</ul>";
?>
Return current item: Ptk-forensics