<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>Series</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>Series ID</b>
                	<br>
                    <a href='listseries.php?sortby=SID&sorthow=asc'>asc</a>
                    <a href='listseries.php?sortby=SID&sorthow=desc'>desc</a>
                </td>
                <td><b>Name</b>
                	<br>
                    <a href='listseries.php?sortby=name&sorthow=asc'>asc</a>
                    <a href='listseries.php?sortby=name&sorthow=desc'>desc</a>
                </td>
                <td><b>Description</b>
                	<br>
                    <a href='listseries.php?sortby=description&sorthow=asc'>asc</a>
                    <a href='listseries.php?sortby=description&sorthow=desc'>desc</a>
                </td>
                <td><b>Featured</b>
                <td><b>Edit/Delete</b>
                </td>
                </tr>

                {section name=i loop=$series}
                <tr>
                <td>{$series[i].SID}</td>
                <td>{$series[i].name}</td>
                <td>{$series[i].description}</td>
                <td>{if $series[i].featured eq "1"}Yes{elseif $series[i].featured eq "0"}No{/if}</td>
                <td><a href='listseriesedit.php?edit=true&SID={$series[i].SID}'>Edit</a> | <a href='listseries.php?delete=true&SID={$series[i].SID}'>Delete</a>
                </td>
                </tr>
                {/section}
                </table>

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