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/students_edit.html

<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>Student 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=students&action=update&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>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>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>$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>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>Designation</label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txtdesignation" style="width:200px;" placeholder="Enter Designation" value="<AOA:output>$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>$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>$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>$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>$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=students'" 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>