{include file="sections/header.tpl"}

<center><a href="https://s.id/standwithpalestine" target="_blank"><img src="https://raw.githubusercontent.com/Safouene1/support-palestine-banner/master/banner-support.svg" class="img-responsive"></a></center>
<br><br>

<div class="row">
    <div class="col-sm-6">
        <div class="box box-hovered mb20 box-primary">
            <div class="box-header">
                <h3 class="box-title">Discussions</h3>
            </div>
            <div class="box-body">Get help from community</div>
            <div class="box-footer">
                <div class="btn-group btn-group-justified" role="group" aria-label="...">
                    <a href="https://github.com/hotspotbilling/phpnuxbill/discussions" target="_blank"
                        class="btn btn-primary btn-sm btn-block"><i class="ion ion-chatboxes"></i> Github
                        Discussions</a>
                    <a href="https://t.me/phpnuxbill" target="_blank" class="btn btn-primary btn-sm btn-block"><i
                            class="ion ion-chatboxes"></i> Telegram Group</a>
                </div>
            </div>
        </div>
    </div>
    <div class="col-sm-6">
        <div class="box box-hovered mb20 box-primary">
            <div class="box-header">
                <h3 class="box-title">Feedback</h3>
            </div>
            <div class="box-body">
                Feedback and Bug Report
            </div>
            <div class="box-footer">
                <a href="https://github.com/hotspotbilling/phpnuxbill/issues" target="_blank"
                    class="btn btn-primary btn-sm btn-block"><i class="ion ion-chatboxes"></i> Give Feedback</a>
            </div>
        </div>
    </div>
</div>

<div class="row">
    <div class="col-sm-6">
        <div class="box box-hovered mb20 box-primary">
            <div class="box-header">
                <h3 class="box-title">Donasi</h3>
            </div>
            <div class="box-body">Untuk pengembangan lebih baik, donasi ke iBNuX, donasi akan membantu terus
                pengembangan aplikasi</div>
            <div class="table-responsive">
                <table class="table table-bordered table-striped">
                    <tbody>
                        <tr>
                            <td>BCA</td>
                            <td>5410-454-825</td>
                        </tr>
                        <tr>
                            <td>Mandiri</td>
                            <td>163-000-1855-793</td>
                        </tr>
                        <tr>
                            <td>Atas nama</td>
                            <td>Ibnu Maksum</td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="box-footer">
                <div class="btn-group btn-group-justified" role="group" aria-label="...">
                    <a href="https://trakteer.id/ibnux" target="_blank"
                        class="btn btn-primary btn-sm btn-block">Trakteer</a>
                    <a href="https://karyakarsa.com/ibnux/support" target="_blank"
                        class="btn btn-primary btn-sm btn-block">karyakarsa</a>
                </div>
            </div>
        </div>
    </div>
    <div class="col-sm-6">
        <div class="box box-hovered mb20 box-primary">
            <div class="box-header">
                <h3 class="box-title">Donations</h3>
            </div>
            <div class="box-body">
                Donations will help to continue phpnuxbill development
            </div>
            <div class="table-responsive">
                <table class="table table-bordered table-striped">
                    <tbody>
                        <tr>
                            <td>Bank Central Asia</td>
                            <td>5410-454-825</td>
                        </tr>
                        <tr>
                            <td>SWIFT/BIC</td>
                            <td>CENAIDJA</td>
                        </tr>
                        <tr>
                            <td>Jakarta</td>
                            <td>Indonesia</td>
                        </tr>
                        <tr>
                            <td>Account Name</td>
                            <td>Ibnu Maksum</td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="box-footer">
                <div class="btn-group btn-group-justified" role="group" aria-label="...">
                    <a href="https://paypal.me/ibnux" target="_blank"
                        class="btn btn-primary btn-sm btn-block">Paypal</a>
                    <a href="https://wise.com/pay/me/ibnum37" target="_blank"
                        class="btn btn-primary btn-sm btn-block">Wise</a>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-sm-6">
        <div class="box box-hovered mb20 box-primary">
            <div class="box-header">
                <h3 class="box-title">Chat with me</h3>
            </div>
            <div class="box-body">$50 Paid Support<br>donation confirmation?<br>Or ask any Donation Alternative</div>
            <div class="box-footer">
                <a href="https://t.me/ibnux" target="_blank" class="btn btn-primary btn-sm btn-block">Telegram</a>
            </div>
        </div>
        <div class="box box-primary box-hovered mb20 activities">
            <div class="box-header">
                <h3 class="box-title">Free WhatsApp Gateway and Telegram Bot creater</h3>
            </div>
            <div class="box-body">
                There is a Telegram bot wizard in here
            </div>
            <div class="box-footer">
                <a href="https://wa.nux.my.id/login" target="_blank"
                    class="btn btn-primary btn-sm btn-block">wa.nux.my.id</a>
            </div>
        </div>
    </div>
    <div class="col-sm-6" id="update">
        <div class="box box-primary box-hovered mb20 activities">
            <div class="box-header">
                <h3 class="box-title">PHPNUXBILL</h3>
            </div>
            <div class="box-body">
                <b>PHPNuxBill</b> is a billing Hotspot and PPPOE for Mikrotik using PHP and Mikrotik API to comunicate with router. If you get more profit with this application, please donate us.<br>Watch project <a href="https://github.com/hotspotbilling/phpnuxbill" target="_blank">in here</a>
            </div>
            <div class="box-footer" id="currentVersion">ver</div>
            <div class="box-footer" id="latestVersion">ver</div>
            <div class="box-footer">
                <div class="btn-group btn-group-justified" role="group" aria-label="...">
                    <a href="./update.php" class="btn btn-success btn-sm btn-block">Install Latest Version</a>
                    <a href="https://github.com/hotspotbilling/phpnuxbill/archive/refs/heads/master.zip" target="_blank"
                        class="btn btn-warning btn-sm btn-block text-black">Download Latest Version</a>
                </div>
                <center><a href="{$_url}community/rollback" class="btn btn-link btn-sm btn-block">Select Old Version</a></center>
            </div>
            <div class="box-footer">
                <div class="btn-group btn-group-justified" role="group" aria-label="...">
                    <a href="./CHANGELOG.md" target="_blank" class="btn btn-default btn-sm btn-block">Current
                        Changelog</a>
                    <a href="https://github.com/hotspotbilling/phpnuxbill/blob/master/CHANGELOG.md" target="_blank"
                        class="btn btn-default btn-sm btn-block">Repo Changelog</a>
                </div>
            </div>
            <div class="box-footer">
                If you Download manual the update file, sometime update change database, after uploading, click this button to update database structure.
                <a href="./update.php?step=4" class="btn btn-default btn-sm btn-block">Update Database</a>
            </div>
        </div>
    </div>
</div>
<script>
    window.addEventListener('DOMContentLoaded', function() {
        $.getJSON("./version.json?" + Math.random(), function(data) {
            $('#currentVersion').html('Current Version: ' + data.version);
        });
        $.getJSON("https://raw.githubusercontent.com/hotspotbilling/phpnuxbill/master/version.json?" + Math
            .random(),
            function(data) {
                $('#latestVersion').html('Latest Version: ' + data.version);
            });
    });
</script>
{include file="sections/footer.tpl"}