Compare commits
10 Commits
0785bfefa6
...
15fba86cbd
| Author | SHA1 | Date | |
|---|---|---|---|
| 15fba86cbd | |||
| 4a7c248fff | |||
| 6017dfd369 | |||
| eb13c69431 | |||
| efca8f5f80 | |||
| c6bee729c5 | |||
| 4a0f52a3d8 | |||
| 0f32cf00ad | |||
| 759b6d9047 | |||
| 84c697516e |
+11
-2
@@ -1,11 +1,20 @@
|
|||||||
invoice/*.png
|
invoice/*.png
|
||||||
invoice/inv_contoh/*.pdf
|
invoice/inv_contoh/*.pdf
|
||||||
invoice/thermal/*.pdf
|
invoice/thermal/*.pdf
|
||||||
img/user/
|
img/user/
|
||||||
|
img/pesan/
|
||||||
agen/profile/
|
agen/profile/
|
||||||
payment/paydisini/api_control.php
|
payment/paydisini/api_control.php
|
||||||
config/connect.php
|
config/connect.php
|
||||||
config/whatsapp_api.php
|
config/whatsapp_api.php
|
||||||
whapi_webhook/*.log
|
whapi_webhook/*.log
|
||||||
|
whapi_webhook/ai/*.log
|
||||||
payment/paydisini/callback/*.log
|
payment/paydisini/callback/*.log
|
||||||
.well-known/
|
.well-known/
|
||||||
|
berita_acara/*.pdf
|
||||||
|
load/logs/*.txt
|
||||||
|
load/cronjob/*.log
|
||||||
|
load/*.log
|
||||||
|
webhook_cloud_api/*.jsonl
|
||||||
|
load/*.txt
|
||||||
|
config/*.log
|
||||||
|
|||||||
@@ -80,8 +80,8 @@ $logo = (baseurl() == "https://agen.manjapro.net/") ? 'images/white_logo_manja.p
|
|||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||||
<!-- Font Awesome -->
|
<!-- Font Awesome -->
|
||||||
<link rel="stylesheet" href="css/fontawesome-free/css/all.min.css">
|
<link rel="stylesheet" href="css/fontawesome-free/css/all.min.css">
|
||||||
<link rel="stylesheet" href="https://bilspro.com/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
|
<link rel="stylesheet" href="https://manjapro.net/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
|
||||||
<link rel="stylesheet" href="https://bilspro.com/dist/css/adminlte.min.css">
|
<link rel="stylesheet" href="https://manjapro.net/dist/css/adminlte.min.css">
|
||||||
<script src='https://cdn.jsdelivr.net/npm/sweetalert2@11'></script>
|
<script src='https://cdn.jsdelivr.net/npm/sweetalert2@11'></script>
|
||||||
</head>
|
</head>
|
||||||
<body style="zoom: 85%;">
|
<body style="zoom: 85%;">
|
||||||
@@ -210,11 +210,11 @@ $logo = (baseurl() == "https://agen.manjapro.net/") ? 'images/white_logo_manja.p
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="https://bilspro.com/plugins/jquery/jquery.min.js"></script>
|
<script src="https://manjapro.net/plugins/jquery/jquery.min.js"></script>
|
||||||
<!-- Bootstrap 4 -->
|
<!-- Bootstrap 4 -->
|
||||||
<script src="https://bilspro.com/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
<script src="https://manjapro.net/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
<!-- AdminLTE App -->
|
<!-- AdminLTE App -->
|
||||||
<script src="https://bilspro.com/dist/js/adminlte.min.js"></script>
|
<script src="https://manjapro.net/dist/js/adminlte.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// Fungsi untuk mengambil informasi perangkat dan mengisi field hidden pada form
|
// Fungsi untuk mengambil informasi perangkat dan mengisi field hidden pada form
|
||||||
function fetchDeviceInfo() {
|
function fetchDeviceInfo() {
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ $logo = 'images/white_logo.png';
|
|||||||
<!-- Font Awesome -->
|
<!-- Font Awesome -->
|
||||||
<link rel="stylesheet" href="css/fontawesome-free/css/all.min.css">
|
<link rel="stylesheet" href="css/fontawesome-free/css/all.min.css">
|
||||||
<!-- icheck bootstrap -->
|
<!-- icheck bootstrap -->
|
||||||
<link rel="stylesheet" href="https://bilspro.com/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
|
<link rel="stylesheet" href="https://manjapro.net/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
|
||||||
<!-- Theme style -->
|
<!-- Theme style -->
|
||||||
<link rel="stylesheet" href="https://bilspro.com/dist/css/adminlte.min.css">
|
<link rel="stylesheet" href="https://manjapro.net/dist/css/adminlte.min.css">
|
||||||
<script src='https://cdn.jsdelivr.net/npm/sweetalert2@11'></script>
|
<script src='https://cdn.jsdelivr.net/npm/sweetalert2@11'></script>
|
||||||
<style>
|
<style>
|
||||||
.otp-container {
|
.otp-container {
|
||||||
@@ -192,11 +192,11 @@ $logo = 'images/white_logo.png';
|
|||||||
</div>
|
</div>
|
||||||
</div></div>
|
</div></div>
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="https://bilspro.com/plugins/jquery/jquery.min.js"></script>
|
<script src="https://manjapro.net/plugins/jquery/jquery.min.js"></script>
|
||||||
<!-- Bootstrap 4 -->
|
<!-- Bootstrap 4 -->
|
||||||
<script src="https://bilspro.com/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
<script src="https://manjapro.net/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
<!-- AdminLTE App -->
|
<!-- AdminLTE App -->
|
||||||
<script src="https://bilspro.com/dist/js/adminlte.min.js"></script>
|
<script src="https://manjapro.net/dist/js/adminlte.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function moveToNext(currentInput, nextInputId) {
|
function moveToNext(currentInput, nextInputId) {
|
||||||
|
|||||||
+1
-1
@@ -31,4 +31,4 @@
|
|||||||
.animated-link:active {
|
.animated-link:active {
|
||||||
transform: scale(0.96);
|
transform: scale(0.96);
|
||||||
text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
|
text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
|
||||||
}
|
}
|
||||||
|
|||||||
+5
-5
@@ -19,9 +19,9 @@ $logo = 'images/white_logo.png';
|
|||||||
<!-- Font Awesome -->
|
<!-- Font Awesome -->
|
||||||
<link rel="stylesheet" href="css/fontawesome-free/css/all.min.css">
|
<link rel="stylesheet" href="css/fontawesome-free/css/all.min.css">
|
||||||
<!-- icheck bootstrap -->
|
<!-- icheck bootstrap -->
|
||||||
<link rel="stylesheet" href="https://bilspro.com/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
|
<link rel="stylesheet" href="https://manjapro.net/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
|
||||||
<!-- Theme style -->
|
<!-- Theme style -->
|
||||||
<link rel="stylesheet" href="https://bilspro.com/dist/css/adminlte.min.css">
|
<link rel="stylesheet" href="https://manjapro.net/dist/css/adminlte.min.css">
|
||||||
<script src='https://cdn.jsdelivr.net/npm/sweetalert2@11'></script>
|
<script src='https://cdn.jsdelivr.net/npm/sweetalert2@11'></script>
|
||||||
</head>
|
</head>
|
||||||
<body style="zoom: 85%;">
|
<body style="zoom: 85%;">
|
||||||
@@ -109,11 +109,11 @@ $logo = 'images/white_logo.png';
|
|||||||
</div>
|
</div>
|
||||||
</div></div>
|
</div></div>
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="https://bilspro.com/plugins/jquery/jquery.min.js"></script>
|
<script src="https://manjapro.net/plugins/jquery/jquery.min.js"></script>
|
||||||
<!-- Bootstrap 4 -->
|
<!-- Bootstrap 4 -->
|
||||||
<script src="https://bilspro.com/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
<script src="https://manjapro.net/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
<!-- AdminLTE App -->
|
<!-- AdminLTE App -->
|
||||||
<script src="https://bilspro.com/dist/js/adminlte.min.js"></script>
|
<script src="https://manjapro.net/dist/js/adminlte.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
document.getElementById('toggle-password').addEventListener('click', function() {
|
document.getElementById('toggle-password').addEventListener('click', function() {
|
||||||
|
|||||||
@@ -13,6 +13,10 @@ $pcmem = $stmt->fetch(PDO::FETCH_ASSOC);
|
|||||||
|
|
||||||
$jenisAgen = $pcmem['jenis_agen'];
|
$jenisAgen = $pcmem['jenis_agen'];
|
||||||
|
|
||||||
|
$stmt = $pdo->prepare("SELECT payment_gateway,apikey_payment_gateway,url_payment_gateway,status_payment_gateway FROM data_server WHERE id = :id_data ");
|
||||||
|
$stmt->bindParam(':id_data', $pcmem['id_data_server'], PDO::PARAM_INT);
|
||||||
|
$stmt->execute();
|
||||||
|
$payGateway = $stmt->fetch(PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
@@ -26,9 +26,9 @@ $logo = 'images/white_logo.png';
|
|||||||
<!-- Font Awesome -->
|
<!-- Font Awesome -->
|
||||||
<link rel="stylesheet" href="css/fontawesome-free/css/all.min.css">
|
<link rel="stylesheet" href="css/fontawesome-free/css/all.min.css">
|
||||||
<!-- icheck bootstrap -->
|
<!-- icheck bootstrap -->
|
||||||
<link rel="stylesheet" href="https://bilspro.com/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
|
<link rel="stylesheet" href="https://manjapro.net/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
|
||||||
<!-- Theme style -->
|
<!-- Theme style -->
|
||||||
<link rel="stylesheet" href="https://bilspro.com/dist/css/adminlte.min.css">
|
<link rel="stylesheet" href="https://manjapro.net/dist/css/adminlte.min.css">
|
||||||
<script src='https://cdn.jsdelivr.net/npm/sweetalert2@11'></script>
|
<script src='https://cdn.jsdelivr.net/npm/sweetalert2@11'></script>
|
||||||
<style>
|
<style>
|
||||||
.otp-container {
|
.otp-container {
|
||||||
@@ -192,11 +192,11 @@ $logo = 'images/white_logo.png';
|
|||||||
</div>
|
</div>
|
||||||
</div></div>
|
</div></div>
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="https://bilspro.com/plugins/jquery/jquery.min.js"></script>
|
<script src="https://manjapro.net/plugins/jquery/jquery.min.js"></script>
|
||||||
<!-- Bootstrap 4 -->
|
<!-- Bootstrap 4 -->
|
||||||
<script src="https://bilspro.com/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
<script src="https://manjapro.net/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
<!-- AdminLTE App -->
|
<!-- AdminLTE App -->
|
||||||
<script src="https://bilspro.com/dist/js/adminlte.min.js"></script>
|
<script src="https://manjapro.net/dist/js/adminlte.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function moveToNext(currentInput, nextInputId) {
|
function moveToNext(currentInput, nextInputId) {
|
||||||
|
|||||||
+5
-2
@@ -14,8 +14,11 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|||||||
try {
|
try {
|
||||||
$waktu = date('Y-m-d H:i:s');
|
$waktu = date('Y-m-d H:i:s');
|
||||||
// UPDATE setting
|
// UPDATE setting
|
||||||
$stmt = $pdo->prepare("UPDATE setting_mikrotik SET pppa = :pppa, hsa = :hsa, uptime = :ut, board_name = :bm, last_time = :lt WHERE board_id = :id");
|
// $stmt = $pdo->prepare("UPDATE setting_mikrotik SET pppa = :pppa, hsa = :hsa, uptime = :ut, board_name = :bm, last_time = :lt WHERE board_id = :id");
|
||||||
$stmt->execute([':pppa' => $pppa, ':hsa' => $hsa, ':ut' => $ut, ':bm' => $bm, ':lt' => $waktu, ':id' => $id]);
|
// $stmt->execute([':pppa' => $pppa, ':hsa' => $hsa, ':ut' => $ut, ':bm' => $bm, ':lt' => $waktu, ':id' => $id]);
|
||||||
|
|
||||||
|
$stmt = $pdo->prepare("UPDATE setting_mikrotik SET uptime = :ut, board_name = :bm, last_time = :lt WHERE board_id = :id");
|
||||||
|
$stmt->execute([':ut' => $ut, ':bm' => $bm, ':lt' => $waktu, ':id' => $id]);
|
||||||
|
|
||||||
// Logging data
|
// Logging data
|
||||||
file_put_contents('apimik-log.log', $data);
|
file_put_contents('apimik-log.log', $data);
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ include 'config/tanggal_indo.php';
|
|||||||
<div class="col-8">
|
<div class="col-8">
|
||||||
<small>
|
<small>
|
||||||
<a href="lupa_password" class="mb-3">Lupa Password ?</a><br>
|
<a href="lupa_password" class="mb-3">Lupa Password ?</a><br>
|
||||||
<a href="../">Kembali ke Halaman Utama</a>
|
<a href="<?= $BaseUrl; ?>">Kembali ke Halaman Utama</a>
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.col -->
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ include "config/tanggal_indo.php";
|
|||||||
</div>
|
</div>
|
||||||
<center>
|
<center>
|
||||||
<!-- <input type="submit" name="register" class="btn btn-primary btn-block" value="Registerasi Sekarang"/> -->
|
<!-- <input type="submit" name="register" class="btn btn-primary btn-block" value="Registerasi Sekarang"/> -->
|
||||||
<a href="../">Kembali ke Halaman Utama</a>
|
<a href="<?= $BaseUrl; ?>">Kembali ke Halaman Utama</a>
|
||||||
</center>
|
</center>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
if ($_GET['token'] !== 'YOUR_SECRET_TOKEN') {
|
||||||
|
http_response_code(403);
|
||||||
|
exit('Invalid token');
|
||||||
|
}
|
||||||
|
|
||||||
|
$rawData = file_get_contents('php://input');
|
||||||
|
|
||||||
|
if (empty($rawData)) {
|
||||||
|
http_response_code(400);
|
||||||
|
exit('No backup content received');
|
||||||
|
}
|
||||||
|
|
||||||
|
$filename = "backup_" . date("Ymd_His") . ".rsc";
|
||||||
|
file_put_contents(__DIR__ . "/" . $filename, $rawData);
|
||||||
|
|
||||||
|
echo "Backup received: $filename";
|
||||||
|
?>
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user