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>Member Edit/Update <input type="button" id="button1" value="" style="background-color: transparent;float: right; padding: 1px;border-radius: 10px;-moz-border-radius: 10px;-webkit-border-radius: 10px;" onclick="enableD()" /></h2>
<div class="block ">
<form class="form-horizontal" role="form" method="post" enctype="multipart/form-data" action="?do=usermanager&action=updateuser&usrid=<AOA:output>$usr</AOA:output>" >
<input type="hidden" name="user_id" id="user_id" value="<AOA:output>$usr</AOA:output>"/>
<table class="form">
<tr>
<td class="col1">
<label>Receipt No </label>
</td>
<td class="col02">
<input type="text" name="txtrepno" class="largeg" placeholder="Enter Receipt No" value="<AOA:output>$txtrepno</AOA:output>" >
<select class="form-control" name="txtrepstatus">
<option value="Cash" <AOA:output>if $txtrepstatus eq 'Cash'</AOA:output> selected <AOA:output>/if</AOA:output> >By Cash</option>
<option value="Cheque"<AOA:output>if $txtrepstatus eq 'Cheque'</AOA:output> selected <AOA:output>/if</AOA:output> >By Cheque</option>
<option value="Demand Draft" <AOA:output>if $txtrepstatus eq 'Demand Draft'</AOA:output> selected <AOA:output>/if</AOA:output> >By Demand Draft</option>
</select>
<input type="text" name="txtrepdate" class="form-control col-sm-1" placeholder="Enter Date " value="<AOA:output>$txtrepdate</AOA:output>" >
</td>
</tr>
<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>$txtusername</AOA:output>" >
</td>
</tr>
<tr>
<td class="col1">
<label>Sponsor I Card Number </label>
</td>
<td class="col02">
<input type="text" name="txtsponser" style="width:200px;" placeholder="Enter Members Sponsor ID" value="<AOA:output>$txtsponser</AOA:output>" >
</td>
</tr>
<tr>
<td class="col1">
<label>Full Name </label>
</td>
<td class="col02">
<input type="text" name="txtname" style="width:200px;" placeholder="Enter Members Name" value="<AOA:output>$txtname</AOA:output>">
<select class="form-control" name="txtof">
<option value="S/O" <AOA:output>if $txtof eq 'S/O'</AOA:output> selected <AOA:output>/if</AOA:output> >S/O</option>
<option value="D/O" <AOA:output>if $txtof eq 'D/O'</AOA:output> selected <AOA:output>/if</AOA:output> >D/O</option>
<option value="W/O" <AOA:output>if $txtof eq 'W/O'</AOA:output> selected <AOA:output>/if</AOA:output> >W/O</option>
</select>
<input type="text" name="txtfname" style="width:200px;" placeholder="Enter Father/Husband Name" value="<AOA:output>$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>$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>$txtaddress</AOA:output></textarea>
</td>
</tr>
<tr>
<td class="col1">
<label>City</label>
</td>
<td class="col02">
<input type="text" name="txtcity" style="width:200px;" placeholder="Enter City Name" value="<AOA:output>$txtcity</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Block</label>
</td>
<td class="col02">
<input type="text" name="txtblock" style="width:200px;" placeholder="Enter Block Name" value="<AOA:output>$txtblock</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Tehsil</label>
</td>
<td class="col02">
<input type="text" name="txttehsil" style="width:200px;" placeholder="Enter Tehsil Name" value="<AOA:output>$txttehsil</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>District</label>
</td>
<td class="col02">
<input type="text" name="txtdistrict" style="width:200px;" placeholder="Enter District Name" value="<AOA:output>$txtdistrict</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>State</label>
</td>
<td class="col02">
<input type="text" name="txtstate" style="width:200px;" placeholder="Enter State" value="<AOA:output>$txtstate</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Postal Code</label>
</td>
<td class="col02">
<input type="text" name="txtzipcode" style="width:200px;" placeholder="Enter Postal Code" value="<AOA:output>$txtzipcode</AOA:output>">
</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>$txtphone</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Rank </label>
</td>
<td class="col02">
<select class="form-control" name="txtrank">
<option value="">Select Type</option>
<option value="1" <AOA:output>if $txtrank eq '1'</AOA:output> selected <AOA:output>/if</AOA:output> >President</option>
<option value="2" <AOA:output>if $txtrank eq '2'</AOA:output> selected <AOA:output>/if</AOA:output> >Senior Vice President</option>
<option value="3" <AOA:output>if $txtrank eq '3'</AOA:output> selected <AOA:output>/if</AOA:output> >Vice President</option>
<option value="4"<AOA:output>if $txtrank eq '4'</AOA:output> selected <AOA:output>/if</AOA:output> >Senior General Secretary</option>
<option value="5" <AOA:output>if $txtrank eq '5</AOA:output> selected <AOA:output>/if</AOA:output> >General Secretary</option>
<option value="6"<AOA:output>if $txtrank eq '6'</AOA:output> selected <AOA:output>/if</AOA:output> >Office Secratry</option>
<option value="7"<AOA:output>if $txtrank eq '7'</AOA:output> selected <AOA:output>/if</AOA:output> >Press Secretary</option>
<option value="8"<AOA:output>if $txtrank eq '8'</AOA:output> selected <AOA:output>/if</AOA:output> >Legal Advisor</option>
<option value="9"<AOA:output>if $txtrank eq '9'</AOA:output> selected <AOA:output>/if</AOA:output> >Finance Secretary</option>
<option value="10"<AOA:output>if $txtrank eq '10'</AOA:output> selected <AOA:output>/if</AOA:output> >Secretary</option>
<option value="11"<AOA:output>if $txtrank eq '11'</AOA:output> selected <AOA:output>/if</AOA:output> >Br Manager</option>
<option value="12"<AOA:output>if $txtrank eq '12'</AOA:output> selected <AOA:output>/if</AOA:output> >VIP Member</option>
<option value="13"<AOA:output>if $txtrank eq '13'</AOA:output> selected <AOA:output>/if</AOA:output> >Member</option>
<option value="14"<AOA:output>if $txtrank eq '14'</AOA:output> selected <AOA:output>/if</AOA:output> >Enquiry Officer</option>
</select>
<input type="text" name="txtrank1" style="width:200px;" placeholder="Enter Rank " value="<AOA:output>$txtrank1</AOA:output>">
<input type="text" name="txtrankdate" style="width:100px;" placeholder="Enter Rank Date" value="<AOA:output>$txtrankdate</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Membership </label>
</td>
<td class="col02">
<select class="form-control" name="txtmembership">
<option value="Select Type">Select Type</option>
<option value="1" <AOA:output>if $txtmembership eq '1'</AOA:output> selected <AOA:output>/if</AOA:output> >Permanent</option>
<option value="0" <AOA:output>if $txtmembership eq '0'</AOA:output> selected <AOA:output>/if</AOA:output> >Temporary</option>
<option value="3" <AOA:output>if $txtmembership eq '3'</AOA:output> selected <AOA:output>/if</AOA:output> >Terminate/Reinstate</option>
<option value="2" <AOA:output>if $txtmembership eq '2'</AOA:output> selected <AOA:output>/if</AOA:output> >Suspended</option>
<option value="4" <AOA:output>if $txtmembership eq '4'</AOA:output> selected <AOA:output>/if</AOA:output> >Dismiss</option>
<option value="5" <AOA:output>if $txtmembership eq '5'</AOA:output> selected <AOA:output>/if</AOA:output> >Died</option>
<option value="6" <AOA:output>if $txtmembership eq '6'</AOA:output> selected <AOA:output>/if</AOA:output> >Main Member</option>
</select>
<input type="text" name="txtmemdate" class="form-control" placeholder="Enter Membership Date" value="<AOA:output>$txtmemdate</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>$txtdoj</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>$txtblood</AOA:output>">
</td>
</tr>
<tr>
<td class="col1">
<label>Image</label>
</td>
<td class="col02">
<input type="file" name="image" size="45" ></br><p><img width="100" height="100" src="../<AOA:output>$image</AOA:output>" ></br>
<AOA:output>if $image2 eq ''</AOA:output>
<AOA:output>else</AOA:output>
<button type="submit" name="delPIC" class="btn btn-small btn-grey">Delete Picture</button>
<AOA:output>/if</AOA:output>
</p>
</td>
</tr>
<tr>
<td class="" colspan="5">
<center>
<button type="submit" name="update" class="btn btn-green">Save/Update</button>
<button type="submit" id="btn" name="del" class="btn btn-red">Delete</button>
<button type="button" onclick="location.href='?do=usermanager'" class="btn btn-blue">Back</button>
</center>
</td>
</tr>
<script>function enableD() {document.getElementById("btn").disabled = false;}document.getElementById("btn").disabled = true;</script>
</table>
</form>
</div>
</div>
</div>
<div class="clear">
</div>