<?php
 require 'include/configurations.php';
?>
	<table border="0" align="center" cellpadding="3" cellspacing="0" width="100%" class="ft1">
	<tr >
	<td width="100%" class="tdhead" height="30" colspan="2" valign="middle">&nbsp;Categories</td></tr>
	<?
		$category_sql="select * from site_categories where category_head_id=0";
		$category_result=mysql_query($category_sql);
		while($category_row=mysql_fetch_array($category_result))
		 {
		$categoryname= $category_row['category_name'];
		$category_id = $category_row['category_id'];

	?>
	<tr><td style="padding-left:5px;padding-top:5px;"><?=$category_id?></td><td>
	<?=$categoryname?></a></td></tr>
	<?	
	}
	?>
    </table>