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
cmd: 

Direktori : /home/pfhr/public_html/admin/templates/
Upload File :
Current File : /home/pfhr/public_html/admin/templates/members_edit.html

<div class="container-fluid">
  <div class="row content">    
    <div class="col-sm-9">
		<div class="page-header">
			<h4><span class="glyphicon glyphicon-user"></span> <AOA:output>$txtname</AOA:output> <AOA:output>$txtof</AOA:output> <AOA:output>$txtfname</AOA:output></h4>
		</div>
		
		<ul class="nav nav-tabs">
  <li class="active"><a data-toggle="tab" href="#home">Member Details</a></li>
  <li><a data-toggle="tab" href="#menu1">Change ID</a></li>
  <li><a data-toggle="tab" href="#menu2">Others</a></li>
</ul>

<div class="tab-content">
  <div id="home" class="tab-pane fade in active">
    <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()"  />
		<form class="form-horizontal" role="form" method="post" enctype="multipart/form-data" action="?do=members&action=updatemember&usrid=<AOA:output>$usr</AOA:output>" >						  
		<input type="hidden" name="user_id" id="user_id" value="<AOA:output>$usr</AOA:output>"/>
					
		  <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>$txtrepno</AOA:output>" >
			</div>
			<div class="col-sm-2">
				<select class="form-control input-sm"  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>
			</div>
			<div class="col-sm-2">
				<input type="text" name="txtrepdate" class="form-control input-sm" placeholder="Enter Date " value="<AOA:output>$txtrepdate</AOA:output>" > 				
			</div>
		  </div>
		<div class="form-group">
			<label class="control-label col-sm-2">I Card No:</label>
			<div class="col-sm-3">
			    <input type="text" name="txtusername" readonly class="form-control input-sm" placeholder="Enter Members I Card Number" value="<AOA:output>$txtusername</AOA:output>" >
            </div>
		</div>
		<div class="form-group">
			<label class="control-label col-sm-2">Sponsor Member</label>
			<div class="col-sm-3">
			    <input type="text" name="txtsponser" class="form-control input-sm" placeholder="Enter Members Sponsor ID" value="<AOA:output>$txtsponser</AOA:output>" >
            </div>
		</div>
		<div class="form-group">
			<label class="control-label col-sm-2">Full Name</label>
			<div class="col-sm-3">
				<input type="text" name="txtname" class="form-control input-sm" placeholder="Enter Members Name" value="<AOA:output>$txtname</AOA:output>">
            </div>
			<div class="col-sm-2">                
                <select class="form-control input-sm"  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>
			</div>
            <div class="col-sm-3">               
                <input type="text" name="txtfname" class="form-control input-sm" placeholder="Enter Father/Husband Name" value="<AOA:output>$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>$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>$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>$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>$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>$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>$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>$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>$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>$txtphone</AOA:output>">
			</div>
		</div>
		<div class="form-group">
			<label class="control-label col-sm-2">Rank</label>
			<div class="col-sm-3">
				<select class="form-control input-sm"  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> 
			</div>
			<div class="col-sm-3">
                <input type="text" name="txtrank1" class="form-control input-sm" placeholder="Enter Rank " value="<AOA:output>$txtrank1</AOA:output>">
            </div>  
			<div class="col-sm-3">
                <input type="text" name="txtrankdate" class="form-control input-sm" placeholder="Enter Rank Date" value="<AOA:output>$txtrankdate</AOA:output>">
            </div>            
		</div>
		<div class="form-group">
			<label class="control-label col-sm-2">Membership</label>
			<div class="col-sm-3">
				<select class="form-control input-sm"  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> 
			</div>
			<div class="col-sm-3">
				<input type="text" name="txtmemdate" class="form-control input-sm" placeholder="Enter Membership Date" value="<AOA:output>$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>$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>$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" ></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-danger btn-xs"><span class="glyphicon glyphicon-trash"></span></button>
								<AOA:output>/if</AOA:output>
								</p>
			</div>
		</div>

		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" name="update" class="btn btn-success">Save/Update</button>
				<button type="submit" id="btn" name="del" class="btn btn-danger">Delete</button>
				<button type="button" onclick="location.href='?do=members'" class="btn btn-info">Back</button>
			</div>
		</div>
		</form>
  </div>
  <div id="menu1" class="tab-pane fade">
		<form class="form-horizontal" role="form" method="post" enctype="multipart/form-data" action="?do=members&action=changes" >						
		<div class="form-group">
			<label class="control-label col-sm-2">Old I Card No:</label>
			<div class="col-sm-3">
			    <input type="text" name="txtOldID" readonly class="form-control input-sm" value="<AOA:output>$txtusername</AOA:output>" >
            </div>
		</div>
		<div class="form-group">
			<label class="control-label col-sm-2">New I Card No:</label>
			<div class="col-sm-3">
			    <input type="text" name="txtNewID"  class="form-control input-sm" placeholder="Enter New ID Number" value="" >
            </div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" name="change" class="btn btn-success">Save/Update</button>
				<button type="button" onclick="location.href='?do=members'" class="btn btn-info">Back</button>
			</div>
		</div>
		</form>
  </div>
  
  <div id="menu2" class="tab-pane fade">
    <h3>Menu 2</h3>
    <p>Some content in menu 2.</p>
  </div>
</div>



		 
    </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>
<script>function enableD() {document.getElementById("btn").disabled = false;}document.getElementById("btn").disabled = true;</script>



<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>