<?php require_once 'usercheck.php' ?>
<?php require_once 'genform.php' ?>
<html>
<head>
<title>Assign defect</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css">
</head>
<body bgcolor="#FFFFFF">
<?php include 'header.php'; ?>
<h1>Assign defect</h1>
<p>Enter the assigned engineer.</p>
<?php ttdb_connect($db); ?>
<form method="post" action="assignpost.php" name="assign">
<p>
<input type="hidden" name="iddefect" value="<?php print($iddefect); ?>">
</p>
<table width="100%" border="0" cellpadding="2" class="tableStyle">
<tr>
<td class="tableFieldName" width="30%">Assigned engineer</td>
<td class="tableFieldContent" width="70%">
<?php gf_generateLookupFieldSelected($db,
'fAssigned',
'',
'select * from users order by sname',
'iid',
'sname',
$fAssigned,
false);
?>
</td>
</tr>
</table>
<div align="center">
<p><input type="submit" name="Submit" value="Accept">
<input type="button" name="cancel" value="Cancel">
</p></div>
</form>
<?php ttdb_close($db); ?>
</body>
<?php include 'footer.php'; ?>
</html>