first commit

This commit is contained in:
unknown 2024-07-03 09:43:29 +07:00
commit 8bf32e15cb
37 changed files with 24468 additions and 0 deletions

1
.ftpquota Normal file
View File

@ -0,0 +1 @@
37 1040349

1
UIDBayarContainer.php Normal file
View File

@ -0,0 +1 @@
<?php $UIDresult='34F76951'; echo $UIDresult; ?>

1
UIDContainer.php Normal file
View File

@ -0,0 +1 @@
<?php $UIDresult=''; echo $UIDresult; ?>

235
bayarDB.php Normal file
View File

@ -0,0 +1,235 @@
<?php
include 'database.php'; // Assuming 'database.php' contains your Database class and connection details
// Function to send message via Telegram bot
function sendMessage($chatId, $message)
{
$botToken = '7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc'; // Replace with your Telegram bot token
$apiURL = "https://api.telegram.org/bot$botToken/sendMessage";
$data = [
'chat_id' => $chatId,
'text' => $message
];
$options = [
'http' => [
'method' => 'POST',
'header' => "Content-Type:application/x-www-form-urlencoded\r\n",
'content' => http_build_query($data)
]
];
$context = stream_context_create($options);
file_get_contents($apiURL, false, $context);
}
// Retrieving UID from GET parameter
$uid = $_GET['id'];
$reduce_balance = isset($_POST['reduce_balance']) ? intval($_POST['reduce_balance']) : 0;
// Connecting to the database
$pdo = Database::connect();
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
// Retrieve user data based on UID
$sql = "SELECT * FROM siswa_wali WHERE id = ?";
$q = $pdo->prepare($sql);
$q->execute(array($uid));
$user = $q->fetch(PDO::FETCH_ASSOC);
// Check if user exists
if ($user) {
// Check if the balance is sufficient
if ($user['balance'] >= $reduce_balance) {
// Update balance by subtracting the reduced amount
$newBalance = $user['balance'] - $reduce_balance;
// Update balance in the database
$updateSql = "UPDATE siswa_wali SET balance = ? WHERE id = ?";
$updateStmt = $pdo->prepare($updateSql);
$updateStmt->execute(array($newBalance, $uid));
$Write = "<?php \$newBalance='$newBalance'; echo 'Sisa Saldo: ' . \$newBalance; ?>";
file_put_contents('sendNewBalance.php', $Write);
// Send notification message via Telegram bot
$message = "Halo " . $user['name'] . "\nAnda melakukan pembayaran sebanyak: " . $reduce_balance . ",\nSaldo anda saat ini adalah Rp : " . $newBalance;
sendMessage($user['chatId'], $message);
} else {
// Handle the case where the balance is insufficient
$msg = "Saldo kurang. Saldo anda saat ini adalah: " . $user['balance'] . ".";
echo "<script>alert('$msg');</script>";
}
echo "
<div class='container'>
<nav>
<ul>
<li><a href='home.php'>Home</a></li>
<li><a href='read tag pembayaran.php'>Pembayaran</a></li>
</ul>
</nav>
</div>
<br>
<h3 align='center' id='blink'>Please Scan Tag to Display ID or User Data</h3>
<p id='getUID' hidden></p>
<br>
<div class='container'>
<div id='show_user_data'><form id='balance_form' method='post' action='read tag pembayaran.php?id={$uid}'>
<table width='452' border='1' bordercolor='#10a0c5' align='center' cellpadding='0' cellspacing='1' bgcolor='#000' style='padding: 2px'>
<tr>
<td height='40' align='center' bgcolor='#10a0c5'>
<font color='#FFFFFF'><b>User Data</b></font>
</td>
</tr>
<tr>
<td bgcolor='#f9f9f9'>
<table width='452' border='0' align='center' cellpadding='5' cellspacing='0'>
<tr>
<td width='113' align='left' class='lf'>ID</td>
<td style='font-weight:bold'>:</td>
<td align='left'>{$user['id']}</td>
</tr>
<tr bgcolor='#f2f2f2'>
<td align='left' class='lf'>Nama</td>
<td style='font-weight:bold'>:</td>
<td align='left'>{$user['name']}</td>
</tr>
<tr>
<td align='left' class='lf'>Jenis Kelamin</td>
<td style='font-weight:bold'>:</td>
<td align='left'>{$user['gender']}</td>
</tr>
<tr bgcolor='#f2f2f2'>
<td align='left' class='lf'>Email</td>
<td style='font-weight:bold'>:</td>
<td align='left'>{$user['email']}</td>
</tr>
<tr>
<td align='left' class='lf'>No.Telp</td>
<td style='font-weight:bold'>:</td>
<td align='left'>{$user['mobile']}</td>
</tr>
<tr bgcolor='#f2f2f2'>
<td align='left' class='lf'>Saldo</td>
<td style='font-weight:bold'>:</td>
<td align='left'>{$user['balance']}</td>
</tr>
</table>
</td>
</tr>
</table>
</form>";
} else {
// User not found, handle accordingly
echo "User not found";
}
// Close the database connection
Database::disconnect();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="js/bootstrap.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
width: 80%;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
table {
width: 100%;
margin-top: 20px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-collapse: collapse;
}
th,
td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
font-weight: bold;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
.btnn {
display: block;
text-align: center;
margin: 0 auto;
width: fit-content;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
.btnn:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
</body>
</html>

1109
css/bootstrap-responsive.css vendored Normal file

File diff suppressed because it is too large Load Diff

9
css/bootstrap-responsive.min.css vendored Normal file

File diff suppressed because one or more lines are too long

6167
css/bootstrap.css vendored Normal file

File diff suppressed because it is too large Load Diff

9
css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

33
database.php Normal file
View File

@ -0,0 +1,33 @@
<?php
class Database
{
static $dbName = 'yusril';
static $dbHost = 'localhost';
static $dbUsername = 'root';
static $dbUserPassword = '';
static $cont = null;
public function __construct()
{
die('Init function is not allowed');
}
public static function connect()
{
// One connection through whole application
if (null == self::$cont) {
try {
self::$cont = new PDO("mysql:host=" . self::$dbHost . ";" . "dbname=" . self::$dbName, self::$dbUsername, self::$dbUserPassword);
} catch (PDOException $e) {
die($e->getMessage());
}
}
return self::$cont;
}
public static function disconnect()
{
self::$cont = null;
}
}

962
error_log Normal file
View File

@ -0,0 +1,962 @@
[07-May-2024 06:08:45 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUID.php on line 2
[07-May-2024 07:06:17 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUID.php on line 2
[07-May-2024 07:56:22 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUID.php on line 2
[07-May-2024 09:07:01 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUID.php on line 2
[08-May-2024 13:24:07 UTC] PHP Parse error: syntax error, unexpected character 0x03 in /home/dbditsco/bersyukur.cloud/IOTKK/engine.php on line 3
[08-May-2024 13:24:08 UTC] PHP Parse error: syntax error, unexpected character 0x03 in /home/dbditsco/bersyukur.cloud/IOTKK/engine.php on line 3
[11-May-2024 06:57:09 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUID.php on line 2
[12-May-2024 01:45:45 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 69
[12-May-2024 01:45:45 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 69
[12-May-2024 01:45:45 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 72
[12-May-2024 01:45:45 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 76
[12-May-2024 01:45:45 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 76
[12-May-2024 01:45:45 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 83
[12-May-2024 01:45:45 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 83
[12-May-2024 01:45:45 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 100
[12-May-2024 01:45:45 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 100
[12-May-2024 01:45:45 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 107
[12-May-2024 01:45:45 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 107
[12-May-2024 01:49:36 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 79
[12-May-2024 01:49:36 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 79
[12-May-2024 01:49:36 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 82
[12-May-2024 01:49:36 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 86
[12-May-2024 01:49:36 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 86
[12-May-2024 01:49:36 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 93
[12-May-2024 01:49:36 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 93
[12-May-2024 01:49:36 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 110
[12-May-2024 01:49:36 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 110
[12-May-2024 01:49:36 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 117
[12-May-2024 01:49:36 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 117
[12-May-2024 01:50:32 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 83
[12-May-2024 01:50:32 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 83
[12-May-2024 01:50:32 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 86
[12-May-2024 01:50:32 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 90
[12-May-2024 01:50:32 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 90
[12-May-2024 01:50:32 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 97
[12-May-2024 01:50:32 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 97
[12-May-2024 01:50:32 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 114
[12-May-2024 01:50:32 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 114
[12-May-2024 01:50:32 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 121
[12-May-2024 01:50:32 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 121
[12-May-2024 01:51:58 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 83
[12-May-2024 01:51:58 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 83
[12-May-2024 01:51:58 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 86
[12-May-2024 01:51:58 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 90
[12-May-2024 01:51:58 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 90
[12-May-2024 01:51:58 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 97
[12-May-2024 01:51:58 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 97
[12-May-2024 01:51:58 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 114
[12-May-2024 01:51:58 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 114
[12-May-2024 01:51:58 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 121
[12-May-2024 01:51:58 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 121
[12-May-2024 01:55:24 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 87
[12-May-2024 01:55:24 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 87
[12-May-2024 01:55:24 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 90
[12-May-2024 01:55:24 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 94
[12-May-2024 01:55:24 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 94
[12-May-2024 01:55:24 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 101
[12-May-2024 01:55:24 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 101
[12-May-2024 01:55:24 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 118
[12-May-2024 01:55:24 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 118
[12-May-2024 01:55:24 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 125
[12-May-2024 01:55:24 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 125
[12-May-2024 01:56:23 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 69
[12-May-2024 01:56:23 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 69
[12-May-2024 01:56:23 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 72
[12-May-2024 01:56:23 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 76
[12-May-2024 01:56:23 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 76
[12-May-2024 01:56:23 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 83
[12-May-2024 01:56:23 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 83
[12-May-2024 01:56:23 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 100
[12-May-2024 01:56:23 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 100
[12-May-2024 01:56:23 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 107
[12-May-2024 01:56:23 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 107
[12-May-2024 01:58:07 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 101
[12-May-2024 01:58:07 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 101
[12-May-2024 01:58:07 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 104
[12-May-2024 01:58:07 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 108
[12-May-2024 01:58:07 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 108
[12-May-2024 01:58:07 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 115
[12-May-2024 01:58:07 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 115
[12-May-2024 01:58:07 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 132
[12-May-2024 01:58:07 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 132
[12-May-2024 01:58:07 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 139
[12-May-2024 01:58:07 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 139
[12-May-2024 02:00:14 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 101
[12-May-2024 02:00:14 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 101
[12-May-2024 02:00:14 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 104
[12-May-2024 02:00:14 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 108
[12-May-2024 02:00:14 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 108
[12-May-2024 02:00:14 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 115
[12-May-2024 02:00:14 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 115
[12-May-2024 02:00:14 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 132
[12-May-2024 02:00:14 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 132
[12-May-2024 02:00:14 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 139
[12-May-2024 02:00:14 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 139
[12-May-2024 02:00:52 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 111
[12-May-2024 02:00:52 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 111
[12-May-2024 02:00:52 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 114
[12-May-2024 02:00:52 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 118
[12-May-2024 02:00:52 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 118
[12-May-2024 02:00:52 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 125
[12-May-2024 02:00:52 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 125
[12-May-2024 02:00:52 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 142
[12-May-2024 02:00:52 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 142
[12-May-2024 02:00:52 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 149
[12-May-2024 02:00:52 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 149
[12-May-2024 02:01:10 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 111
[12-May-2024 02:01:10 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 111
[12-May-2024 02:01:10 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 114
[12-May-2024 02:01:10 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 118
[12-May-2024 02:01:10 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 118
[12-May-2024 02:01:10 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 125
[12-May-2024 02:01:10 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 125
[12-May-2024 02:01:10 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 142
[12-May-2024 02:01:10 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 142
[12-May-2024 02:01:10 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 149
[12-May-2024 02:01:10 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 149
[12-May-2024 02:01:21 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 111
[12-May-2024 02:01:21 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 111
[12-May-2024 02:01:21 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 114
[12-May-2024 02:01:21 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 118
[12-May-2024 02:01:21 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 118
[12-May-2024 02:01:21 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 125
[12-May-2024 02:01:21 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 125
[12-May-2024 02:01:21 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 142
[12-May-2024 02:01:21 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 142
[12-May-2024 02:01:21 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 149
[12-May-2024 02:01:21 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 149
[12-May-2024 02:01:49 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 111
[12-May-2024 02:01:49 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 111
[12-May-2024 02:01:49 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 114
[12-May-2024 02:01:49 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 118
[12-May-2024 02:01:49 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 118
[12-May-2024 02:01:49 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 125
[12-May-2024 02:01:49 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 125
[12-May-2024 02:01:49 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 142
[12-May-2024 02:01:49 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 142
[12-May-2024 02:01:49 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 149
[12-May-2024 02:01:49 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 149
[12-May-2024 02:02:00 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 111
[12-May-2024 02:02:00 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 111
[12-May-2024 02:02:00 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 114
[12-May-2024 02:02:00 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 118
[12-May-2024 02:02:00 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 118
[12-May-2024 02:02:00 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 125
[12-May-2024 02:02:00 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 125
[12-May-2024 02:02:00 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 142
[12-May-2024 02:02:00 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 142
[12-May-2024 02:02:00 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 149
[12-May-2024 02:02:00 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 149
[12-May-2024 02:02:37 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 111
[12-May-2024 02:02:37 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 111
[12-May-2024 02:02:37 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 114
[12-May-2024 02:02:37 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 118
[12-May-2024 02:02:37 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 118
[12-May-2024 02:02:37 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 125
[12-May-2024 02:02:37 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 125
[12-May-2024 02:02:37 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 142
[12-May-2024 02:02:37 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 142
[12-May-2024 02:02:37 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 149
[12-May-2024 02:02:37 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 149
[12-May-2024 02:03:07 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 109
[12-May-2024 02:03:07 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 109
[12-May-2024 02:03:07 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 112
[12-May-2024 02:03:07 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 116
[12-May-2024 02:03:07 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 116
[12-May-2024 02:03:07 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 123
[12-May-2024 02:03:07 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 123
[12-May-2024 02:03:07 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 140
[12-May-2024 02:03:07 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 140
[12-May-2024 02:03:07 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 147
[12-May-2024 02:03:07 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 147
[12-May-2024 02:06:20 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 106
[12-May-2024 02:06:20 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:06:20 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:07:49 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 106
[12-May-2024 02:07:49 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:07:49 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:07:49 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:07:49 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:07:49 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:07:49 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:07:49 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:07:49 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:08:05 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 106
[12-May-2024 02:08:05 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:08:05 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:08:05 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:08:05 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:08:05 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:08:05 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:08:05 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:08:05 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:08:30 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 106
[12-May-2024 02:08:30 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:08:30 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:08:30 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:08:30 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:08:30 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:08:30 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:08:30 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:08:30 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:08:53 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 106
[12-May-2024 02:08:53 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:08:53 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:08:53 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:08:53 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:08:53 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:08:53 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:08:53 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:08:53 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:11:08 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 106
[12-May-2024 02:11:08 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:11:08 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:11:08 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:11:08 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:11:08 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:11:08 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:11:08 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:11:08 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:11:27 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 106
[12-May-2024 02:11:27 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:11:27 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:11:27 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:11:27 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:11:27 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:11:27 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:11:27 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:11:27 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:11:48 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 106
[12-May-2024 02:11:48 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:11:48 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 110
[12-May-2024 02:11:48 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:11:48 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 117
[12-May-2024 02:11:48 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:11:48 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 134
[12-May-2024 02:11:48 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 02:11:48 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 141
[12-May-2024 04:58:33 UTC] PHP Fatal error: Uncaught Error: Class "Database" not found in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:96
Stack trace:
#0 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 96
[12-May-2024 04:58:35 UTC] PHP Fatal error: Uncaught Error: Class "Database" not found in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:96
Stack trace:
#0 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 96
[12-May-2024 05:00:31 UTC] PHP Fatal error: Uncaught TypeError: PDO::__construct(): Argument #4 ($options) must be of type ?array, string given in /home/dbditsco/bersyukur.cloud/IOTKK/database.php:7
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/database.php(7): PDO->__construct()
#1 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(95): include('/home/dbditsco/...')
#2 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/database.php on line 7
[12-May-2024 05:00:33 UTC] PHP Fatal error: Uncaught TypeError: PDO::__construct(): Argument #4 ($options) must be of type ?array, string given in /home/dbditsco/bersyukur.cloud/IOTKK/database.php:7
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/database.php(7): PDO->__construct()
#1 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(95): include('/home/dbditsco/...')
#2 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/database.php on line 7
[12-May-2024 05:12:52 UTC] PHP Warning: Undefined variable $id in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 119
[12-May-2024 05:12:52 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 123
[12-May-2024 05:12:52 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 123
[12-May-2024 05:12:52 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 130
[12-May-2024 05:12:52 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 130
[12-May-2024 05:12:52 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 147
[12-May-2024 05:12:52 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 147
[12-May-2024 05:12:52 UTC] PHP Warning: Undefined variable $data in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 154
[12-May-2024 05:12:52 UTC] PHP Warning: Trying to access array offset on value of type null in /home/dbditsco/bersyukur.cloud/IOTKK/template.php on line 154
[12-May-2024 06:08:13 UTC] PHP Warning: include(databse.php): Failed to open stream: No such file or directory in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 3
[12-May-2024 06:08:13 UTC] PHP Warning: include(): Failed opening 'databse.php' for inclusion (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 3
[12-May-2024 06:08:13 UTC] PHP Fatal error: Uncaught Error: Class "Database" not found in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:11
Stack trace:
#0 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 11
[12-May-2024 06:09:46 UTC] PHP Warning: include(databse.php): Failed to open stream: No such file or directory in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 3
[12-May-2024 06:09:46 UTC] PHP Warning: include(): Failed opening 'databse.php' for inclusion (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 3
[12-May-2024 06:09:46 UTC] PHP Fatal error: Uncaught Error: Class "Database" not found in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:11
Stack trace:
#0 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 11
[12-May-2024 06:13:44 UTC] PHP Warning: include(databse.php): Failed to open stream: No such file or directory in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 3
[12-May-2024 06:13:44 UTC] PHP Warning: include(): Failed opening 'databse.php' for inclusion (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 3
[12-May-2024 06:13:44 UTC] PHP Fatal error: Uncaught Error: Class "Database" not found in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:11
Stack trace:
#0 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 11
[12-May-2024 06:15:19 UTC] PHP Warning: include(databse.php): Failed to open stream: No such file or directory in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 3
[12-May-2024 06:15:19 UTC] PHP Warning: include(): Failed opening 'databse.php' for inclusion (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 3
[12-May-2024 06:15:19 UTC] PHP Fatal error: Uncaught Error: Class "Database" not found in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:11
Stack trace:
#0 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 11
[12-May-2024 06:16:47 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_IOTKK.user' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:16
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php(16): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 16
[12-May-2024 07:16:55 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 140
[12-May-2024 07:16:55 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 147
[12-May-2024 07:16:55 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 164
[12-May-2024 07:16:55 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 171
[12-May-2024 07:16:55 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 178
[12-May-2024 07:16:55 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 140
[12-May-2024 07:16:55 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 147
[12-May-2024 07:16:55 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 164
[12-May-2024 07:16:55 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 171
[12-May-2024 07:16:55 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 178
[12-May-2024 07:17:20 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 140
[12-May-2024 07:17:20 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 147
[12-May-2024 07:17:20 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 164
[12-May-2024 07:17:20 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 171
[12-May-2024 07:17:20 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 178
[12-May-2024 07:17:22 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 140
[12-May-2024 07:17:22 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 147
[12-May-2024 07:17:22 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 164
[12-May-2024 07:17:22 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 171
[12-May-2024 07:17:22 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 178
[12-May-2024 07:17:24 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 140
[12-May-2024 07:17:24 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 147
[12-May-2024 07:17:24 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 164
[12-May-2024 07:17:24 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 171
[12-May-2024 07:17:24 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 178
[12-May-2024 07:17:25 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 140
[12-May-2024 07:17:25 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 147
[12-May-2024 07:17:25 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 164
[12-May-2024 07:17:25 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 171
[12-May-2024 07:17:25 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 178
[12-May-2024 07:18:03 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 140
[12-May-2024 07:18:03 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 147
[12-May-2024 07:18:03 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 164
[12-May-2024 07:18:03 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 171
[12-May-2024 07:18:03 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 178
[13-May-2024 06:38:29 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[13-May-2024 10:16:58 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[13-May-2024 10:17:03 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[13-May-2024 10:17:10 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[13-May-2024 10:17:15 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[13-May-2024 10:17:23 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[14-May-2024 05:05:07 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[14-May-2024 05:05:15 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[14-May-2024 05:06:19 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[14-May-2024 05:14:56 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[14-May-2024 05:21:03 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[14-May-2024 05:44:23 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[14-May-2024 05:51:03 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[14-May-2024 06:02:57 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[14-May-2024 06:03:05 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[14-May-2024 06:16:17 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[14-May-2024 08:54:57 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[14-May-2024 09:57:56 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:28:07 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:28:20 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:30:13 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:30:47 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:39:48 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:40:30 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:40:59 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:41:03 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:41:19 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 12
[15-May-2024 03:42:06 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:42:36 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 12
[15-May-2024 03:46:49 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:47:26 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:50:31 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:54:50 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:54:55 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php:98
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data.php(98): PDO->query()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data.php on line 98
[15-May-2024 03:58:43 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.siswa_wali' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php:18
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php(18): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php on line 18
[15-May-2024 04:27:36 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 12
[15-May-2024 04:28:05 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 12
[15-May-2024 04:28:22 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 12
[15-May-2024 04:30:50 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 12
[15-May-2024 04:55:40 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 12
[15-May-2024 04:56:05 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 12
[15-May-2024 11:39:53 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php:19
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php(19): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php on line 19
[15-May-2024 11:40:10 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php:19
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php(19): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php on line 19
[15-May-2024 11:46:37 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 12
[15-May-2024 11:46:50 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data edit page.php on line 12
[15-May-2024 12:30:32 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[15-May-2024 12:30:34 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[15-May-2024 12:31:02 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[15-May-2024 12:33:38 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php:19
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php(19): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php on line 19
[15-May-2024 12:34:00 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php:19
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php(19): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php on line 19
[15-May-2024 12:34:09 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[15-May-2024 12:35:44 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[15-May-2024 12:35:45 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[15-May-2024 12:36:22 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[15-May-2024 12:36:24 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[15-May-2024 12:36:32 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[15-May-2024 12:36:33 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[16-May-2024 04:11:50 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[16-May-2024 04:13:37 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php:19
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php(19): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php on line 19
[16-May-2024 04:14:18 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[16-May-2024 04:17:57 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php:19
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php(19): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php on line 19
[16-May-2024 04:18:30 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php:19
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php(19): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php on line 19
[16-May-2024 04:21:26 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php:18
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php(18): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php on line 18
[16-May-2024 04:21:33 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php:18
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php(18): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php on line 18
[16-May-2024 04:21:40 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php:18
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php(18): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php on line 18
[16-May-2024 04:22:07 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php:18
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php(18): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php on line 18
[16-May-2024 04:22:12 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php:18
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php(18): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php on line 18
[16-May-2024 04:22:39 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php:18
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php(18): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php on line 18
[16-May-2024 04:22:44 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php:18
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php(18): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php on line 18
[16-May-2024 09:13:07 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[16-May-2024 09:15:46 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 13:27:07 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php:18
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php(18): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/user data delete page.php on line 18
[23-May-2024 13:28:54 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 25
[23-May-2024 13:30:07 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 25
[23-May-2024 15:01:13 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 12
[23-May-2024 15:01:24 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 12
[23-May-2024 15:08:25 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 12
[23-May-2024 15:08:39 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 12
[23-May-2024 15:59:30 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 15:59:44 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 16:07:31 UTC] PHP Warning: Undefined variable $uid in /home/dbditsco/bersyukur.cloud/IOTKK/read tag pembayaran.php on line 270
[23-May-2024 16:08:06 UTC] PHP Warning: Undefined variable $uid in /home/dbditsco/bersyukur.cloud/IOTKK/read tag pembayaran.php on line 270
[23-May-2024 16:08:06 UTC] PHP Warning: Undefined variable $uid in /home/dbditsco/bersyukur.cloud/IOTKK/read tag pembayaran.php on line 270
[23-May-2024 16:09:36 UTC] PHP Warning: Undefined variable $uid in /home/dbditsco/bersyukur.cloud/IOTKK/read tag pembayaran.php on line 270
[23-May-2024 16:10:21 UTC] PHP Warning: Undefined variable $uid in /home/dbditsco/bersyukur.cloud/IOTKK/read tag pembayaran.php on line 270
[23-May-2024 16:10:26 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbditsco_bersyukur.table_the_iot_projects' doesn't exist in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php:12
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php(12): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 12
[23-May-2024 16:10:49 UTC] PHP Warning: Undefined variable $uid in /home/dbditsco/bersyukur.cloud/IOTKK/read tag pembayaran.php on line 270
[23-May-2024 16:11:22 UTC] PHP Warning: Undefined variable $uid in /home/dbditsco/bersyukur.cloud/IOTKK/read tag pembayaran.php on line 270
[23-May-2024 16:11:44 UTC] PHP Warning: Undefined variable $uid in /home/dbditsco/bersyukur.cloud/IOTKK/read tag pembayaran.php on line 270
[23-May-2024 16:13:09 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 27
[23-May-2024 16:13:22 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 27
[23-May-2024 16:21:36 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 28
[23-May-2024 16:21:36 UTC] PHP Warning: Undefined array key "name" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 29
[23-May-2024 16:21:36 UTC] PHP Warning: Undefined array key "gender" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 30
[23-May-2024 16:21:36 UTC] PHP Warning: Undefined array key "email" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 31
[23-May-2024 16:21:36 UTC] PHP Warning: Undefined array key "mobile" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 32
[23-May-2024 16:21:36 UTC] PHP Warning: Undefined array key "balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 33
[23-May-2024 16:21:36 UTC] PHP Warning: Undefined array key "add_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 34
[23-May-2024 16:21:36 UTC] PHP Warning: Undefined array key "chatId" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 36
[23-May-2024 16:21:36 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:45
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php(45): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 45
[23-May-2024 16:23:14 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 28
[23-May-2024 16:23:14 UTC] PHP Warning: Undefined array key "name" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 29
[23-May-2024 16:23:14 UTC] PHP Warning: Undefined array key "gender" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 30
[23-May-2024 16:23:14 UTC] PHP Warning: Undefined array key "email" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 31
[23-May-2024 16:23:14 UTC] PHP Warning: Undefined array key "mobile" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 32
[23-May-2024 16:23:14 UTC] PHP Warning: Undefined array key "balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 33
[23-May-2024 16:23:14 UTC] PHP Warning: Undefined array key "add_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 34
[23-May-2024 16:23:14 UTC] PHP Warning: Undefined array key "chatId" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 36
[23-May-2024 16:23:14 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:45
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php(45): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 45
[23-May-2024 16:24:08 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 28
[23-May-2024 16:24:08 UTC] PHP Warning: Undefined array key "name" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 29
[23-May-2024 16:24:08 UTC] PHP Warning: Undefined array key "gender" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 30
[23-May-2024 16:24:08 UTC] PHP Warning: Undefined array key "email" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 31
[23-May-2024 16:24:08 UTC] PHP Warning: Undefined array key "mobile" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 32
[23-May-2024 16:24:08 UTC] PHP Warning: Undefined array key "balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 33
[23-May-2024 16:24:08 UTC] PHP Warning: Undefined array key "add_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 34
[23-May-2024 16:24:08 UTC] PHP Warning: Undefined array key "chatId" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 36
[23-May-2024 16:24:08 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:45
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php(45): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 45
[23-May-2024 16:25:25 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 28
[23-May-2024 16:25:25 UTC] PHP Warning: Undefined array key "name" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 29
[23-May-2024 16:25:25 UTC] PHP Warning: Undefined array key "gender" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 30
[23-May-2024 16:25:25 UTC] PHP Warning: Undefined array key "email" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 31
[23-May-2024 16:25:25 UTC] PHP Warning: Undefined array key "mobile" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 32
[23-May-2024 16:25:25 UTC] PHP Warning: Undefined array key "balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 33
[23-May-2024 16:25:25 UTC] PHP Warning: Undefined array key "chatId" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 34
[23-May-2024 16:25:28 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 24
[23-May-2024 16:27:18 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 28
[23-May-2024 16:27:18 UTC] PHP Warning: Undefined array key "name" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 29
[23-May-2024 16:27:18 UTC] PHP Warning: Undefined array key "gender" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 30
[23-May-2024 16:27:18 UTC] PHP Warning: Undefined array key "email" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 31
[23-May-2024 16:27:18 UTC] PHP Warning: Undefined array key "mobile" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 32
[23-May-2024 16:27:18 UTC] PHP Warning: Undefined array key "balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 33
[23-May-2024 16:27:18 UTC] PHP Warning: Undefined array key "add_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 34
[23-May-2024 16:27:18 UTC] PHP Warning: Undefined array key "chatId" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 36
[23-May-2024 16:27:18 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:45
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php(45): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 45
[23-May-2024 16:27:54 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 28
[23-May-2024 16:27:54 UTC] PHP Warning: Undefined array key "name" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 29
[23-May-2024 16:27:54 UTC] PHP Warning: Undefined array key "gender" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 30
[23-May-2024 16:27:54 UTC] PHP Warning: Undefined array key "email" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 31
[23-May-2024 16:27:54 UTC] PHP Warning: Undefined array key "mobile" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 32
[23-May-2024 16:27:54 UTC] PHP Warning: Undefined array key "balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 33
[23-May-2024 16:27:54 UTC] PHP Warning: Undefined array key "add_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 34
[23-May-2024 16:27:54 UTC] PHP Warning: Undefined array key "chatId" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 36
[23-May-2024 16:27:54 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:45
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php(45): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 45
[23-May-2024 16:28:56 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 28
[23-May-2024 16:28:56 UTC] PHP Warning: Undefined array key "name" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 29
[23-May-2024 16:28:56 UTC] PHP Warning: Undefined array key "gender" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 30
[23-May-2024 16:28:56 UTC] PHP Warning: Undefined array key "email" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 31
[23-May-2024 16:28:56 UTC] PHP Warning: Undefined array key "mobile" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 32
[23-May-2024 16:28:56 UTC] PHP Warning: Undefined array key "balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 33
[23-May-2024 16:28:56 UTC] PHP Warning: Undefined array key "add_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 34
[23-May-2024 16:28:56 UTC] PHP Warning: Undefined array key "chatId" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 36
[23-May-2024 16:28:56 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:45
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php(45): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 45
[23-May-2024 16:36:04 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 28
[23-May-2024 16:36:04 UTC] PHP Warning: Undefined array key "name" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 29
[23-May-2024 16:36:04 UTC] PHP Warning: Undefined array key "gender" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 30
[23-May-2024 16:36:04 UTC] PHP Warning: Undefined array key "email" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 31
[23-May-2024 16:36:04 UTC] PHP Warning: Undefined array key "mobile" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 32
[23-May-2024 16:36:04 UTC] PHP Warning: Undefined array key "balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 33
[23-May-2024 16:36:04 UTC] PHP Warning: Undefined array key "add_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 34
[23-May-2024 16:36:04 UTC] PHP Warning: Undefined array key "chatId" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 36
[23-May-2024 16:36:04 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:45
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php(45): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 45
[23-May-2024 16:36:56 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 28
[23-May-2024 16:36:56 UTC] PHP Warning: Undefined array key "name" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 29
[23-May-2024 16:36:56 UTC] PHP Warning: Undefined array key "gender" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 30
[23-May-2024 16:36:56 UTC] PHP Warning: Undefined array key "email" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 31
[23-May-2024 16:36:56 UTC] PHP Warning: Undefined array key "mobile" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 32
[23-May-2024 16:36:56 UTC] PHP Warning: Undefined array key "balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 33
[23-May-2024 16:36:56 UTC] PHP Warning: Undefined array key "add_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 34
[23-May-2024 16:36:56 UTC] PHP Warning: Undefined array key "chatId" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 36
[23-May-2024 16:36:56 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:45
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php(45): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 45
[23-May-2024 16:37:26 UTC] PHP Warning: Undefined variable $uid in /home/dbditsco/bersyukur.cloud/IOTKK/read tag pembayaran.php on line 270
[23-May-2024 16:37:27 UTC] PHP Warning: Undefined variable $uid in /home/dbditsco/bersyukur.cloud/IOTKK/read tag pembayaran.php on line 270
[23-May-2024 16:38:35 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 16:40:48 UTC] PHP Warning: Undefined array key "balance" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 29
[23-May-2024 16:40:48 UTC] PHP Warning: Undefined array key "reduce_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 30
[23-May-2024 16:40:51 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 16:42:21 UTC] PHP Warning: Undefined array key "add_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 34
[23-May-2024 16:42:21 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php:45
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php(45): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 45
[23-May-2024 16:43:29 UTC] PHP Warning: Undefined array key "reduce_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 29
[23-May-2024 16:43:33 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 16:45:11 UTC] PHP Warning: Undefined array key "reduce_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 29
[23-May-2024 16:45:14 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 16:46:33 UTC] PHP Warning: Undefined array key "reduce_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 29
[23-May-2024 16:46:35 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 16:57:11 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 28
[23-May-2024 16:57:11 UTC] PHP Warning: Undefined array key "reduce_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 29
[23-May-2024 16:58:59 UTC] PHP Warning: Undefined array key "reduce_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 29
[23-May-2024 16:59:06 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 17:00:31 UTC] PHP Warning: Undefined array key "reduce_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 29
[23-May-2024 17:00:33 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 17:00:59 UTC] PHP Warning: Undefined array key "reduce_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 29
[23-May-2024 17:01:01 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 17:13:39 UTC] PHP Warning: Undefined array key "reduce_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 29
[23-May-2024 17:13:43 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 17:14:00 UTC] PHP Warning: Undefined array key "reduce_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 29
[23-May-2024 17:14:06 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 17:21:58 UTC] PHP Warning: Undefined array key "id" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 28
[23-May-2024 17:22:35 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 17:24:11 UTC] PHP Warning: Undefined array key "reduce_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 29
[23-May-2024 17:24:13 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[23-May-2024 17:25:09 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[24-May-2024 04:53:03 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '34F76951' for key 'siswa_wali.PRIMARY' in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php:18
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php(18): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php on line 18
[24-May-2024 04:53:13 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '34F76951' for key 'siswa_wali.PRIMARY' in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php:18
Stack trace:
#0 /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php(18): PDOStatement->execute()
#1 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/insertDB.php on line 18
[24-May-2024 04:55:38 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[24-May-2024 04:57:45 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php on line 24
[24-May-2024 04:58:36 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[24-May-2024 04:59:07 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php on line 24
[24-May-2024 05:00:05 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php on line 24
[24-May-2024 05:00:29 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[24-May-2024 13:36:00 UTC] PHP Warning: Undefined array key "add_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php on line 29
[24-May-2024 14:14:55 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 17
[25-May-2024 04:26:45 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 17
[25-May-2024 05:07:25 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[25-May-2024 05:07:57 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php on line 24
[25-May-2024 05:08:26 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php on line 24
[25-May-2024 05:08:45 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[25-May-2024 05:10:35 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[25-May-2024 05:22:49 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7025430463:AAHt85L9BbeGzcRiRekeU_8Ei_tVL_c3bLk/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php on line 24
[25-May-2024 06:02:20 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[27-May-2024 04:09:37 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php on line 24
[27-May-2024 09:04:05 UTC] PHP Warning: Undefined array key "add_balance" in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php on line 29
[27-May-2024 09:04:07 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php on line 24
[28-May-2024 05:42:22 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[28-May-2024 05:48:00 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[28-May-2024 05:55:55 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[28-May-2024 06:01:18 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[28-May-2024 06:20:23 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[28-May-2024 07:14:00 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[28-May-2024 07:14:20 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 17
[28-May-2024 07:19:42 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 17
[28-May-2024 07:22:02 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 17
[28-May-2024 07:24:02 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 17
[28-May-2024 07:24:42 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 17
[28-May-2024 09:04:35 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[28-May-2024 09:04:57 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php on line 24
[28-May-2024 09:25:43 UTC] PHP Warning: Undefined variable $dataBalance in /home/dbditsco/bersyukur.cloud/IOTKK/sendNewBalance.php on line 1
[28-May-2024 09:25:52 UTC] PHP Warning: Undefined variable $dataBalance in /home/dbditsco/bersyukur.cloud/IOTKK/sendNewBalance.php on line 1
[28-May-2024 09:25:54 UTC] PHP Warning: Undefined variable $dataBalance in /home/dbditsco/bersyukur.cloud/IOTKK/sendNewBalance.php on line 1
[28-May-2024 09:26:16 UTC] PHP Warning: Undefined variable $dataBalance in /home/dbditsco/bersyukur.cloud/IOTKK/sendNewBalance.php on line 1
[28-May-2024 09:26:33 UTC] PHP Warning: Undefined variable $dataBalance in /home/dbditsco/bersyukur.cloud/IOTKK/sendNewBalance.php on line 1
[28-May-2024 09:26:47 UTC] PHP Warning: Undefined variable $dataBalance in /home/dbditsco/bersyukur.cloud/IOTKK/sendNewBalance.php on line 1
[28-May-2024 09:26:53 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand types: int + string in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php:44
Stack trace:
#0 {main}
thrown in /home/dbditsco/bersyukur.cloud/IOTKK/tambahSaldoDB.php on line 44
[28-May-2024 09:51:57 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 17
[31-May-2024 02:24:13 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[31-May-2024 02:27:29 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[31-May-2024 02:55:56 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[01-Jun-2024 04:58:09 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 17
[01-Jun-2024 04:58:34 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[01-Jun-2024 05:13:09 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[03-Jun-2024 07:35:21 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUID.php on line 2
[03-Jun-2024 08:08:46 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUID.php on line 2
[03-Jun-2024 08:13:29 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUID.php on line 2
[03-Jun-2024 08:15:42 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUID.php on line 2
[03-Jun-2024 08:29:42 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUID.php on line 2
[05-Jun-2024 05:14:34 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[05-Jun-2024 07:43:05 UTC] PHP Warning: file_get_contents(https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[05-Jun-2024 07:46:06 UTC] PHP Warning: file_get_contents(https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[05-Jun-2024 07:48:00 UTC] PHP Warning: file_get_contents(https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[05-Jun-2024 07:51:10 UTC] PHP Warning: file_get_contents(https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[05-Jun-2024 07:52:33 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[05-Jun-2024 07:52:53 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[05-Jun-2024 07:55:58 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[05-Jun-2024 08:02:03 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 17
[05-Jun-2024 08:02:35 UTC] PHP Warning: file_get_contents(https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[05-Jun-2024 08:18:27 UTC] PHP Warning: file_get_contents(https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[05-Jun-2024 08:18:52 UTC] PHP Warning: file_get_contents(https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[05-Jun-2024 08:19:46 UTC] PHP Warning: file_get_contents(https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[05-Jun-2024 08:38:00 UTC] PHP Warning: file_get_contents(https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[05-Jun-2024 08:49:39 UTC] PHP Warning: file_get_contents(https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[05-Jun-2024 08:51:04 UTC] PHP Warning: file_get_contents(https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/dbditsco/bersyukur.cloud/IOTKK/bayarDB.php on line 24
[07-Jun-2024 03:16:41 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUIDBayar.php on line 2
[07-Jun-2024 03:17:43 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUIDBayar.php on line 2
[07-Jun-2024 03:18:19 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUIDBayar.php on line 2
[07-Jun-2024 03:18:20 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUIDBayar.php on line 2
[07-Jun-2024 03:18:20 UTC] PHP Warning: Undefined array key "UIDresult" in /home/dbditsco/bersyukur.cloud/IOTKK/getUIDBayar.php on line 2
[07-Jun-2024 04:46:14 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 17
[12-Jun-2024 10:28:39 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[12-Jun-2024 10:34:12 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[12-Jun-2024 10:34:32 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[15-Jun-2024 07:00:54 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 25
[15-Jun-2024 07:01:09 UTC] PHP Warning: file_get_contents(https://api.telegram.org/bot7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc/sendMessage): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /home/dbditsco/bersyukur.cloud/IOTKK/updateDB.php on line 25
[16-Jun-2024 10:58:53 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag user data.php on line 17
[18-Jun-2024 12:58:49 UTC] PHP Warning: Trying to access array offset on false in /home/dbditsco/bersyukur.cloud/IOTKK/read tag data user pembayaran.php on line 17

6
getUID.php Normal file
View File

@ -0,0 +1,6 @@
<?php
$UIDresult=$_POST["UIDresult"];
$Write="<?php $" . "UIDresult='" . $UIDresult . "'; " . "echo $" . "UIDresult;" . " ?>";
file_put_contents('UIDContainer.php',$Write);
// file_put_contents('sendNewBalance.php',$Write);
?>

4
getUIDBayar.php Normal file
View File

@ -0,0 +1,4 @@
<?php
$UIDresult = $_POST["UIDresult"];
$Write = "<?php $" . "UIDresult='" . $UIDresult . "'; " . "echo $" . "UIDresult;" . " ?>";
file_put_contents('UIDBayarContainer.php', $Write);

BIN
home ok ok.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

182
home.php Normal file
View File

@ -0,0 +1,182 @@
<?php
$Write = "<?php $" . "UIDresult=''; " . "echo $" . "UIDresult;" . " ?>";
file_put_contents('UIDContainer.php', $Write);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<title>Home : NodeMCU V3 ESP8266 / ESP12E with MYSQL Database</title>
<script src="jquery.min.js"></script>
<script>
$(document).ready(function() {
$("#getUID").load("UIDContainer.php");
setInterval(function() {
$("#getUID").load("UIDContainer.php");
}, 500);
});
</script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
width: 80%;
max-width: 1200px;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
width: 100%;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
.content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
width: 100%;
padding: 20px 0;
}
.welcome {
margin-bottom: 20px;
}
.card-row {
display: flex;
justify-content: center;
flex-wrap: wrap;
width: 100%;
margin-top: 20px;
}
.card {
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 8px;
padding: 20px;
width: 90%;
max-width: 300px;
margin: 10px;
text-align: center;
}
.card h3 {
margin-bottom: 15px;
}
.card p {
margin-bottom: 20px;
color: #333;
}
.btnn {
display: block;
text-align: center;
margin: 0 auto;
width: fit-content;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
.btnn:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="container">
<nav>
<ul>
<li><a href="home.php">Home</a></li>
<li><a href="registration.php">Registrasi</a></li>
<li><a href="read tag.php">Absen</a></li>
</ul>
</nav>
</div>
<div class="container content">
<div class="welcome">
<h2>SELAMAT DATANG DI SISTEM ABSENSI SISWA BERBASIS RFID</h2>
</div>
<div class="card-row">
<div class="card">
<h3>Home</h3>
<p>Sistem ini dirancang untuk
memudahkan transaksi di lingkungan
sekolah dan memberikan kemudahan
bagi siswa dan orang tua dalam
mengelola keuangan sehari-hari.</p>
<a href="home.php" class="btnn">Home</a>
</div>
<div class="card">
<h3>Registrasi</h3>
<p>Registrasi dilakukan dengan
menempelkan kartu pelajar pada
alat pembaca RFID, kemudian
mengisi nama lengkap, jenis
kelamin, email, dan nomor HP
siswa dan chatID Telegram.</p>
<a href="registration.php" class="btnn">Registrasi</a>
</div>
<div class="card">
<h3>Absen</h3>
<p>Halaman "Absen" digunakan untuk
melakukan absensi harian dengan
menempelkan kartu pelajar pada
alat pembaca RFID yang terhubung
dengan NodeMCU ESP8266.
</p>
<a href="read tag.php" class="btnn">Absen</a>
</div>
</div>
</div>
</body>
</html>

169
homeUser.php Normal file
View File

@ -0,0 +1,169 @@
<?php
$Write = "<?php $" . "UIDresult=''; " . "echo $" . "UIDresult;" . " ?>";
file_put_contents('UIDBayarContainer.php', $Write);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<title>Home : NodeMCU V3 ESP8266 / ESP12E with MYSQL Database</title>
<script src="jquery.min.js"></script>
<script>
$(document).ready(function() {
$("#getUID").load("UIDBayarContainer.php");
setInterval(function() {
$("#getUID").load("UIDBayarContainer.php");
}, 500);
});
</script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
width: 80%;
max-width: 1200px;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
width: 100%;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
.content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
width: 100%;
padding: 20px 0;
}
.welcome {
margin-bottom: 20px;
}
.card-row {
display: flex;
justify-content: center;
flex-wrap: wrap;
width: 100%;
margin-top: 20px;
}
.card {
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 8px;
padding: 20px;
width: 90%;
max-width: 300px;
margin: 10px;
text-align: center;
}
.card h3 {
margin-bottom: 15px;
}
.card p {
margin-bottom: 20px;
color: #333;
}
.btnn {
display: block;
text-align: center;
margin: 0 auto;
width: fit-content;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
.btnn:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="container">
<nav>
<ul>
<li><a href="homeUser.php">Home</a></li>
<li><a href="read tag pembayaran.php">Pembayaran</a></li>
</ul>
</nav>
</div>
<div class="container content">
<div class="welcome">
<h2>WELCOME TO SISTEM E-MONEY DAN INFORMASI KE ORANG TUA
MENGGUNAKAN KARTU PELAJAR BERBASIS
INTERNET OF THINGS</h2>
</div>
<div class="card-row">
<div class="card">
<h3>Home</h3>
<p>Sistem ini dirancang untuk
memudahkan transaksi di lingkungan
sekolah dan memberikan kemudahan
bagi siswa dan orang tua dalam
mengelola keuangan sehari-hari.</p>
<a href="home.php" class="btnn">Home</a>
</div>
<div class="card">
<h3>Pembayaran</h3>
<p>Proses pembayaran menggunakan kartu rfid
siswa dengan menginputkan jumlah nominal yang dibayarkan</p>
<a href="read tag pembayaran.php" class="btnn">Pembayaran</a>
</div>
</div>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

57
insertDB.php Normal file
View File

@ -0,0 +1,57 @@
<?php
require 'database.php';
function sendMessage($chatId, $message)
{
$botToken = '7065768550:AAFRM5Petfr0TOhl-DLF5b3hHmK9sQBk4E8'; // Replace with your Telegram bot token
$apiURL = "https://api.telegram.org/bot$botToken/sendMessage";
$data = [
'chat_id' => $chatId,
'text' => $message
];
$options = [
'http' => [
'method' => 'POST',
'header' => "Content-Type:application/x-www-form-urlencoded\r\n",
'content' => http_build_query($data)
]
];
$context = stream_context_create($options);
file_get_contents($apiURL, false, $context);
}
if (!empty($_POST)) {
// Set the default timezone to Jakarta, Indonesia
date_default_timezone_set('Asia/Jakarta');
// Keep track of post values
$name = $_POST['name'];
$id = $_POST['id'];
$gender = $_POST['gender'];
$email = $_POST['email'];
$mobile = $_POST['mobile'];
$chatId = $_POST['chatId'];
$class = $_POST['class'];
$date = date('Y-m-d H:i:s'); // Generate current date and time with the local timezone
// Insert data
$pdo = Database::connect();
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$sql = "INSERT INTO siswa_wali (name, id, gender, email, mobile, chatId, date, class) values(?, ?, ?, ?, ?, ?, ?, ?)";
$q = $pdo->prepare($sql);
$q->execute(array($name, $id, $gender, $email, $mobile, $chatId, $date, $class)); // Include $chatId in the array
Database::disconnect();
// Send a message to the user on Telegram
$message = "Halo $name, berhasil melakukan registrasi. Pada $date";
sendMessage($chatId, $message);
$Write = "<?php echo 'Berhasil Registrasi!' ?>";
file_put_contents('sendNewBalance.php', $Write);
// Redirect to user data page
header("Location: user data.php");
}

187
iotkk.ino Normal file
View File

@ -0,0 +1,187 @@
#include <ESP8266WebServer.h>
#include <ESP8266HTTPClient.h>
#include <SPI.h>
#include <MFRC522.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#define SS_PIN D4 // SDA / SS is connected to pinout D2
#define RST_PIN D3 // RST is connected to pinout D1
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance.
#define ON_Board_LED D0
#define BUZZER_PIN D8 // Define the pin for the buzzer
const char* ssid = ":)";
const char* password = "hanadulset";
ESP8266WebServer server(80); // Server on port 80
int readsuccess;
byte readcard[4];
char str[32] = "";
String StrUID;
String receivedData = "";
String newBalance = "";
// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
Wire.begin();
Serial.begin(115200); // Initialize serial communications with the PC
SPI.begin(); // Init SPI bus
mfrc522.PCD_Init(); // Init MFRC522 card
delay(500);
// Initialize the LCD
lcd.begin(16, 2);
lcd.clear();
lcd.backlight();
WiFi.begin(ssid, password); // Connect to your WiFi router
Serial.println("");
pinMode(ON_Board_LED, OUTPUT);
pinMode(BUZZER_PIN, OUTPUT); // Set buzzer pin as output
digitalWrite(ON_Board_LED, HIGH); // Turn off Led On Board
digitalWrite(BUZZER_PIN, LOW); // Ensure the buzzer is off initially
Serial.print("Connecting");
while (WiFi.status() != WL_CONNECTED) {
Serial.print(".");
digitalWrite(ON_Board_LED, LOW);
delay(250);
digitalWrite(ON_Board_LED, HIGH);
delay(250);
}
digitalWrite(ON_Board_LED, HIGH); // Turn off the On Board LED when it is connected to the wifi router.
Serial.println("");
Serial.print("Successfully connected to : ");
Serial.println(ssid);
Serial.print("IP address: ");
Serial.println(WiFi.localIP());
// Setup server routes
server.on("/", HTTP_GET, handleRoot);
server.begin();
Serial.println("Please tag a card or keychain to see the UID !");
Serial.println("");
}
void loop() {
// Handle client requests
server.handleClient();
// Read RFID card
readsuccess = getid();
if (readsuccess) {
digitalWrite(ON_Board_LED, LOW);
digitalWrite(BUZZER_PIN, HIGH) ; //DO note 523 Hz
delay (250); // Turn on the buzzer
digitalWrite(BUZZER_PIN, LOW) ;
HTTPClient http; // Declare object of class HTTPClient
WiFiClient client;
String UIDresultSend = StrUID;
String postData = "UIDresult=" + UIDresultSend;
http.begin(client, "http://192.168.84.121/IOTKK/getUID.php");
http.addHeader("Content-Type", "application/x-www-form-urlencoded"); // Specify content-type header
int httpCode = http.POST(postData); // Send the request
String payload = http.getString(); // Get the response payload
Serial.println(UIDresultSend);
Serial.println(httpCode); // Print HTTP return code
Serial.println(payload); // Print request response payload
receivedData = payload; // Store received data
delay(2000);
http.end(); // Close connection
// Make a GET request to receive new balance data
if (WiFi.status() == WL_CONNECTED) {
HTTPClient http; // Declare object of class HTTPClient
WiFiClient client;
http.begin(client, "http://192.168.84.121/IOTKK/sendNewBalance.php");
int httpCode = http.GET();
Serial.println("HTTP GET code: " + String(httpCode)); // Print HTTP return code
if (httpCode > 0) {
if (httpCode == HTTP_CODE_OK) {
newBalance = http.getString();
String balance = newBalance;
Serial.println("New balance received: " + newBalance);
// Display the new balance on the LCD with scrolling
lcd.clear();
lcd.setCursor(0,0);
lcd.print(balance);
delay(500);
lcd.clear();
} else {
Serial.println("Failed to get new balance, response code: " + String(httpCode));
}
} else {
Serial.printf("[HTTP] GET request failed, error: %s\n", http.errorToString(httpCode).c_str());
}
http.end();
} else {
Serial.println("WiFi not connected");
}
delay(250);
digitalWrite(BUZZER_PIN, LOW); // Turn off the buzzer
digitalWrite(ON_Board_LED, HIGH);
}
}
int getid() {
if (!mfrc522.PICC_IsNewCardPresent()) {
return 0;
}
if (!mfrc522.PICC_ReadCardSerial()) {
return 0;
}
Serial.print("THE UID OF THE SCANNED CARD IS : ");
for (int i = 0; i < 4; i++) {
readcard[i] = mfrc522.uid.uidByte[i]; // Storing the UID of the tag in readcard
array_to_string(readcard, 4, str);
StrUID = str;
}
mfrc522.PICC_HaltA();
return 1;
}
void array_to_string(byte array[], unsigned int len, char buffer[]) {
for (unsigned int i = 0; i < len; i++) {
byte nib1 = (array[i] >> 4) & 0x0F;
byte nib2 = (array[i] >> 0) & 0x0F;
buffer[i * 2 + 0] = nib1 < 0xA ? '0' + nib1 : 'A' + nib1 - 0xA;
buffer[i * 2 + 1] = nib2 < 0xA ? '0' + nib2 : 'A' + nib2 - 0xA;
}
buffer[len * 2] = '\0';
}
void handleRoot() {
server.send(200, "text/plain", receivedData);
}
// Function to scroll text on the LCD from right to left
void scrollText(String message) {
message = " " + message + " "; // Add spaces to the start and end for scrolling effect
for (int i = 0; i < message.length() - 16; i++) {
lcd.clear();
lcd.setCursor(0, 0);
lcd.print(message.substring(i, i + 16)); // Print a substring of the message
delay(300); // Delay to control the scroll speed
lcd.clear();
}
}

10598
jquery.min.js vendored Normal file

File diff suppressed because it is too large Load Diff

2280
js/bootstrap.js vendored Normal file

File diff suppressed because it is too large Load Diff

6
js/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,69 @@
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 20, 2020 at 12:40 PM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.3.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `nodemcu_rfid_iot_projects`
--
-- --------------------------------------------------------
--
-- Table structure for table `table_the_iot_projects`
--
CREATE TABLE `siswa_wali` (
`name` varchar(100) NOT NULL,
`id` varchar(100) NOT NULL,
`gender` varchar(100) NOT NULL,
`email` varchar(100) NOT NULL,
`mobile` varchar(100) NOT NULL,
`chatId` varchar(100) NOT NULL,
`class` varchar(100) NOT NULL,
`date` datetime
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE `absen` (
`name` varchar(100) NOT NULL,
`id` varchar(100) NOT NULL,
`gender` varchar(100) NOT NULL,
`email` varchar(100) NOT NULL,
`mobile` varchar(100) NOT NULL,
`date` datetime,
`class` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `table_the_iot_projects`
--
--
-- Indexes for dumped tables
--
--
-- Indexes for table `table_the_iot_projects`
--
ALTER TABLE `siswa_wali`
ADD PRIMARY KEY (`id`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

View File

@ -0,0 +1,198 @@
<?php
require 'database.php';
$id = null;
if (!empty($_GET['id'])) {
$id = $_REQUEST['id'];
}
$pdo = Database::connect();
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$sql = "SELECT * FROM siswa_wali where id = ?";
$q = $pdo->prepare($sql);
$q->execute(array($id));
$data = $q->fetch(PDO::FETCH_ASSOC);
Database::disconnect();
$msg = null;
if (null == $data['name']) {
$msg = "The ID of your Card / KeyChain is not registered !!!";
$data['id'] = $id;
$data['name'] = "--------";
$data['gender'] = "--------";
$data['email'] = "--------";
$data['mobile'] = "--------";
$data['balance'] = "--------";
} else {
$msg = null;
}
$dataName = $data['name'];
$dataBalance = $data['balance'];
$Write = "<?php \$newName='$dataName'; \$newBalance='$dataBalance'; echo 'Halo: ' . \$newName . ' | Saldo anda sebanyak: ' . \$newBalance; ?>";
file_put_contents('sendNewBalance.php', $Write);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="js/bootstrap.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
width: 80%;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
table {
width: 100%;
margin-top: 20px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-collapse: collapse;
}
th,
td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
font-weight: bold;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
.btnn {
display: block;
text-align: center;
margin: 0 auto;
width: fit-content;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
.btnn:hover {
background-color: #0056b3;
}
</style>
<script>
window.onload = function() {
var balance = <?php echo $data['balance']; ?>;
if (balance == 0) {
alert("Your balance is 0. Please fill your balance first.");
}
}
</script>
</head>
<body>
<div>
<form action="bayarDB.php?id=<?php echo $data['id']; ?>" method="post">
<table width="452" border="1" bordercolor="#10a0c5" align="center" cellpadding="0" cellspacing="1" bgcolor="#000" style="padding: 2px">
<tr>
<td height="40" align="center" bgcolor="#10a0c5">
<font color="#FFFFFF">
<b>User Data</b>
</font>
</td>
</tr>
<tr>
<td bgcolor="#f9f9f9">
<table width="452" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="113" align="left" class="lf">ID</td>
<td style="font-weight:bold">:</td>
<td align="left"><?php echo $data['id']; ?></td>
</tr>
<tr bgcolor="#f2f2f2">
<td align="left" class="lf">Nama</td>
<td style="font-weight:bold">:</td>
<td align="left"><?php echo $data['name']; ?></td>
</tr>
<tr>
<td align="left" class="lf">Jenis Jelamin</td>
<td style="font-weight:bold">:</td>
<td align="left"><?php echo $data['gender']; ?></td>
</tr>
<tr bgcolor="#f2f2f2">
<td align="left" class="lf">Email</td>
<td style="font-weight:bold">:</td>
<td align="left"><?php echo $data['email']; ?></td>
</tr>
<tr>
<td align="left" class="lf">No.Telp</td>
<td style="font-weight:bold">:</td>
<td align="left"><?php echo $data['mobile']; ?></td>
</tr>
<tr>
<td align="left" class="lf">Kelas</td>
<td style="font-weight:bold">:</td>
<td align="left"><?php echo $data['balance']; ?></td>
</tr>
<tr>
<td align="left" class="lf">Bayar</td>
<td style="font-weight:bold">:</td>
<td align="left"><input type="number" id="reduce_balance" name="reduce_balance" min="0"></td>
</tr>
</table>
</td>
</tr>
</table>
<div style="padding-top: 20px">
<button type="submit" class="btnn">Bayar</button>
</div>
</form>
</div>
<p style="color:red;"><?php echo $msg; ?></p>
</body>
</html>

234
read tag pembayaran.php Normal file
View File

@ -0,0 +1,234 @@
<?php
$Write = "<?php $" . "UIDresult=''; " . "echo $" . "UIDresult;" . " ?>";
file_put_contents('UIDBayarContainer.php', $Write);
?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<script src="jquery.min.js"></script>
<script>
$(document).ready(function() {
$("#getUID").load("UIDBayarContainer.php");
setInterval(function() {
$("#getUID").load("UIDBayarContainer.php");
}, 500);
});
</script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
width: 80%;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
table {
width: 100%;
margin-top: 20px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-collapse: collapse;
}
th,
td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
font-weight: bold;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
.btnn {
display: block;
text-align: center;
/* Center the text */
margin: 0 auto;
/* Center the link horizontally */
width: fit-content;
/* Set width to fit the content */
padding: 10px 20px;
background-color: #007bff;
/* Button color */
color: #fff;
/* Text color */
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
.btnn:hover {
background-color: #0056b3;
/* Hover color */
}
</style>
<title>Read Tag : NodeMCU V3 ESP8266 / ESP12E with MYSQL Database</title>
</head>
<body>
<div class="container">
<nav>
<ul>
<li><a href="homeUser.php">Home</a></li>
<li><a href="read tag pembayaran.php">Pembayaran</a></li>
</ul>
</nav>
</div>
<br>
<h3 align="center" id="blink">Please Scan Tag to Display ID or User Data</h3>
<p id="getUID" hidden></p>
<br>
<div class="container">
<div id="show_user_data">
<form>
<table width="452" border="1" bordercolor="#10a0c5" align="center" cellpadding="0" cellspacing="1" bgcolor="#000" style="padding: 2px">
<tr>
<td height="40" align="center" bgcolor="#10a0c5">
<font color="#FFFFFF">
<b>User Data</b>
</font>
</td>
</tr>
<tr>
<td bgcolor="#f9f9f9">
<table width="452" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="113" align="left" class="lf">ID</td>
<td style="font-weight:bold">:</td>
<td align="left">--------</td>
</tr>
<tr bgcolor="#f2f2f2">
<td align="left" class="lf">Nama</td>
<td style="font-weight:bold">:</td>
<td align="left">--------</td>
</tr>
<tr>
<td align="left" class="lf">Jenis Kelamin</td>
<td style="font-weight:bold">:</td>
<td align="left">--------</td>
</tr>
<tr bgcolor="#f2f2f2">
<td align="left" class="lf">Email</td>
<td style="font-weight:bold">:</td>
<td align="left">--------</td>
</tr>
<tr>
<td align="left" class="lf">No.Telp</td>
<td style="font-weight:bold">:</td>
<td align="left">--------</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<button id="show_data_button" class="btn" style="display: none;">Show Data</button>
</div>
</div>
<script>
var myVar = setInterval(myTimer, 1000);
var myVar1 = setInterval(myTimer1, 1000);
var oldID = "";
clearInterval(myVar1);
function myTimer() {
var getID = document.getElementById("getUID").innerHTML;
oldID = getID;
if (getID != "") {
myVar1 = setInterval(myTimer1, 500);
showUser(getID);
clearInterval(myVar);
}
}
function myTimer1() {
var getID = document.getElementById("getUID").innerHTML;
if (oldID != getID) {
myVar = setInterval(myTimer, 500);
clearInterval(myVar1);
}
}
function showUser(str) {
if (str == "") {
document.getElementById("show_user_data").innerHTML = "";
return;
} else {
if (window.XMLHttpRequest) {
// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp = new XMLHttpRequest();
} else {
// code for IE6, IE5
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById("show_user_data").innerHTML = this.responseText;
}
};
xmlhttp.open("GET", "read tag data user pembayaran.php?id=" + str, true); // Call bayarDB.php with UID
xmlhttp.send();
}
}
var blink = document.getElementById('blink');
setInterval(function() {
blink.style.opacity = (blink.style.opacity == 0 ? 1 : 0);
}, 750);
</script>
</body>
</html>

237
read tag user data.php Normal file
View File

@ -0,0 +1,237 @@
<?php
require 'database.php';
function sendMessage($chatId, $message)
{
$botToken = '7065768550:AAFRM5Petfr0TOhl-DLF5b3hHmK9sQBk4E8'; // Replace with your Telegram bot token
$apiURL = "https://api.telegram.org/bot$botToken/sendMessage";
$data = [
'chat_id' => $chatId,
'text' => $message
];
$options = [
'http' => [
'method' => 'POST',
'header' => "Content-Type:application/x-www-form-urlencoded\r\n",
'content' => http_build_query($data)
]
];
$context = stream_context_create($options);
file_get_contents($apiURL, false, $context);
}
$id = null;
if (!empty($_GET['id'])) {
$id = $_REQUEST['id'];
}
date_default_timezone_set('Asia/Jakarta');
$date = date('Y-m-d H:i:s');
// Fetch student data
$pdo = Database::connect();
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$sql = "SELECT * FROM siswa_wali WHERE id = ?";
$q = $pdo->prepare($sql);
$q->execute(array($id));
$data = $q->fetch(PDO::FETCH_ASSOC);
Database::disconnect();
$name = $data['name'];
$class = $data['class'];
// Assuming $name, $class, $chatId are defined somewhere
$chatId = $data['chatId'];
// echo json_encode($chatId);
// die();
$message = "Halo $name, berhasil melakukan Absensi, Kelas $class. Pada $date.";
sendMessage($chatId, $message);
// Write to file (this part wasn't explained clearly, assuming it's for logging purposes)
$Write = "<?php echo 'Berhasil Absen!' ?>";
file_put_contents('sendNewBalance.php', $Write);
if($data){
// Get current date and time
// Insert data into 'absen' table
$pdo = Database::connect();
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$sql = "INSERT INTO absen (name, id, gender, email, mobile, date, class) VALUES (?, ?, ?, ?, ?, ?, ?)";
$q = $pdo->prepare($sql);
$q->execute(array($data['name'], $data['id'], $data['gender'], $data['email'], $data['mobile'], $date, $data['class']));
Database::disconnect();
}
$msg = null;
if (null == $data['name']) {
// Student not found, set default values
$msg = "The ID of your Card / KeyChain is not registered !!!";
$data['id'] = $id;
$data['name'] = "--------";
$data['gender'] = "--------";
$data['email'] = "--------";
$data['mobile'] = "--------";
$data['class'] = "--------";
$data['chatId'] = "--------";
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="js/bootstrap.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
width: 80%;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
table {
width: 100%;
margin-top: 20px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-collapse: collapse;
}
th,
td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
font-weight: bold;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
.btnn {
display: block;
text-align: center;
/* Center the text */
margin: 0 auto;
/* Center the link horizontally */
width: fit-content;
/* Set width to fit the content */
padding: 10px 20px;
background-color: #007bff;
/* Button color */
color: #fff;
/* Text color */
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
.btnn:hover {
background-color: #0056b3;
/* Hover color */
}
</style>
</head>
<body>
<div>
<form action="tambahSaldoDB.php?id=<?php echo $data['id']; ?>" method="post">
<table width="452" border="1" bordercolor="#10a0c5" align="center" cellpadding="0" cellspacing="1" bgcolor="#000" style="padding: 2px">
<tr>
<td height="40" align="center" bgcolor="#10a0c5">
<font color="#FFFFFF">
<b>User Data</b>
</font>
</td>
</tr>
<tr>
<td bgcolor="#f9f9f9">
<table width="452" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="113" align="left" class="lf">ID</td>
<td style="font-weight:bold">:</td>
<td align="left"><?php echo $data['id']; ?></td>
</tr>
<tr bgcolor="#f2f2f2">
<td align="left" class="lf">Nama</td>
<td style="font-weight:bold">:</td>
<td align="left"><?php echo $data['name']; ?></td>
</tr>
<tr>
<td align="left" class="lf">Jenis Jelamin</td>
<td style="font-weight:bold">:</td>
<td align="left"><?php echo $data['gender']; ?></td>
</tr>
<tr bgcolor="#f2f2f2">
<td align="left" class="lf">Email</td>
<td style="font-weight:bold">:</td>
<td align="left"><?php echo $data['email']; ?></td>
</tr>
<tr>
<td align="left" class="lf">No.Telp</td>
<td style="font-weight:bold">:</td>
<td align="left"><?php echo $data['mobile']; ?></td>
</tr>
<tr>
<td align="left" class="lf">Kelas</td>
<td style="font-weight:bold">:</td>
<td align="left"><?php echo $data['class']; ?></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>
<p style="color:red;"><?php echo $msg; ?></p>
</body>
</html>

235
read tag.php Normal file
View File

@ -0,0 +1,235 @@
<?php
$Write = "<?php $" . "UIDresult=''; " . "echo $" . "UIDresult;" . " ?>";
file_put_contents('UIDContainer.php', $Write);
?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<script src="jquery.min.js"></script>
<script>
$(document).ready(function() {
$("#getUID").load("UIDContainer.php");
setInterval(function() {
$("#getUID").load("UIDContainer.php");
}, 500);
});
</script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
width: 80%;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
table {
width: 100%;
margin-top: 20px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-collapse: collapse;
}
th,
td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
font-weight: bold;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
.btnn {
display: block;
text-align: center;
/* Center the text */
margin: 0 auto;
/* Center the link horizontally */
width: fit-content;
/* Set width to fit the content */
padding: 10px 20px;
background-color: #007bff;
/* Button color */
color: #fff;
/* Text color */
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
.btnn:hover {
background-color: #0056b3;
/* Hover color */
}
</style>
<title>Read Tag : NodeMCU V3 ESP8266 / ESP12E with MYSQL Database</title>
</head>
<body>
<div class="container">
<nav>
<ul>
<li><a href="home.php">Home</a></li>
<li><a href="registration.php">Registrasi</a></li>
<li><a href="read tag.php">Absen</a></li>
</ul>
</nav>
</div>
<br>
<h3 align="center" id="blink">Please Scan Tag to Display ID or User Data</h3>
<p id="getUID" hidden></p>
<br>
<div class="container">
<div id="show_user_data">
<form>
<table width="452" border="1" bordercolor="#10a0c5" align="center" cellpadding="0" cellspacing="1" bgcolor="#000" style="padding: 2px">
<tr>
<td height="40" align="center" bgcolor="#10a0c5">
<font color="#FFFFFF">
<b>User Data</b>
</font>
</td>
</tr>
<tr>
<td bgcolor="#f9f9f9">
<table width="452" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="113" align="left" class="lf">ID</td>
<td style="font-weight:bold">:</td>
<td align="left">--------</td>
</tr>
<tr bgcolor="#f2f2f2">
<td align="left" class="lf">Nama</td>
<td style="font-weight:bold">:</td>
<td align="left">--------</td>
</tr>
<tr>
<td align="left" class="lf">Jenis Kelamin</td>
<td style="font-weight:bold">:</td>
<td align="left">--------</td>
</tr>
<tr bgcolor="#f2f2f2">
<td align="left" class="lf">Email</td>
<td style="font-weight:bold">:</td>
<td align="left">--------</td>
</tr>
<tr>
<td align="left" class="lf">No.Telp</td>
<td style="font-weight:bold">:</td>
<td align="left">--------</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<button id="show_data_button" class="btn" style="display: none;">Show Data</button>
</div>
</div>
<script>
var myVar = setInterval(myTimer, 1000);
var myVar1 = setInterval(myTimer1, 1000);
var oldID = "";
clearInterval(myVar1);
function myTimer() {
var getID = document.getElementById("getUID").innerHTML;
oldID = getID;
if (getID != "") {
myVar1 = setInterval(myTimer1, 500);
showUser(getID);
clearInterval(myVar);
}
}
function myTimer1() {
var getID = document.getElementById("getUID").innerHTML;
if (oldID != getID) {
myVar = setInterval(myTimer, 500);
clearInterval(myVar1);
}
}
function showUser(str) {
if (str == "") {
document.getElementById("show_user_data").innerHTML = "";
return;
} else {
if (window.XMLHttpRequest) {
// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp = new XMLHttpRequest();
} else {
// code for IE6, IE5
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById("show_user_data").innerHTML = this.responseText;
}
};
xmlhttp.open("GET", "read tag user data.php?id=" + str, true); // Call bayarDB.php with UID
xmlhttp.send();
}
}
var blink = document.getElementById('blink');
setInterval(function() {
blink.style.opacity = (blink.style.opacity == 0 ? 1 : 0);
}, 750);
</script>
</body>
</html>

175
registration.php Normal file
View File

@ -0,0 +1,175 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration Form</title>
<script src="jquery.min.js"></script>
<script>
$(document).ready(function() {
$("#getUID").load("UIDContainer.php");
setInterval(function() {
$("#getUID").load("UIDContainer.php");
}, 500);
});
</script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
width: 80%;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
form {
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
margin-top: 20px;
}
form label {
display: block;
margin-bottom: 10px;
}
form input[type="text"],
form input[type="email"],
form textarea,
form select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
form input[type="submit"],
.form-actions button {
background-color: #3498db;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
}
form input[type="submit"]:hover,
.form-actions button:hover {
background-color: #2980b9;
}
</style>
</head>
<body>
<div class="container">
<nav>
<ul>
<li><a href="home.php">Home</a></li>
<li><a href="registration.php">Registrasi</a></li>
<li><a href="read tag.php">Absen</a></li>
</ul>
</nav>
</div>
<div class="container">
<h2>Form Registrasi</h2>
<form class="form-horizontal" action="insertDB.php" method="post">
<div class="control-group">
<label class="control-label">ID</label>
<div class="controls">
<textarea name="id" id="getUID" placeholder="Please Scan your Card / Key Chain to display ID" rows="1" cols="1" required></textarea>
</div>
</div>
<div class="control-group">
<label class="control-label">Nama</label>
<div class="controls">
<input id="div_refresh" name="name" type="text" placeholder="" required>
</div>
</div>
<div class="control-group">
<label class="control-label">Jenis Kelamin</label>
<div class="controls">
<select name="gender">
<option value="Male">Laki - laki</option>
<option value="Female">Perempuan</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Email</label>
<div class="controls">
<input name="email" type="email" placeholder="" required>
</div>
</div>
<div class="control-group">
<label class="control-label">No. Telp</label>
<div class="controls">
<input name="mobile" type="text" placeholder="" required>
</div>
</div>
<div class="control-group">
<label class="control-label">ChatID Telegram</label>
<div class="controls">
<input name="chatId" type="text" placeholder="" required>
</div>
</div>
<div class="control-group">
<label class="control-label">Kelas</label>
<div class="controls">
<input name="class" type="text" placeholder="" required>
</div>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-success">Save</button>
</div>
</form>
</div>
</body>
</html>

1
sendNewBalance.php Normal file
View File

@ -0,0 +1 @@
<?php echo 'Berhasil Absen!' ?>

240
tambahSaldoDB.php Normal file
View File

@ -0,0 +1,240 @@
<?php
include 'database.php'; // Assuming 'database.php' contains your Database class and connection details
// Function to send message via Telegram bot
function sendMessage($chatId, $message)
{
$botToken = '7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc'; // Replace with your Telegram bot token
$apiURL = "https://api.telegram.org/bot$botToken/sendMessage";
$data = [
'chat_id' => $chatId,
'text' => $message
];
$options = [
'http' => [
'method' => 'POST',
'header' => "Content-Type:application/x-www-form-urlencoded\r\n",
'content' => http_build_query($data)
]
];
$context = stream_context_create($options);
file_get_contents($apiURL, false, $context);
}
// Retrieving UID from GET parameter
$uid = $_GET['id'];
$add_balance = $_POST['add_balance'];
// Connecting to the database
$pdo = Database::connect();
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
// Retrieve user data based on UID
$sql = "SELECT * FROM siswa_wali WHERE id = ?";
$q = $pdo->prepare($sql);
$q->execute(array($uid));
$user = $q->fetch(PDO::FETCH_ASSOC);
// Check if user exists
if ($user) {
// Update balance by subtracting 100000
$newBalance = $user['balance'] + $add_balance;
// Update balance in the database
$updateSql = "UPDATE siswa_wali SET balance = ? WHERE id = ?";
$updateStmt = $pdo->prepare($updateSql);
$updateStmt->execute(array($newBalance, $uid));
if ($updateStmt) {
$Write = "<?php \$newBalance='$newBalance'; echo \$newBalance; ?>";
file_put_contents('sendNewBalance.php', $Write);
}
// Send notification message via Telegram bot
$Write = "<?php \$newBalance='$newBalance'; echo 'Jumlah Saldo: ' . \$newBalance; ?>";
file_put_contents('sendNewBalance.php', $Write);
// Send notification message via Telegram bot
$message = "Halo " . $user['name'] . "\nAnda melakukan setor tunai sebanyak: " . $add_balance . ",\nSaldo saat ini
adalah Rp : " . $newBalance;
sendMessage($user['chatId'], $message);
echo "
<div class='container'>
<nav>
<ul>
<li><a href='home.php'>Home</a></li>
<li><a href='user data.php'>Data User</a></li>
<li><a href='registration.php'>Registrasi</a></li>
<li><a href='read tag.php'>Tambah Saldo</a></li>
</ul>
</nav>
</div>
<br>
<h3 align='center' id='blink'>Please Scan Tag to Display ID or User Data</h3>
<p id='getUID' hidden></p>
<br>
<div class='container'>
<div id='show_user_data'>
<form id='balansce_form' method='post' action='read tag pembayaran.php?id={$uid}'>
<table width='452' border='1' bordercolor='#10a0c5' align='center' cellpadding='0' cellspacing='1'
bgcolor='#000' style='padding: 2px'>
<tr>
<td height='40' align='center' bgcolor='#10a0c5'>
<font color='#FFFFFF'><b>User Data</b></font>
</td>
</tr>
<tr>
<td bgcolor='#f9f9f9'>
<table width='452' border='0' align='center' cellpadding='5' cellspacing='0'>
<tr>
<td width='113' align='left' class='lf'>ID</td>
<td style='font-weight:bold'>:</td>
<td align='left'>{$user['id']}</td>
</tr>
<tr bgcolor='#f2f2f2'>
<td align='left' class='lf'>Nama</td>
<td style='font-weight:bold'>:</td>
<td align='left'>{$user['name']}</td>
</tr>
<tr>
<td align='left' class='lf'>Jenis Kelamin</td>
<td style='font-weight:bold'>:</td>
<td align='left'>{$user['gender']}</td>
</tr>
<tr bgcolor='#f2f2f2'>
<td align='left' class='lf'>Email</td>
<td style='font-weight:bold'>:</td>
<td align='left'>{$user['email']}</td>
</tr>
<tr>
<td align='left' class='lf'>No.Telp</td>
<td style='font-weight:bold'>:</td>
<td align='left'>{$user['mobile']}</td>
</tr>
<tr bgcolor='#f2f2f2'>
<td align='left' class='lf'>Saldo</td>
<td style='font-weight:bold'>:</td>
<td align='left'>$newBalance</td>
</tr>
</table>
</td>
</tr>
</table>
</form>";
} else {
// User not found, handle accordingly
echo "User not found";
}
// Close the database connection
Database::disconnect();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="js/bootstrap.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
width: 80%;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
table {
width: 100%;
margin-top: 20px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-collapse: collapse;
}
th,
td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
font-weight: bold;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
.btnn {
display: block;
text-align: center;
/* Center the text */
margin: 0 auto;
/* Center the link horizontally */
width: fit-content;
/* Set width to fit the content */
padding: 10px 20px;
background-color: #007bff;
/* Button color */
color: #fff;
/* Text color */
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
.btnn:hover {
background-color: #0056b3;
/* Hover color */
}
</style>
</head>

167
template.php Normal file
View File

@ -0,0 +1,167 @@
<?php
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration Form</title>
<script src="jquery.min.js"></script>
<script>
$(document).ready(function() {
$("#getUID").load("UIDContainer.php");
setInterval(function() {
$("#getUID").load("UIDContainer.php");
}, 500);
});
</script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
width: 80%;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
form {
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
margin-top: 20px;
}
form label {
display: block;
margin-bottom: 10px;
}
form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea,
form select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
form input[type="submit"],
.form-actions button {
background-color: #3498db;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
}
form input[type="submit"]:hover,
.form-actions button:hover {
background-color: #2980b9;
}
</style>
</head>
<body>
<div class="container">
<nav>
<ul>
<li><a href="home.php">Home</a></li>
<li><a href="user data.php">Data User</a></li>
<li><a href="registration.php">Registrasi</a></li>
<li><a href="read tag.php">Read Tag</a></li>
</ul>
</nav>
</div>
<div class="container">
<h2>Edit Data</h2>
<form class="form-horizontal" action="ser data edit tb.php?id=<?php echo $id ?>" method="post">
<div class="control-group">
<label class="control-label">ID</label>
<div class="controls">
<input name="id" type="text" placeholder="" value="<?php echo $data['id']; ?>" readonly>
</div>
</div>
<div class="control-group">
<label class="control-label">Name</label>
<div class="controls">
<input id="div_refresh" name="name" type="text" value="<?php echo $data['name']; ?>" placeholder="" required>
</div>
</div>
<div class="control-group">
<label class="control-label">Gender</label>
<div class="controls">
<select name="gender">
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Email Address</label>
<div class="controls">
<input name="email" type="email" placeholder="" value="<?php echo $data['email']; ?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label">Mobile Number</label>
<div class="controls">
<input name="mobile" type="text" placeholder="" value="<?php echo $data['mobile']; ?>" required>
</div>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-success">Update</button>
<a class="btn" href="user data.php">Back</a>
</div>
</form>
</div>
</body>
</html>

54
updateDB.php Normal file
View File

@ -0,0 +1,54 @@
<?php
include 'database.php'; // Assuming 'database.php' contains your Database class and connection details
// Function to send message via Telegram bot
function sendMessage($chatId, $message)
{
$botToken = '7178379398:AAHBS4llRr2oZX9UzrFOw-Risy15OYt0jCc';
$apiURL = "https://api.telegram.org/bot$botToken/sendMessage";
$data = [
'chat_id' => $chatId,
'text' => $message
];
$options = [
'http' => [
'method' => 'POST',
'header' => "Content-Type:application/x-www-form-urlencoded\r\n",
'content' => http_build_query($data)
]
];
$context = stream_context_create($options);
file_get_contents($apiURL, false, $context);
}
// Retrieving POST data
$id = $_POST['id'];
$name = $_POST['name'];
$gender = $_POST['gender'];
$email = $_POST['email'];
$mobile = $_POST['mobile'];
$balance = $_POST['balance']; // Corrected variable name
$chatId = $_POST['chatId'];
// Connecting to the database
$pdo = Database::connect();
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
// Updating the record in the database
$sql = "UPDATE siswa_wali SET name = ?, gender = ?, email = ?, mobile = ?, balance = ?, chatId = ? WHERE id = ?";
$q = $pdo->prepare($sql);
$q->execute(array($name, $gender, $email, $mobile, $balance, $chatId, $id)); // Corrected parameter order
// Sending message via Telegram bot
$message = "Your balance is: " . $balance;
sendMessage($chatId, $message);
// Closing the database connection
Database::disconnect();
// Redirecting to another page after the update
header("Location: user data.php"); // Assuming 'user_data.php' is the correct file name

56
user data delete page.php Normal file
View File

@ -0,0 +1,56 @@
<?php
require 'database.php';
$id = 0;
if ( !empty($_GET['id'])) {
$id = $_REQUEST['id'];
}
if ( !empty($_POST)) {
// keep track post values
$id = $_POST['id'];
// delete data
$pdo = Database::connect();
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$sql = "DELETE FROM siswa_wali WHERE id = ?";
$q = $pdo->prepare($sql);
$q->execute(array($id));
Database::disconnect();
header("Location: user data.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="js/bootstrap.min.js"></script>
<title>Delete : NodeMCU V3 ESP8266 / ESP12E with MYSQL Database</title>
</head>
<body>
<h2 align="center">NodeMCU V3 ESP8266 / ESP12E with MYSQL Database</h2>
<div class="container">
<div class="span10 offset1">
<div class="row">
<h3 align="center">Delete User</h3>
</div>
<form class="form-horizontal" action="user data delete page.php" method="post">
<input type="hidden" name="id" value="<?php echo $id;?>"/>
<p class="alert alert-error">Are you sure to delete ?</p>
<div class="form-actions">
<button type="submit" class="btn btn-danger">Yes</button>
<a class="btn" href="user data.php">No</a>
</div>
</form>
</div>
</div> <!-- /container -->
</body>
</html>

258
user data edit page.php Normal file
View File

@ -0,0 +1,258 @@
<?php
require 'database.php';
$id = null;
if (!empty($_GET['id'])) {
$id = $_REQUEST['id'];
}
$pdo = Database::connect();
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$sql = "SELECT * FROM siswa_wali where id = ?";
$q = $pdo->prepare($sql);
$q->execute(array($id));
$data = $q->fetch(PDO::FETCH_ASSOC);
Database::disconnect();
?>
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<script src="jquery.min.js"></script>
<script>
$(document).ready(function() {
$("#getUID").load("UIDContainer.php");
setInterval(function() {
$("#getUID").load("UIDContainer.php");
}, 500);
});
</script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
width: 80%;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
form {
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
margin-top: 20px;
}
form label {
display: block;
margin-bottom: 10px;
}
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form textarea,
form select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
form input[type="submit"],
.form-actions button {
background-color: #3498db;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
}
form input[type="submit"]:hover,
.form-actions button:hover {
background-color: #2980b9;
}
.backk {
padding: 10px 20px;
background-color: #6c757d;
/* Button color */
color: #fff;
/* Text color */
font-size: 15px;
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
.backk:hover {
background-color: #0056b3;
/* Hover color */
}
.btn {
padding: 10px 20px;
background-color: #3498db;
/* Button color */
color: #fff;
/* Text color */
font-size: 14px;
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
</style>
<title>Edit : NodeMCU V3 ESP8266 / ESP12E with MYSQL Database</title>
</head>
<body>
<div class="container">
<nav>
<ul>
<li><a href="home.php">Home</a></li>
<li><a href="user data.php">Data User</a></li>
<li><a href="registration.php">Registrasi</a></li>
<li><a href="read tag.php">Tambah Saldo</a></li>
</ul>
</nav>
</div>
<div class="container">
<h2>Edit Data</h2>
<form class="form-horizontal" action="updateDB.php" method="post">
<div class="control-group">
<label class="control-label">ID</label>
<div class="controls">
<input name="id" type="text" placeholder="" value="<?php echo $data['id']; ?>" readonly>
</div>
</div>
<div class="control-group">
<label class="control-label">Nama</label>
<div class="controls">
<input id="div_refresh" name="name" type="text" value="<?php echo $data['name']; ?>" placeholder=""
required>
</div>
</div>
<div class="control-group">
<label class="control-label">Jenis Kelamin</label>
<div class="controls">
<select name="gender">
<option value="Male">Laki - laki</option>
<option value="Female">Perempuan</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Email</label>
<div class="controls">
<input name="email" type="email" placeholder="" value="<?php echo $data['email']; ?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label">No.Telp</label>
<div class="controls">
<input name="mobile" type="text" placeholder="" value="<?php echo $data['mobile']; ?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label">ChatID Telegram</label>
<div class="controls">
<input name="chatId" type="text" placeholder="" value="<?php echo $data['chatId']; ?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label">Saldo</label>
<div class="controls">
<input name="balance" id="balance" type="text" placeholder=""
value="<?php echo $data['balance']; ?>"
oninput="this.value = this.value.replace(/[^0-9]/g, '');">
</div>
</div>
<div class="form-actions">
<button type="submit" class="btn">Update</button>
<a class="backk" href="user data.php">Back</a>
</div>
</form>
</div>
<!-- <script>
var g = document.getElementById("defaultGender").innerHTML;
if (g == "Male") {
document.getElementById("mySelect").selectedIndex = "0";
} else {
document.getElementById("mySelect").selectedIndex = "1";
}
</script> -->
<script>
// Get the input element
var balanceInput = document.getElementById("balance");
// Listen for the input event
balanceInput.addEventListener("input", function(event) {
// Get the input value
var inputValue = event.target.value;
// Validate input value using regular expression
var validInput = /^[0-9]*\.?[0-9]*$/.test(inputValue);
// If input is not valid, clear the input field
if (!validInput) {
event.target.value = "";
}
});
</script>
</body>
</html>

140
user data edit tb.php Normal file
View File

@ -0,0 +1,140 @@
<?php
require 'database.php';
$id = null;
if ( !empty($_GET['id'])) {
$id = $_REQUEST['id'];
}
$pdo = Database::connect();
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$sql = "SELECT * FROM table_the_iot_projects where id = ?";
$q = $pdo->prepare($sql);
$q->execute(array($id));
$data = $q->fetch(PDO::FETCH_ASSOC);
Database::disconnect();
?>
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="js/bootstrap.min.js"></script>
<style>
html {
font-family: Arial;
display: inline-block;
margin: 0px auto;
}
textarea {
resize: none;
}
ul.topnav {
list-style-type: none;
margin: auto;
padding: 0;
overflow: hidden;
background-color: #4CAF50;
width: 70%;
}
ul.topnav li {float: left;}
ul.topnav li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
ul.topnav li a:hover:not(.active) {background-color: #3e8e41;}
ul.topnav li a.active {background-color: #333;}
ul.topnav li.right {float: right;}
@media screen and (max-width: 600px) {
ul.topnav li.right,
ul.topnav li {float: none;}
}
</style>
<title>Edit : NodeMCU V3 ESP8266 / ESP12E with MYSQL Database</title>
</head>
<body>
<h2 align="center">NodeMCU V3 ESP8266 / ESP12E with MYSQL Database</h2>
<div class="container">
<div class="center" style="margin: 0 auto; width:495px; border-style: solid; border-color: #f2f2f2;">
<div class="row">
<h3 align="center">Edit User Data</h3>
<p id="defaultGender" hidden><?php echo $data['gender'];?></p>
</div>
<form class="form-horizontal" action="user data edit tb.php?id=<?php echo $id?>" method="post">
<div class="control-group">
<label class="control-label">ID</label>
<div class="controls">
<input name="id" type="text" placeholder="" value="<?php echo $data['id'];?>" readonly>
</div>
</div>
<div class="control-group">
<label class="control-label">Name</label>
<div class="controls">
<input name="name" type="text" placeholder="" value="<?php echo $data['name'];?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label">Gender</label>
<div class="controls">
<select name="gender" id="mySelect">
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Email Address</label>
<div class="controls">
<input name="email" type="text" placeholder="" value="<?php echo $data['email'];?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label">Mobile Number</label>
<div class="controls">
<input name="mobile" type="text" placeholder="" value="<?php echo $data['mobile'];?>" required>
</div>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-success">Update</button>
<a class="btn" href="user data.php">Back</a>
</div>
</form>
</div>
</div> <!-- /container -->
<script>
var g = document.getElementById("defaultGender").innerHTML;
if(g=="Male") {
document.getElementById("mySelect").selectedIndex = "0";
} else {
document.getElementById("mySelect").selectedIndex = "1";
}
</script>
</body>
</html>

256
user data pembayaran.php Normal file
View File

@ -0,0 +1,256 @@
<?php
require 'database.php';
$id = null;
if (!empty($_GET['id'])) {
$id = $_REQUEST['id'];
}
$pdo = Database::connect();
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$sql = "SELECT * FROM siswa_wali where id = ?";
$q = $pdo->prepare($sql);
$q->execute(array($id));
$data = $q->fetch(PDO::FETCH_ASSOC);
Database::disconnect();
?>
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<script src="jquery.min.js"></script>
<script>
$(document).ready(function() {
$("#getUID").load("UIDContainer.php");
setInterval(function() {
$("#getUID").load("UIDContainer.php");
}, 500);
});
</script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
width: 80%;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
form {
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
margin-top: 20px;
}
form label {
display: block;
margin-bottom: 10px;
}
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form textarea,
form select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
form input[type="submit"],
.form-actions button {
background-color: #3498db;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
}
form input[type="submit"]:hover,
.form-actions button:hover {
background-color: #2980b9;
}
.backk {
padding: 10px 20px;
background-color: #6c757d;
/* Button color */
color: #fff;
/* Text color */
font-size: 15px;
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
.backk:hover {
background-color: #0056b3;
/* Hover color */
}
.btn {
padding: 10px 20px;
background-color: #3498db;
/* Button color */
color: #fff;
/* Text color */
font-size: 14px;
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
</style>
<title>Edit : NodeMCU V3 ESP8266 / ESP12E with MYSQL Database</title>
</head>
<body>
<div class="container">
<nav>
<ul>
<li><a href="home.php">Home</a></li>
<li><a href="user data.php">Data User</a></li>
<li><a href="registration.php">Registrasi</a></li>
<li><a href="read tag.php">Tambah Saldo</a></li>
<li><a href="read tag.php">Pembayaran</a></li>
</ul>
</nav>
</div>
<div class="container">
<h2>Edit Data</h2>
<form class="form-horizontal" action="updateDB.php" method="post">
<div class="control-group">
<label class="control-label">ID</label>
<div class="controls">
<input name="id" type="text" placeholder="" value="<?php echo $data['id']; ?>" readonly>
</div>
</div>
<div class="control-group">
<label class="control-label">Nama</label>
<div class="controls">
<input id="div_refresh" name="name" type="text" value="<?php echo $data['name']; ?>" placeholder="" required>
</div>
</div>
<div class="control-group">
<label class="control-label">Jenis Kelamin</label>
<div class="controls">
<select name="gender">
<option value="Male">Laki - laki</option>
<option value="Female">Perempuan</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Email</label>
<div class="controls">
<input name="email" type="email" placeholder="" value="<?php echo $data['email']; ?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label">No.Telp</label>
<div class="controls">
<input name="mobile" type="text" placeholder="" value="<?php echo $data['mobile']; ?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label">ChatID Telegram</label>
<div class="controls">
<input name="chatId" type="text" placeholder="" value="<?php echo $data['chatId']; ?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label">Saldo</label>
<div class="controls">
<input name="balance" id="balance" type="text" placeholder="" value="<?php echo $data['balance']; ?>" oninput="this.value = this.value.replace(/[^0-9]/g, '');">
</div>
</div>
<div class="form-actions">
<button type="submit" class="btn">Update</button>
<a class="backk" href="user data.php">Back</a>
</div>
</form>
</div>
<!-- <script>
var g = document.getElementById("defaultGender").innerHTML;
if (g == "Male") {
document.getElementById("mySelect").selectedIndex = "0";
} else {
document.getElementById("mySelect").selectedIndex = "1";
}
</script> -->
<script>
// Get the input element
var balanceInput = document.getElementById("balance");
// Listen for the input event
balanceInput.addEventListener("input", function(event) {
// Get the input value
var inputValue = event.target.value;
// Validate input value using regular expression
var validInput = /^[0-9]*\.?[0-9]*$/.test(inputValue);
// If input is not valid, clear the input field
if (!validInput) {
event.target.value = "";
}
});
</script>
</body>
</html>

132
user data.php Normal file
View File

@ -0,0 +1,132 @@
<?php
$Write = "<?php $" . "UIDresult=''; " . "echo $" . "UIDresult;" . " ?>";
file_put_contents('UIDContainer.php', $Write);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User Data</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
width: 80%;
margin: 0 auto;
}
nav {
background: linear-gradient(to right, #ffffff 0%, #3498db 50%, #ffffff 100%);
color: #fff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ffd700;
}
table {
width: 100%;
margin-top: 20px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-collapse: collapse;
}
th,
td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
font-weight: bold;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
</style>
</head>
<body>
<div class="container">
<nav>
<ul>
<li><a href="home.php">Home</a></li>
<li><a href="user data.php">Data User</a></li>
<li><a href="registration.php">Registrasi</a></li>
<li><a href="read tag.php">Absen</a></li>
</ul>
</nav>
</div>
<div class="container">
<h2>User Data</h2>
<table>
<thead>
<tr bgcolor="#10a0c5" color="#FFFFFF">
<th>Nama</th>
<th>ID</th>
<th>Jenis Kelamin</th>
<th>Email</th>
<th>No.Telp</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php
include 'database.php';
$pdo = Database::connect();
$sql = 'SELECT * FROM siswa_wali ORDER BY name ASC';
foreach ($pdo->query($sql) as $row) {
echo '<tr>';
echo '<td>' . $row['name'] . '</td>';
echo '<td>' . $row['id'] . '</td>';
echo '<td>' . $row['gender'] . '</td>';
echo '<td>' . $row['email'] . '</td>';
echo '<td>' . $row['mobile'] . '</td>';
echo '<td><a class="btn btn-success" href="user data edit page.php?id=' . $row['id'] . '">Edit</a>';
echo ' ';
echo '<a class="btn btn-danger" href="user data delete page.php?id=' . $row['id'] . '">Delete</a>';
echo '</td>';
echo '</tr>';
}
Database::disconnect();
?>
</tbody>
</table>
</div>
</body>
</html>