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/certificate_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>Certificate  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=certificate&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>Roll Number </label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txtusername" readonly style="width:200px;" placeholder="Enter Roll 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>Exam Centre </label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txtcenter" class="form-control" placeholder="Enter Exam centre" value="<AOA:output>$txtcenter</AOA:output>">
                            </td>
                        </tr>
						<tr>
                            <td class="col1">
                                <label>Theory </label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txttheory" class="form-control" placeholder="Enter theory" value="<AOA:output>$txttheory</AOA:output>">
                            </td>
                        </tr>
						<tr>
                            <td class="col1">
                                <label>Drafting </label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txtdrafting" class="form-control" placeholder="Enter drafting" value="<AOA:output>$txtdrafting</AOA:output>">
                            </td>
                        </tr>
						<tr>
                            <td class="col1">
                                <label>Book Practical </label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txtpractical" class="form-control" placeholder="Enter Book Practical" value="<AOA:output>$txtpractical</AOA:output>">
                            </td>
                        </tr>
						<tr>
                            <td class="col1">
                                <label>Marks </label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txtmarks" class="form-control" placeholder="Enter Marks" value="<AOA:output>$txtmarks</AOA:output>">
                            </td>
                        </tr>
						<tr>
                            <td class="col1">
                                <label>Grade </label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txtgrade" class="form-control" placeholder="Enter Grade" value="<AOA:output>$txtgrade</AOA:output>">
                            </td>
                        </tr>
						<tr>
                            <td class="col1">
                                <label>Teacher </label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txtteacher" class="form-control" placeholder="Enter Teacher" value="<AOA:output>$txtteacher</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>Date Of Joining</label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txtdoj" style="width:200px;" placeholder="Enter Of Joining" value="<AOA:output>$txtdoj</AOA:output>">
                            </td>
                        </tr>
						<tr>
                            <td class="col1">
                                <label>Closing Dates</label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txtcod" style="width:200px;" placeholder="Enter Closing Date" value="<AOA:output>$txtcod</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=teachers'" 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>