MMCT TEAM
Server IP : 103.191.208.50  /  Your IP : 216.73.216.53
Web Server : LiteSpeed
System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64
User : celkcksm ( 1031)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, popen, exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home/celkcksm/websites/bengaledu.e-campus.co.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/celkcksm/websites/bengaledu.e-campus.co.in/MEDEmployeeregin.php
<?php 
include ("include/makeSession.php");
$installment_id=mysqli_query($con,"select * from admin where id='".$_SESSION["ecomid"]."'");
	  $installment_id=mysqli_fetch_array($installment_id); 
$installment_id=$installment_id['menuper'];
	  $menuper=explode(',',$installment_id);
	   
	   if(in_array('Manage Payrool',$menuper)){
		  
	   }else{
		 
	header("location:index.php");
		   
	   }
$_SESSION['page_name']="Payroll Master";
include('include/function.php');
include("include/header.php");
include("include/sidebar.php");

if(isset($_REQUEST['upid']) && $_REQUEST['upid']!=''){
	  $dovalue="PayMiscFee";
	  $doid=$_REQUEST['upid'];
	  $upuserresult=mysqli_query($con,"select * from payinstallment where id='".$_REQUEST['upid']."'");
	  $upuserarr=mysqli_fetch_array($upuserresult);
	  

		 
		   $installment_id=mysqli_query($con,"select * from setinstallment where id='".$upuserarr['installment_id']."'");
	  $installment_id=mysqli_fetch_array($installment_id);
	 
	  
	  $upuserresult1=mysqli_query($con,"select * from admission_enquiry_form where student_id='".$installment_id['studentid']."'");
	  $upuserarr1=mysqli_fetch_array($upuserresult1);
		 
	
	
	  
	  
	  
	
	 
}else{
 	  $dovalue="EmpResign";
	  $doid='';
} 
?>
<style>
table#t01 tr:nth-child(even) {
    background-color: #eee;
}
table#t01 tr:nth-child(odd) {
   background-color: #fff;
}
table#t01 th {
    background-color: black;
    color: white;
}
</style>
<div class="content-wrapper">
  <!-- Content Header (Page header) -->
  <section class="content-header">
    <h1> Employee Resign  <small></small> </h1>
    <ol class="breadcrumb">
      <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
      <li><a href="#">Employee Resign </a></li>
    </ol>
  </section>
  <!-- Main content -->
  <section class="content">
    <div class="row">
      <div class="col-md-12">
        <div class="box box-info">
          <div class="box-header">
            <h3 class="box-title">Employee Resign <small></small></h3>
            <!-- tools box -->
            <div class="pull-right box-tools">
              <button class="btn btn-info btn-sm" data-widget="collapse" data-toggle="tooltip" title="Collapse"><i class="fa fa-minus"></i></button>
              <button class="btn btn-info btn-sm" data-widget="remove" data-toggle="tooltip" title="Remove"><i class="fa fa-times"></i></button>
            </div><!-- /. tools -->
          </div><!-- /.box-header -->
          <div class="box-body pad">
            <div class="col-md-12">

              
             
			    <div class="col-md-12">
                      
                <form action="" method="post" >
				<input type="text" name="mobile" placeholder="Search By Emp Mobile "
value="<?php if(!empty($_POST['mobile'])){ echo $_POST['mobile']; }else{ } ?>"
				class="form-control col-md-3" style="width:300px;" />
				<input type="submit" value="Search" class="btn btn-primary"/>
                </div> 
				</form>
				<?php 
				$mobile=$_POST['mobile'];
				if(!empty($mobile)){ 
				
				$upuserresult1s=mysqli_query($con,"select * from employeeentryform where mobileno='".$mobile."' and resign='1'");
	  $upuserarr1=mysqli_fetch_array($upuserresult1s);
           $upuserarr1d=mysqli_num_rows($upuserresult1s);
	                 
					 if($upuserarr1d>0){
	  
				?>
				
			
				  <div class="form-group col-md-6">
                 <h3> Name  :              
                 <?php echo $upuserarr1['EmployeeName']."</h3>";?>
                </div> 
                 <div class="form-group col-md-6">
                 <h3> Emp Id  :              
                 <?php 

				 echo $upuserarr1['empid']."</h3>";?>
                </div> 
				 <!--<div class="form-group col-md-3">
                 <h3> Leaves  :              
                 <?php 

				// echo $leavecounts."</h3>";?>
                </div> 
				 <div class="form-group col-md-3">
                 <h3> Holiday  :              
                 <?php 

				// echo $holis."</h3>";?>
                </div>  -->
			 
		  
		  <?php 
		  
		  ?>
             
				
				 <form method="post" action="action2.php" name="addcategory" id="addcategory" enctype="multipart/form-data"  role="form">
		 <div class="form-group col-md-12">
		 <input type="hidden"  name="do" value="EmpResign" />
                <input type="hidden"  name="doid1" value="<?php echo $doid;?>" />
                <input type="hidden"  name="UserID" value="<?php echo $_SESSION["ecomid"];?>" />
		 <input type="hidden" name="empid" value="<?php echo  $upuserarr1['empid'];?>" />
		  <input type="hidden" name="totalsalary" value="<?php echo  $total;?>" />
         <label>Subject   :</label> <input type="text" name="subjects" value="" class="form-control "  style="width:200px;"/>	
		  <label>Resign   :</label> 
				  
				 <input type="radio"  name="regin" value="0"  />Yes
                   <input type="radio"  name="regin" value="1"  />No<br/>        
        <label>Why : <label>
		
		<input type="text" name="why" value="" class="form-control "  style="width:200px;"/>				   
                <div class="box-footer col-md-12">
                  <input type="submit" class="btn btn-primary" name="ctl00$ContentPlaceHolder1$btnsave" value="Save"/>        <input type="reset" name="ctl00$ContentPlaceHolder1$btn_reset" value="Reset" id="ContentPlaceHolder1_btn_reset" class="btn btn-primary">           
                </div> 
              </form>
              
                

				
				                                                          
                
				<?php }else{
					
					echo "<h3>No Record Found !</h3>";
				} } ?>
			
			
            </div> 
          </div>   
        </div><!-- /.box -->
      </div><!-- /.col-->
    </div><!-- ./row -->
  </section><!-- /.content -->
</div>
<?php include('include/footer.php');?>
	

MMCT - 2023