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
<div class="container-fluid">
<div class="row content">
<div class="col-sm-9">
<div class="page-header">
<h4><span class="glyphicon glyphicon-user"></span> Add New Member</h4>
</div>
<form class="form-horizontal" method="post" enctype="multipart/form-data" action="?do=usermanager&action=insertuser">
<div class="form-group">
<label class="control-label col-sm-2">Receipt No:</label>
<div class="col-sm-2">
<input type="text" name="txtrepno" class="form-control input-sm" placeholder="Enter Receipt No" value="<AOA:output>$errval.$txtrepno</AOA:output>" >
</div>
<div class="col-sm-2">
<select class="form-control input-sm" name="txtrepstatus">
<option value="Cash">By Cash</option>
<option value="Cheque">By Cheque</option>
<option value="Demand Draft">By Demand Draft</option>
</select>
</div>
<div class="col-sm-2">
<input type="text" name="txtrepdate" class="form-control input-sm" placeholder="Enter Date " value="<AOA:output>$errval.$txtrepdate</AOA:output>" >
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">I Card No:</label>
<div class="col-sm-4">
<input type="text" name="txtusername" class="form-control input-sm" placeholder="Enter Members I Card Number" value="<AOA:output>$errval.$txtusername</AOA:output>" >
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Sponsor Member</label>
<div class="col-sm-4">
<input type="text" name="txtsponser" class="form-control input-sm" placeholder="Enter Members Sponsor ID" value="<AOA:output>$errval.$txtsponser</AOA:output>" >
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Full Name</label>
<div class="col-sm-2">
<input type="text" name="txtname" class="form-control input-sm" placeholder="Enter Members Name" value="<AOA:output>$errval.txtname</AOA:output>">
</div>
<div class="col-sm-2">
<select class="form-control input-sm" name="txtof">
<option value="S/O">S/O</option>
<option value="D/O">D/O</option>
<option value="W/O">W/O</option>
</select>
</div>
<div class="col-sm-2">
<input type="text" name="txtfname" class="form-control input-sm" placeholder="Enter Father/Husband Name" value="<AOA:output>$errval.txtfname</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Date of Birth</label>
<div class="col-sm-3">
<input type="text" name="txtdob" class="form-control input-sm" placeholder="Enter Date Of Birth" value="<AOA:output>$errval.txtdob</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Address</label>
<div class="col-sm-5">
<textarea class="form-control input-sm" name="txtaddress" cols="34" rows="5"><AOA:output>$errval.txtaddress</AOA:output></textarea>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">City</label>
<div class="col-sm-5">
<input type="text" name="txtcity" class="form-control input-sm" placeholder="Enter City Name" value="<AOA:output>$errval.txtcity</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Block</label>
<div class="col-sm-5">
<input type="text" name="txtblock" class="form-control input-sm" placeholder="Enter Block Name" value="<AOA:output>$errval.txtblock</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Tehsil</label>
<div class="col-sm-5">
<input type="text" name="txttehsil" class="form-control input-sm" placeholder="Enter Tehsil Name" value="<AOA:output>$errval.txttehsil</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">District</label>
<div class="col-sm-5">
<input type="text" name="txtdistrict" class="form-control input-sm" placeholder="Enter District Name" value="<AOA:output>$errval.txtdistrict</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">State</label>
<div class="col-sm-5">
<input type="text" name="txtstate" class="form-control input-sm" placeholder="Enter State" value="<AOA:output>$errval.txtstate</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Postal Code</label>
<div class="col-sm-5">
<input type="text" name="txtzipcode" class="form-control input-sm" placeholder="Enter Postal Code" value="<AOA:output>$errval.txtzipcode</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Contact No</label>
<div class="col-sm-5">
<input type="text" name="txtphone" class="form-control input-sm" placeholder="Enter Contact Number" value="<AOA:output>$errval.txtphone</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Rank</label>
<div class="col-sm-2">
<select class="form-control input-sm" name="txtrank">
<option value="">Select Type</option>
<option value="1">President</option>
<option value="2">Senior Vice President</option>
<option value="3">Vice President</option>
<option value="4">Senior General Secretary</option>
<option value="5">General Secretary</option>
<option value="6">Office Secratry</option>
<option value="7">Press Secretary</option>
<option value="8">Legal Advisor</option>
<option value="9">Finance Secretary</option>
<option value="10">Secretary</option>
<option value="11">Br Manager</option>
<option value="12">VIP Member</option>
<option value="13">Member</option>
<option value="14">Enquiry Officer</option>
</select>
</div>
<div class="col-sm-2">
<input type="text" name="txtrank1" class="form-control input-sm" placeholder="Enter Rank " value="<AOA:output>$txtrank1</AOA:output>">
</div>
<div class="col-sm-2">
<input type="text" name="txtrankdate" class="form-control input-sm" placeholder="Enter Rank Date" value="<AOA:output>$errval.txtrankdate</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Membership</label>
<div class="col-sm-2">
<select class="form-control input-sm" name="txtmembership">
<option value="Select Type">Select Type</option>
<option value="1">Permanent</option>
<option value="0">Temporary</option>
<option value="3">Terminate/Reinstate</option>
<option value="2">Suspended</option>
<option value="4">Dismiss</option>
<option value="5">Died</option>
<option value="6">Main Member</option>
</select>
</div>
<div class="col-sm-2">
<input type="text" name="txtmemdate" class="form-control input-sm" placeholder="Enter Membership Date" value="<AOA:output>$errval.txtmemdate</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Date Of Joining</label>
<div class="col-sm-5">
<input type="text" name="txtdoj" class="form-control input-sm" placeholder="Enter Date Of Joining" value="<AOA:output>$errval.txtdoj</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Blood Group</label>
<div class="col-sm-5">
<input type="text" name="txtblood" class="form-control input-sm" placeholder="Enter Blood Group" value="<AOA:output>$errval.txtblood</AOA:output>">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Photos</label>
<div class="col-sm-5">
<input type="file" name="image" size="45" >
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</div>
</form>
</div>
<div class="col-sm-3">
<div class="panel panel-default">
<div class="panel-heading">Panel Heading</div>
<div class="panel-body">Panel Content</div>
</div>
</div>
</div>
</div>
<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>