<?
/*
PTK - DFLabs
Copyright (C) 2008 - DFLabs srl - All rights reserved
hide@address.com
*/
include("check_session.php");
include("check_session_image.php");
include("sanitize.php");
include("lib_std.php");
$image = image_list($_SESSION['case_id']);
?>
<b style="float:left">New report</b><img id="close_box" style="float:right; cursor: pointer" src="../img/cancel.png" onclick="closeMessage();">
<br><hr>
<div>
<?
$token = sanitize($_GET['tk'],PARANOID);
?>
<form method="post" action="report_pdf.php">
<input type="hidden" name="token" value="<?=$token?>"/>
<input type='checkbox' name="thumbnails"> Include thumbnails<br>
<div style="font-size:10pt;overflow:auto;height:135px;border:1px solid grey;padding:5px">
<?
for($i=0;$i<sizeof($image);$i++){
echo "<input type='checkbox' name='".$image[$i]['name']."'> ".$image[$i]['name']."<br>";
}
?>
</div>
<!--<table style="font-size:10pt;overflow:auto;height:180px">
<tr><td><input type='checkbox' name="thumbnails"> Include thumbnails</td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<?
for($i=0;$i<sizeof($image);$i++){
echo "<tr><td><input type='checkbox' name='".$image[$i]['name']."'> ".$image[$i]['name']."</td></tr>";
}
?>
</table>-->
<input type="submit" value="Create" style="float:right; margin-top:15px">
</div>
</form>