D:\host\scoreman.in\tldt2025\print-list.php
<?php
include('dbconnect.php');
include('jfunctions.php');
include('functions.php');
$configs = include('conf.php');
?>
<html>
<head>
<style>
table {
border-collapse: collapse;
}
@media print{@page {size: portrait}}
@media print
{
.noprint, .noprint *
{
display: none !important;
visibility: hidden;
}
table
{
font-size:10px;
max-width:60%;
}
}
tr:nth-child(even) {
background-color:#F1F1F8;
}
table
{
font-size:11px;
max-width:100%;
margin:0px;
}
table, th, td {
border: 1px solid #ccc;
}
th{
text-align: center;
vertical-align: middle;
//height: 110px;
padding-bottom: 3px;
padding-left: 0px;
padding-right: 0px;
background-color:#E6E6E6;
.verticalText1
{
/*font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;*/
font-size:11px;
text-align: left;
vertical-align: bottom;
width: 12px;
margin:0px;
margin-top:120px;
padding: 0px;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
white-space: nowrap;
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
};
}
</style>
<body onload="window.print()">
<?php
$stype=$_GET["stype"];
?>
<center><h3><?php echo $configs['eventtitle']; ?></H3> </center>
<center><h5><?php echo strtoupper($stype); if($stype=="Other"){echo " DISCIPLINE"; } ?> PARTICIPANTS LIST</H5> </center>
<?php
$team=$_SESSION['teamf'];
$teampr=$team;
if($team=="")
{
$teampr=$_SESSION["username"];
}
echo "<h5>State / U.T. / Team : ".$teampr." </h5>";
listentries($stype,$team,"hidedelete");
if($team=="")
{
$team=$_SESSION["username"];
}
?>
<?php
date_default_timezone_set('Asia/Kolkata');
echo "<p>Printed On :" . date("d-m-Y h:i:sa")."</p>";
?>
</body>
</html>