<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Web management</title>
<link rel="stylesheet" href="styles.css" type="text/css">
<?php include 'codes.php';?>
</head>
<body text="#000000" style="margin:0">
<table width="980" border="1" cellspacing="0" cellpadding="0" align="center" class="text" bordercolor="#999999" bgcolor="#FFFFFF">
  <tr> 
    <td align="center"> 
      <div class="titles">ΚΑΤΗΓΟΡΙΕΣ</div>
    </td>
  </tr>
  <tr> 
    <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"> 
      <?php
			$sql = "SELECT * FROM categories ORDER BY priority";
			$result = mysql_query($sql);
        	while ($myrow=mysql_fetch_array($result)) {
			$id=$myrow['id'];
			$category=$myrow['category'];
			$level=$myrow['level'];
			$parent=$myrow['parent'];
			$priority=$myrow['priority'];
?>
      <?php echo $category ?>,<?php } ?>
    </td>
  </tr>
</table>
<?php include 'menudown.php';?>
</body>
</html>
