<tr> <!--<td align="right" nowrap> </td>--> <th nowrap="nowrap"><?php echo $AppUI->_('Number'); ?> </th> <th nowrap="nowrap"><?php echo $AppUI->_('Requestor'); ?> </th> <th nowrap="nowrap"><?php echo $AppUI->_('Title'); ?> </th> <!--<th nowrap="nowrap"><?php echo sort_header("item_assigned_to", $AppUI->_('Assigned To')); ?> </th>--> <th nowrap="nowrap"><?php echo $AppUI->_('Status'); ?> </th> <th nowrap="nowrap"><?php echo $AppUI->_('Priority'); ?> </th> <th nowrap="nowrap"><?php echo $AppUI->_('Project'); ?> </th> </tr>
?> </th> <th nowrap="nowrap"><?php echo sort_header("item_status", $AppUI->_('Status')); ?> </th> <th nowrap="nowrap"><?php echo sort_header("item_priority", $AppUI->_('Priority')); ?> </th> <th nowrap="nowrap"><?php echo sort_header("item_updated", $AppUI->_('Updated')); ?> </th> <th nowrap="nowrap"><?php echo sort_header("project_name", $AppUI->_('Project')); ?> </th> </tr> <?php $s = ''; foreach ($rows as $row) { $canEdit = hditemEditable($row); /* We need to check if the user who requested the item is still in the system. Just because we have a requestor id does not mean we'll be able to retrieve a full name */ $s .= $CR . '<form method="post">'; $s .= $CR . '<tr>'; $s .= $CR . '<td align="right" nowrap>'; if ($canEdit) { $s .= $CR . '<a href="?m=helpdesk&a=addedit&item_id=' . $row["item_id"] . '">' . dPshowImage("./images/icons/pencil.gif", 12, 12, "edit") . '</a> ';
<tr> <td><?php echo sort_header('active'); ?> </td> <td><?php echo sort_header('name'); ?> </td> <td><?php echo sort_header('date'); ?> </td> <td><?php echo sort_header('visits'); ?> </td> <td>Details</td> <td bgcolor="ffffff"> <!--recovery column--> </td> </tr> <?php // connect to database open_db(); // optionally update file details if (isset($_POST["key"]) && isset($_POST["date"])) { // Details to update $d = $_POST["date"]; $sets = "file_date='{$d}'"; if (isset($_POST["public"])) {