<?php
///////////////////////////////////////////////
///  PilotAwardsSystem v2.0 by php-mods.eu  ///
///            Author php-mods.eu           ///
///            Packed at 8/12/2019          ///
///     Copyright (c) 2019, php-mods.eu     ///
///////////////////////////////////////////////

?>
<h3>Add a new Award</h3>
<form id="form" action="<?php echo adminaction('/awards/award_add_db/');?>" method="post">
<table width="40%" border="0">
<tr>
<td width="10%"><b>Award Title:</b></td>    
<td width="60%"><input type="text" name="name" value="<?php if($error) echo $name; ?>" /><input name="category" id="category" value="<?php echo $id; ?>" type="hidden" /></td>
</tr>
<tr>
<td><b>Description:</b></td>
<td><textarea cols="40" name="descrip" rows="5"><?php if($error) echo $descrip; ?></textarea>
</td>
</tr>
<tr>
<td><b>Image:</b></td>
<td><input type="text" name="image" value="<?php if($error) echo $image; ?>" /></td>
</tr>
<tr>
    <td colspan="2"><br /><input type="submit" name="submit" value="Add Award" /></td>
  </tr>
</table>
</form>