ESH/pdf_task_list.php
2024-10-23 18:28:06 +05:30

41 lines
1.3 KiB
PHP

<?php
// include ('pdf_header_reverse.php');
include('pdf_header.php');
//include ('includes/config/config.php');
//include ('includes/functions.php');
include ('log_entry.php');
include("pdf_ohc_header.php");
// include('pop_up_top.php');
?>
<table width="100%" >
<tr><div style="font-size:12px">
<td width="25%" align="left"> Run Date : <?php echo date("d-M-Y"); ?></td>
<td width="50%" align="center" style="font-size:20px"><strong>Task List</strong></td>
<td width="25%" align="center"> User : <?php echo $username ?></td>
</tr>
</table>
<table width="100%" border="1" cellspacing="0" cellpadding="0"
style="font: Arial, Helvetica, sans-serif; font-size: XX-SMALL;">
<?php
$sql_task=base64_decode($filterkey);
error_log("query: ".$sql_task);
$results_task = @mysqli_query($conn,$sql_task);
//echo $result;
?><tr bgcolor='#eeeeee'><th width=10%>S.no</th><th width=25%>Task Name</th><th width=25%>Task Discription</th><th width=20%>Frequency Type</th><th width=15%>OHC Type</th>
</tr><?php
while ($row = @mysqli_fetch_assoc($results_task)) {
extract ( $row );
$task_id=$row['task_id'];
$count = $count + 1;
?><tr><td><?=$count?></td><td><?= $row['task_name']?></td><td><?= $row['task_description']?></td><td><?=$row['frequency_name']?></td><td><?=$row['ohc_type_name']?></td>
</tr><?php
}
?>
</table>
<?php
include('pdf_footer.php');
?>