Şuanki Dizin: /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/multiple_id_card.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_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 = ""; $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]; } } $stud_inserted_class = $_SESSION['inserted_student_class']; $stud_inserted_division = $_SESSION['inserted_student_division']; $year = $_SESSION['year']; ?> <!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; } label.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> <?php $data = array(); $data = $db->get_student_record_from_class_and_division_and_year($stud_inserted_class,$stud_inserted_division,$acd_year,$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_address = $data[$counter][11]; $res_student_image = $data[$counter][12]; $class_data = $db->get_class_title_master_details($res_class); $class_name = $class_data[1]; ?> <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!="") { echo $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>Department : </strong><?php echo $class_name; ?><br /> <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> <?php $counter++; } } else{ echo "No any students available in this Department"; } ?> </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