ÿØÿà JPEG ÿþ;
Server IP : 68.65.120.201 / Your IP : 216.73.216.73 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.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/taxhyuvu/www/ |
Upload File : |
<?php if (isset($_POST['go'])) { $search=$_POST['search'] ; $select=$_POST['select']; $id= $select; } ?> <?php include "head.php"; include "admin/db.php"; ?> <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; } .filters input{ display: none;} h1 { padding-top: 0.5% !important; } </Style> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/css/bootstrap-select.min.css"> <!-- Latest compiled and minified JavaScript --> <script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/js/bootstrap-select.min.js"></script> <!-- (Optional) Latest compiled and minified JavaScript translation files --> <script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/js/i18n/defaults-*.min.js"></script> <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"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="https://cdn.datatables.net/1.12.1/css/jquery.dataTables.min.css"> <link rel="stylesheet" href="https://cd.datatables.net/fixedheader/3.2.3/css/fixedHeader.dataTables.min.css"> <script src="https://code.jquery.com/jquery-3.5.1.js"></script> <script src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script> <script src="https://cd.datatables.net/fixedheader/3.2.3/js/dataTables.fixedHeader.min.js"></script> <script src="java.js"></script> <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 ?> (Search Result)</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.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;} </style> <body> <div class="container-fluid" > <!-- <div class="row"> <div class="col-md-3"></div> <div class="col-md-6" style="border: 1px solid #ced4da;margin-bottom: 27px;"> <form method="post" action="Search.php"> <input required type="text" placeholder="Search" class="form-control" style="border: none; border-radius: 0px;display: inline-block;height: 54px; width: 60%;" name="search"> <select class="form-select" aria-label="Default select example" style="border: none;border-left: 1px solid #828282;border-radius: 0px; width: 20%;height: 54px;display: inline-block;" name="select" required> <option value="" disabled selected hidden> - Select - </option> <option value="judgment">Judgment</option> <option value="Case Law">Case Law</option> <option value="Ordinance/Act">Ordinance/Act</option> <option value="Rules">Rules</option> <option value="Sros">SROs</option> <option value="Circulars">Circulars</option> <option value="Board">Board Clarifications</option> <option value="General">General Orders</option> <option value="Valuation">Valuation Rulings</option> <option value="Public">Public Notices & Standing Orders</option> <option value="Statutes">Statutes(Laws)</option> </select> <button name="go" data-toggle="modal" data-target="#exampleModalCenter" type="submit" name="" class=""style="border: none; border-radius: 0px;height: 54px; width: 18%; display: inline-block;"> Search </button> </form> </div> <div class="col-md-3"></div> </div> --> <div class="row" style="margin-top: 35px;"> <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-1 col-sm-1"> </div> <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-10 col-sm-10 col-md-4" id="rizwan" style="margin-bottom: 27px;margin-left: 10px;"> <form method="post" action="Search.php"> <div class="row" style="border: 1px solid #33959c;border-radius: 40px;background: #29959d;"> <div class="col-xxl-7 col-xl-6 col-lg-6 col-md-7 col-sm-5 col-5" style="padding: 0px;"> <input required type="text" value="<?php echo $search;?>" placeholder="Search" class="form-control" style="width: 110%;border: none;border-radius: 0px;display: inline-block;height: 54px;font-family: 'Libre Baskerville', serif;border: 1px solid #29959d;border-radius: 40px;padding-left: 20px;" name="search"> </div> <div class="col-xxl-3 col-xl-4 col-lg-4 col-md-3 col-sm-4 col-4" style="padding: 0;"> <select class="form-select" aria-label="Default select example" style="border: none;border-left: 1px solid #33959c;border-radius: 0px;height: 54px;display: inline-block;font-family: 'Libre Baskerville', serif;border: 1px solid #1e7f86;" name="select" required> <option value="<?php echo $id?>"><?php echo $id?></option> <option value="judgment">Judgment</option> <option value="Case Law">Case Law</option> <option value="Ordinance/Act">Ordinance/Act</option> <option value="Rules">Rules</option> <option value="Sros">SROs</option> <!-- <option value="Circulars">Circulars</option> <option value="Board">Board Clarifications</option> <option value="General">General Orders</option> <option value="Valuation">Valuation Rulings</option> <option value="Public">Public Notices & Standing Orders</option> <option value="Statutes">Statutes(Laws)</option> --> </select> </div> <div class="col-xxl-2 col-xl-2 col-lg-2 col-md-2 col-sm-3 col-3" style="padding: 0px;"> <button name="go" data-toggle="modal" data-target="#exampleModalCenter" type="submit" name="" class=""style="border: none;border-radius: 0px;height: 54px;font-family: 'Libre Baskerville', serif;color: white;display: inline-block;border-radius: 17px;background: #1c959e;padding-left: 30px;"> Search </button> </div> </div> </form> </div> <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-1 col-sm-1"> </div> </div> </div> <h1><?php echo$id;?> (<span style="color: #777777;">Search Result</span>) </h1> <?php switch ($select) { case "judgment": $judg="SELECT * FROM judgments WHERE PTD LIKE '%$search%' OR PTCL LIKE '%$search%' OR TAX LIKE '%$search%' OR SCMR LIKE '%$search%' OR PLD LIKE '%$search%' OR PDS LIKE '%$search%' OR Year LIKE '%$search%' OR Court LIKE '%$search%' OR Vs2 LIKE '%$search%' OR Vs1 LIKE '%$search%'"; $vib=mysqli_query($con,$judg); ?> <table id="example" class="display" > <thead> <tr> <th class="powerpeti">Court </th> <th id="yearpower">Year</th> <th class="powerpeti">Petitioner</th> <th class="powerpeti">Law/Section</th> <th class="powerpeti">Citation/Ref.</th> <th id="viewpower">Tax</th> <th id="viewpower">View</th> </tr> </thead> <tbody> <?php foreach ($vib as $k ) { ?> <tr> <td ><?php echo $k['Court'];?></td> <td ><?php echo $k['Year'];?></td> <td class="" ><?php echo $k['Vs1'];?><br> <B>Vs</B><br> <?php echo $k['Vs2'];?></td> <td > <?php echo $k['Law'];?><br> <?php echo $k['Sect'];?></td> <td ><?php echo $k['PTD'];?> <?php $TAX=$k['TAX']; if ($TAX =="") { }else{ echo "<br>$TAX";} ?> <?php $PTCL=$k['PTCL']; if ($PTCL =="") { }else{ echo "<br>$PTCL";} ?> <?php $SCMR=$k['SCMR']; if ($SCMR =="") { }else{ echo "<br>$SCMR";} ?> <?php $PLD=$k['PLD']; if ($PLD =="") { }else{ echo "<br>$PLD";} ?> <?php $PDS=$k['PDS']; if ($PDS =="") { }else{ echo "<br>$PDS";} ?> </td> <td ><?php echo $k['Catag'];?></td> <td ><a href="viewjudgment?id=<?php echo $k['ID'];?>"><button class="btn btn-primary" style="width: 100%; height: 100%;">View</button></a></td> </tr> <?php } ?> <?php break; case "Case Law": $judg="SELECT * FROM cases WHERE Judgment LIKE '%$search%' OR PTCL LIKE '%$search%' OR TAX LIKE '%$search%' OR SCMR LIKE '%$search%' OR PLD LIKE '%$search%' OR PDS LIKE '%$search%' OR Year LIKE '%$search%' OR Court LIKE '%$search%' OR Topic LIKE '%$search%' OR Law LIKE '%$search%' OR Sections LIKE '%$search%' OR Vs2 LIKE '%$search%' OR Vs1 LIKE '%$search%'"; $vib=mysqli_query($con,$judg); ?> <table id="example" class="display" > <thead> <tr> <th class="powerpeti">Court </th> <th id="yearpower">Year</th> <th class="powerpeti">Petitioner</th> <th class="powerpeti">Law/Section</th> <th class="powerpeti">Topic</th> <th class="powerpeti">Citation/Ref.</th> <th id="viewpower">Tax</th> <th id="viewpower">View</th> </tr> </thead> <tbody> <?php foreach ($vib as $k ) { ?> <tr> <td ><?php echo $k['Court'];?></td> <td ><?php echo $k['Year'];?></td> <td class="" ><?php echo $k['Vs1'];?><br> <B>Vs</B><br> <?php echo $k['Vs2'];?></td> <td > <?php echo $k['Law'];?><br> <?php echo $k['Sections'];?></td> <td > <?php echo $k['Topic'];?></td> <td ><?php echo $k['Judgment'];?></td> <td ><?php echo $k['Catag'];?></td> <td ><a href="viewreport?id=<?php echo $k['ID'];?>"><button class="btn btn-primary" style="width: 100%; height: 100%;">View</button></a></td> </tr> <?php } ?> <?php break; case "Ordinance/Act": $count="1"; $judg="SELECT * FROM ordi WHERE subject LIKE '%$search%'; "; $vib=mysqli_query($con,$judg); ?> <table id="example" class="display" > <thead> <tr> <th class="powerpeti">Sr No : </th> <th id="yearpower">Sujbect</th> <th id="viewpower">Tax</th> <th id="viewpower">View</th> </tr> </thead> <tbody> <?php foreach ($vib as $k ) { ?> <tr> <td ><?php echo $count++;?></td> <td ><?php echo $k['subject'];?></td> <td ><?php echo $k['Catag'];?></td> <?php if(isset($_SESSION['logedin']) && $_SESSION['logedin']==true) { ?> <td ><a target="_blank" href="admin/Ordin/<?php echo $k['PDF'];?>"><button class="btn btn-primary" style="width: 100%; height: 100%;">View</button></a></td> <?php } else{ ?> <td ><a target="_blank" href="login"><button class="btn btn-primary" style="width: 100%; height: 100%;">View</button></a></td> <?php }?> </tr> <?php } ?> <?php break; case "Rules": $count="1"; $judg="SELECT * FROM rule WHERE `subject` LIKE '%$search%' or `Catag` like '%$search%'"; $vib=mysqli_query($con,$judg); ?> <table id="example" class="display" > <thead> <tr> <th class="powerpeti">Sr No : </th> <th id="yearpower">Sujbect</th> <th id="viewpower">Tax</th> <th id="viewpower">View</th> </tr> </thead> <tbody> <?php foreach ($vib as $k ) { ?> <tr> <td ><?php echo $count++;?></td> <td ><?php echo $k['subject'];?></td> <td ><?php echo $k['Catag'];?></td> <?php if(isset($_SESSION['logedin']) && $_SESSION['logedin']==true) { ?> <td ><a target="_blank" href="admin/rule/<?php echo $k['PDF'];?>"><button class="btn btn-primary" style="width: 100%; height: 100%;">View</button></a></td> <?php } else { ?> <td ><a target="_blank" href="login"><button class="btn btn-primary" style="width: 100%; height: 100%;">View</button></a></td> <?php }?> </tr> <?php } ?> <?php break; case "Sros": // echo "Your favorite color is sro!"; $count="1"; $judg="SELECT * FROM sro WHERE `sron` LIKE '%$search%' or `sec` LIKE '%$search%' or `sub` like '%$search%' or `Catag` like '%$search%' "; $vib=mysqli_query($con,$judg); ?> <table id="example" class="display" > <thead> <tr> <th class="powerpeti">SROs No : </th> <th id="yearpower">Date</th> <th id="viewpower">Subject</th> <th id="viewpower">Section</th> <th id="viewpower">Tax</th> <th id="viewpower">View</th> </tr> </thead> <tbody> <?php foreach ($vib as $k ) { ?> <tr> <td ><?php echo $k['sron'];?></td> <td ><?php echo $k['date'];?></td> <td ><?php echo $k['sub'];?></td> <td ><?php echo $k['sec'];?></td> <td ><?php echo $k['Catag'];?></td> <?php if(isset($_SESSION['logedin']) && $_SESSION['logedin']==true) { ?> <td ><a target_blank href="admin/sro/<?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 } break; case "Circulars": echo "Your favorite color is Circulars!"; break; case "Board": echo "Your favorite color is Board!"; break; case "General": echo "Your favorite color is General!"; break; case "Valuation": echo "Your favorite color is Valuation!"; break; case "Public": echo "Your favorite color is Public!"; break; case "Statutes": echo "Your favorite color is Statutes!"; break; default: echo ""; } ?> </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> </body> </html>