Şuanki Dizin: /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse_admin_panel007/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse_admin_panel007/print-multiple-certificate.php |
<?php require_once("../lib/class/functions.php"); $db = new functions(); $current_page = ""; if(!isset($_SESSION['current_admn_email'])) { header("Location:/atse_admin_panel007/index.php"); } if(isset($_POST['print_btn'])) { $total_rows = $_POST['f_counter']; $student_data = array(); $y = 0; for($x=0;$x<$total_rows;$x++) { if(isset($_POST['count_'.$x])) { $student_data[$y] = $_POST['count_'.$x]; $y++; } } } $contr=0; ?> <html> <head> <meta charset="UTF-8"> <script src="/js/jquery-1.10.2.js" type="text/javascript"></script> <script> //window.print(); </script> </head> <body> <style> @media print { @page { size: A4; margin:0px; } .pager { margin-left:42px; } footer { page-break-after: always; } } .col_1 { float:left; text-align:center; } </style> <?php if(!empty($student_data)) { foreach($student_data as $stud_ex_id) { $cntr = 1; $student_data = $db->get_certificate_print_details_by_single_seat_number_new_multiple($stud_ex_id); if(!empty($student_data)) { $id = $student_data['id']; $center_name = $student_data['center_name']; $standard = $student_data['standard']; $madhyam_and_fees = $student_data['madhyam_and_fees']; $sirname = $student_data['sirname']; $name = $student_data['name']; $father_name = $student_data['father_name']; $mother_name = $student_data['mother_name']; $contact_number = $student_data['contact_number']; $principal_details = $student_data['principal_details']; $school_details = $student_data['school_details']; $jilha = $student_data['jilha']; $dd_number = $student_data['dd_number']; $date = $student_data['date']; $time = $student_data['time']; $exam_seat_number = $student_data['exam_seat_number']; $bhasha_ganit = $student_data['bhasha_ganit']; $eng_buddhimatta = $student_data['eng_buddhimatta']; $total_marks = $student_data['total_marks']; $shera = $student_data['shera']; $centerwise_stud_seat_no = $student_data['centerwise_stud_seat_no']; } ?> <div class="pager" style="margin-left:225px; width:700px; font-size:17px;height:600px; <?php if($contr==0){ ?> margin-top:597px;<?php }else if($contr>=1){ ?> margin-top:597px;<?php } ?>; "> <div style=""> <div style="float:right; margin-right:145px; margin-top:4px;"><?php echo $centerwise_stud_seat_no; ?></span></div> <div style=""><span style=""></span><?php echo $sirname." ".$name." ".$father_name; ?><br /></div> <div style="margin-top:23px;"><?php echo $school_details; ?></div> <div style="margin-top:24px; margin-left:37px;"><?php echo $standard; ?></div> <!--<div style=""><span style=""></span><?php echo $subject; ?></div> <div style=""><span style=""></span><?php echo $bhasha_ganit; ?></div> <div style=""><span style=""></span><?php echo $eng_buddhimatta; ?></div> <div style=""><span style=""></span><?php echo $total_marks; ?></div> <div style=""><span style=""></span><?php echo $shera; ?></div>--> <div style="margin-top:125px; height:140px; margin-left:-55px;"> <div style="width:165px; " class="col_1"> <div STYLE="height:58px;"></div> <div style="margin-top:15px;"><?php echo $bhasha_ganit; ?></div> <div style="margin-top:25px;"><?php if($standard=="दुसरी"){ echo "100"; }else if($standard=="पहिली"){ echo "50"; }else{ echo "150"; } ?></div> </div> <div style="width:165px; margin-left:11px;" class="col_1"> <div STYLE="height:58px;"></div> <div style="margin-top:15px;"><?php echo $eng_buddhimatta; ?></div> <div style="margin-top:25px;"><?php if($standard=="दुसरी"){ echo "100"; }else if($standard=="पहिली"){ echo "50"; }else{ echo "150"; } ?></div> </div> <!--<div style="width:110px; border:1px solid; padding-left:25px;" class="col_1"> <div style="padding-top:20px;">-</div> <div style="padding-top:20px;">-</div> <div style="padding-top:20px;">-</div> </div>--> <div style="width:140px; margin-left:19px;" class="col_1"> <div style="height:58px;"></div> <div style="margin-top:19px;"><?php echo $total_marks; ?></div> <div style="margin-top:20px;"><?php if($standard=="दुसरी"){ echo "200"; }else if($standard=="पहिली"){ echo "100"; }else{ echo "300"; } ?></div> </div> <div style="width:150px; " class="col_1"> <div style="margin-top:77px;"><?php echo $shera; ?></div> <div></div> </div> </div> <br /> <br /> <br /> <br /> <br /> <br /> <div style="margin-left:-50px; display:inline-table; margin-top:2px; float:left; text-align:left;"><?php echo $exam_date = $db->get_result_date(); ?></div> </div> </div> <footer></footer> <?php $contr++; } ?> <!--<footer style="border:1px solid;"></footer>--> <?php } ?> </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