<html><body>
<%set book_mark = 'user_management'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
  <tr>
   <td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
   <td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
   <td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
  </tr>
  <tr>
   <td height="97%" colspan="3" valign="top">
     <form name=myform action="glist.cgi" method=post>
     <table width="99%" border="0" cellspacing="0" cellpadding="0" align=center>
        <tr>
          <td bgcolor="#FFFFFF"><img src="<%image_url%>/pics/1pixel.gif" height=4></td>
        </tr>
        <tr>
          <td bgcolor="#7a9f54">
            <table width="100%" border="0" cellspacing="1" cellpadding="1" height="100%">
              <tr class="body_bold">
                <td width="30%" bgcolor="#256A19" class="body_white">Column Name</td>
                <td width="20%" bgcolor="#256A19" class="body_white">Column Type</td>
                <td width="10%" bgcolor="#256A19" class="body_white" align="center">Not Null</td>
                <td width="10%" bgcolor="#256A19" class="body_white" align="center">Default</td>
                <td width="30%" bgcolor="#256A19" class="body_white">Regex</td>
              </tr>
              <%loop loop_fields%>
              <tr class="body" bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
                <td class="body"><a href="glist.cgi?do=admin_user_table_modify;form=1;column=<%name%>"><%name%></a></td>
                <td class="body"><%type%><%if size%> (<%size%>)<%endif%></td>
                <td class="body" align="center"><%if not_null%>Yes<%else%>No<%endif%></td>
                <td class="body" align="center"><%if default%><%default%><%else%>&nbsp;<%endif%></td>
                <td align="center"><%if regex%><%regex%><%else%>&nbsp;<%endif%></td>
              </tr>
              <%endloop%>
            </table>
            <table width="100%" bgcolor="#FFFFFF" border="0" cellspacing="1"cellpadding="1">
              <tr class="body"  height=30>
                <td align=right colspan="5" >
                  <input name="badd" type="button" value="Add a Field" onclick="open_url('do=admin_user_table_add;form=1<%hidden_query%>')" class="button" />
                  <input name="badd" type="submit" value="Resync Database" class="button" i/>
                </td>
              </tr>
              <tr>
                <td colspan="5" class="body"><%if msg%><%msg%><%else%>Click on a "Column Name" to modify or delete an existing column, or click the "Add A Field" button.<%endif%></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <input name=do value="admin_user_table_resync" type="hidden" />
      <%hidden_objects%>
      </form>
    </td>
  </tr>
</table>
<%include include_footer.html%>
