<?
session_start();
include "../inc/logincheck.php";
include "../inc/conn.php";
include "../inc/head.php";
?>
<body>
<form action="editproduct.php" method="POST" id="form1" name="form1">
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2">
<img src="../images/logo.gif" width="215" height="72">
</td>
</tr>
<tr>
<td height="10" colspan="2" bgcolor="#BBBBBB">
</td>
</tr>
<tr>
<td width="107" height="379" align="center" valign="top" bgcolor="#DAD3FE">
<?include"../inc/menu.php"?>
</td>
<td width="836" valign="top">
<table width="500" border="0" cellpadding="0" cellspacing="0" align="left">
<tr align="center" bgcolor="#DDDDDD">
<td height="25" colspan="4">
<span> Maintenance Follow-up Form</span>
</td>
</tr>
<tr>
<td width="160" align="right"class="nice">
Add Product Name:
</td>
<td width="16">
</td>
<td width="100">
<input name="urunadi" type="text" size="14">
</td>
<td>
<input type="submit" name="ekle" value=" Add Product">
</td>
</tr>
<tr>
<td align="right"class="nice">
Remove Product:
</td>
<td>
</td>
<td>
<select name="silinecek">
<?
if($urunlerqu = mysql_query("SELECT * FROM urunler ORDER BY urunadi")){
if (mysql_num_rows($urunlerqu) > 0){
while ($urun = mysql_fetch_array($urunlerqu)){
echo "<option value=\"{$urun['urunadi']}\">{$urun['urunadi']}</option>\r";
}
}
}
?>
</select>
<td>
<input type="submit" name="sil" value="Remove">
</td>
</td>
</tr>
</table>
</tr>
<tr>
<td height="10" colspan="2" bgcolor="#BBBBBB">
</td>
</tr>
</table>
</body>
</html>