Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.161 Web Server : LiteSpeed System : Linux in-mum-web1259.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64 User : u490972518 ( 490972518) PHP Version : 5.6.40 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u490972518/domains/shivbalika.in/public_html/admin/jq/../ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $session=$_POST['session']; $board=$_POST['board']; include('../link/databaseconnection.php'); session_start(); $lg=$_SESSION['admin']; if(!$lg) { header("location:../admin/index.php"); } $sel="select * from suchana"; $res=mysqli_query($conn,$sel); $row=mysqli_fetch_array($res,MYSQLI_BOTH); ?> <html> <head> <link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" type="text/css" rel="stylesheet"/> <link href="https://cdn.datatables.net/buttons/1.5.1/css/buttons.dataTables.min.css" type="text/css" rel="stylesheet"/> <script src="//code.jquery.com/jquery-1.12.4.js"></script> <script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script> <script src="https://cdn.datatables.net/buttons/1.5.1/js/dataTables.buttons.min.js"></script> <script src="//cdn.datatables.net/buttons/1.5.1/js/buttons.flash.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script> <script src="//cdn.datatables.net/buttons/1.5.1/js/buttons.html5.min.js"></script> <script src="//cdn.datatables.net/buttons/1.5.1/js/buttons.print.min.js"></script> <script> $(document).ready(function(){ $('#example').DataTable({ dom: 'Bfrtip', buttons: ['copy', 'csv', 'excel', 'pdf', 'print'] }); }); </script> <style> #header { height:70px; background-color:red; width:495px; } #logo { height:70px; background-color:green; width:70px; float-left; } #name { height:70px; background-color:yellow; width:420px; float-left; } </style> <style type="text/css" media="print"> @page { size: auto; /* auto is the initial value */ margin: 10mm; /* this affects the margin in the printer settings */ } td{font-size:12px; text-transform: uppercase; } #a{text-transform: capitalize;} #b{text-transform: lowercase;} </style> </head> <body> <?php $s=2017; $p=0; $r=1; $sel3="select * from registration where session='2022-2023'"; $res3=mysqli_query($conn,$sel3); //$row=mysqli_fetch_array($res,MYSQLI_BOTH); while($row3=mysqli_fetch_array($res3,MYSQLI_BOTH)) { ?> <p>Date- <?php echo $row['date'];?>        <b>SHIVBALIKA INTER COLLEGE <hr></b></p> <b>Dear Guardian,</b>  <p><?php echo $row['message'];?> </p> <p style='margin-left:400px'>Regards <br/><img src='../images/SIGG-removebg-preview.png' style='height:60px;width:150px'> <br/></p> <?php $p++; $r++; if($p==4 ) { ?><p style="page-break-before: always;"> </p> <?php $p=0; } if($r==$row['no'] ) { break; } } ?> </body> </html>