<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?> " enctype="multipart/form-data">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<th colspan="2" bgcolor="#382ada" height="35">
<span class="list_heading">Editing <?php echo $_SESSION['name'] ?>...</span>
</th>
</tr>
<tr>
<td align="center" colspan="2" bgcolor="#0080ff" height="25">
<p class="edit"><?php echo $num_post_message ?></p>
</td>
</tr>
<tr>
<td colspan="2" align="center" height="40" bgcolor="#eeeeee">
<?php echo $pagination_row ?>
</td>
</tr>
<tr>
<th colspan="2" bgcolor="#0080ff" height="30">
<p align="center">Artist info:</p>
</th>
</tr>
<tr>
<td align="right"bgcolor="#eeeeee" height="40">
Name:
</td>
<td bgcolor="#eeeeee" height="40">
<input type="text" name="name" value="<?php echo $_SESSION['name'] ?>" size="75" maxlength="125">
<?php if (isset($errors['name'])) echo $errors['name'] ?>
</td>
<tr>
<td align="right" bgcolor="#eeeeee" height="40">
Birth:
</td>
<td bgcolor="#eeeeee" height="40">
Year: <input type="text" name="birth_year" value="<?php echo $_SESSION['birth_year'] ?>" size="4" maxlength="4"> Month: <input type="text" name="birth_month" value="<?php echo $_SESSION['birth_month'] ?>" size="2" maxlength="2"> Day: <input type="text" name="birth_day" value="<?php echo $_SESSION['birth_day'] ?>" size="2" maxlength="2">
</td>
</tr>
<tr>
<td align="right" bgcolor="#eeeeee" height="40">
Deceased:
</td>
<td bgcolor="#eeeeee" height="40">
Year: <input type="text" name="death_year" value="<?php echo $_SESSION['death_year'] ?>" size="4" maxlength="4"> Month: <input type="text" name="death_month" value="<?php echo $_SESSION['death_month'] ?>" size="2" maxlength="2"> Day: <input type="text" name="death_day" value="<?php echo $_SESSION['death_day'] ?>" size="2" maxlength="2">
</td>
</tr>
<tr>
<td align="right" bgcolor="#eeeeee" height="40">
Location:
</td>
<td bgcolor="#eeeeee" height="40">
<input type="text" name="location" value="<?php echo $_SESSION['location'] ?>" size="75" maxlength="75">
</td>
</tr>
<tr>
<th colspan="2" bgcolor="#0080ff" height="30">
<p align="center">Click "Save" to edit this artist.</p>
</th>
</tr>
<tr>
<td colspan="2" align="center" height="40">
<?php echo $pagination_row ?>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<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="editinput" name="artist_edit" value="Save"></p>
</td>
<td align="center" valign="middle" width="50%" height="75">
<p id="border"><input type="submit" id="deleteinput" name="quit" value="Quit"></p>
</td>
</tr>
<tr>
<td align="center" valign="middle" width="50%" height="25">
Save Changes
</td>
<td align="center" valign="middle" width="50%" height="25">
Cancel
</td>
</tr>
</table>
<input type="hidden" name="task" value="Save">
</td>
</tr>
</table>
</form>