Skip to content

Commit

Permalink
first upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ibnux committed Mar 23, 2017
0 parents commit 29a6671
Show file tree
Hide file tree
Showing 46 changed files with 9,420 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Mikrotik Template Login for [PHPMIXBILL](https://github.com/ibnux/phpmixbill)
----

###.:English:.
This Template is for Mikrotik Login Hotspot, just put all File inside hotspot folder in Mikrotik, overwrite all. You need to have [PHPMIXBILL](https://github.com/ibnux/phpmixbill) installed somewhere.

You need to edit this file, find **TODO**, and follow instruction:

- billing.js
- login.html
- status.html
- logout.html
- remove **errors.txt** rename **errors.en.txt** to **errors.txt**

replace **background.jpg** file with your own background

Delete folder remove!

###.:Indonesia:.
Template ini untuk Login Hotspot Mikrotik, upload dan timpa semua file ke folder hotspot, pastikan anda juga telah memasang [PHPMIXBILL](https://github.com/ibnux/phpmixbill) di suatu server.

Sebelum digunakan edit dulu file dibawah, Cari **TODO** dan ikuti petunjuknya:

- billing.js
- login.html
- status.html
- logout.html
- hapus **errors.txt**, ganti nama **errors.en.txt** ke **errors.txt**

Ganti **background.jpg** dengan Background anda sendiri

hapus folder remove!

Explanation | Penjelasan
----

![MacDown logo](remove/info.png)

CREDITS
----
Masjid Agung Banten Wallpaper taken from [www.bantenwisata.com](http://www.bantenwisata.com/2015/09/masjid-agung-banten.html)

Template created using [Bootstrap v3.3.7](http://getbootstrap.com)
49 changes: 49 additions & 0 deletions alogin.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<html>
<head>
<title>mikrotik hotspot > redirect</title>
<meta http-equiv="refresh" content="2; url=$(link-redirect)">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<style type="text/css">
<!--
textarea,input,select {
background-color: #FDFBFB;
border: 1px #BBBBBB solid;
padding: 2px;
margin: 1px;
font-size: 14px;
color: #808080;
}

body{ color: #737373; font-size: 12px; font-family: verdana; }

a, a:link, a:visited, a:active { color: #AAAAAA; text-decoration: none; font-size: 12px; }
a:hover { border-bottom: 1px dotted #c1c1c1; color: #AAAAAA; }
img {border: none;}
td { font-size: 12px; color: #7A7A7A; }

-->
</style>
<script language="JavaScript">
<!--
function startClock() {
$(if popup == 'true')
open('$(link-status)', 'hotspot_status', 'toolbar=0,location=0,directories=0,status=0,menubars=0,resizable=1,width=290,height=200');
$(endif)
location.href = unescape('$(link-redirect-esc)');
}
//-->
</script>
</head>
<body onLoad="startClock()">
<table width="100%" height="100%">
<tr>
<td align="center" valign="middle">
You are logged in
<br><br>
If nothing happens, click <a href="$(link-redirect)">here</a></td>
</tr>
</table>
</body>
</html>
Binary file added background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions billing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* billing.js
* Maret 2017
* @ibnux
*/

function getBillingInfo(host){
$.get( host+"Announcement.html", function( data ) {
$( "#Announcement" ).html( data );
getVoucherInfo(host);
});
}

function getVoucherInfo(host){
$.get( host+"Order_Voucher.html", function( data ) {
$( "#voucherInformation" ).html( data );
});
}
// TODO:
// Change url to your phpmixbill url, to folder pages
// Ganti url ke alamat server phpmixbill, ke folder pages
getBillingInfo("http://127.0.0.1/phpmixbill_v5.0/pages/");
Loading

0 comments on commit 29a6671

Please sign in to comment.