system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
<AOA:output>if $message!="" </AOA:output>
<div id="dialog" title="Success">
<p><AOA:output>$message</AOA:output></p>
</div>
<AOA:output>/if</AOA:output>
<AOA:output>if $error_message ne "" </AOA:output>
<div id="dialog" title="Error in Validation">
<AOA:output>$error_message</AOA:output>
</div>
<AOA:output>/if</AOA:output>
<AOA:output>if count($errmsg) gt 0</AOA:output>
<div id="dialog" title="Error in Validation">
<p>
<AOA:output>foreach name=err item=err from=$errmsg</AOA:output>
<AOA:output>$err</AOA:output><br>
<AOA:output>/foreach</AOA:output>
</p>
</div>
<AOA:output>/if</AOA:output>
<div class="grid_9">
<div class="box round first">
<h2>Add New Teacher</h2>
<div class="block ">
<form method="post" enctype="multipart/form-data" action="?do=teachers&action=insert">
<table class="form">
<tr>
<td class="col1">
<label>I Card Number </label>
</td>
<td class="col02">
<input type="text" name="txtusername" style="width:200px;" placeholder="Enter Members I Card Number" value="<AOA:output>$errval.$txtusername</AOA:output>" >
</td>
</tr>
<tr>
<td class="col1">
<label>Full Name </label>
</td>
<td class="col02">
<select class="form-control" name="txttitle">
<option value="Mr.">Mr.</option>
<option value="Ms.">Ms.</option>
<option value="Mrs.">Mrs.</option>
</select>
<input type="text" name="txtname" style="width:200px;" placeholder="Enter Members Name" value="<AOA:output>$errval.txtname</AOA:output>">
<select class="form-control" name="txtof">
<option value="S/O">S/O</option>
<option value="D/O">D/O</option>
<option value="W/O">W/O</option>
</select>
<input type="text" name="txtfname" style="width:200px;" placeholder="Enter Father/Husband Name" value="<AOA:output>$errval.txtfname</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Date Of Birth </label>
</td>
<td class="col02">
<input type="text" name="txtdob" class="form-control" placeholder="Enter Date Of Birth" value="<AOA:output>$errval.txtdob</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Communication Address</label>
</td>
<td class="col02">
<textarea class="large" name="txtaddress" cols="34" rows="5"><AOA:output>$errval.txtaddress</AOA:output></textarea>
</td>
</tr>
<tr>
<td class="col1">
<label>Contact Number</label>
</td>
<td class="col02">
<input type="text" name="txtphone" style="width:200px;" placeholder="Enter Contact Number" value="<AOA:output>$errval.txtphone</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Designation</label>
</td>
<td class="col02">
<input type="text" name="txtdesignation" style="width:200px;" placeholder="Enter Designation" value="<AOA:output>$errval.txtdesignation</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>C/O</label>
</td>
<td class="col02">
<input type="text" name="txtco" style="width:200px;" placeholder="Enter Care Off" value="<AOA:output>$errval.txtco</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Date Of Joining</label>
</td>
<td class="col02">
<input type="text" name="txtdoj" style="width:200px;" placeholder="Enter Date Of Joining" value="<AOA:output>$errval.txtdoj</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Due Date</label>
</td>
<td class="col02">
<input type="text" name="txtdue" style="width:200px;" placeholder="Enter Due Date" value="<AOA:output>$errval.txtdue</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Blood Group</label>
</td>
<td class="col02">
<input type="text" name="txtblood" style="width:200px;" placeholder="Enter Blood Group" value="<AOA:output>$errval.txtblood</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Image</label>
</td>
<td class="col02">
<input type="file" name="image" size="45" >
</td>
</tr>
<tr>
<td class="" colspan="5">
<center><button type="submit" class="btn btn-success">Add Member</button></center>
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
<div class="clear">
</div>