Linux 0193-eed-moe-app01 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
Apache/2.4.52 (Ubuntu)
: 172.16.229.234 | : 3.136.19.165
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.18
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
eedpims /
upazila /
[ HOME SHELL ]
Name
Size
Permission
Action
upazila.php
2.82
KB
-rw-r--r--
upazila_editor.php
3.84
KB
-rw-r--r--
upazila_list.php
5.76
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : upazila_list.php
<?php include("../homepage/header.php"); include("../homepage/headermenu.php"); if(empty($_SESSION["username"])) { Header("Location: ../login/login.php"); } ?> <div class="container fullheight"> <div class="row"> <div class="col-md-6 col-md-offset-4"> <br/> <form name="search_frm" id="search_frm" class="form-inline"> <label>Search Key</label> <input type="text" name="field_value" id="field_value" value="<?=$_SESSION["field_value"]?>" class="form-control"> <input type="hidden" name="cmd" id="cmd" value="search_upazila" > <input type="submit" class="btn btn-primary" value="Search"> </form> </div> </div> <div class="row"> <div class="col-md-8 col-md-offset-2"> <a style="text-decoration: none" href="upazila.php?cmd=edit">নতুন তথ্য যোগ করুন</a></font> <div style="background-color: #ff0000;height: 2px"> </div> <br/> <table class="table table-bordered table-striped table-condensed"> <thead> <th>বিভাগ</th> <th>জেলা</th> <th>উপজেলা/থানা</th> <th style="text-align: center">সংশোধন</th> </thead> <tbody> <?php if($_SESSION["search"]=="yes") { $val= $_SESSION["field_value"]; $whrstr = "%$val%"; } else { $whrstr = "%%"; } $rowsPerPage = 10; $pageNum = 1; if(isset($_REQUEST["page"])) { $pageNum = $_REQUEST["page"]; } $offset = ($pageNum - 1) * $rowsPerPage; $stmt = $conn->prepare("SELECT u.id, u.district_id, u.division_id, u.UpazilaName, d.DistrictName, dv.DivisionName FROM upazila u LEFT JOIN district d ON (d.id=u.district_id) LEFT JOIN division dv ON (dv.id=u.division_id) WHERE 1=1 AND (u.UpazilaName LIKE ? OR d.DistrictName LIKE ? OR dv.DivisionName LIKE ? ) ORDER BY u.id DESC LIMIT ?, ?"); $stmt->bind_param("sssii",$whrstr,$whrstr,$whrstr,$offset,$rowsPerPage); $stmt->execute(); $slno=0; //Result $result = $stmt->get_result(); $numrows=$result->num_rows; if($numrows==0) exit("No rows"); $slno=0; while($row = $result->fetch_assoc()) { $id = $row["id"]; $DistrictName = $row["DistrictName"]; $DivisionName = $row["DivisionName"]; $UpazilaName = $row["UpazilaName"]; ?> <tr> <td><?=$DivisionName ?></td> <td><?=$DistrictName ?></td> <td><?=$UpazilaName ?></td> <td align="center"> <a href="upazila.php?cmd=edit&id=<?=$id?>"> <span class="glyphicon glyphicon-pencil"></span></a> </td> </tr> <?php } ?> </tbody> <thead> <th> </th> <th> </th> <th> </th> <th style="text-align: center"> </th> </thead> </table> <div align="center"> <?php $stmt = $conn->prepare("SELECT u.id, u.district_id, u.division_id, u.UpazilaName, d.DistrictName, dv.DivisionName FROM upazila u LEFT JOIN district d ON (d.id=u.district_id) LEFT JOIN division dv ON (dv.id=u.division_id) WHERE 1=1 AND (u.UpazilaName LIKE ? OR d.DistrictName LIKE ? OR dv.DivisionName LIKE ? ) ORDER BY u.id DESC"); $stmt->bind_param("sss",$whrstr,$whrstr,$whrstr); $stmt->execute(); //Result $result = $stmt->get_result(); $numrows=$result->num_rows; $maxPage = ceil($numrows/$rowsPerPage); $self = "upazila.php?cmd=list"; $nav = ""; $start = ceil($pageNum/5)*5-5+1; $end = ceil($pageNum/5)*5; if($maxPage<$end) { $end = $maxPage; } for($page = $start; $page <= $end; $page++) { if ($page == $pageNum) { $nav .= "<span class=\"page-link\"><font color=\"red\">$page</font></span>"; } else { $nav .= " <a href=\"$self&&page=$page\" class=\"page-link\">$page</a> "; } } if ($pageNum > 1) { $page = $pageNum - 1; $prev = " <a href=\"$self&&page=$page\" class=\"page-link\">Prev</a> "; $first = " <a href=\"$self&&page=1\" class=\"page-link\">[First Page]</a> "; } else { $prev = " "; $first = " "; } if ($pageNum < $maxPage) { $page = $pageNum + 1; $next = " <a href=\"$self&&page=$page\" class=\"page-link\">Next</a> "; $last = " <a href=\"$self&&page=$maxPage\" class=\"page-link\">Last Page</a> "; } else { $next = " "; $last = " "; } if($numrows>1) { echo '<nav> <ul class="pagination"> <li class="page-item">'.$first.'</li><li class="page-item">'.$prev.'</li> <li class="page-item">'.$nav .'</li> <li class="page-item">'.$next.'</li> <li class="page-item">'. $last.'</li> </ul></nav>'; } ?> </div> </div> </div> </div> <?php include("../homepage/footer.php"); ?>
Close