<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?> " enctype="multipart/form-data"><?php echo "\n" ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr>
<th colspan="7" align="center" valign="middle" height="35" bgcolor="#777bb4">
<span class="list_heading">Listing Galleries...</span>
</th>
</tr>
<tr>
<td colspan="7" align="center" height="20">
<p>Click on a heading to sort results</p>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="2" bgcolor="#555555">
<tr>
<th bgcolor="#fefefe" height="30" width="30">
<img src="img/check.jpg" alt="Check Boxes" width="25" height="25" title="Check Boxes" border="0">
</th>
<th bgcolor="#fefefe">
<?php echo $gallery_id_th ?>
</th>
<th bgcolor="#fefefe">
<?php echo $gallery_name_th ?>
</th>
<th bgcolor="#fefefe">
<?php echo $gallery_icon_th ?>
</th>
<th bgcolor="#fefefe">
<?php echo $title_th ?>
</th>
<th bgcolor="#fefefe">
<?php echo $priority_th ?>
</th>
<th bgcolor="#fefefe">
<?php echo $display_th ?>
</th>
</tr>
<?php echo $data_rows ?>
<tr>
<td colspan="7" align="center" bgcolor="#dddddd" height="25">
<div id="pagination"><p><?php echo $pagination_row ?></p></div>
</td>
</tr>
<tr>
<td colspan="7" align="right" height="25" class="select_display" bgcolor="#dddddd">
<a href="<?php echo $_SERVER['PHP_SELF'] ?>?sort=<?php echo $paginate_str ?>&page=<?php echo $page ?>&action=selectall&displayall=<?php echo $_GET['displayall'] ?>">Select All</a> | <a href="<?php echo $_SERVER['PHP_SELF'] ?>?sort=<?php echo $paginate_str ?>&page=<?php echo $page ?>&action=unselectall&displayall=<?php echo $_GET['displayall'] ?>">Unselect All</a> | <a href="<?php echo $_SERVER['PHP_SELF'] ?>?sort=<?php echo $paginate_str ?>&page=<?php echo $page ?>&action=<?php echo $active_action ?>&displayall=all">Display All</a> | <a href="<?php echo $_SERVER['PHP_SELF'] ?>?sort=<?php echo $paginate_str ?>&page=<?php echo $page ?>&action=<?php echo $active_action ?>&displayall=normal">Display Normal</a>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#ececec">
<tr>
<td align="center">
<input type="hidden" name="orderby" value="<?php echo $orderby ?>">
<?php include_once('button_select' . $admin_tplext) ?>
</td>
</tr>
</table>
</form>