@ 2024-08-01T20:38:03Z <?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api_app_premium.byshop.me/api/history',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
//ดึกประวัติการซื้อทั้งหมด
//CURLOPT_POSTFIELDS => array('keyapi' => 'ZoEbNkZPklQ5vjQVxfMm4nmR1ftjwi'),
//ดึกประวัติการซื้อลูกค้า
CURLOPT_POSTFIELDS => array('keyapi' => 'ZoEbNkZPklQ5vjQVxfMm4nmR1ftjwi','username_customer' => 'Uc8d88568da4c9f8a4b2a57a14e1a1967'),
CURLOPT_HTTPHEADER => array(
'Cookie: PHPSESSID=u8df3d96ij8re36ld76cl64t3p'
),
));
$response = curl_exec($curl);
curl_close($curl);
$load_packz = json_decode($response);
?>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Sarabun:100,200,400,300,500,600,700" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet"href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css"/>
<script src="https://css_script.css_script.byshop.me/buy/_dist/js/jquery.min.js"></script>
<script src="https://css_script.css_script.byshop.me/buy/_dist/js/datatables.min.js"></script>
<script src="https://css_script.css_script.byshop.me/buy/_dist/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://css_script.css_script.byshop.me/buy/css/fontawesome-5.2.0.css">
<script src="https://css_script.css_script.byshop.me/buy/_dist/js/sweetalert.min.js"></script>
</head>
<body>
<style type="text/css">
body
{
font-family:"Sarabun", sans-serif;
background-color: #d4d8de;
}
</style >
<br>
<div class="container" style="margin-top:100px;margin-bottom:100px;">
<div class=" card card-body" >
<center><h1><i class="fa fa-history"></i> ดึงรายการซื้อสินค้า </h1></center>
<br>
<div class="container">
<div class="row">
<div class="col-sm-12">
<table class="table table-bordered table-striped table-responsive-md" cellspacing="0" width="100%" id="example">
<thead>
<tr>
<th>Order ID</th>
<th>สินค้า</th>
<th>E-mail/Password</th>
<th>เครื่องมือแจ้งปัญหา</th>
<th>username(ตัวเอง)</th>
<th>username(ลูกค้า)</th>
<th>ราคา</th>
<th>เวลา</th>
</tr>
</thead>
<?php
foreach ($load_packz as $data) {
?>
<?php
$report_id = $data->id;
?>
<tbody>
<tr>
<td><?=$data->id;?></td>
<td><?=$data->name;?></td>
<td><?=$data->email;?><br><?=$data->password;?></td>
<td><a style="width: 10rem;" type="button" class="btn btn-dark" target="_blank" data-toggle="modal" data-target="#report<?=$data->id;?>" href="#"><i class="fa fa-wrench"></i> แจ้งปัญหา</a></td>
<td><?=$data->username;?></td>
<td><?=$data->username_customer;?></td>
<td><?=$data->price;?></td>
<td><?=$data->time;?></td>
</tr>
</tbody>
<!-- report แจ้งปัญหา -->
<div class="modal fade " id="report<?=$data->id;?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header ">
<h5 class="modal-title " id="exampleModalLabel"><i class="fa fa-wrench"></i> แจ้งปัญหา</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="container">
<iframe frameborder="0" height="450" src=" https://report_product.byshop.me/api/report/?OrderID=<?=$data->id;?>" width="100%"></iframe>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">ปิด</button>
</div>
</div>
</div>
</div>
<?php } ?>
</table>
</div>
</div>
</div>
</div>
<br>
<!-- script เครื่องมือสำหรับรับ SMS/OTP แอพที่ต้องใช้รับ OTP ในการเข้าสู่ระบบ -->
<?php echo file_get_contents("https://otp_app.byshop.me/buy/otp_auto/script_smsotp.php"); ?><?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api_app_premium.byshop.me/api/history',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
//ดึกประวัติการซื้อทั้งหมด
//CURLOPT_POSTFIELDS => array('keyapi' => 'ZoEbNkZPklQ5vjQVxfMm4nmR1ftjwi'),
//ดึกประวัติการซื้อลูกค้า
CURLOPT_POSTFIELDS => array('keyapi' => 'ZoEbNkZPklQ5vjQVxfMm4nmR1ftjwi','username_customer' => 'Uc8d88568da4c9f8a4b2a57a14e1a1967'),
CURLOPT_HTTPHEADER => array(
'Cookie: PHPSESSID=u8df3d96ij8re36ld76cl64t3p'
),
));
$response = curl_exec($curl);
curl_close($curl);
$load_packz = json_decode($response);
?>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Sarabun:100,200,400,300,500,600,700" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet"href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css"/>
<script src="https://css_script.css_script.byshop.me/buy/_dist/js/jquery.min.js"></script>
<script src="https://css_script.css_script.byshop.me/buy/_dist/js/datatables.min.js"></script>
<script src="https://css_script.css_script.byshop.me/buy/_dist/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://css_script.css_script.byshop.me/buy/css/fontawesome-5.2.0.css">
<script src="https://css_script.css_script.byshop.me/buy/_dist/js/sweetalert.min.js"></script>
</head>
<body>
<style type="text/css">
body
{
font-family:"Sarabun", sans-serif;
background-color: #d4d8de;
}
</style >
<br>
<div class="container" style="margin-top:100px;margin-bottom:100px;">
<div class=" card card-body" >
<center><h1><i class="fa fa-history"></i> ดึงรายการซื้อสินค้า </h1></center>
<br>
<div class="container">
<div class="row">
<div class="col-sm-12">
<table class="table table-bordered table-striped table-responsive-md" cellspacing="0" width="100%" id="example">
<thead>
<tr>
<th>Order ID</th>
<th>สินค้า</th>
<th>E-mail/Password</th>
<th>เครื่องมือแจ้งปัญหา</th>
<th>username(ตัวเอง)</th>
<th>username(ลูกค้า)</th>
<th>ราคา</th>
<th>เวลา</th>
</tr>
</thead>
<?php
foreach ($load_packz as $data) {
?>
<?php
$report_id = $data->id;
?>
<tbody>
<tr>
<td><?=$data->id;?></td>
<td><?=$data->name;?></td>
<td><?=$data->email;?><br><?=$data->password;?></td>
<td><a style="width: 10rem;" type="button" class="btn btn-dark" target="_blank" data-toggle="modal" data-target="#report<?=$data->id;?>" href="#"><i class="fa fa-wrench"></i> แจ้งปัญหา</a></td>
<td><?=$data->username;?></td>
<td><?=$data->username_customer;?></td>
<td><?=$data->price;?></td>
<td><?=$data->time;?></td>
</tr>
</tbody>
<!-- report แจ้งปัญหา -->
<div class="modal fade " id="report<?=$data->id;?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header ">
<h5 class="modal-title " id="exampleModalLabel"><i class="fa fa-wrench"></i> แจ้งปัญหา</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="container">
<iframe frameborder="0" height="450" src=" https://report_product.byshop.me/api/report/?OrderID=<?=$data->id;?>" width="100%"></iframe>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">ปิด</button>
</div>
</div>
</div>
</div>
<?php } ?>
</table>
</div>
</div>
</div>
</div>
<br>
<!-- script เครื่องมือสำหรับรับ SMS/OTP แอพที่ต้องใช้รับ OTP ในการเข้าสู่ระบบ -->
<?php echo file_get_contents("https://otp_app.byshop.me/buy/otp_auto/script_smsotp.php"); ?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 8.3.11 0.004 0.004 18.35 8.3.10 0.012 0.006 24.06 8.3.9 0.019 0.000 24.06 8.3.8 0.016 0.005 24.06 8.3.7 0.021 0.004 24.06 8.3.6 0.015 0.009 24.06 8.3.5 0.013 0.010 24.06 8.3.4 0.015 0.004 24.06 8.3.3 0.016 0.004 24.06 8.3.2 0.016 0.005 24.06 8.3.1 0.015 0.003 24.06 8.3.0 0.020 0.000 24.06 8.2.23 0.004 0.004 20.94 8.2.22 0.008 0.000 24.06 8.2.21 0.015 0.003 24.06 8.2.20 0.017 0.003 24.06 8.2.19 0.013 0.006 24.06 8.2.18 0.017 0.003 24.06 8.2.17 0.017 0.003 24.06 8.2.16 0.019 0.005 24.06 8.2.15 0.018 0.006 24.06 8.2.14 0.021 0.003 24.06 8.2.13 0.018 0.003 24.06 8.2.12 0.020 0.003 24.06 8.2.11 0.022 0.000 24.06 8.2.10 0.021 0.003 24.06 8.2.9 0.020 0.007 24.06 8.2.8 0.022 0.003 24.06 8.2.7 0.016 0.006 24.06 8.2.6 0.013 0.017 24.06 8.2.5 0.022 0.003 24.06 8.2.4 0.014 0.005 24.06 8.2.3 0.016 0.003 24.06 8.2.2 0.015 0.004 24.06 8.2.1 0.019 0.000 24.06 8.2.0 0.013 0.005 24.06 8.1.29 0.007 0.013 24.06 8.1.28 0.008 0.011 24.06 8.1.27 0.018 0.004 24.06 8.1.26 0.014 0.007 24.06 8.1.25 0.014 0.008 24.06 8.1.24 0.016 0.003 24.06 8.1.23 0.012 0.009 24.06 8.1.22 0.020 0.000 24.06 8.1.21 0.018 0.003 24.06 8.1.20 0.019 0.003 24.06 8.1.19 0.022 0.003 24.06 8.1.18 0.018 0.005 24.06 8.1.17 0.013 0.004 24.06 8.1.16 0.016 0.002 24.06 8.1.15 0.012 0.008 24.06 8.1.14 0.011 0.007 24.06 8.1.13 0.009 0.009 24.06 8.1.12 0.019 0.000 24.06 8.1.11 0.015 0.003 24.06 8.1.10 0.018 0.000 24.06 8.1.9 0.016 0.005 24.06 8.1.8 0.015 0.008 24.06 8.1.7 0.016 0.003 24.06 8.1.6 0.017 0.003 24.06 8.1.5 0.014 0.006 24.06 8.1.4 0.016 0.004 24.06 8.1.3 0.012 0.008 24.06 8.1.2 0.017 0.003 24.06 8.1.1 0.017 0.000 24.06 8.1.0 0.017 0.003 24.06
preferences:dark mode live preview
28.24 ms | 403 KiB | 5 Q