<html>
<head>
<title>{$site_name}</title>
<mets http-equiv=Content-Type content="text/html; charset=utf-8">
<link href="{$cssurl}/administrator.css" type=text/css rel=stylesheet>

</head>
<body>
<br>

<table width="90%" align="center" cellpadding="5" cellspacing="5">
<tr>
	<td>
    	<h3>Channel Categories</h3>
    </td>
</tr>
<tr>
    <td colspan="2" height="1" bgcolor="#dfdfdf"></td>
</tr>
<table>

                <table width="90%" align="center" cellpadding="5" cellspacing="5">
                <tr>
                <td>
                	<b>Category ID</b>
                	<br>
                    <a href='channelcategories.php?sortby=CATID&sorthow=asc'>asc</a>
                    <a href='channelcategories.php?sortby=CATID&sorthow=desc'>desc</a>
                </td>
                <td><b>Name</b>
                	<br>
                    <a href='channelcategories.php?sortby=name&sorthow=asc'>asc</a>
                    <a href='channelcategories.php?sortby=name&sorthow=desc'>desc</a>
                </td>
                <td><b>Details</b>
                	<br>
                    <a href='channelcategories.php?sortby=details&sorthow=asc'>asc</a>
                    <a href='channelcategories.php?sortby=details&sorthow=desc'>desc</a>
                </td>
                <td><b>Channels</b>
                </td>
                <td><b>Edit/Delete</b>
                </td>
                </tr>

                {section name=cats loop=$categories}
                <tr>
                <td>{$categories[cats].CATID}</td>
                <td>{$categories[cats].name}</td>
                <td>{$categories[cats].details}</td>
                <td>Coming Soon</td>
                <td><a href='channelcategoriesedit.php?edit=true&CATID={$categories[cats].CATID}'>Edit</a> | <a href='channelcategories.php?delete=true&CATID={$categories[cats].CATID}'>Delete</a>
                </td>
                </tr>
                {/section}
                </table>

</body>
</head>
</html>