Şuanki Dizin: /home/wwwdreamtechnolo/public_html/qrscandoctor.in/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/qrscandoctor.in/get-certificte.php |
<style> @media only screen and (max-width: 600px) { } .member_name_cr { margin-top:415px; font-family:Times New Roman; font-weight:bold; font-size:22px; margin-left:430px; float:left; padding-bottom:2px; text-decoration:underline; } .reg_date_cer { margin-top:165px; font-weight:bold; margin-right:590px; float:right; display:inline-table; } .reg_chairman_cer { margin-top:-60px; font-weight:bold; float:left; display:inline-table; margin-left:525; } .reg_sec_cer { margin-top:-115px; font-weight:bold; float:left; display:inline-table; margin-left:760; } @media print { body { } @page { size: Landscape; margin:1px; } } </style> <!-- blog --> <?php require_once('lib/functions.php'); $db=new login_function(); if(isset($_GET['id'])) { $current_id = $_GET['id']; $_SESSION['id'] = $current_id; } if(isset($_SESSION['id'])) { $current_id = $_SESSION['id']; } $member_name=$db->get_member_name($current_id); $registration_date=$db->get_registratipn_date($current_id); if($registration_date!="") { $date_data = explode("-",$registration_date); $current_registration_date = $date_data[2]."-".$date_data[1]."-".$date_data[0]; } $date=date_create($registration_date); date_add($date,date_interval_create_from_date_string("11 Months ")); $next_date = date_format($date,"d-m-Y"); $newDate = date('Y-m-d', strtotime($registration_date. ' + 1 years')); $newDate = explode("-",$newDate); $one_year_date = $newDate[2]."-".$newDate[1]."-".$newDate[0]; ?> <!-- mail --> <center> <div style="background-image:url('images/newcertificate.jpg'); height:800px; width:1100px;display:inline-table; background-repeat:no-repeat; background-size:100% 100%; margin-top:40px !important; "> <div class='member_name_cr'><?php echo $member_name; ?></div> <br /> <div class='reg_date_cer' style="display:inline-table !important;"><?php echo $current_registration_date; ?> To <?php echo $one_year_date; ?></div> <!--<div class='reg_chairman_cer'><img src="newchair-removebg-preview.png" width="180" height="100"></div> <div class='reg_sec_cer'><img src="newc-removebg-preview.png" width="180" height="137"></div>--> </div> <a href="" style="margin-left:100px;" onclick="print_page()">Print</a> </center> <script> function print_page() { window.print(); return false; } </script> <!-- //mail --> <!-- map -->
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