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/cms.ncriptech.com/../websites/miereducation.e-campus.co.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/celkcksm/cms.ncriptech.com/../websites/miereducation.e-campus.co.in/icard.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 Fee',$menuper)){
		  
	   }else{
		 
	header("location:index.php");
		   
		}

  

include('include/function.php');
include("include/header.php");
include("include/sidebar.php"); 
 
?>
<style>
table, th {
   /* border: 1px solid black;*/
   border: none !important;
    border-collapse: collapse;
}
th, td {
    padding: 15px;
}
#printarea{  
  width: 27cm;
  height: 35.7cm; 
}


</style>
<link rel="stylesheet" href="icard.css" type="text/css" media="print" />
<div class="content-wrapper">
  <!-- Content Header (Page header) @page { size: auto;  margin: 0mm; } -->
  <section class="content-header">
    <h1>I-Card Design <small></small> </h1>
    <ol class="breadcrumb">
      <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
      <li><a href="#">I-Card Design</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"> I-Card Design <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">
			
              
				 
				<?php 
				
				$student_id=$_REQUEST['upid'];
				if(!empty($student_id)){ 
                    $studentQ=mysqli_query($con,"select admission_enquiry_form.photos,admission_enquiry_form.name,admission_enquiry_form.fname,
                    admission_enquiry_form.student_id,
                    admission_enquiry_form.mobileno,course.c_name,commenacademicyear.academictitle,commenacademicyear.academicenddate from admission_enquiry_form
                    left join course on course.id=admission_enquiry_form.course
                    left join commenacademicyear on commenacademicyear.id=admission_enquiry_form.academicyear
                    where student_id='".$student_id."'");
                    $studentR=mysqli_fetch_array($studentQ);
				?> 
				<?php 
				$collage=mysqli_query($con,"select * from collageinfo" );
	  $collage=mysqli_fetch_array($collage);  ?>
			 <!--<input type='button' id='btn' value='Print' class='btn btn-primary'>-->
			 <a target="_blank" href="print_single_icard.php?id=<?=$_REQUEST['upid'] ; ?>" class="btn btn-primary">Print</a>
			<div class='col-md-12 fff' style='height:350px;width:500px;border:1px solid black;border-radius:5px;-webkit-print-color-adjust: exact;' id='printarea'> 
			<div class='row'>
    			<div  style='margin-top:10px;' width="100%" >  
					<!--<div style="width:100px;float:left;"> 
	<img src="images/uploads/<?php //echo $collage['logo']; ?>" height="80" width="80"/>
				</div>-->
				    <div style="padding:2px;margin-top:-5px;border-radius:5px;" class="row bottom-bar">
            			<div class="watermark">
            			    <img src="images/uploads/<?=$collage['logo'];?>" height="70" width="60" />
            			</div>
            			<div style="font-size:12px;text-align:center;width:480px;" class="college-info">
            			    <h5><b><?php echo $collage['collagename']; ?></b></h5>
            				<?php echo $collage['collageaddr']; ?>
            		        <?php echo $collage['collagephone']; ?><br>
            			   <?php echo $collage['collageemail']; ?><br>
            			</div>
        			</div>
				    
					<div style="width:120px;padding-right:137px;float:right;margin-left:10px;border:1px solid black;" class="photo-adjust">
        		        <img src="images/StudentEnquiry/<?php echo $studentR['photos']; ?>" height="170" width="138"/>
        		    </div>
					
        		    <div style="font-family:monospace;font-size:13px;" class="table-adjust">
        		        <table clas="mytable" style="width:349px;" border="0">
        		            <tr>
        		                <td>Name:</td>
        		                <td><?=$studentR['name']?></td>
        		            </tr>
        		            <tr>
        		                <td>Father's Name:</td>
        		                <td><?=$studentR['fname']?></td>
        		            </tr>
        		            <tr>
        		                <td>Student ID:</td>
        		                <td><?=$studentR['student_id']?></td>
        		            </tr>
        		            <tr>
        		                <td>Mobile:</td>
        		                <td><?=$studentR['mobileno']?></td>
        		            </tr>
        		            <tr>
        		                <td>Course:</td>
        		                <td><?=$studentR['c_name']?></td>
        		            </tr>
        		            <tr>
        		                <td>Session:</td>
        		                <td><?=$studentR['academictitle']?></td>
        		            </tr>
        		            <tr>
        		                <td>Valid Upto:</td>
        		                <td><?=$studentR['academicenddate'] ?></td>
        		            </tr>
        		            
        		        </table>
        		        
        		    </div>
        		    <table style="width:500px;" clas="mytable">
        		        <tr>
        		            <td style="text-align:left;">-------------------------<br>Student Signature</td>
        		            <td style="text-align:right;">--------------------------<br>Authority Signature</td>
        		        </tr>
        		    </table>
        		    
        		    
        		    
				</div>
			</div>
			
			</div>
				<?php } ?>
            </div>
          </div>
        </div><!-- /.box -->
      </div><!-- /.col-->
    </div><!-- ./row -->
  </section><!-- /.content -->
</div>
<style>
td{
    padding:6px;
}
.watermark{
    float:left;
    padding-left:15px;
    opacity:0.9;
    z-index:99;
    color:white;
}
</style>
<?php include('include/footer.php');?>
<script src='https://cdnjs.cloudflare.com/ajax/libs/PrintArea/2.4.1/jquery.PrintArea.min.js'></script>
<script>
$(document).ready(function() {
   $("#btn").click(function(){
        var mode = 'iframe'; //popup
        var close = mode == "popup";
        var options = { mode : mode, popClose : close};
        $("#printarea").printArea( options );
    });
});
</script>
	

MMCT - 2023