<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>Members</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>Member ID</b>
                	<br>
                    <a href='listmembers.php?sortby=USERID&sorthow=asc'>asc</a>
                    <a href='listmembers.php?sortby=USERID&sorthow=desc'>desc</a>
                </td>
                <td><b>Username</b>
                	<br>
                    <a href='listmembers.php?sortby=username&sorthow=asc'>asc</a>
                    <a href='listmembers.php?sortby=username&sorthow=desc'>desc</a>
                </td>
                <td><b>First Name</b>
                	<br>
                    <a href='listmembers.php?sortby=firstname&sorthow=asc'>asc</a>
                    <a href='listmembers.php?sortby=firstname&sorthow=desc'>desc</a>
                </td>
                <td><b>Last Name</b>
                </td>
                <td><b>Status</b>
                </td>
                <td><b>E-Mail</b>
                </td>
                <td><b>Featured</b>
                </td>
                <td><b>Edit/Delete</b>
                </td>
                </tr>

                {section name=i loop=$members}
                <tr>
                <td>{$members[i].USERID}</td>
                <td>{$members[i].username}</td>
                <td>{$members[i].firstname}</td>
                <td>{$members[i].lastname}</td>
                <td>{if $members[i].status eq "1"}Active{elseif $members[i].status eq "0"}InActive{/if}</td>
                <td>{if $members[i].verified eq "1"}Verified{elseif $members[i].verified eq "0"}Not Verified{/if}</td>
                <td>{if $members[i].featured eq "1"}Yes{elseif $members[i].featured eq "0"}No{/if}</td>
                <td><a href='listmembersedit.php?edit=true&USERID={$members[i].USERID}'>Edit</a> | <a href='listmembers.php?delete=true&USERID={$members[i].USERID}'>Delete</a>
                </td>
                </tr>
                {/section}
                </table>

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