<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?> ">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<th colspan="2" bgcolor="#ff3535" height="35">
<span class="list_heading">Delete <?php echo $gallery_name ?>?</span>
</th>
</tr>
<tr>
<td colspan="2" align="center" height="25" bgcolor="#ff8d74">
<span class="edit"><?php echo $num_post_message ?></span>
</td>
</tr>
<tr>
<td colspan="2" align="center" height="35" bgcolor="#eeeeee">
<div id="paginate"><?php echo $pagination_row ?></div>
</td>
</tr>
<?php echo $details ?>
<tr>
<th colspan="2" bgcolor="#ff8d74" height="30">
<p align="center">Click "Delete" to delete this item.</p>
</th>
</tr>
<tr>
<td colspan="2" align="center" height="35" bgcolor="#eeeeee">
<div id="paginate"><?php echo $pagination_row ?></div>
</td>
</tr>
<tr>
<td colspan="2" align="center" height="75">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" valign="middle" width="50%" height="75">
<p id="border"><input type="submit" id="deleteinput" name="task" value="Delete"></p>
</td>
<td align="center" valign="middle" width="50%" height="75">
<p id="border"><input type="submit" id="addinput" name="quit" value="Quit"></p>
</td>
</tr>
<tr>
<td align="center" valign="middle" width="50%" height="25">
Confirm Delete
</td>
<td align="center" valign="middle" width="50%" height="25">
Cancel
</td>
</tr>
</table>
<input type="hidden" name="<?php echo $id_type ?>" value="<?php echo $page ?>">
</td>
</tr>
</table>
</form>