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/cache/
Upload File :
Current File : /home/pfhr/public_html/admin/cache/%%C4^C40^C40A809C%%certificate_add.html.php

<?php /* Smarty version 2.6.19, created on 2020-01-09 08:39:24
         compiled from certificate_add.html */ ?>
<?php if ($this->_tpl_vars['message'] != ""): ?>
<div id="dialog" title="Success">
<p><?php echo $this->_tpl_vars['message']; ?>
</p>
</div>
<?php endif; ?>

<?php if ($this->_tpl_vars['error_message'] != ""): ?>
<div id="dialog" title="Error in Validation">
<?php echo $this->_tpl_vars['error_message']; ?>

</div>
<?php endif; ?>
		
<?php if (count ( $this->_tpl_vars['errmsg'] ) > 0): ?>  
<div id="dialog" title="Error in Validation">
<p>
<?php $_from = $this->_tpl_vars['errmsg']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['err'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['err']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['err']):
        $this->_foreach['err']['iteration']++;
?>
<?php echo $this->_tpl_vars['err']; ?>
<br>
<?php endforeach; endif; unset($_from); ?>
</p>
</div>
<?php endif; ?>

<div class="grid_9">
            <div class="box round first">
                <h2>Add New Certificate</h2>	
					<div class="block ">
                    <form method="post" enctype="multipart/form-data" action="?do=certificate&action=insert">
                    <table class="form">
						<tr>
                            <td class="col1">
                                <label>Roll Number </label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txtusername" style="width:200px;" placeholder="Enter Roll Number" value="<?php echo $this->_tpl_vars['errval'][$this->_tpl_vars['txtusername']]; ?>
" >
                            </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="<?php echo $this->_tpl_vars['errval']['txtname']; ?>
">
                            
                                <select class="form-control"  name="txtof">
									<option value="S/O">S/O</option>
									<option value="D/O">D/O</option>
									<option value="W/O">W/O</option>
								</select>
                            
                                <input type="text" name="txtfname" style="width:200px;" placeholder="Enter Father/Husband Name" value="<?php echo $this->_tpl_vars['errval']['txtfname']; ?>
">
                            </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="<?php echo $this->_tpl_vars['errval']['txtcenter']; ?>
">
                            </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="<?php echo $this->_tpl_vars['errval']['txttheory']; ?>
">
                            </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="<?php echo $this->_tpl_vars['errval']['txtdrafting']; ?>
">
                            </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="<?php echo $this->_tpl_vars['errval']['txtpractical']; ?>
">
                            </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="<?php echo $this->_tpl_vars['errval']['txtmarks']; ?>
">
                            </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="<?php echo $this->_tpl_vars['errval']['txtgrade']; ?>
">
                            </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="<?php echo $this->_tpl_vars['errval']['txtteacher']; ?>
">
                            </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="<?php echo $this->_tpl_vars['errval']['txtphone']; ?>
">
                            </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="<?php echo $this->_tpl_vars['errval']['txtdoj']; ?>
">
                            </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="<?php echo $this->_tpl_vars['errval']['txtcod']; ?>
">
                            </td>
                        </tr>
						<tr>
                            <td class="col1">
                                <label>Image</label>
                            </td>
                           <td class="col02">
                                <input type="file" name="image"  size="45" >
                            </td>
                        </tr>
						<tr>
                            <td class="" colspan="5">
                                <center><button type="submit" class="btn btn-success">Add Certificate</button></center>
                            </td>
                        </tr>
                    </table>
                    </form>
               </div>   
            </div>
        </div>
        <div class="clear">
        </div>