Compare commits
123 Commits
Author | SHA1 | Date | |
---|---|---|---|
b0cac9510d | |||
b0542ab8be | |||
2155c3adae | |||
51984401d2 | |||
fc6a5a26eb | |||
ec45d59a68 | |||
ba85ed6d0e | |||
41c3628eeb | |||
26be14bf0e | |||
1315621259 | |||
b10cfa2a8e | |||
3130310d9c | |||
6042538d8e | |||
976300bac7 | |||
d526ceb6bc | |||
d5f29a5c74 | |||
50e55744ec | |||
b69552b44a | |||
51b5dbd6f7 | |||
ada4bc8b51 | |||
f3363856f3 | |||
376a3448b6 | |||
660f186004 | |||
35667e9459 | |||
4fe47612eb | |||
d777921fbd | |||
fdbef99985 | |||
7651697ae7 | |||
1afa84e36f | |||
a2a3a7f0a6 | |||
a7e8335297 | |||
9015d519c1 | |||
98fe44d8aa | |||
79c7ad1d98 | |||
565f481a65 | |||
658aa73540 | |||
d7bdec6f29 | |||
4f300df828 | |||
e477bc90cc | |||
6033901886 | |||
0ca2dc2029 | |||
ef7d122464 | |||
89e0dd9380 | |||
d7d9d9efa1 | |||
e7e32475cc | |||
3ff2e31ccf | |||
d5c3c23794 | |||
335c5e524b | |||
ac813ca132 | |||
e6f8826490 | |||
742e0df1f2 | |||
1c63cd674c | |||
b943a73cb4 | |||
0b02b070d3 | |||
a502919165 | |||
3f92e39185 | |||
6c69dacdef | |||
1c18f6091d | |||
b6204a5f94 | |||
061224b469 | |||
0bd6c9e3c7 | |||
665e05deed | |||
3fa4282848 | |||
4906768a02 | |||
a860708a10 | |||
cef6e2a2f6 | |||
8a8c7f897f | |||
48350941e9 | |||
4067f3fa9a | |||
3653fcbf87 | |||
9ca2933b5d | |||
98b592c8a9 | |||
4d84efcf83 | |||
9154c10c45 | |||
a7fd02df12 | |||
4a6ea093c1 | |||
5ce70b972b | |||
71e8b8e22f | |||
dd46273a04 | |||
e9d67ce220 | |||
46e534af6c | |||
8d7b1c6ff0 | |||
65666ac998 | |||
99f9f73a70 | |||
6afcdfe1fa | |||
4fa341d854 | |||
464f41ef16 | |||
19f79680ff | |||
6c64d0944f | |||
40d77bba7b | |||
b7394762b3 | |||
a84095b13b | |||
8b7001b5ef | |||
41aa9f74ea | |||
deecd28cf7 | |||
9dd85dc38e | |||
e6eff99632 | |||
ba83833e94 | |||
a0dc6c7274 | |||
dd116ee248 | |||
719e7deb93 | |||
15ecd120e1 | |||
eb3c84d333 | |||
6eaede3c6e | |||
90a08cb731 | |||
5df998874a | |||
d53d85bb9f | |||
f16b78c8a0 | |||
a7046cc4e9 | |||
5682aeb0b1 | |||
a2bd40f443 | |||
4d124bf257 | |||
b40ffeabbb | |||
f5c3a68d80 | |||
fc9ddcd425 | |||
f739aa5693 | |||
88cdfa3748 | |||
7d68f7554e | |||
fb8a1353d9 | |||
36043b3a36 | |||
3d14b4a12e | |||
cf20b96915 | |||
9b329ed9f5 |
4
.github/FUNDING.yml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: ibnux
|
||||
custom: ['https://paypal.me/ibnux','https://trakteer.id/ibnux']
|
17
.gitignore
vendored
@ -1,4 +1,19 @@
|
||||
/system/config.php
|
||||
config.php
|
||||
.DS_Store
|
||||
.vscode/
|
||||
ui/compiled/*.php
|
||||
ui/cache/*.php
|
||||
test.php
|
||||
pages/
|
||||
system/cache/**
|
||||
system/plugin/*
|
||||
!system/cache/index.html
|
||||
!system/plugin/index.html
|
||||
system/paymentgateway/ui/**
|
||||
system/paymentgateway/**
|
||||
!system/paymentgateway/ui/
|
||||
!system/paymentgateway/ui/index.html
|
||||
!system/paymentgateway/index.html
|
||||
!system/plugin/ui/
|
||||
system/plugin/ui/*
|
||||
!system/plugin/ui/index.html
|
140
README.md
@ -1,82 +1,124 @@
|
||||
# PHP Mikrotik Billing
|
||||
----
|
||||
# PHPNuxBill - Mikrotik Billing
|
||||
|
||||

|
||||
## Feature
|
||||
|
||||
----
|
||||
|
||||
This project maintained by [@ibnux](https://twitter.com/ibnux)
|
||||
|
||||
Aplikasi ini dikelola oleh [@ibnux](https://twitter.com/ibnux)
|
||||
|
||||
----
|
||||
|
||||
Download [Mikrotik Togin Template](https://github.com/ibnux/phpmixbill)
|
||||
|
||||
|
||||
|
||||
Features:
|
||||
----
|
||||
- Voucher Generator and Print
|
||||
- Self registration, user must have voucher before registration
|
||||
- Self registration
|
||||
- Multi Router Mikrotik
|
||||
- Hotspot & PPPOE
|
||||
- Easy Installation
|
||||
- Multi Language
|
||||
- Payment Gateway Midtrans, Xendit and Tripay
|
||||
- SMS validation for login
|
||||
- Whatsapp Notification to Consumer
|
||||
- Telegram Notification for Admin
|
||||
|
||||
TODOS:
|
||||
----
|
||||
## Payment Gateway
|
||||
|
||||
- SMS Notification to user
|
||||
- send receipt via SMS or EMAIL
|
||||
- Social Media Login
|
||||
- [Tripay.com](https://github.com/hotspotbilling/phpnuxbill-tripay) | Indonesia
|
||||
- [Xendit.com](https://github.com/hotspotbilling/phpnuxbill-xendit) | Indonesia and Philippine ( Philippine not tested )
|
||||
- [Duitku.com](https://github.com/hotspotbilling/phpnuxbill-duitku) | Indonesia
|
||||
|
||||
Installation
|
||||
----
|
||||
See [WIKI](https://github.com/ibnux/phpmixbill/wiki/Instalation)
|
||||
Click link to download
|
||||
|
||||
baca [WIKI](https://github.com/ibnux/phpmixbill/wiki/Instalation)
|
||||
Goto Discussionif you want another Payment Gateway
|
||||
|
||||
System Requirements
|
||||
----
|
||||
Most current web servers with PHP & MySQL installed will be capable of running PHPMixBill
|
||||
Some documentation
|
||||
|
||||
## System Requirements
|
||||
|
||||
Most current web servers with PHP & MySQL installed will be capable of running PHPNuxBill
|
||||
|
||||
Minimum Requirements
|
||||
|
||||
- Linux or Windows OS
|
||||
- PHP Version 5.3+
|
||||
- PHP Version 7.2+
|
||||
- Both PDO & MySQLi Support
|
||||
- GD2 Image Library
|
||||
- CURL support
|
||||
- MySQL Version 4.1.x and above
|
||||
|
||||
can be Installed in Raspberry Pi Device.
|
||||
|
||||
JASA
|
||||
----
|
||||
The problem with windows is hard to set cronjob, better Linux
|
||||
|
||||
Terima jasa instalasi PHPMIXBILL beserta mikrotiknya.
|
||||
## Installation
|
||||
|
||||
Via Team Viewer maupun Barang dibeli dari saya dan tinggal pakai.
|
||||
### Git Clone
|
||||
|
||||
1. Unit Mikrotik Router
|
||||
2. Raspberry Pi Server (RasPi + Casing + Meory 16GB + Adaptor)
|
||||
clone this repository or download zip or release
|
||||
|
||||
Jasa kurang lebih Rp. 500.000, belum termasuk ongkir dan harga perangkat, Gratis Tanya Jawab via Messenger (Jika lagi senggang).
|
||||
1. Rename **pages_template** to **pages**
|
||||
2. Rename **config.sample.php** to **config.php** and make it writeable (chmod 777)
|
||||
3. make writeable folder **ui/cache/** and **ui/compiled**
|
||||
4. Open web and run installation
|
||||
5. set [cronjob](https://github.com/hotspotbilling/phpnuxbill/wiki/Cron-Jobs) or scheduller for **system/cron.php**
|
||||
6. make **config.php** unwriteable (chmod 644)
|
||||
|
||||
hubungi ibnux di [Twitter](https://twitter.com/ibnux) atau di [facebook](https://facebook.com/ibnumaksum)
|
||||
### Composer install
|
||||
|
||||
Go to directory you want to install
|
||||
Install Composer in your system
|
||||
|
||||
License
|
||||
----
|
||||
```bash
|
||||
# Debian/Ubuntu
|
||||
sudo apt install composer
|
||||
# Centos/Redhat
|
||||
sudo yum install composer
|
||||
```
|
||||
|
||||
install on curent directory
|
||||
|
||||
```bash
|
||||
composer create-project hotspotbilling/phpnuxbill .
|
||||
```
|
||||
|
||||
install on new directory
|
||||
|
||||
```bash
|
||||
composer create-project hotspotbilling/phpnuxbill phpnuxbill
|
||||
```
|
||||
|
||||
## Manual Installation
|
||||
|
||||
1. Download project from [Master Branch](https://github.com/hotspotbilling/phpnuxbill/archive/refs/heads/master.zip) or from [Release](https://github.com/hotspotbilling/phpnuxbill/releases)
|
||||
2. unzip and upload it to server
|
||||
3. Rename **pages_template** to **pages**
|
||||
4. Rename **config.sample.php** to **config.php** and make it writeable (chmod 777)
|
||||
5. make writeable folder **ui/cache/** and **ui/compiled**
|
||||
6. Open web and run installation
|
||||
7. set [cronjob](https://github.com/hotspotbilling/phpnuxbill/wiki/Cron-Jobs) or scheduller for **system/cron.php**
|
||||
8. make **config.php** unwriteable (chmod 644)
|
||||
|
||||
## UPDGRADE
|
||||
|
||||
for old version, below Version 6, backup **system/config.php**, delete all file except folder **pages**, upload all new files, put **config.php** in root folder (not in system folder), got to folder **/install** and run Update.
|
||||
|
||||
for version 6 above, just replace all files, using filezilla can choose overwrite if different file size or time.
|
||||
|
||||
or git pull if you use git clone
|
||||
|
||||
## RADIUS system
|
||||
|
||||
Still on development
|
||||
|
||||
## Paid Support
|
||||
|
||||
Start from Rp 500.000 or $50
|
||||
|
||||
[Telegram](https://t.me/ibnux)
|
||||
|
||||
[Website](https://ibnux.net/layanan)
|
||||
|
||||
## License
|
||||
|
||||
GNU General Public License version 2 or later
|
||||
|
||||
see LICENSE file
|
||||
|
||||
## Donate to ibnux
|
||||
|
||||
Donate to ibnux
|
||||
----
|
||||
|
||||
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6RBNGRJMZVV7C)
|
||||
[](https://paypal.me/ibnux)
|
||||
|
||||
BCA: 5410454825
|
||||
|
||||
@ -84,9 +126,7 @@ Mandiri: 163-000-1855-793
|
||||
|
||||
a.n Ibnu Maksum
|
||||
|
||||
Donate to first Developer
|
||||
----
|
||||
## SPONSORS
|
||||
|
||||
PayPal: iesien22@yahoo.com
|
||||
|
||||
Bank Mandiri: 130.00.1024957.4
|
||||
- [mlink.id](https://mlink.id)
|
||||
- [https://github.com/sonyinside](https://github.com/sonyinside)
|
||||
|
@ -1,11 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||
|
||||
|
||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
|
||||
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
|
||||
**/
|
||||
|
||||
header('location: ../index.php?_route=admin/');
|
16
composer.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "hotspotbilling/phpnuxbill",
|
||||
"type": "template",
|
||||
"description": "PHPNuxBill a Hotspot Billing Software.",
|
||||
"keywords": ["template"],
|
||||
"homepage": "https://github.com/hotspotbilling/phpnuxbill",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "ibnux",
|
||||
"email": "me@ibnux.net",
|
||||
"homepage": "https://ibnux.net",
|
||||
"role": "Developer"
|
||||
}
|
||||
]
|
||||
}
|
9
config.sample.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$db_host = "localhost"; # Database Host
|
||||
$db_port = ""; # Database Port. Keep it blank if you are un sure.
|
||||
$db_user = "root"; # Database Username
|
||||
$db_password = ""; # Database Password
|
||||
$db_name = "phpnuxbill"; # Database Name
|
||||
define('APP_URL', 'http://localhost/phpnuxbill'); # Application URL.
|
||||
#Please include http and do not use trailing slash after the url. For example use in this format- http://www.example.com Or http://www.example.com/finance
|
||||
$_app_stage = 'Live'; # Do not change this
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>PHPMIXBILL - Voucher management for Mikrotik Hotspot</title>
|
||||
<title>PHPNUXBILL - Voucher management for Mikrotik Hotspot</title>
|
||||
|
||||
<!-- Latest compiled and minified CSS -->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
@ -35,28 +35,28 @@
|
||||
|
||||
<div class="container">
|
||||
<div class="starter-template">
|
||||
<h1>PHP PHPMIXBILL</h1>
|
||||
<h1>PHP PHPNUXBILL</h1>
|
||||
<p class="lead">Aplikasi manajemen Voucher Hotspot untuk Mikrotik</p>
|
||||
<div class="btn-group btn-group-justified" role="group">
|
||||
<a href="https://github.com/ibnux/phpmixbill/releases" class="btn btn-primary">Download</a>
|
||||
<a href="https://github.com/ibnux/phpmixbill" class="btn btn-success">Source</a>
|
||||
<a href="https://github.com/hotspotbilling/phpnuxbill/releases" class="btn btn-primary">Download</a>
|
||||
<a href="https://github.com/hotspotbilling/phpnuxbill" class="btn btn-success">Source</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="panel panel-hovered mb20 panel-default">
|
||||
<div class="panel panel-hovered mb20 panel-primary">
|
||||
<div class="panel-heading">Public Disquss</div>
|
||||
<div class="panel-body">
|
||||
<div id="disqus_thread"></div>
|
||||
<script>
|
||||
var disqus_config = function () {
|
||||
this.page.url = "https://ibnux.github.io/phpmixbill/diskusi.html"; // Replace PAGE_URL with your page's canonical URL variable
|
||||
this.page.identifier = "phpmixbill"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
||||
this.page.url = "https://github.com/hotspotbilling/phpnuxbill/diskusi.html"; // Replace PAGE_URL with your page's canonical URL variable
|
||||
this.page.identifier = "phpnuxbill"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
||||
};
|
||||
(function() { // DON'T EDIT BELOW THIS LINE
|
||||
var d = document, s = d.createElement('script');
|
||||
s.src = 'https://phpmixbill.disqus.com/embed.js';
|
||||
s.src = 'https://phpnuxbill.disqus.com/embed.js';
|
||||
s.setAttribute('data-timestamp', +new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>PHPMIXBILL - Voucher management for Mikrotik Hotspot</title>
|
||||
<title>PHPNUXBILL - Voucher management for Mikrotik Hotspot</title>
|
||||
|
||||
<!-- Latest compiled and minified CSS -->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
@ -36,12 +36,12 @@
|
||||
<div class="container">
|
||||
|
||||
<div class="starter-template">
|
||||
<h1>PHPMIXBILL</h1>
|
||||
<h1>PHPNUXBILL</h1>
|
||||
<p class="lead">Aplikasi manajemen Voucher Hotspot untuk Mikrotik</p>
|
||||
<div class="btn-group btn-group-justified" role="group">
|
||||
<a href="https://github.com/ibnux/phpmixbill/releases" class="btn btn-primary">Download</a>
|
||||
<a href="https://github.com/ibnux/phpmixbill" class="btn btn-success">Source</a>
|
||||
<a href="https://ibnux.github.io/phpmixbill/diskusi.html" class="btn btn-info">Disquss</a>
|
||||
<a href="https://github.com/hotspotbilling/phpnuxbill/releases" class="btn btn-primary">Download</a>
|
||||
<a href="https://github.com/hotspotbilling/phpnuxbill" class="btn btn-success">Source</a>
|
||||
<a href="https://github.com/hotspotbilling/phpnuxbill/discussions" class="btn btn-info">Discussions</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
11
index.php
@ -1,14 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||
|
||||
|
||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
|
||||
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
|
||||
**/
|
||||
//ini_set('display_errors', 1);
|
||||
//ini_set('display_startup_errors', 1);
|
||||
//error_reporting(E_ALL);
|
||||
|
||||
require ('system/boot.php');
|
||||
App::_run();
|
||||
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
60
install/index.php
Normal file
@ -0,0 +1,60 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>PHPNuxBill Installer</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.png">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link type='text/css' href='css/style.css' rel='stylesheet' />
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body style='background-color: #FBFBFB;'>
|
||||
<div id='main-container'>
|
||||
<div class='header'>
|
||||
<div class="header-box wrapper">
|
||||
<div class="hd-logo"><a href="#"><img src="img/logo.png" alt="Logo" /></a></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- contents area start -->
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h4> PHPNuxBill Installer </h4>
|
||||
<h5>Please Read Before Continue</h5>
|
||||
<p><strong>Informasi Aplikasi</strong><br>
|
||||
Application Name: PHPNuxBill <br>
|
||||
Release Date: 30/10/2015<br>
|
||||
By: PHPNuxBill [ <a href="https://github.com/hotspotbilling/phpnuxbill" target="_blank">https://github.com/hotspotbilling/phpnuxbill</a> ]<br>
|
||||
Donasi Paypal: <b>me@ibnux.et</b><br>
|
||||
<br>
|
||||
<strong>Syarat Penggunaan:</strong><br>
|
||||
Syarat Penggunaan ini berlaku untuk semua versi.<br><br>
|
||||
<ul>
|
||||
<li>Silahkan Anda menggunakan aplikasi ini dengan bijak, Anda dapat mendesain ulang script maupun tampilan pada
|
||||
aplikasi ini sesuai dengan kebutuhan anda, memperbayak jumlah copy atau mendistribusikan aplikasi ini.
|
||||
Dengan catatan tidak menghapus link developer.</li>
|
||||
<li>Tidak ada garansi dari kami jika anda mengalami error atau merasa rugi ketika menggunakan aplikasi ini,
|
||||
Anda hanya dapat memberikan feedback yang berisi laporan error, dengan syarat dan ketentuan yang berlaku.</li>
|
||||
<li>Semua yang terkait biaya atau donasi apapun versi-nya, Anda dapat update seumur hidup atau selama aplikasi
|
||||
ini masih dikembangkan. Mohon jangan salah pengertian bahwa kami tim pengembang mengkomersilkan produk ini
|
||||
dan anda membeli produk kami.</li>
|
||||
<li>Aplikasi ini bersifat sosial untuk dapat dikembangkan bersama. Karena itu kami juga mengundang relawan-relawan
|
||||
yang mau menjadi pengembangkan aplikasi ini.</li>
|
||||
<li>Penulis berhak setiap saat untuk mengubah ketentuan Syarat Penggunaan tanpa pemberitahuan sebelumnya.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-12"><br>
|
||||
<a href="step2.php" class="btn btn-primary">Accept & Continue</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- contents area end -->
|
||||
</div>
|
||||
<div class="footer">Copyright © 2021 PHPNuxBill. All Rights Reserved<br /><br /></div>
|
||||
</body>
|
||||
|
||||
</html>
|
619
install/phpnuxbill.sql
Normal file
@ -0,0 +1,619 @@
|
||||
--
|
||||
|
||||
-- Database: `phpnuxbill`
|
||||
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_appconfig`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_appconfig` (
|
||||
`id` int(11) NOT NULL,
|
||||
`setting` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`value` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_bandwidth`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_bandwidth` (
|
||||
`id` int(10) UNSIGNED NOT NULL,
|
||||
`name_bw` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`rate_down` int(10) UNSIGNED NOT NULL,
|
||||
`rate_down_unit` enum('Kbps', 'Mbps') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`rate_up` int(10) UNSIGNED NOT NULL,
|
||||
`rate_up_unit` enum('Kbps', 'Mbps') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_customers`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_customers` (
|
||||
`id` int(10) NOT NULL,
|
||||
`username` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`password` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`fullname` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`address` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
|
||||
`phonenumber` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0',
|
||||
`email` varchar(128) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '1',
|
||||
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`last_login` datetime DEFAULT NULL
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_language`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_language` (
|
||||
`id` int(10) NOT NULL,
|
||||
`name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`folder` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`author` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_logs`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_logs` (
|
||||
`id` int(10) NOT NULL,
|
||||
`date` datetime DEFAULT NULL,
|
||||
`type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`description` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`userid` int(10) NOT NULL,
|
||||
`ip` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_message`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_message` (
|
||||
`id` int(10) NOT NULL,
|
||||
`from_user` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`to_user` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`title` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`status` enum('0', '1') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0',
|
||||
`date` datetime NOT NULL
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_payment_gateway`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_payment_gateway` (
|
||||
`id` int(11) NOT NULL,
|
||||
`username` varchar(32) COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`gateway` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'xendit | midtrans',
|
||||
`gateway_trx_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`plan_id` int(11) NOT NULL,
|
||||
`plan_name` varchar(40) COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`routers_id` int(11) NOT NULL,
|
||||
`routers` varchar(32) COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`price` varchar(40) COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`pg_url_payment` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`payment_method` varchar(64) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`payment_channel` varchar(64) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`pg_request` text COLLATE utf8mb4_general_ci,
|
||||
`pg_paid_response` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
|
||||
`expired_date` datetime DEFAULT NULL,
|
||||
`created_date` datetime NOT NULL,
|
||||
`paid_date` datetime DEFAULT NULL,
|
||||
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 unpaid 2 paid 3 failed 4 canceled'
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_plans`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_plans` (
|
||||
`id` int(10) NOT NULL,
|
||||
`name_plan` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`id_bw` int(10) NOT NULL,
|
||||
`price` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`type` enum('Hotspot', 'PPPOE') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`typebp` enum('Unlimited', 'Limited') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`limit_type` enum(
|
||||
'Time_Limit',
|
||||
'Data_Limit',
|
||||
'Both_Limit'
|
||||
) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`time_limit` int(10) UNSIGNED DEFAULT NULL,
|
||||
`time_unit` enum('Mins', 'Hrs') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`data_limit` int(10) UNSIGNED DEFAULT NULL,
|
||||
`data_unit` enum('MB', 'GB') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`validity` int(10) NOT NULL,
|
||||
`validity_unit` enum('Mins', 'Hrs', 'Days', 'Months') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`shared_users` int(10) DEFAULT NULL,
|
||||
`routers` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`pool` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`enabled` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0 disabled\r\n'
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_pool`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_pool` (
|
||||
`id` int(10) NOT NULL,
|
||||
`pool_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`range_ip` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`routers` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_routers`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_routers` (
|
||||
`id` int(10) NOT NULL,
|
||||
`name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`ip_address` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`password` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`description` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`enabled` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0 disabled'
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_transactions`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_transactions` (
|
||||
`id` int(10) NOT NULL,
|
||||
`invoice` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`username` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`plan_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`price` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`recharged_on` date NOT NULL,
|
||||
`expiration` date NOT NULL,
|
||||
`time` time NOT NULL,
|
||||
`method` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`routers` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`type` enum('Hotspot', 'PPPOE') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_users`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_users` (
|
||||
`id` int(10) UNSIGNED NOT NULL,
|
||||
`username` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`fullname` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`password` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`user_type` enum('Admin', 'Sales') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`status` enum('Active', 'Inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Active',
|
||||
`last_login` datetime DEFAULT NULL,
|
||||
`creationdate` datetime NOT NULL
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_user_recharges`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_user_recharges` (
|
||||
`id` int(10) NOT NULL,
|
||||
`customer_id` int(10) NOT NULL,
|
||||
`username` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`plan_id` int(10) NOT NULL,
|
||||
`namebp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`recharged_on` date NOT NULL,
|
||||
`expiration` date NOT NULL,
|
||||
`time` time NOT NULL,
|
||||
`status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`method` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`routers` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`type` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
-- Struktur dari tabel `tbl_voucher`
|
||||
|
||||
--
|
||||
|
||||
CREATE TABLE
|
||||
`tbl_voucher` (
|
||||
`id` int(10) NOT NULL,
|
||||
`type` enum('Hotspot', 'PPPOE') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`routers` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`id_plan` int(10) NOT NULL,
|
||||
`code` varchar(55) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`user` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`status` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||||
|
||||
--
|
||||
|
||||
-- Indexes for dumped tables
|
||||
|
||||
--
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_appconfig`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_appconfig` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_bandwidth`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_bandwidth` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_customers`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_customers` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_language`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_language` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_logs`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_logs` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_message`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_message` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_payment_gateway`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_payment_gateway` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_plans`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_plans` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_pool`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_pool` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_routers`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_routers` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_transactions`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_transactions` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_users`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_users` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_user_recharges`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_user_recharges` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- Indeks untuk tabel `tbl_voucher`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_voucher` ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel yang dibuang
|
||||
|
||||
--
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_appconfig`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE
|
||||
`tbl_appconfig` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_bandwidth`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE
|
||||
`tbl_bandwidth` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_customers`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE
|
||||
`tbl_customers` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_language`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE
|
||||
`tbl_language` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_logs`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_logs` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_message`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE
|
||||
`tbl_message` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_payment_gateway`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE
|
||||
`tbl_payment_gateway` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_plans`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE
|
||||
`tbl_plans` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_pool`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE `tbl_pool` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_routers`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE
|
||||
`tbl_routers` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_transactions`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE
|
||||
`tbl_transactions` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_users`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE
|
||||
`tbl_users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_user_recharges`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE
|
||||
`tbl_user_recharges` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
|
||||
-- AUTO_INCREMENT untuk tabel `tbl_voucher`
|
||||
|
||||
--
|
||||
|
||||
ALTER TABLE
|
||||
`tbl_voucher` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
COMMIT;
|
||||
|
||||
--
|
||||
|
||||
-- Dumping data untuk tabel `tbl_appconfig`
|
||||
|
||||
--
|
||||
|
||||
INSERT INTO
|
||||
`tbl_appconfig` (`id`, `setting`, `value`)
|
||||
VALUES (1, 'CompanyName', 'PHPNuxBill'), (2, 'currency_code', 'Rp.'), (3, 'language', 'indonesia'), (4, 'show-logo', '1'), (5, 'nstyle', 'blue'), (6, 'timezone', 'Asia/Jakarta'), (7, 'dec_point', ','), (8, 'thousands_sep', '.'), (9, 'rtl', '0'), (10, 'address', ''), (11, 'phone', ''), (12, 'date_format', 'd M Y'), (13, 'note', 'Thank you...');
|
||||
|
||||
--
|
||||
|
||||
-- Dumping data untuk tabel `tbl_users`
|
||||
|
||||
--
|
||||
|
||||
INSERT INTO
|
||||
`tbl_users` (
|
||||
`id`,
|
||||
`username`,
|
||||
`fullname`,
|
||||
`password`,
|
||||
`user_type`,
|
||||
`status`,
|
||||
`last_login`,
|
||||
`creationdate`
|
||||
)
|
||||
VALUES (
|
||||
1,
|
||||
'admin',
|
||||
'Administrator',
|
||||
'd033e22ae348aeb5660fc2140aec35850c4da997',
|
||||
'Admin',
|
||||
'Active',
|
||||
'2022-09-06 16:09:50',
|
||||
'2014-06-23 01:43:07'
|
||||
);
|
||||
|
||||
--
|
||||
|
||||
-- Dumping data untuk tabel `tbl_language`
|
||||
|
||||
--
|
||||
|
||||
INSERT INTO
|
||||
`tbl_language` (
|
||||
`id`,
|
||||
`name`,
|
||||
`folder`,
|
||||
`author`
|
||||
)
|
||||
VALUES (
|
||||
1,
|
||||
'Indonesia',
|
||||
'indonesia',
|
||||
'Ismail Marzuqi'
|
||||
), (
|
||||
2,
|
||||
'English',
|
||||
'english',
|
||||
'Ismail Marzuqi'
|
||||
), (
|
||||
3,
|
||||
'Spanish',
|
||||
'spanish',
|
||||
'Luis Hernandez'
|
||||
), (
|
||||
4,
|
||||
'Türkçe',
|
||||
'turkish',
|
||||
'Goktug Bogac Ogel'
|
||||
);
|
70
install/step2.php
Normal file
@ -0,0 +1,70 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>PHPNuxBill Installer</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link type='text/css' href='css/style.css' rel='stylesheet' />
|
||||
<link type='text/css' href="css/bootstrap.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body style='background-color: #FBFBFB;'>
|
||||
<div id='main-container'>
|
||||
<div class='header'>
|
||||
<div class="header-box wrapper">
|
||||
<div class="hd-logo"><a href="#"><img src="img/logo.png" alt="Logo" /></a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="span12">
|
||||
<h4> PHPNuxBill Installer </h4>
|
||||
<?php
|
||||
$passed = '';
|
||||
$ltext = '';
|
||||
if (version_compare(PHP_VERSION, '7.2.0') >= 0) {
|
||||
$ltext .= 'To Run PHPNuxBill You need at least PHP version 7.2.0, Your PHP Version is: ' . PHP_VERSION . " Tested <strong>---PASSED---</strong><br/>";
|
||||
$passed .= '1';
|
||||
} else {
|
||||
$ltext .= 'To Run PHPNuxBill You need at least PHP version 7.2.0, Your PHP Version is: ' . PHP_VERSION . " Tested <strong>---FAILED---</strong><br/>";
|
||||
$passed .= '0';
|
||||
}
|
||||
|
||||
if (extension_loaded('PDO')) {
|
||||
$ltext .= 'PDO is installed on your server: ' . "Tested <strong>---PASSED---</strong><br/>";
|
||||
$passed .= '1';
|
||||
} else {
|
||||
$ltext = 'PDO is installed on your server: ' . "Tested <strong>---FAILED---</strong><br/>";
|
||||
$passed .= '0';
|
||||
}
|
||||
|
||||
if (extension_loaded('pdo_mysql')) {
|
||||
$ltext .= 'PDO MySQL driver is enabled on your server: ' . "Tested <strong>---PASSED---</strong><br/>";
|
||||
$passed .= '1';
|
||||
} else {
|
||||
$ltext .= 'PDO MySQL driver is not enabled on your server: ' . "Tested <strong>---FAILED---</strong><br/>";
|
||||
$passed .= '0';
|
||||
}
|
||||
|
||||
if ($passed == '111') {
|
||||
echo ("<br/> $ltext <br/> Great! System Test Completed. You can run PHPNuxBill on your server. Click Continue For Next Step.
|
||||
<br><br>
|
||||
<a href=\"step3.php\" class=\"btn btn-primary\">Continue</a><br><br><a href=\"update.php\" class=\"btn btn-primary\">Update System</a>");
|
||||
} else {
|
||||
echo ("<br/> $ltext <br/> Sorry. The requirements of PHPNuxBill is not available on your server.
|
||||
Please contact with us- iesien22@yahoo.com with this code- $passed Or contact with your server administrator
|
||||
<br><br>
|
||||
<a href=\"#\" class=\"btn btn-primary disabled\">Correct The Problem To Continue</a>");
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">Copyright © 2021 PHPNuxBill. All Rights Reserved<br /><br /></div>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>PHPMixBill v5.0 Installer</title>
|
||||
<title>PHPNuxBill Installer</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
@ -22,13 +22,13 @@
|
||||
</div>
|
||||
|
||||
<div class="span12">
|
||||
<h4> PHPMixBill v5.0 Installer </h4>
|
||||
<h4> PHPNuxBill Installer </h4>
|
||||
<?php
|
||||
if (isset($_GET['_error']) && ($_GET['_error']) == '1') {
|
||||
echo '<h4 style="color: red;"> Unable to Connect Database, Please make sure database info is correct and try again ! </h4>';
|
||||
}
|
||||
}//
|
||||
|
||||
$cururl = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
||||
$cururl = (((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off')|| $_SERVER['SERVER_PORT'] == 443)?'https':'http').'://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
||||
$appurl = str_replace('/install/step3.php', '', $cururl);
|
||||
$appurl = str_replace('?_error=1', '', $appurl);
|
||||
$appurl = str_replace('/system', '', $appurl);
|
||||
@ -66,7 +66,7 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">Copyright © 2015 PHPMixBill. All Rights Reserved<br/><br/></div>
|
||||
<div class="footer">Copyright © 2021 PHPNuxBill. All Rights Reserved<br/><br/></div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,11 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||
|
||||
|
||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
|
||||
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
|
||||
**/
|
||||
//error_reporting (0);
|
||||
$appurl = $_POST['appurl'];
|
||||
@ -27,20 +22,40 @@ catch(PDOException $ex){
|
||||
|
||||
if ($cn == '1') {
|
||||
$input = '<?php
|
||||
$db_host = \'' . $db_host . '\';
|
||||
$db_user = \'' . $db_user . '\';
|
||||
$db_password = \'' . $db_password . '\';
|
||||
$db_name = \'' . $db_name . '\';
|
||||
define(\'APP_URL\', \'' . $appurl . '\');
|
||||
$_app_stage = \'Live\';';
|
||||
$wConfig = "../config.php";
|
||||
|
||||
define(\'APP_URL\', \'' . $appurl . '\');
|
||||
$_app_stage = \'Live\';
|
||||
|
||||
// Database PHPNuxBill
|
||||
$db_host = \'' . $db_host . '\';
|
||||
$db_user = \'' . $db_user . '\';
|
||||
$db_password = \'' . $db_password . '\';
|
||||
$db_name = \'' . $db_name . '\';
|
||||
|
||||
// Database Radius
|
||||
$radius_host = \'' . $db_host . '\';
|
||||
$radius_user = \'' . $db_user . '\';
|
||||
$radius_pass = \'' . $db_password . '\';
|
||||
$radius_name = \'' . $db_name . '\';
|
||||
|
||||
if($_app_stage!=\'Live\'){
|
||||
error_reporting(E_ERROR);
|
||||
ini_set(\'display_errors\', 1);
|
||||
ini_set(\'display_startup_errors\', 1);
|
||||
}else{
|
||||
error_reporting(E_ERROR);
|
||||
ini_set(\'display_errors\', 0);
|
||||
ini_set(\'display_startup_errors\', 0);
|
||||
}
|
||||
';
|
||||
$wConfig = "../config.php";
|
||||
$fh = fopen($wConfig, 'w') or die("Can't create config file, your server does not support 'fopen' function,
|
||||
please create a file named - config.php with following contents- <br/>$input");
|
||||
|
||||
fwrite($fh, $input);
|
||||
fclose($fh);
|
||||
|
||||
$sql = file_get_contents('phpmixbill.sql');
|
||||
$sql = file_get_contents('phpnuxbill.sql');
|
||||
|
||||
$qr = $dbh->exec($sql);
|
||||
|
||||
@ -53,7 +68,7 @@ if ($cn == '1') {
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>PHPMixBill v5.0 Installer</title>
|
||||
<title>PHPNuxBill Installer</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
@ -74,7 +89,7 @@ if ($cn == '1') {
|
||||
</div>
|
||||
|
||||
<div class="span12">
|
||||
<h4> PHPMixBill v5.0 Installer </h4>
|
||||
<h4> PHPNuxBill Installer </h4>
|
||||
<?php
|
||||
if ($cn == '1') {
|
||||
?>
|
||||
@ -89,7 +104,7 @@ if ($cn == '1') {
|
||||
} elseif ($cn == '2') {
|
||||
?>
|
||||
<p> MySQL Connection was successfull. An error occured while adding data on MySQL. Unsuccessfull
|
||||
Installation. Please refer manual installation in the website phpmixbill.com or Contact iesien22@yahoo.com for
|
||||
Installation. Please refer manual installation in the website github.com/ibnux/phpnuxbill or Contact phpnuxbill@ibnux.com for
|
||||
helping on installation</p>
|
||||
<?php
|
||||
} else {
|
||||
@ -101,7 +116,7 @@ if ($cn == '1') {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">Copyright © 2015 PHPMixBill. All Rights Reserved<br/><br/></div>
|
||||
<div class="footer">Copyright © 2021 PHPNuxBill. All Rights Reserved<br/><br/></div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>PHPMixBill v5.0 Installer</title>
|
||||
<title>PHPNuxBill Installer</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
@ -22,25 +22,25 @@
|
||||
</div>
|
||||
|
||||
<div class="span12">
|
||||
<h4> PHPMixBill v5.0 Installer </h4>
|
||||
<h4> PHPNuxBill Installer </h4>
|
||||
<p>
|
||||
<strong>Congratulations!</strong><br>
|
||||
You have just install PHPMixBill v5.0!<br>
|
||||
You have just install PHPNuxBill !<br>
|
||||
To Login Admin Portal:<br>
|
||||
Use this link -
|
||||
<?php
|
||||
$cururl = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
||||
$cururl = (((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off')|| $_SERVER['SERVER_PORT'] == 443)?'https':'http').'://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
||||
$appurl = str_replace('/install/step5.php', '', $cururl);
|
||||
$appurl = str_replace('/system', '', $appurl);
|
||||
echo '<a href="' . $appurl . '/admin">' . $appurl . '/admin</a>';
|
||||
?>
|
||||
<br>
|
||||
Username: admin<br>
|
||||
Password: 123456<br>
|
||||
Password: admin<br>
|
||||
For security, Delete the <b>install</b> directory inside system folder.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">Copyright © 2015 PHPMixBill. All Rights Reserved<br/><br/></div>
|
||||
<div class="footer">Copyright © 2021 PHPNuxBill. All Rights Reserved<br/><br/></div>
|
||||
</body>
|
||||
</html>
|
109
install/update.php
Normal file
@ -0,0 +1,109 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>PHPNuxBill Updaters</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link type='text/css' href='css/style.css' rel='stylesheet' />
|
||||
<link type='text/css' href="css/bootstrap.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body style='background-color: #FBFBFB;'>
|
||||
<div id='main-container'>
|
||||
<div class='header'>
|
||||
<div class="header-box wrapper">
|
||||
<div class="hd-logo"><a href="#"><img src="img/logo.png" alt="Logo" /></a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="span12">
|
||||
<h4> PHPNuxBill Updater </h4>
|
||||
<pre><?php
|
||||
include '../config.php';
|
||||
try{
|
||||
$dbh = new pdo( "mysql:host=$db_host;dbname=$db_name",
|
||||
"$db_user",
|
||||
"$db_password",
|
||||
array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
|
||||
|
||||
echo "CREATE TABLE `tbl_payment_gateway` (
|
||||
`id` int(11) NOT NULL,
|
||||
`username` varchar(32) COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`gateway` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'xendit | midtrans',
|
||||
`gateway_trx_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`plan_id` int(11) NOT NULL,
|
||||
`plan_name` varchar(40) COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`routers_id` int(11) NOT NULL,
|
||||
`routers` varchar(32) COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`price` varchar(40) COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`pg_url_payment` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`payment_method` varchar(32) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`payment_channel` varchar(32) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`pg_request` text COLLATE utf8mb4_general_ci,
|
||||
`pg_paid_response` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
|
||||
`expired_date` datetime DEFAULT NULL,
|
||||
`created_date` datetime NOT NULL,
|
||||
`paid_date` datetime DEFAULT NULL,
|
||||
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 unpaid 2 paid 3 failed 4 canceled'
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;\n\n";
|
||||
$dbh->exec("CREATE TABLE
|
||||
`tbl_payment_gateway` (
|
||||
`id` int(11) NOT NULL,
|
||||
`username` varchar(32) COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`gateway` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'xendit | midtrans',
|
||||
`gateway_trx_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`plan_id` int(11) NOT NULL,
|
||||
`plan_name` varchar(40) COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`routers_id` int(11) NOT NULL,
|
||||
`routers` varchar(32) COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`price` varchar(40) COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`pg_url_payment` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`payment_method` varchar(32) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`payment_channel` varchar(32) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`pg_request` text COLLATE utf8mb4_general_ci,
|
||||
`pg_paid_response` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
|
||||
`expired_date` datetime DEFAULT NULL,
|
||||
`created_date` datetime NOT NULL,
|
||||
`paid_date` datetime DEFAULT NULL,
|
||||
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 unpaid 2 paid 3 failed 4 canceled'
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;");
|
||||
|
||||
echo "ALTER TABLE `tbl_payment_gateway` ADD PRIMARY KEY (`id`);\n\n";
|
||||
$dbh->exec("ALTER TABLE `tbl_payment_gateway` ADD PRIMARY KEY (`id`);");
|
||||
echo "ALTER TABLE `tbl_payment_gateway` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;\n\n";
|
||||
$dbh->exec("ALTER TABLE `tbl_payment_gateway` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;");
|
||||
|
||||
echo "ALTER TABLE `tbl_customers` ADD `email` VARCHAR(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' AFTER `phonenumber`;\n\n";
|
||||
$dbh->exec("ALTER TABLE `tbl_customers` ADD `email` VARCHAR(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' AFTER `phonenumber`;");
|
||||
|
||||
echo "ALTER TABLE `tbl_plans` CHANGE `validity_unit` `validity_unit` ENUM('Mins','Hrs','Days','Months') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;\n\n";
|
||||
$dbh->exec("ALTER TABLE `tbl_plans` CHANGE `validity_unit` `validity_unit` ENUM('Mins','Hrs','Days','Months') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL");
|
||||
echo "ALTER TABLE `tbl_plans` ADD `enabled` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0 disabled' AFTER `pool`;\n\n";
|
||||
$dbh->exec("ALTER TABLE `tbl_plans` ADD `enabled` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0 disabled' AFTER `pool`;");
|
||||
|
||||
echo "ALTER TABLE `tbl_routers` ADD `enabled` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0 disabled' AFTER `description`;\n\n";
|
||||
$dbh->exec("ALTER TABLE `tbl_routers` ADD `enabled` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0 disabled' AFTER `description`;");
|
||||
echo "ALTER TABLE `tbl_routers` CHANGE `description` `description` VARCHAR(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL;";
|
||||
$dbh->exec("ALTER TABLE `tbl_routers` CHANGE `description` `description` VARCHAR(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL;");
|
||||
|
||||
echo "ALTER TABLE `tbl_user_recharges` CHANGE `method` `method` VARCHAR(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '';\n\n";
|
||||
$dbh->exec("ALTER TABLE `tbl_user_recharges` CHANGE `method` `method` VARCHAR(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '';");
|
||||
echo "ALTER TABLE `tbl_transactions` CHANGE `method` `method` VARCHAR(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;\n\n";
|
||||
$dbh->exec("ALTER TABLE `tbl_transactions` CHANGE `method` `method` VARCHAR(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;");
|
||||
echo "Success update database for new system <a href='/admin/'>Back To Home</a>";
|
||||
}catch(PDOException $ex){
|
||||
echo "Error Failed to connect to database: ".$ex->getMessage()."\n";
|
||||
}
|
||||
?></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">Copyright © 2021 PHPNuxBill. All Rights Reserved<br /><br /></div>
|
||||
</body>
|
||||
|
||||
</html>
|
38
qrcode/CHANGELOG
Normal file
@ -0,0 +1,38 @@
|
||||
* 1.0.0 build 2010031920
|
||||
|
||||
- first public release
|
||||
- help in readme, install
|
||||
- cleanup ans separation of QRtools and QRspec
|
||||
- now TCPDF binding requires minimal changes in TCPDF, having most of job
|
||||
done in QRtools tcpdfBarcodeArray
|
||||
- nicer QRtools::timeBenchmark output
|
||||
- license and copyright notices in files
|
||||
- indent cleanup - from tab to 4spc, keep it that way please :)
|
||||
- sf project, repository, wiki
|
||||
- simple code generator in index.php
|
||||
|
||||
* 1.1.0 build 2010032113
|
||||
|
||||
- added merge tool wich generate merged version of code
|
||||
located in phpqrcode.php
|
||||
- splited qrconst.php from qrlib.php
|
||||
|
||||
* 1.1.1 build 2010032405
|
||||
|
||||
- patch by Rick Seymour allowing saving PNG and displaying it at the same time
|
||||
- added version info in VERSION file
|
||||
- modified merge tool to include version info into generated file
|
||||
- fixed e-mail in almost all head comments
|
||||
|
||||
* 1.1.2 build 2010032722
|
||||
|
||||
- full integration with TCPDF thanks to Nicola Asuni, it's author
|
||||
- fixed bug with alphanumeric encoding detection
|
||||
|
||||
* 1.1.3 build 2010081807
|
||||
|
||||
- short opening tags replaced with standard ones
|
||||
|
||||
* 1.1.4 build 2010100721
|
||||
|
||||
- added missing static keyword QRinput::check (found by Luke Brookhart, Onjax LLC)
|
67
qrcode/INSTALL
Normal file
@ -0,0 +1,67 @@
|
||||
== REQUIREMENTS ==
|
||||
|
||||
* PHP5
|
||||
* PHP GD2 extension with JPEG and PNG support
|
||||
|
||||
== INSTALLATION ==
|
||||
|
||||
If you want to recreate cache by yourself make sure cache directory is
|
||||
writable and you have permisions to write into it. Also make sure you are
|
||||
able to read files in it if you have cache option enabled
|
||||
|
||||
== CONFIGURATION ==
|
||||
|
||||
Feel free to modify config constants in qrconfig.php file. Read about it in
|
||||
provided comments and project wiki page (links in README file)
|
||||
|
||||
== QUICK START ==
|
||||
|
||||
Notice: probably you should'nt use all of this in same script :)
|
||||
|
||||
<?phpb
|
||||
|
||||
//include only that one, rest required files will be included from it
|
||||
include "qrlib.php"
|
||||
|
||||
//write code into file, Error corection lecer is lowest, L (one form: L,M,Q,H)
|
||||
//each code square will be 4x4 pixels (4x zoom)
|
||||
//code will have 2 code squares white boundary around
|
||||
|
||||
QRcode::png('PHP QR Code :)', 'test.png', 'L', 4, 2);
|
||||
|
||||
//same as above but outputs file directly into browser (with appr. header etc.)
|
||||
//all other settings are default
|
||||
//WARNING! it should be FIRST and ONLY output generated by script, otherwise
|
||||
//rest of output will land inside PNG binary, breaking it for sure
|
||||
QRcode::png('PHP QR Code :)');
|
||||
|
||||
//show benchmark
|
||||
QRtools::timeBenchmark();
|
||||
|
||||
//rebuild cache
|
||||
QRtools::buildCache();
|
||||
|
||||
//code generated in text mode - as a binary table
|
||||
//then displayed out as HTML using Unicode block building chars :)
|
||||
$tab = $qr->encode('PHP QR Code :)');
|
||||
QRspec::debug($tab, true);
|
||||
|
||||
== TCPDF INTEGRATION ==
|
||||
|
||||
Inside bindings/tcpdf you will find slightly modified 2dbarcodes.php.
|
||||
Instal phpqrcode liblaty inside tcpdf folder, then overwrite (or merge)
|
||||
2dbarcodes.php
|
||||
|
||||
Then use similar as example #50 from TCPDF examples:
|
||||
|
||||
<?php
|
||||
|
||||
$style = array(
|
||||
'border' => true,
|
||||
'padding' => 4,
|
||||
'fgcolor' => array(0,0,0),
|
||||
'bgcolor' => false, //array(255,255,255)
|
||||
);
|
||||
|
||||
//code name: QR, specify error correction level after semicolon (L,M,Q,H)
|
||||
$pdf->write2DBarcode('PHP QR Code :)', 'QR,L', '', '', 30, 30, $style, 'N');
|
165
qrcode/LICENSE
Normal file
@ -0,0 +1,165 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
45
qrcode/README
Normal file
@ -0,0 +1,45 @@
|
||||
This is PHP implementation of QR Code 2-D barcode generator. It is pure-php
|
||||
LGPL-licensed implementation based on C libqrencode by Kentaro Fukuchi.
|
||||
|
||||
== LICENSING ==
|
||||
|
||||
Copyright (C) 2010 by Dominik Dzienia
|
||||
|
||||
This library is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU Lesser General Public License as published by the Free
|
||||
Software Foundation; either version 3 of the License, or any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. See the GNU Lesser General Public License (LICENSE file)
|
||||
for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License along
|
||||
with this library; if not, write to the Free Software Foundation, Inc., 51
|
||||
Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
== INSTALATION AND USAGE ==
|
||||
|
||||
* INSTALL file
|
||||
* http://sourceforge.net/apps/mediawiki/phpqrcode/index.php?title=Main_Page
|
||||
|
||||
== CONTACT ==
|
||||
|
||||
Fell free to contact me via e-mail (deltalab at poczta dot fm) or using
|
||||
folowing project pages:
|
||||
|
||||
* http://sourceforge.net/projects/phpqrcode/
|
||||
* http://phpqrcode.sourceforge.net/
|
||||
|
||||
== ACKNOWLEDGMENTS ==
|
||||
|
||||
Based on C libqrencode library (ver. 3.1.1)
|
||||
Copyright (C) 2006-2010 by Kentaro Fukuchi
|
||||
http://megaui.net/fukuchi/works/qrencode/index.en.html
|
||||
|
||||
QR Code is registered trademarks of DENSO WAVE INCORPORATED in JAPAN and other
|
||||
countries.
|
||||
|
||||
Reed-Solomon code encoder is written by Phil Karn, KA9Q.
|
||||
Copyright (C) 2002, 2003, 2004, 2006 Phil Karn, KA9Q
|
||||
|
2
qrcode/VERSION
Normal file
@ -0,0 +1,2 @@
|
||||
1.1.4
|
||||
2010100721
|
2875
qrcode/bindings/tcpdf/qrcode.php
Normal file
2
qrcode/cache/frame_1.dat
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
xڝ<EFBFBD><EFBFBD>
|
||||
<EFBFBD> E9<45>u<06><>`<60>"PńC<C584>牗T!0$
|
BIN
qrcode/cache/frame_1.png
vendored
Normal file
After Width: | Height: | Size: 126 B |
BIN
qrcode/cache/frame_10.dat
vendored
Normal file
BIN
qrcode/cache/frame_10.png
vendored
Normal file
After Width: | Height: | Size: 202 B |
BIN
qrcode/cache/frame_11.dat
vendored
Normal file
BIN
qrcode/cache/frame_11.png
vendored
Normal file
After Width: | Height: | Size: 205 B |
BIN
qrcode/cache/frame_12.dat
vendored
Normal file
BIN
qrcode/cache/frame_12.png
vendored
Normal file
After Width: | Height: | Size: 216 B |
BIN
qrcode/cache/frame_13.dat
vendored
Normal file
BIN
qrcode/cache/frame_13.png
vendored
Normal file
After Width: | Height: | Size: 210 B |
BIN
qrcode/cache/frame_14.dat
vendored
Normal file
BIN
qrcode/cache/frame_14.png
vendored
Normal file
After Width: | Height: | Size: 213 B |
BIN
qrcode/cache/frame_15.dat
vendored
Normal file
BIN
qrcode/cache/frame_15.png
vendored
Normal file
After Width: | Height: | Size: 219 B |
1
qrcode/cache/frame_16.dat
vendored
Normal file
@ -0,0 +1 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A<0E> E]s<>IX<49>;<3B><01>n6<6E><36>`<60>q<EFBFBD><71><EFBFBD>W6<57><36><EFBFBD><04>`<60>%A/3!<21><><EFBFBD><EFBFBD><EFBFBD>!g<><67>̡<EFBFBD>1N)<0B>E<EFBFBD><45>|;<3B><>>6⸏<36>97$<0E><><EFBFBD><EFBFBD>c]kk<6B><6B>w<EFBFBD>1<EFBFBD><31>[<5B>m<EFBFBD>C͜c<CD9C>R<><52><EFBFBD><EFBFBD>><3E><><1A><><EFBFBD>E,<2C>hʼnp<C589>#<1C>xF<1C>yW<79><57>VWG<57><47><EFBFBD>3<EFBFBD><33>+<2B><0F><><EFBFBD>˓<EFBFBD>S<EFBFBD><53>}Ğ<>#<1C>G8b^c^c<><63><11>p<EFBFBD>c&3YQ"<11><1B><><EFBFBD><EFBFBD>v<EFBFBD><76><11><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>k<EFBFBD>9<EFBFBD>܇<EFBFBD>}<7D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <09>Ŀ<EFBFBD>Q<><51>L<EFBFBD>/<2F><><EFBFBD><EFBFBD>
|
BIN
qrcode/cache/frame_16.png
vendored
Normal file
After Width: | Height: | Size: 211 B |
BIN
qrcode/cache/frame_17.dat
vendored
Normal file
BIN
qrcode/cache/frame_17.png
vendored
Normal file
After Width: | Height: | Size: 211 B |
2
qrcode/cache/frame_18.dat
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A
|
||||
<EFBFBD>0E]<5D>օ,2;s<><73>&<26>͚h<14><1D><>O<EFBFBD><4F><EFBFBD><7F><EFBFBD><EFBFBD>1&09OIv@DD<44><0C>&<26>ىK<D989>X<EFBFBD><58>Fv<46><<11>dq<64>9<><%h<><68>Y<>s!(d<><64><EFBFBD>s;~||b(<28><>Yůg#<23>`<60>K<16><>S<EFBFBD><53><EFBFBD><EFBFBD>Ķ<EFBFBD><C4B6>s<1C>idߍLg:ә<>t<EFBFBD>/gm<67><6D><EFBFBD><EFBFBD>k<EFBFBD>M<>3<EFBFBD>{<7B>4rT<72>Q<EFBFBD><51>e<EFBFBD><65>s<EFBFBD>><3E><ә<>t<EFBFBD>3<EFBFBD><33><EFBFBD>;<12>H<EFBFBD>#љ<>t<EFBFBD>3<EFBFBD><EFBFBD>Y<EFBFBD>+og<>h<EFBFBD><68><EFBFBD><EFBFBD>ٽ<EFBFBD>ln<6C><6E>F><3E>i^<5E>#awm;g<>~p<>g<EFBFBD>Ns{6z<36><7A><EFBFBD><EFBFBD><19><><EFBFBD><EFBFBD>p<><70>'
|
BIN
qrcode/cache/frame_18.png
vendored
Normal file
After Width: | Height: | Size: 228 B |
3
qrcode/cache/frame_19.dat
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A
|
||||
<EFBFBD> E<><45><EFBFBD>.<2E>No<4E>7ћ<37><D19B>iiR<>N2<4E><32>W%<25>x<04>@<40>ڜ<EFBFBD>'<27>
|
||||
u<EFBFBD>6<EFBFBD><EFBFBD><EFBFBD>.<2E>*S;}<7D><><EFBFBD>à<EFBFBD>T<0B><><EFBFBD>zr<>t<><74>%<25>,<2C><><EFBFBD><EFBFBD><EFBFBD>}<7D>;<3B><><EFBFBD>)<29><><EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD><5A>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>P<EFBFBD><50>$<24><><EFBFBD><1E>q<EFBFBD>g<EFBFBD>L<EFBFBD><4C>dJ<64>;<3B><>w<><77><EFBFBD>.]z#<23><><EFBFBD>[͝<><CD9D>Og<4F><67><EFBFBD><EFBFBD>"<22><> <09>B<EFBFBD><17><>}<7D>}<7D>;<3B><>w<><77><1D><>#1Gb<47><62>;<3B><>w<><77><EFBFBD>_<EFBFBD>C+w<>@Df<44><04><><EFBFBD><EFBFBD>u<EFBFBD><75>2<EFBFBD><32><EFBFBD><EFBFBD>N<EFBFBD><4E>9R7|pW<70>k<EFBFBD><6B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>k<><6B><EFBFBD><07><><1C><><1C><>
|
BIN
qrcode/cache/frame_19.png
vendored
Normal file
After Width: | Height: | Size: 225 B |
1
qrcode/cache/frame_2.dat
vendored
Normal file
@ -0,0 +1 @@
|
||||
x<EFBFBD>͒<EFBFBD>
|
BIN
qrcode/cache/frame_2.png
vendored
Normal file
After Width: | Height: | Size: 144 B |
BIN
qrcode/cache/frame_20.dat
vendored
Normal file
BIN
qrcode/cache/frame_20.png
vendored
Normal file
After Width: | Height: | Size: 225 B |
1
qrcode/cache/frame_21.dat
vendored
Normal file
@ -0,0 +1 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A<0E> E]s<>IX<49>;<3B><01>n6Up<55><13><>в<EFBFBD><D0B2>]٘<><i-eW<65><57><EFBFBD><EFBFBD>)<29><>ŕ<EFBFBD><C595>
H\jvq<76>HL\6<><36><EFBFBD>ЅrI<72><06>Lܹ<4C><DCB9>%<25><18>@<40><><EFBFBD>V<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>(<28>P4|<7C>Xn<58>gɝ<><15>~]D<><44><EFBFBD><EFBFBD>u1Us S\<5C><16><>,<2C><>2<EFBFBD><1F>N<EFBFBD><4E>?D<>K<EFBFBD><4B>F-:<3A>eJ]p_<70><16><>,<2C>a0<61>`<60><><EFBFBD>X<><16>`<60><><0C>w,`X<>]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>5<0B><>Y4{<7B><><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD>v<EFBFBD>Js<4A><73><EFBFBD><EFBFBD>9<EFBFBD><39><EFBFBD>)<29>u<EFBFBD>۹<EFBFBD><DBB9><EFBFBD>,<17>]<5D><><EFBFBD><EFBFBD>^_<>7$<24>_<EFBFBD>
|
BIN
qrcode/cache/frame_21.png
vendored
Normal file
After Width: | Height: | Size: 235 B |
3
qrcode/cache/frame_22.dat
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A
|
||||
<EFBFBD>0E]{<7B><>.<2E>]{{{<7B><>Z<EFBFBD>Bep<65><06>we@<1F>V<EFBFBD>ERZ3<5A><33>"*2o<32>4<EFBFBD>y<EFBFBD>)i#d<>bdF҅<46><12>I"<22><><14>4<EFBFBD><34>W<17>I<EFBFBD>u<EFBFBD><75>45<34>x<EFBFBD>.Z<>S<EFBFBD>{<7B><><EFBFBD>8<EFBFBD><38><07>k={o.<2E>q<EFBFBD><71><01>[<13><>:帒q<E5B892><71><EFBFBD>y
|
||||
)t#<23><>N8<4E>dCj<43>-O<>OG}<7D>:/<2F>:s<>z!<21>)^<<3C>e<EFBFBD><65>S<EFBFBD>u<EFBFBD>{<7B> '<27>p<EFBFBD> '<27>=<3D>=<3D>=<3D>'<27>p<EFBFBD> '<27>p<EFBFBD>ߣߣ<DFA3><DFA3><1F>N8<4E><38><EFBFBD><EFBFBD>9<EFBFBD><39><EFBFBD><EFBFBD>pQQ<51>]H<19>pz<70><7A><EFBFBD>G<EFBFBD>^<5E><>Q<EFBFBD><51>I|<7C>߳<EFBFBD>u;9<><39><EFBFBD><EFBFBD><EFBFBD>d;<3B>X~$<24><><EFBFBD><13>t<1E><><1B><>dy
|
BIN
qrcode/cache/frame_22.png
vendored
Normal file
After Width: | Height: | Size: 226 B |
3
qrcode/cache/frame_23.dat
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A
|
||||
<EFBFBD> E<><45><EFBFBD>fo<>7ћU<D19B>) %M!Δ<><CE94>Yu(<<1E><><17>sK<73><4B>T<EFBFBD><54><EFBFBD>
|
||||
<EFBFBD>&<26>I<>\i+<2B>Ъ<EFBFBD>(m<><6D>FQ<46><51><EFBFBD>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>v~n1<6E>o<>]s<><73><EFBFBD><EFBFBD><EFBFBD>_ޟ<18>3`<60>_w2<77>ȹ<EFBFBD>lc[<5B><>;<3B><12>c֟ˤ<D69F>N<EFBFBD><4E>4<EFBFBD>p<EFBFBD>
|
BIN
qrcode/cache/frame_23.png
vendored
Normal file
After Width: | Height: | Size: 220 B |
1
qrcode/cache/frame_24.dat
vendored
Normal file
@ -0,0 +1 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A<0E> E<><45><EFBFBD>MX0;<3B><><EFBFBD>nVP4<50>HSS<19>x<EFBFBD>U3<55>/O<><4F>LiJ4<4A><34><EFBFBD>V<EFBFBD>JC<4A>%<25><>6VR&<16><>D<EFBFBD>B<EFBFBD>HjD<6A><44>J<0E>??<3F><><EFBFBD>Bl<42>cDZ<><C7B1><EFBFBD>'<27>U<EFBFBD><55>X<EFBFBD>U<EFBFBD>ޏ0<DE8F><30>yw<79>į<EFBFBD>j<EFBFBD><6A>똳<EFBFBD>3ś<33><C59B><EFBFBD>cj<63><6A><EFBFBD>{<7B><><12>:Gq<>G<1C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><0E>N<EFBFBD>v;<3B><>笓J<0C><><EFBFBD><<3C><><EFBFBD>]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>#<23>8<EFBFBD><38>#<23>8<EFBFBD>H'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Gq<>G<1C><>tr:9<>#<23>8<EFBFBD><38>#<23>8<EFBFBD>ؓh<D893><68><15>N<EFBFBD>t<EFBFBD><74><EFBFBD><EFBFBD>_<EFBFBD><5F>>t<>e<EFBFBD><65>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD>^<5E>\g<><67><EFBFBD>Qe?<3F>vu<><75>o<EFBFBD><6F>;<3B><1A>><3E><>*<2A>wl<77><02>m<>
|
BIN
qrcode/cache/frame_24.png
vendored
Normal file
After Width: | Height: | Size: 242 B |
3
qrcode/cache/frame_25.dat
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A
|
||||
<EFBFBD> <10><><EFBFBD>s낋<73>]r<>x<13>Y51mM<>BG
|
||||
<EFBFBD><EFBFBD>*Sx|Ua5Ƶ<35>Z<><5A><EFBFBD>-,<2C>1<EFBFBD><31>H<15>P<EFBFBD>Rj<52><6A>X5<58><35>i<EFBFBD><69><EFBFBD><EFBFBD>G<EFBFBD>>W<><57><EFBFBD>R<EFBFBD><52><EFBFBD>/<2F><>+uT廯<54><0C>ӯ嗴<D3AF>u<EFBFBD><75><0E><>[S<>a<EFBFBD>[kv<6B><76>5<EFBFBD>+5n<1F><><EFBFBD>J<EFBFBD><4A>%+V<>X<EFBFBD>bŊ<62>߬u'<27><07><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SR<53><52><EFBFBD><EFBFBD>tzZ<7A><5A>+<2B>+V<>X<EFBFBD>bŊ<62>ٟٟٟ<D99F><D99F>+V<>X<EFBFBD>b<EFBFBD><62><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}Ŋ+V<>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>VI<56><49><EFBFBD><EFBFBD><15>+k<>q<>[<5B><>t<1E><>oVZ<56><5A>voNV<4E>w<1C>}<7D>{<7B>r<ýR<C3BD><52>"<22>R<EFBFBD><52>]<1D>
|
BIN
qrcode/cache/frame_25.png
vendored
Normal file
After Width: | Height: | Size: 242 B |
2
qrcode/cache/frame_26.dat
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A
|
||||
<EFBFBD> E<><45>օ,t<>7<EFBFBD>7ћU<D19B> E)i7<><37>*~c<><63><EFBFBD><EFBFBD>X<14>EB<45><42><EFBFBD>FC<><43><EFBFBD>6<EFBFBD>:&<26>L,<2C><>Mv.<2E><><EFBFBD><EFBFBD>Kg<4B>ո<EFBFBD>YM<59>><3E><><EFBFBD>><3E>mۚ<6D>?<3F><>v<><76><EFBFBD>mg?<3F><>ұ<EFBFBD><D2B1><EFBFBD><EFBFBD>η<1D>d<EFBFBD><64>C<><16>U<EFBFBD><55>Ik<49><6B><EFBFBD>E\<5C><>Ms<4D>f<>a<EFBFBD>f<>a><3E>[sӈ9쬩ެ8b<38><k<><6B>7<EFBFBD>}<7D><>k<><6B><EFBFBD><EFBFBD><EFBFBD><EFBFBD>3<EFBFBD>0<EFBFBD>3<>0<EFBFBD>3<><33>*r<15><>\<5C>7f<>a<EFBFBD>f<>a<EFBFBD>fr<15><>\<5C>7f<>a<EFBFBD>f<>a<EFBFBD>Y<EFBFBD><59><18><><0C>d<EFBFBD>4<EFBFBD>9k<><6B><EFBFBD><EFBFBD><EFBFBD>y<EFBFBD>X y<>g<EFBFBD><67><EFBFBD>)<1B><>dw<64>n̢<6E>U<EFBFBD>><3E><><EFBFBD>]<5D><>Lg<4C><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Eo<45> w1
|
BIN
qrcode/cache/frame_26.png
vendored
Normal file
After Width: | Height: | Size: 244 B |
BIN
qrcode/cache/frame_27.dat
vendored
Normal file
BIN
qrcode/cache/frame_27.png
vendored
Normal file
After Width: | Height: | Size: 237 B |
BIN
qrcode/cache/frame_28.dat
vendored
Normal file
BIN
qrcode/cache/frame_28.png
vendored
Normal file
After Width: | Height: | Size: 234 B |
2
qrcode/cache/frame_29.dat
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A<0E> <10>a<EFBFBD> <09><><EFBFBD><EFBFBD>@n7+*<2A><><EFBFBD><EFBFBD>4<EFBFBD>!<21>?<3F>J<EFBFBD><4A><EFBFBD> <09><><EFBFBD>抮<EFBFBD>]<5D><1A><>S<EFBFBD><53>Tf)<29><>s<EFBFBD>I<EFBFBD>"<22>Ȕb<C894><62>0<EFBFBD><30>|<7C>"Luٸ<75>,<2C><>E<18>1\6<>*<2A>uQ<75>?<3F>>a<>υ<EFBFBD><CF85><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>-r<><72><EFBFBD>n.<2E>ꯋ\<5C>T<EFBFBD><54>:<3A>*)|)<29><>,<2C><>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>x_<78><5F>}:^R<><52>Uoɢ<6F>u<EFBFBD>~<7E>މX`<60>XЏЏЏЏ<D08F>_`<60>X`<60>XЏЏЏ<D08F>_`<60>X`<60>XЏЏЏЏ<D08F>wb<77>X`<60><16><>PU<><55>)D<><44>"c<>{<7B>z<EFBFBD><7A><EFBFBD>3<EFBFBD><33><EFBFBD><}<7D><><EFBFBD>^?b<>m<EFBFBD><6D><EFBFBD>잃<EFBFBD><EC9E83><EFBFBD><EFBFBD><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<2E>]
|
||||
<EFBFBD>{Q6u<07>T,9
|
BIN
qrcode/cache/frame_29.png
vendored
Normal file
After Width: | Height: | Size: 232 B |
1
qrcode/cache/frame_3.dat
vendored
Normal file
@ -0,0 +1 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
BIN
qrcode/cache/frame_3.png
vendored
Normal file
After Width: | Height: | Size: 147 B |
BIN
qrcode/cache/frame_30.dat
vendored
Normal file
BIN
qrcode/cache/frame_30.png
vendored
Normal file
After Width: | Height: | Size: 255 B |
1
qrcode/cache/frame_31.dat
vendored
Normal file
@ -0,0 +1 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A<0E> <10>a<EFBFBD> <0B><>
|
BIN
qrcode/cache/frame_31.png
vendored
Normal file
After Width: | Height: | Size: 260 B |
2
qrcode/cache/frame_32.dat
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <14><>־<EFBFBD><D6BE><EFBFBD><EFBFBD>.<2E> <20>D<EFBFBD>l<EFBFBD>,<0C><>Mz<4D><7A>6<EFBFBD><10>Ç gcJ<63>D;<3B>'.<2E>A<EFBFBD>Iq<49>މ<EFBFBD>I,Ir<49>Y<EFBFBD><59><EFBFBD><EFBFBD>Fk%<25>D<EFBFBD>O<14>y|ED<45>D<EFBFBD><44>(L<>_Y<5F><59>>*ߚ?a<>O<EFBFBD><15>k<7F>L_<4C><[c<><63><EFBFBD><EFBFBD>><3E>c˘<63>u<1C>LI<4C><49>%<25>#<23>0<EFBFBD>#<23>0<EFBFBD>#<23><>otѢ<74><D1A2><EFBFBD>}<7D><>4<EFBFBD>f<EFBFBD>v_)<29><>E<EFBFBD>p<EFBFBD><1F><>h5R<35><52>8<EFBFBD>8<EFBFBD>1<EFBFBD>#<23>0<EFBFBD>#<23>0<EFBFBD><30><EFBFBD>i<EFBFBD><69>tZ<74>#<23>0<EFBFBD>#<23>0<EFBFBD>#<23>0<EFBFBD><30><EFBFBD>i<EFBFBD><69>tZ<74>#<23>0<EFBFBD>#<23>0<EFBFBD>#<23>0<EFBFBD><30><EFBFBD>i<EFBFBD><69>tZ<74>l<EFBFBD>0<EFBFBD>#<23>0<EFBFBD><08><>9q"<22><>HܜH<DC9C>Q<EFBFBD><51><1B><>"<22><>L5}-<2D><>Y<59><D7BE><EFBFBD>k<EFBFBD>`<60><>><3E>z鸳<><E9B8B3><EFBFBD>4&<26>p<EFBFBD><70>!<21><><EFBFBD>!<21><>`<60>:5
|
BIN
qrcode/cache/frame_32.png
vendored
Normal file
After Width: | Height: | Size: 262 B |
14
qrcode/cache/frame_33.dat
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A<0E> <10>a<EFBFBD><EFBFBD><DEBA><EFBFBD><EFBFBD><EFBFBD>@n7+*L++<2B>柮<12><><05><>bb<62>*LC<4C><12><><EFBFBD><EFBFBD>ck<>H<EFBFBD>r<><72>j<EFBFBD><6A><EFBFBD>J5Y<35>i~0<>_<EFBFBD><5F><EFBFBD><EFBFBD><EFBFBD>T<EFBFBD>T<EFBFBD>}<7D><>e<EFBFBD>><3E><>5<EFBFBD>b_<62>w<EFBFBD>͟?<3F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><0E>\<5C><>Ra<>i+7<><37>W<EFBFBD><57>\<5C><>wLUN<55>L<EFBFBD><4C>
|
||||
+<2B><><EFBFBD>
|
||||
+<2B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>j<EFBFBD><6A>O<4F><7F>kc<6B><63><EFBFBD><EFBFBD><1D>\˩|%<25>o<<3C><>k<EFBFBD><6B>L<EFBFBD>+<2B>+<2B>v<EFBFBD><76><EFBFBD>
|
||||
+<2B><><EFBFBD>
|
||||
+<2B><>>}<06><0C>8<><38><EFBFBD>
|
||||
+<2B><><EFBFBD>
|
||||
+<2B><><EFBFBD>
|
||||
+<2B><0C><19>3<EFBFBD>g<EFBFBD><67><EFBFBD>
|
||||
+<2B><><EFBFBD>
|
||||
+<2B><><EFBFBD>
|
||||
+<2B><>3<EFBFBD>g<EFBFBD><67>@<40><><EFBFBD>
|
||||
+<2B><><EFBFBD>
|
||||
+<2B><><EFBFBD>
|
||||
+<2B><>:R<><52><EFBFBD>X<EFBFBD><58>B<EFBFBD>9<EFBFBD><39>I<EFBFBD>=<>k<EFBFBD><07><>o/Sw<53>ؘ<EFBFBD>ٯ<EFBFBD>`g<><67><EFBFBD><EFBFBD><EFBFBD><1C>r_ٙ<5F>Y<EFBFBD><59>VSY<53><59>zIefnmQoz
|
BIN
qrcode/cache/frame_33.png
vendored
Normal file
After Width: | Height: | Size: 253 B |
BIN
qrcode/cache/frame_34.dat
vendored
Normal file
BIN
qrcode/cache/frame_34.png
vendored
Normal file
After Width: | Height: | Size: 256 B |
BIN
qrcode/cache/frame_35.dat
vendored
Normal file
BIN
qrcode/cache/frame_35.png
vendored
Normal file
After Width: | Height: | Size: 243 B |
BIN
qrcode/cache/frame_36.dat
vendored
Normal file
BIN
qrcode/cache/frame_36.png
vendored
Normal file
After Width: | Height: | Size: 272 B |
BIN
qrcode/cache/frame_37.dat
vendored
Normal file
BIN
qrcode/cache/frame_37.png
vendored
Normal file
After Width: | Height: | Size: 279 B |
1
qrcode/cache/frame_38.dat
vendored
Normal file
@ -0,0 +1 @@
|
||||
x<EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><EFBFBD>0Ў<>u<EFBFBD>A2<41>;Н<><D09D>k<>(<28>g<><67>y<1D>tp9<70><14>$<24><><EFBFBD><EFBFBD>D<7F><44><EFBFBD><EFBFBD>\<5C>e^'t<>-aI<61><49>FM<46>S<EFBFBD>k<EFBFBD><6B>I<EFBFBD>Ť<EFBFBD>:7<><37>|L<>k<EFBFBD>N<EFBFBD>8N7<4E><37><EFBFBD>i}<7D><><EFBFBD><EFBFBD>i,<2C>[W<><57>g<67>Ӵ<><1E><>?3<>1<EFBFBD>i<EFBFBD><69>N<EFBFBD>}}=<3D>OM:4<><34>)S<>L<EFBFBD>2eʔ)S<>L#$<24><>
|
BIN
qrcode/cache/frame_38.png
vendored
Normal file
After Width: | Height: | Size: 279 B |
BIN
qrcode/cache/frame_39.dat
vendored
Normal file
BIN
qrcode/cache/frame_39.png
vendored
Normal file
After Width: | Height: | Size: 264 B |