Şuanki Dizin: /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/ld_card.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_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_id_card'])) { $res_id = $_GET['print_id_card']; $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); $current_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]; } } $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> </head> <style> .container { border:1px solid black; width:360px; min-height:220px; padding:5px; margin:5px; background-color:e6e6fa; display: inline-block; /*width: 330px; height: 330px;*/ text-align:left; } .details { display: inline-block; line-height: 20px; font-size: 12px; font-family: Cambria; } .photo { width:106px; height: 126px; border: 1px solid black; float:left; /*margin-left: 6px;*/ } .leaving_lbl { font-size:20px; text-align:center; margin-top:5px; margin-bottom:10px; font-weight:bold; font-family;Cambira; } .cert_lbl { margin-left:30px; line-height:25px; font-weight:bold; } .regs_lbl { float:right; line-height:25px; font-weight:bold; margin-right:30px; } .stud_lbl { margin-left:30px; line-height:25px; } .adhar_lbl { float:right; line-height:25px; margin-right:30px; } .logo_img { position: relative; height: 45px; width: 45px; float:left; } 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; } @media print { @page { margin: 0; margin-right:20px; margin-top:20px; } body { } .logo_img { left:90px; } } body { font-family:cambria; } .header_info { text-align:center; line-height:20px; background-color:#FAFAFA; margin-bottom:5px; border-bottom:1px solid #666666; padding-bottom:5px; } .main_title { margin:5px; /*font-size:30px;*/ color: #FF4500; font-size:18px; } } .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; } .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; } .space { width:8px; display:inline-table; } data_format { font-size:12px; font-family:Cambria; } .label4_format { font-size: 14px; } .head_label { font-weight: bold; font-size: 13px; } .stud_img { height:100px; width:80px; border: 1px solid black; margin-right:5px; float:left; } .data_contnr { display:inline-table; word-break:break-all !important; width:230px; font-size:15px; line-height:22px; text-transform:capitalize; } body{ text-align:center; } </style> <body> <div class="container"> <div class="header_info"> <!--<img src="/images/mahanagarpalika-logo.jpg" class="logo_img" />--> <div class=""> <!--<label class="head_label">(Prescribed Rule 17 Chapter 11 Of The Grant-In-Aid Code)</label><br />--> <label class="head_label"><?php echo $res_sanstha_center; ?></label> <h2 class="main_title" style="margin:0px;"><?php echo $res_school_clg_name; ?></h2> <label class="label4_format"><strong>Addr.:</strong> <?php echo $res_clg_address; ?> <br /> <b>Phone -</b> <?php echo $res_phone_no; ?> , <b>Email Id - </b><?php echo $res_email_id; ?></label><br /> </div> </div> <?php if($res_student_image!="") { ?> <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="60" height="60"> <?php } ?> <div class="data_contnr"> <strong>Name : </strong> <?php echo $res_surname." ".$res_stud_name." ".$res_father_name; ?></br> <strong>Depatment : </strong><?php echo $res_class; ?> <strong>Year : </strong><?php echo $res_medium; ?><br /> <strong>Div : </strong><?php echo $res_division; ?> <strong>Roll No : </strong><?php echo $res_roll_no; ?></br> <strong>Address : </strong><?php echo $res_address; ?><br> </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