Şuanki Dizin: /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/study-certificate.php |
<?php require_once('lib/functions.php'); $db = new db_functions(); if(!isset($_SESSION['login_admin_user_id'])) { header("location:index.php"); } $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 = ""; $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_study'])) { $res_id = $_GET['print_study']; $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]; $date_data = explode("-",$res_birth_date); $birth_date = $date_data[2]."-".$date_data[1]."-".$date_data[0]; $date_data1 = explode("-",$res_admission_date); $admission_date = $date_data[2]."-".$date_data[1]."-".$date_data[0]; $date_data2 = explode("-",$res_leaving_school_date); $leaving_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]; } } ?> <!DOCTYPE html> <html> <head> <title><?php echo $application_title; ?></title> <style> .leaving_lbl { font-size:20px; text-align:center; margin-top:5px; margin-bottom:10px; font-weight:bold; } .logo_img { position:absolute; height:150px; width:150px; left:220px; 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; } @media print { @page { margin: 0; margin-right:20px; 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:16px; } .subcontainer { width:100%; display:inline-table; } .lft_head { font-weight:bold; } .chk_txt { font-weight:bold; margin-top:60px; margin-bottom:30px; text-align:center; } .date_lbl { text-align:right; margin-right:40px; } </style> </head> <body> <div id="wrapper" style="float:none; margin:auto; width:900px; padding-left:25px;"> <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>Addr.:</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 class="date_lbl"> <strong>Date :</strong> <?php echo $date; ?> </div> <label class="leaving_lbl">STUDY CERTIFICATE</label> </div> <div class="main_body_contain"> <p>This is to certify that <?php if($res_gender=="Male"){echo "Kumar.";}else{ echo "Kumari.";}?> <?php echo $res_surname." ".$res_stud_name." ".$res_father_name; ?> <?php if($res_gender=="Male"){echo "son";}else{ echo "daughter";}?> of <?php echo $res_father_name; ?> has studied 1 to 3 Year in our Institution. <?php if($res_gender=="Male"){echo "His";}else{ echo "Her";}?> G.R.No is <?php echo $res_no_of_pupil; ?></p> <p>To the best of my knowledge <?php if($res_gender=="Male"){echo "he";}else{ echo "she";}?> bears a good moral character.</p> <p style=" padding-left: 50px;">The above details are true and correct to the best of my Knowledge.</p> </div> <br /> <div class="chk_txt"> Institution Seal <label style="margin-left:300px;">Principal</label> </div> </div> </div> </body> </html>
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