Şuanki Dizin: /home/wwwdreamtechnolo/public_html/kitchenfoodrecipes.com/dt_admin/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/kitchenfoodrecipes.com/dt_admin/print-reg.php |
<?php require_once('lib/functions.php'); $db = new login_function(); ob_start(); /*if(isset($_GET['option'])) { $option = $_GET['option']; $_SESSION = $option; } else if(isset($_SESSION['option'])) { $option=$_SESSIOn['option']; }*/ ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width initial-scale=1.0"> <title>EXCEL PDF</title> <!-- GLOBAL MAINLY STYLES--> <link href="css/bootstrap.min.css" rel="stylesheet" /> <link href="css/font-awesome.min.css" rel="stylesheet" /> <link href="css/line-awesome.min.css" rel="stylesheet" /> <link href="css/themify-icons.css" rel="stylesheet" /> <link href="css/animate.min.css" rel="stylesheet" /> <link href="css/toastr.min.css" rel="stylesheet" /> <link href="css/bootstrap-select.min.css" rel="stylesheet" /> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"> <!-- PLUGINS STYLES--> <!-- THEME STYLES--> <link href="css/main.min.css" rel="stylesheet" /> <link href="datatable/datatables.min.css" rel="stylesheet" /> <script src="js/jquery.min.js"></script> <!-- PAGE LEVEL STYLES--> <style> .col-md-12 { width:100%; margin:auto; margin-top:20px; } table,th,td { text-align:center; text-transform:uppercase; border:1px solid black; } .col-md-12 { width:100%; margin:auto; margin-top:20px; } table,th,td { text-align:center; border:1px solid black; } .col-md-12 { width:100%; margin:auto; margin-top:20px; } table,th,td { text-align:center; border:1px solid black; } .col-md-12 { width:100%; margin:auto; margin-top:20px; } table,th,td { text-align:center; border:1px solid black; } .col-md-12 { width:100%; margin:auto; margin-top:20px; } table,th { text-align:center; border:1px solid black; font-size:12px; } table,td { text-align:left; border:1px solid black; font-size:12px; } @media only screen and (max-width: 600px) { .col-md-12 { width:100%; } .alert { width:100%; } .side-row { width:49%; display:inline-table; } } .my-custom-scrollbar { position: relative; height: 300px; overflow: auto; } .table-wrapper-scroll-y { display: block; } .main_head { width:900px; margin:auto; font-size:14px; padding:10px; padding-top:0px; box-shadow:0px 0px 5px 1px #DFDFDF; border:1px solid #CCCCCC; } .main_head>h1,h2,h4,h6 { text-align:center; margin:5px; } .sub_head { border-bottom:1px dashed #CCCCCC; background-color:#FCFCFC; text-align:center; margin-bottom:8px; padding-top:10px; padding-bottom:10px; position:relative; line-height:40px; } .logo { position: absolute; left:50px; top:1px; height:70px; width:70px; border-radius:40px; } body { font-family:cambria; background-color:white; } label { text-align:left; font-size:16px; font-weight:bold; margin:4px; } .sub_txtline { font-size:14px; font-weight:bold; line-height:25px; font-family:cambria; font-weight:bold; } h6 { font-size:16px !important; } thead { background-color:#efefef; font-size:14px; font-weight:bold; } .table-bordered td, .table-bordered th { border: 1px solid black; -webkit-print-color-adjust: exact; } .link { background-color:#208F86 !important; font-size:17px; font-family:cambria; color:#FFFFFF; padding:10px; border-radius:10px; font-weight:bold; border:1px solid #666; margin-top:15px; } .table td, .table th { padding: .5rem; vertical-align: top; border-top: 1px solid #e9ecef; } </style> <body style="background-color:white;"> <div class="main_head"> <div class="sub_head"> <div class="head_pay_sleep"> <img src="../images/site/logo1.jpeg" class="mahanagar-palika-logo" style="height:70px; width:70px; margin-top:-20px; float:left;" /> <h1 style="margin-bottom:10px;margin-top:25px; font-size:32px;">AIMIM VAHTUK SANGHATANA, SOLAPUR</h1> </div> </div> <h4 style="margin-bottom:10px;margin-top:25px; font-size:22px;">Registartion Report</h4> <!----------------TABLE---------------------------> <table class="table table-bordered table-hover" id="example" style="overflow-x:auto;overflow-y:auto;"> <thead class="thead-default thead-lg"> <tr> <th>SR</th> <th>Full Name</th> <th>Mobile No</th> <th>Address</th> <th>Aadhar no</th> <th>Election Card No</th> <th>Vechical No</th> <th>Matdarsangh</th> <th>Vechical On</th> <th>Reg Date</th> </tr> </thead> <tbody> <?php $data = array(); $data = $db->get_all_reg_details(); if(!empty($data)) { $counter=0; foreach($data as $record) { $res_id = $record[0]; $name = $record[1]; $mobile_no = $record[2]; $address = $record[3]; $addhar_no = $record[4]; $election_card_no = $record[5]; $vechical_no = $record[6]; $matdarsangh = $record[7]; $vechical_on = $record[8]; $date = $record[9]; $time = $record[10]; $date_data = explode("-",$date); $date = $date_data[2]."-".$date_data[1]."-".$date_data[0]; ?> <tr> <td><?php echo $counter+1; ?></td> <td><?php echo $name; ?></td> <td><?php echo $mobile_no; ?></td> <td><?php echo $address; ?></td> <td><?php echo $addhar_no; ?></td> <td><?php echo $election_card_no; ?></td> <td><?php echo $vechical_no; ?></td> <td><?php echo $matdarsangh; ?></td> <td><?php echo $vechical_on; ?></td> <td><?php echo $date; ?></td> </tr> <?php $counter++; } } ?> </tbody> </table> <!----------------END TABLE-------------------------> </div> <script> window.print(); </script> </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