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/vtti.e-campus.co.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/celkcksm/websites/vtti.e-campus.co.in/payfee.php
<?php 
include ("include/makeSession.php");
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="PayMiscFee";
	  $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> Add MISC Fee <small></small> </h1>
    <ol class="breadcrumb">
      <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
      <li><a href="#">Add MISC Fee</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">Add MISC Fee <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 Student Id "
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)){ 
				
				$upuserresult1=mysqli_query($con,"select * from admission_enquiry_form where student_id='".$mobile."'");
	  $upuserarr1=mysqli_fetch_array($upuserresult1);

				?>
				
			  <div class="form-group col-md-4">
                 <h3> Student Id  :              
                 <?php echo $upuserarr1['student_id']."</h3>";?>
                </div> 
				  <div class="form-group col-md-4">
                 <h3> Name  :              
                 <?php echo $upuserarr1['name']."</h3>";?>
                </div> 
				
				<div class="form-group col-md-4">
                  <h3> Total Amount :
                  <?php echo $upuserarr1['totalfee']."</h3>";?>               
                </div>
                <div class="form-group col-md-4">
                  <h3>Discount :                 
                  <?php echo $upuserarr1['lessdiscount']."</h3>";?>
                </div>
				 <form method="post" action="action1.php" name="addcategory" id="addcategory" enctype="multipart/form-data"  role="form">
		 <div class="form-group col-md-12">
		 <input type="hidden"  name="do" value="<?php echo $dovalue;?>" />
                <input type="hidden"  name="doid1" value="<?php echo $doid;?>" />
                <input type="hidden"  name="UserID" value="<?php echo $_SESSION["ecomid"];?>" />
		 <input type="hidden" name="student_id" value="<?php echo $upuserarr1['student_id'];?>" />
		  <input type="hidden" name="commonacayear" value="<?php echo $upuserarr1['academicyear'];?>" />
                  <label>MICS Fee </label><br/>
				<?php 

           	$misc=explode(',',$upuserarr1['miscfee']);
			$upuserresult=mysqli_query($con,"select * from  miscfeemaster where course_id='".$upuserarr1['course']."' ");
			
	  while($menu=mysqli_fetch_array($upuserresult)) {
	  if($menu['types']=='onetime'){ ?>
	      
<?php	  }else{
	  ?>
	  
                        <input type="checkbox" name="paymiscf[]" value="<?php echo $menu['id']; ?>" 
						<?php if(in_array($menu['id'],$misc)){ echo 'checked'; } ?>
						>
						<?php echo $menu['feemaster']; ?>  :<?php echo $menu['amount']; ?>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						 <input type="date" name="startdate[]"  /> : Start Date
						<br>
	  <?php }} ?> 					 
                </div>
                                                                               
                <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 } ?>
			
			
            </div> 
          </div>   
        </div><!-- /.box -->
      </div><!-- /.col-->
    </div><!-- ./row -->
  </section><!-- /.content -->
</div>
<?php include('include/footer.php');?>
	

MMCT - 2023