1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <title>people entry</title>
6 <link rel="stylesheet" href="style.css" type="text/css" />
10 <!--~main_body start~-->
12 <!--~message_container start~-->
13 <div style="border: 2px solid red; background: #fbb; padding: 5px; margin: 20px 0px">
14 <!--~message_box start~-->
15 <!--~message_divider start~-->
18 <p style="font-size: 120%; padding: 5px; margin: 0px">~message_text.html~</p>
24 <h2><!--~new_msg start~-->Add a new entry<!--~end~--><!--~edit_msg start~-->Edit entry "~username.html~"<!--~end~--></h2>
26 <form action="people" method="post"><!--~editing start~--><input type="hidden" name="people_edit_id" value="~people_edit_id.attr~" /><!--~end~-->
27 <table cellspacing="0" cellpadding="4" border="0" summary="">
29 <tr><td class="caption">Username: </td><td class="field"><input type="text" name="username" value="~username.attr~" /></td></tr>
31 <tr><td class="caption">Password: </td><td class="field"><input type="text" name="password" value="~password.attr~" /></td></tr>
33 <tr><td class="caption">Name: </td><td class="field"><input type="text" name="name" value="~name.attr~" /></td></tr>
35 <tr><td class="caption">Privs: </td><td class="field"><input type="text" name="privs" value="~privs.attr~" /></td></tr>
37 <tr><td class="caption">Balance: </td><td class="field"><input type="text" name="balance" value="~balance.attr~" /></td></tr>
39 <tr><td class="submit_row" colspan="2"><input type="submit" name="save" value="Save" /></td></tr>
43 <!--~listings start~-->
44 <h2>people Listing</h2>
46 <!--~populated_listing start~-->
47 <p><a href="people.html?people_new=1">[Add a new record]</a></p>
49 <table cellspacing="0" cellpadding="4" border="1" summary=""><!--~listing_row start~-->
50 <tr><td class="listing"><a href="people.html?people_edit_id=~id~">~username.html~</a></td><td><a href="people.html?people_delete_id=~id~" onclick="return confirm('Permanently delete?')">[delete this record]</a></td></tr><!--~end~-->
54 <!--~empty_listing start~-->
55 <p>No ~field_plural.html~ in database.</p>
58 <p><a href="people.html?people_new=1">[Add a new record]</a></p>