98 lines
2.9 KiB
PHP
98 lines
2.9 KiB
PHP
<?php
|
|
/**
|
|
* @copyright 2009 City of Bloomington, Indiana
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.txt
|
|
* @author Cliff Ingham <inghamn@bloomington.in.gov>
|
|
*/
|
|
?>
|
|
<h1>Add Deed</h1>
|
|
<form method="post" action="<?php echo $_SERVER['SCRIPT_NAME']; ?>">
|
|
<fieldset><legend>Deed Info</legend>
|
|
<table>
|
|
|
|
<tr><td><label for="deed-section">section</label></td>
|
|
<td><input name="deed[section]" id="deed-section" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td><label for="deed-lot">lot</label></td>
|
|
<td><input name="deed[lot]" id="deed-lot" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td><label for="deed-lastname1">lastname1</label></td>
|
|
<td><input name="deed[lastname1]" id="deed-lastname1" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td><label for="deed-firstname1">firstname1</label></td>
|
|
<td><input name="deed[firstname1]" id="deed-firstname1" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td><label for="deed-middleInitial1">middleInitial1</label></td>
|
|
<td><input name="deed[middleInitial1]" id="deed-middleInitial1" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td><label for="deed-lastname2">lastname2</label></td>
|
|
<td><input name="deed[lastname2]" id="deed-lastname2" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td><label for="deed-firstname2">firstname2</label></td>
|
|
<td><input name="deed[firstname2]" id="deed-firstname2" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td><label for="deed-middleInitial2">middleInitial2</label></td>
|
|
<td><input name="deed[middleInitial2]" id="deed-middleInitial2" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td><label for="deed-issueDate-mon">issueDate</label></td>
|
|
<td><select name="deed[issueDate][mon]" id="deed-issueDate-mon">
|
|
<option></option>
|
|
<?php
|
|
$now = getdate();
|
|
for ($i=1; $i<=12; $i++) {
|
|
$selected = ($i==$now['mon']) ? 'selected="selected"' : '';
|
|
echo "<option $selected>$i</option>";
|
|
}
|
|
?>
|
|
</select>
|
|
<select name="deed[issueDate][mday]">
|
|
<option></option>
|
|
<?php
|
|
for ($i=1; $i<=31; $i++) {
|
|
$selected = ($i==$now['mday']) ? 'selected="selected"' : '';
|
|
echo "<option $selected>$i</option>";
|
|
}
|
|
?>
|
|
</select>
|
|
<input name="deed[issueDate][year]" id="deed-issueDate-year" size="4" maxlength="4" value="<?php echo $now['year']; ?>" />
|
|
</td>
|
|
</tr>
|
|
<tr><td><label for="deed-notes">notes</label></td>
|
|
<td><textarea name="deed[notes]" id="deed-notes" rows="3" cols="60"></textarea>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td><label for="deed-lot2">lot2</label></td>
|
|
<td><input name="deed[lot2]" id="deed-lot2" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td><label for="deed-whiteoak">whiteoak</label></td>
|
|
<td><input name="deed[whiteoak]" id="deed-whiteoak" />
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<button type="submit" class="submit">Submit</button>
|
|
<button type="button" class="cancel" onclick="document.location.href='<?php echo BASE_URL; ?>/deeds';">
|
|
Cancel
|
|
</button>
|
|
</fieldset>
|
|
</form>
|