kristriel08

v13 orig portal

Aug 10th, 2019
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.64 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title><?= $title ?></title>
  6. <meta http-equiv="Cache-control" content="no-transform">
  7. <meta http-equiv="pragma" content="no-cache" />
  8. <meta http-equiv="expires" content="-1" />
  9. <meta content='width=device-width, user-scalable=no' name='viewport'/>
  10. <!--bootstrap-->
  11. <link href="css/bootstrap4.min.css" rel="stylesheet" type="text/css">
  12. <!--font-awsome-css-->
  13. <link rel="stylesheet" href="css/font-awesome.min.css">
  14. <link href="css/toastr.min.css" rel="stylesheet">
  15. <style>
  16. html { font-size: 1rem; }
  17. body {
  18. background-color: <?= $portalbackground ?> !important;
  19. #background-image: url("images/bg.jpg");
  20. background-size: cover;
  21. background-position: center center;
  22. }
  23. a:hover{
  24. text-decoration: none !important;
  25. }
  26. .button-rnd {
  27. min-width: 300px !important;
  28. max-width: 300px !important;
  29. border-radius: 14px 14px;
  30. }
  31. .button-rnd:hover{
  32. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  33. }
  34. .btn-faq{
  35. min-width:90px !important;
  36. font-size:10px;
  37. border-radius: 7px 7px;padding:2px !important;
  38. }
  39. .container2{
  40. margin:auto;
  41. /* background: rgba(255, 255, 255, 0.8); */
  42. z-index:-99999;
  43. }
  44. .footer {
  45. font-size:90%;
  46. color:#748c8a;
  47. }
  48. .footer .fa{
  49. text-align:center;
  50. width:20px;
  51. }
  52. .footer .fa-bell-slash{
  53. font-size:90%;
  54. }
  55. .temp-hidden {
  56. }
  57. .hidden {
  58. display: none !important;
  59. visibility: hidden;
  60. }
  61. .btn-block{
  62. max-width: 300px;
  63. margin:auto;
  64. }
  65. .paused{
  66. color:#354443;
  67. }
  68. /* Important part */
  69. .modal {
  70. z-index:99999;
  71. }
  72. .modal-dialog{
  73. overflow-y: initial !important;
  74. }
  75. .fullscreen-dialog {
  76. #width: 100%;
  77. #height: 100%;
  78. #margin: 0;
  79. #padding: 0;
  80. }
  81.  
  82. .fullscreen-content {
  83. height: auto;
  84. min-height: 100%;
  85. border-radius: 0;
  86. }
  87. .modal-body{
  88. #height: 250px;
  89. #overflow-y: auto;
  90. }
  91. #policy h6 {
  92. text-transform: uppercase;
  93. }
  94. #policy p{
  95. text-align: justify;
  96. }
  97. #connect_how ol{
  98. font-weight: bold;
  99. }
  100. #connect_how ol li ul{
  101. margin-left:-25px;
  102. font-weight: normal;
  103. }
  104. #connect_how ol .normal-font ul{
  105. margin-left:-25px;
  106. font-weight: normal;
  107. font-size:80%;
  108. }
  109. .button-animate {
  110. -webkit-animation: glowing 1500ms infinite;
  111. -moz-animation: glowing 1500ms infinite;
  112. -o-animation: glowing 1500ms infinite;
  113. animation: glowing 1500ms infinite;
  114. }
  115. @-webkit-keyframes glowing {
  116. 0% {border-color: #4cae4c; box-shadow: 0 0 3px #b7deb7; background-color: #4cae4c;}
  117. 50% {border-color: #449d44; box-shadow: 0 0 40px #4cae4c; background-color: #449d44; }
  118. 100% {border-color: #4cae4c; box-shadow: 0 0 3px #b7deb7; background-color: #4cae4c;}
  119. }
  120. @-moz-keyframes glowing {
  121. 0% {border-color: #4cae4c; box-shadow: 0 0 3px #b7deb7; background-color: #4cae4c;}
  122. 50% {border-color: #449d44; box-shadow: 0 0 40px #4cae4c; background-color: #449d44; }
  123. 100% {border-color: #4cae4c; box-shadow: 0 0 3px #b7deb7; background-color: #4cae4c;}
  124. }
  125. @-o-keyframes glowing {
  126. 0% {border-color: #4cae4c; box-shadow: 0 0 3px #b7deb7; background-color: #4cae4c;}
  127. 50% {border-color: #449d44; box-shadow: 0 0 40px #4cae4c; background-color: #449d44; }
  128. 100% {border-color: #4cae4c; box-shadow: 0 0 3px #b7deb7; background-color: #4cae4c;}
  129. }
  130. @keyframes glowing {
  131. 0% {border-color: #4cae4c; box-shadow: 0 0 3px #b7deb7; background-color: #4cae4c;}
  132. 50% {border-color: #449d44; box-shadow: 0 0 40px #4cae4c; background-color: #449d44; }
  133. 100% {border-color: #4cae4c; box-shadow: 0 0 3px #b7deb7; background-color: #4cae4c;}
  134. }
  135. .pause-button:hover{
  136. color:#4CAE4C;
  137. cursor:pointer;
  138. content: "\f023" !important;
  139. }
  140. .blink {
  141. animation: blinker 1500ms linear infinite;
  142. }
  143. @keyframes blinker {
  144. 50% {
  145. opacity: 0.2;
  146. }
  147. }
  148. .button-animate-red {
  149. -webkit-animation: glowingRed 1500ms infinite;
  150. -moz-animation: glowingRed 1500ms infinite;
  151. -o-animation: glowingRed 1500ms infinite;
  152. animation: glowingRed 1500ms infinite;
  153. }
  154. #rtime, #ptime {
  155. text-transform: uppercase;
  156. font-size:80% !important;
  157. font-weight: normal;
  158. }
  159. #rtime b, #ptime b{
  160. font-weight: bold;
  161. font-size:200% !important;
  162. }
  163. .carousel {
  164. width:100%;
  165. height:100%;
  166. }
  167. @keyframes lpb-link{
  168. 0%{opacity: 0;}
  169. 50%{opacity: .5;}
  170. 100%{opacity: 1;}
  171. }
  172.  
  173. </style>
  174. <!--// NOTE WAG E REMOVE -->
  175. <script src="js/apps.min.js"></script>
  176. <script src="js/jquery.min.js"></script>
  177. <!--// end NOTE WAG E REMOVE -->
  178. <!--// additional scripts -->
  179. <script src="js/popper.min.js"></script>
  180. <script src="js/bootstrap4.min.js"></script>
  181. <script src="js/toastr.min.js"></script>
  182. <script src="js/soundjs.min.js"></script>
  183. <script src="js/preloadjs.min.js"></script>
  184. <script src="js/eload.js"></script>
  185. <script src="js/loadingoverlay.js"></script>
  186. </head>
  187. <body class='login'>
  188. <div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
  189. <div class="carousel-inner">
  190. <div class="carousel-item active">
  191. <img class="d-block w-100" src="images/banner-scroll1.jpg" alt="First slide">
  192. </div>
  193. </div>
  194. <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
  195. <span class="carousel-control-prev-icon" aria-hidden="true"></span>
  196. <span class="sr-only">Previous</span>
  197. </a>
  198. <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
  199. <span class="carousel-control-next-icon" aria-hidden="true"></span>
  200. <span class="sr-only">Next</span>
  201. </a>
  202. </div>
  203. <br>
  204. <div class="container text-center">
  205. <div style="margin:0;padding:0;display:inline"></div>
  206. <!--<div class="animate-area">
  207. <img class="img-fluid temp-hidden" src="images/logo-small.png" />
  208. </div>-->
  209. <div class="row">
  210. <div class="col-md-12 h2 conn_status hidden">
  211. <?= $status_html ?><br>
  212. </div>
  213. <div class="col-md-12 h2 conn_status2">
  214. <?= $status_html ?><br>
  215. </div>
  216. </div>
  217. <div id="default_container">
  218. <div class="row" style="margin-bottom:10px;">
  219. <div class="col-md-12">
  220. <small style="color:#007bff;text-transform: uppercase;">IP: <?= $ip ?> | Mac: <?= $mac ?> </small>
  221. </div>
  222. <div class="col-md-12">
  223. <small style="color:#007bff;text-transform: uppercase;">Account Credits: ₱<?= number_format($remainingcredit); ?> </small>
  224. </div>
  225. <div class="col-md-12">
  226. <small style="color:#748c8a;text-transform: uppercase;"><?= ($pausedTime) ? '<small>CLICK RESUME TIME BUTTON TO CONTINUE SURFING</small>' : 'Remaining Time:' ?></small>
  227. </div>
  228. <div class="col-md-12">
  229. <?= ($pausedTime) ? '<h2 id="ptime" class="paused">-- </h2>' : '<h2 id="rtime" class="text-primary">--</h2>'?>
  230. </div>
  231. </div>
  232. <div class="temp-hidden">
  233. <div class="row <?= (!$insertcoin) ? 'hidden' : '' ?>" style="margin-bottom:10px;">
  234. <div class="col-md-12">
  235. <a id="link" href="<?= $connectlink ?>"><button type="button" id="insert_coin_button" class="btn btn-success button-rnd btn-spinner">Insert Coin</button></a>
  236. </div>
  237. </div>
  238. <div class="row <?= (!$asdxczc) ? 'hidden' : '' ?> <?= ($remainingTime > 0) ? '' : 'hidden' ?>" style="margin-bottom:10px;">
  239. <div class="col-md-12">
  240. <a class="btn-pause" href="<?= $pausesessionlink ?>"><button type="button" class="btn btn-danger button-rnd btn-spinner">Pause Time</button> </a>
  241. </div>
  242. </div>
  243. <div class="row <?= (!$pausedTime) ? 'hidden' : '' ?>" style="margin-bottom:10px;">
  244. <div class="col-md-12">
  245. <a class="btn-resume" href="<?= $resumesessionlink ?>"><button type="button" class="btn btn-danger button-rnd button-animate-red btn-spinner">Resume Time</button></a>
  246. </div>
  247. </div>
  248. <div class="row <?= (!$viewrates) ? 'hidden' : '' ?>" style="margin-bottom:10px;">
  249. <div class="col-md-12">
  250. <button type="button" class="btn btn-primary button-rnd" data-toggle="modal" data-target="#popup">Wifi Rates</button>
  251. </div>
  252. </div>
  253. <div class="row <?= (!$viewchargingrates) ? 'hidden' : '' ?>" style="margin-bottom:10px;">
  254. <div class="col-md-12">
  255. <button type="button" class="btn btn-primary button-rnd" data-toggle="modal" data-target="#chargingstation">Charging Rates</button>
  256. </div>
  257. </div>
  258. <hr>
  259. <div class="row <?= (!$buyload) ? 'hidden' : '' ?>" style="margin-bottom:10px;">
  260. <div class="col-md-12">
  261. <button type="button" class="btn btn-danger button-rnd" data-target="#buyload" data-toggle="modal" data-backdrop="static" data-keyboard="false">Buy Load</button>
  262. </div>
  263. </div>
  264.  
  265. <div class="row <?= (!$checkbalance) ? 'hidden' : '' ?>" style="margin-bottom:10px;">
  266. <div class="col-md-12">
  267. <button type="button" class="btn btn-danger button-rnd" data-target="#checkbalance" data-toggle="modal" data-backdrop="static" data-keyboard="false">Check Balance</button>
  268. </div>
  269. </div>
  270. <hr>
  271. <div class="btn-block">
  272. <form name="frmvoucher" id="frmvoucher" action="<?= $encoder ?>" method="post">
  273. <input type="hidden" name="hashcode01" id="hashcode01" value="<?= $hashcode01; ?>">
  274. <?= ($errorsession) ? '<script>toastr.info("'.$errormsg.'", "", {"positionClass": "toast-top-right",});</script> ' : '' ?>
  275. <div class="input-group mb-3">
  276. <input type="text" class="form-control" name="vcode" id="vcode" value="" aria-describedby="errormsg" placeholder="Enter Voucher here...">
  277. <div class="input-group-append">
  278. <button name="submit" type="submit" id="btn-vcode" class="btn btn-primary">Submit</button>
  279. </div>
  280. </div>
  281. </form>
  282. </div>
  283. <div class="row ">
  284. <div class="col-md-12">
  285. <?= ($remainingTime > 0 & $session2voucherzxc == 1) ? '<button type="button" data-toggle="modal" data-target="#sessiontovoucher" class="btn btn-primary button-rnd">Convert Time to Voucher</button>' : '' ?>
  286. </div>
  287. </div>
  288. <hr>
  289. </div>
  290. <?= chargingstations($link, $ip, $mac); ?>
  291. <hr>
  292. <!-- //LIST VOUCHER -->
  293. <?= vouchersList($link, $ip, $mac, $repeater); ?>
  294. <!-- //END LIST NG VOUCHER-->
  295. </div>
  296. <!-- //END DEFAULT CONTAINER -->
  297. <!-- Modal -->
  298. <div id="popup" class="modal fade bd-example-modal-sm" role="dialog">
  299. <div class="modal-dialog modal-dialog-centered">
  300. <!-- Modal content-->
  301. <div class="modal-content">
  302. <div class="modal-header">
  303. <h4 class="modal-title">WiFi Rates</h4>
  304. <button type="button" class="close" data-dismiss="modal">×</button>
  305. </div>
  306. <div class="modal-body">
  307. <table class="table table-striped table-bordered table-sm">
  308. <tr class="thead-dark">
  309. <th>Amount
  310. </th>
  311. <th>Time
  312. </th>
  313. <th>Note
  314. </th>
  315. </tr>
  316. <?= myrates($link); ?>
  317. </table>
  318. </div>
  319. </div>
  320. </div>
  321. </div>
  322. <div id="sessiontovoucher" class="modal fade bd-example-modal-sm" role="dialog">
  323. <div class="modal-dialog modal-dialog-centered">
  324. <!-- Modal content-->
  325. <div class="modal-content">
  326. <div class="modal-header">
  327. <h4 class="modal-title">Convert Time To Voucher</h4>
  328. <button type="button" class="close" data-dismiss="modal">×</button>
  329. </div>
  330. <div class="modal-body">
  331. <form action="<?= $session2voucher ?>" method="post">
  332. <div class="form-group">
  333. <div class="input-group input-group-sm mb-3">
  334. <div class="input-group-prepend">
  335. <span class="input-group-text" id="inputGroup-sizing-sm-available">Your Minutes:</span>
  336. </div>
  337. <input type="number" class="form-control" value="<?= floor($remainingTime/60); ?>" aria-label="Small" aria-describedby="inputGroup-sizing-sm-available" readonly>
  338. </div>
  339. <div class="input-group input-group-sm mb-3">
  340. <div class="input-group-prepend">
  341. <span class="input-group-text" id="inputGroup-sizing-sm">Minutes to convert:</span>
  342. </div>
  343. <input type="number" name="amountminutes" min="0" oninput="validity.valid||(value='');" class="form-control" aria-label="Small" aria-describedby="inputGroup-sizing-sm">
  344. </div>
  345. <button name="convert" type="submit" id="btn-vcode" class="btn btn-primary">Convert</button>
  346. </div>
  347. </form>
  348. </div>
  349. </div>
  350. </div>
  351. </div>
  352.  
  353. <!-- Buy Load Modal -->
  354. <div id="buyload" class="modal fade bd-example-modal-sm" role="dialog">
  355. <div class="modal-dialog modal-dialog-centered modal-lg">
  356. <!-- Modal content-->
  357. <div class="modal-content">
  358. <div class="modal-header">
  359. <h4 class="modal-title"><i class="fa fa-bars" aria-hidden="true"></i> <?=$title?> - Eloading </h4>
  360. <button type="button" class="close" data-dismiss="modal">×</button>
  361. </div>
  362. <div class="modal-body text-left">
  363. <div class="col-xs-7 align-middle p-lg">
  364. <h3 style="color:#009ee6"> Buy Load & Epins</h3>
  365. <div style="margin-top:20px"> </div>
  366. <p style="color: #101010;"><i class="fa fa-mobile" aria-hidden="true"></i> Enter Mobile Phone Number: </p>
  367. <div class="form-group">
  368. <input type="text" name="eloadnumber" id="eloadnumber" placeholder="09123456789" maxlength="11" onkeypress="return getnumbers(this, event)" class="form-control input-lg m-b">
  369. </div>
  370. <hr>
  371. <div class="panel-body">
  372. <input type="hidden" name="mac" id="mac" value="<?= $mac ?>" class="form-control">
  373. <input type="hidden" name="ip" id="ip" value="<?= $ip ?>" class="form-control">
  374. <button type="button" class="btn btn-success btn-lg button-rnd eload-spinner" onclick="eloadproduct()">Buy</button>
  375. </div>
  376. </div>
  377. </div>
  378. </div>
  379. </div>
  380. </div>
  381.  
  382.  
  383. <!-- Check Balance Modal -->
  384. <div id="checkbalance" class="modal fade bd-example-modal-sm" role="dialog">
  385. <div class="modal-dialog modal-dialog-centered modal-lg">
  386. <!-- Modal content-->
  387. <div class="modal-content">
  388. <div class="modal-header">
  389. <h5 class="modal-title"><i class="fa fa-bars" aria-hidden="true"></i> Balance Inquiry</h5>
  390. <button type="button" class="close" data-dismiss="modal">×</button>
  391. </div>
  392. <div class="modal-body text-left">
  393. <div class="col-xs-7 align-middle p-lg">
  394. <h3 style="color:#009ee6"> Number Balance Checker</h3>
  395. <div style="margin-top:20px"> </div>
  396. <p style="color: #101010;"> <i class="fa fa-mobile" aria-hidden="true"></i> Enter Mobile Phone Number: </p>
  397. <div class="form-group">
  398. <input type="text" name="ieloadnumber" id="ieloadnumber" placeholder="09123456789" maxlength="11" onkeypress="return getnumbers(this, event)" class="form-control input-lg m-b">
  399. </div>
  400. <hr>
  401. <div class="panel-body">
  402. <input type="hidden" name="mac" id="mac" value="<?= $mac ?>" class="form-control">
  403. <input type="hidden" name="ip" id="ip" value="<?= $ip ?>" class="form-control">
  404. <button type="button" class="btn btn-success btn-lg button-rnd eload-spinner" onclick="balanceinquiry()">Check</button>
  405. </div>
  406. </div>
  407. </div>
  408. </div>
  409. </div>
  410. </div>
  411.  
  412. <!-- Charging Station Modal -->
  413. <div id="eloadcomplete" class="modal fade bd-example-modal-sm" role="dialog">
  414. <div class="modal-dialog modal-dialog-centered">
  415. <!-- Modal content-->
  416. <div class="modal-content">
  417. <div class="modal-header">
  418. <h4 class="modal-title"><i class="fa fa-bars" aria-hidden="true"></i> Success!</h4>
  419. <button type="button" class="close" data-dismiss="modal">×</button>
  420. </div>
  421. <div class="modal-body">
  422. <h4>Load has been now process.</h4>
  423. <hr/>
  424. <h4> Please wait the confirmation. </h4>
  425. </div>
  426. </div>
  427. </div>
  428. </div>
  429.  
  430. <!-- Charging Station Modal -->
  431. <div id="chargingstation" class="modal fade bd-example-modal-sm" role="dialog">
  432. <div class="modal-dialog modal-dialog-centered">
  433. <!-- Modal content-->
  434. <div class="modal-content">
  435. <div class="modal-header">
  436. <h4 class="modal-title">Charging Rates</h4>
  437. <button type="button" class="close" data-dismiss="modal">×</button>
  438. </div>
  439. <div class="modal-body">
  440. <table class="table table-striped table-bordered table-sm">
  441. <tr class="thead-dark">
  442. <th>Amount
  443. </th>
  444. <th>Time
  445. </th>
  446. <th>Note
  447. </th>
  448. </tr>
  449. <?= chargingrates($link); ?>
  450. </table>
  451. </div>
  452. </div>
  453. </div>
  454. </div>
  455. <!-- START Policy Modal -->
  456. <div id="policy" class="modal fade" role="dialog">
  457. <div class="modal-dialog modal-dialog-centered">
  458. <!-- Modal content-->
  459. <div class="modal-content">
  460. <div class="modal-header">
  461. <h5 class="modal-title">Terms of Service</h5>
  462. </div>
  463. <div class="modal-body text-left" style="font-size:80%;height: 250px;overflow-y: auto;">
  464. <h6>Summary</h6>
  465. <ul>
  466. <li>Read this <b><a href="#connect_how">How do I connect to LPBPisoWifi Vending Machine?</a></b></li>
  467. <li>We don’t collect any of your personal info, except your device’s <b>MAC address</b> and <b>basic information.</b></li>
  468. <li>We don’t collect and sell your personal info to advertisers or other third parties.</li>
  469. </ul>
  470. <p><i>PMPW Tech may revise the Terms of Use at any time. <u>You must accept this Agreement each time you use the PMPW Tech Vending Machine</u> and it is your responsibility to review it for any changes each time.</i></p>
  471. <h6>Restrictions</h6>
  472. <p>The use of the Service for the following activities is prohibited:</p>
  473. <p>Spamming and Invasion of Privacy of Others, Violating Intellectual Property Law, Transmitting Obscene or Indecent Speech or Materials, Transmitting Defamatory or Abusive Language, Hacking or Distribution of Internet Viruses, Worms, Trojan Horses, or Other Destructive Activities.</p>
  474. <h6>Terms of Use</h6>
  475. <p>You are about to access the Internet through a coin operated wireless (WiFi) Internet access node (the "Service") operated by PMPW Tech. The purpose of the Service is to provide wireless Internet access to customers of the LPBPisoWifi Vending Machine. You may use the Service only if you agree to the following terms of service each time you access the Service.</p>
  476. <h6>Access to WiFi</h6>
  477. <p>The Service is to provide wireless internet access through the LPBPisoWifi Vending Machine. Your access to the Service is completely at the discretion of PMPW Tech, and your access to the Service may be blocked, suspended, or terminated at any time for any reason including, but not limited to, violation of this Agreement, actions that may lead to liability for PMPW Tech, disruption of access to other users or networks, violation of applicable laws or regulations, attempt of accessing the ****, intentional damage of the machine, or use of applications that bypasses the Service functionality.</p>
  478. <h6>Monitoring and Collection of Data</h6>
  479. <p>The LPBPisoWifi Vending Machine collects information to authenticate you as a valid customer that authorized you to access our Service. Once authenticated on the LPBPisoWifi Vending Machine, your information will be stored locally to allow you to auto-connect to the LPBPisoWifi Vending Machine, properly credit the inserted coins, and monitor your consumed time without having to authenticate each time you access the Service. Periodically you will be required to re-authenticate. The LPBPisoWifi Vending Machine store IP addresses assigned to you locally and the MAC address of your device accessing the LPBPisoWifi Vending Machine, as well as usage data associated with the MAC addresses of each device. We may also monitor the traffic for network management and security purposes, such as identifying malware, bandwidth consumption, location of the access points, total amount of coins inserted, session start and end time, types of protocols and applications used, and illegal content as stated above. You acknowledge and agree that the LPBPisoWifi Vending Machine has the right to automatically monitor your use of the WiFi Service to operate the LPBPisoWifi Vending Machine properly, to protect itself or its subscribers, to enhance or develop PMPW Tech services offered to you.</p>
  480. <p>We don’t collect any of your device’s files, photos, contacts, camera, browsing history,personal info, applications, softwares, and the like. Moreover, we don’t sell your personal info to advertisers or other third parties.</p>
  481. <h6>Acceptable Use of the Service</h6>
  482. <p>Your use of the Service and any activities conducted online through the Service shall not violate any applicable law or regulation or the rights of PMPW Tech, or any third party. PMPW Tech cannot accept any responsibility for any injury or loss that results from inaccurate, unsuitable, offensive, or illegal Internet communications and activities.</p>
  483. <hr>
  484. <div id="connect_how">
  485. <h6>How to Connect To LPBPisoWifi</h6>
  486. <p align="center"><img class="img-fluid" src="images/instructions.jpg" alt="Connect to PMPW Vending Machine" /></p>
  487. <ol class="h6">
  488. <li class="normal-font">
  489. CONNECT
  490. <ul>
  491. <li>Connect to PMPW - LPBPisoWifi</li>
  492. <li>Wait for the captive web portal (website) to pop-up.</li>
  493. <li><i>If for 15 seconds there is no pop-up, open your browser (<small>we recommend using <i class="fa fa-chrome"></i> Google Chrome or <i class="fa fa-firefox"></i> Firefox</small>)</i>.</li>
  494. <li>In the address bar type <b>pete.wifi</b> or <b>192.168.25.1</b></li>
  495. </ul>
  496. </li>
  497. <li class="normal-font">
  498. INSERT COINS
  499. <ul>
  500. <li>Before inserting coins, click the <button type="button" class="btn btn-success btn-sm btn-faq">Insert Coin</button> button.</li>
  501. <li>Wait for the LED to turn red and Insert Coin instruction page to appear</li>
  502. <li>You may now insert ₱1, ₱5, and ₱10 coins. Can accept <u>old and new coins</u>.</li>
  503. <li><i>Please do not insert fast to avoid discredit of coin amount.</i></li>
  504. </ul>
  505. </li>
  506. <li class="normal-font">
  507. START INTERNET
  508. <ul>
  509. <li>After inserting the desired amount. Click the <button type="button" class="btn btn-success btn-sm btn-faq">Start Internet</button> button.</li>
  510. <li>To check your time you may open your browser (<small>we recommend using <i class="fa fa-chrome"></i> Google Chrome or <i class="fa fa-firefox"></i> Firefox</small>)</i>.</li>
  511. <li>In the address bar type <b>pete.wifi</b> or <b>192.168.25.1</b></li>
  512. </ul>
  513. </li>
  514. </ol>
  515. <br>
  516. <h6>FREQUENTLY ASKED QUESTIONS</h6>
  517. <ol>
  518. <li>
  519. <b>Why do you recommend using <i class="fa fa-chrome"></i> Google Chrome or <i class="fa fa-firefox"></i> Firefox?</b>
  520. <ul>
  521. <li>This is to enable you to receive remaining time notifications, announcements, and promos. To know more about the notifier click <a href="#" data-toggle="modal" data-target="#notifier"> FAQ - Time Notifier</a></li>
  522. </ul>
  523. </li>
  524. <li>
  525. <b>Does it mean I can't use my own browser?</b>
  526. <ul>
  527. <li>You can still use your own browser but may not support our notification ****. Thus, you will not be notified of your remaining time.</li>
  528. </ul>
  529. </li>
  530. <li>
  531. <b>I inserted coins but was rejected?</b>
  532. <ul>
  533. <li>Check if the coins is damage or hard to recognize.</li>
  534. <li>You forgot to click the <button type="button" class="btn btn-success btn-sm btn-faq">Insert Coin</button> button.</li>
  535. <li>Wait for 30 seconds, the machine might still be booting.</li>
  536. </ul>
  537. </li>
  538. <li>
  539. <b>The inserted coins was accepted but was not credited?</b>
  540. <ul>
  541. <li>You inserted the coins quickly. Please wait at least 1 second before inserting the next coin.</li>
  542. <li>Before pressing the <button type="button" class="btn btn-success btn-sm btn-faq">Start Internet</button> button, please check if the amount was displayed on the page itself. </li>
  543. </ul>
  544. </li>
  545. <li>
  546. <b>When I click the Insert Coin button, the Insert Coin instruction page did not appear. Why?</b>
  547. <ul>
  548. <li>There might be still other customers who pressed the Insert Coin Button on their own device. Wait for at least 30 seconds. <small>Our vending machine can detect if other user has still pending "Insert Coin" session.</small></li>
  549. <li>Try to refresh the page.</li>
  550. </ul>
  551. </li>
  552. <li>
  553. <b>Can I pause my time?</b>
  554. <ul>
  555. <li>Yes you can pause your own time. Please click the <button type="button" class="btn btn-danger btn-sm btn-faq">Pause Time</button> button before disconnecting the WiFI.</li>
  556. <li>When there is no internet connection, please pause your time.</li>
  557. </ul>
  558. </li>
  559. <li>
  560. <b>I paused my time, how do I connect again?</b>
  561. <ul>
  562. <li>Please click the <button type="button" class="btn btn-danger btn-sm btn-faq">Resume Time</button> button to continue.</li>
  563. </ul>
  564. </li>
  565. <li>
  566. <b>What is a Voucher?</b>
  567. <ul>
  568. <li>You can purchase a voucher so that you can use it later. This is useful so that you don't have to go physically in the vending machine every time. To avail this, click the <button type="button" class="btn btn-success btn-sm btn-faq">Buy Voucher</button> button.</li>
  569. <li>During promos we may send you a voucher code. Please type in the voucher code text box and click submit.</li>
  570. </ul>
  571. </li>
  572. </ol>
  573. </div>
  574. </div>
  575. <div class="modal-footer">
  576. <button id="policy_agree" type="button" class="btn btn-success" data-dismiss="modal">I Agree</button>
  577. <button id="policy_disagree" type="button" class="btn btn-danger" data-dismiss="modal">I don't Agree</button>
  578. </div>
  579. </div>
  580. </div>
  581. </div>
  582.  
  583. <div id="eloadannouncer"> </div>
  584. <div id="eloadprocess_announce"> </div>
  585. <div id="auto_process"> </div>
  586. <div id="balanceinquiry_announcer"> </div>
  587.  
  588.  
  589. <!-- END Policy Modal -->
  590. <div id="info_disagree" class="hidden text-center" style="max-width:500px;margin:auto">
  591. <h4 class="text-danger">You have to agree with our Terms of Service to have an internet access.</h4>
  592. <h6 class="text-info">Please contact the owner if you have special concerns.</h6>
  593. <br>
  594. <div class="row">
  595. <div class="col-md-12">
  596. <button type="button" class="btn btn-info button-rnd policy_view" data-toggle="modal" data-target="#policy">Click Here to View Terms of Service</button>
  597. </div>
  598. </div>
  599. <br><br>
  600. </div>
  601. <footer class="footer" style="margin:auto;max-width: 500px;position: relative;">
  602. Powered By: <a href="http://www.edit.com" target="_blank" >Edit</a>
  603. <div class="text-left" style="font-size:80%;">
  604. <div class="row">
  605. <div class="col-xs-6 footer-desc" style="width:50%">
  606. <i class="fa fa-file-o"></i> <a class="policy_view" href="#" data-toggle="modal" data-target="#policy">Terms of Service</a><br>
  607. <i class="fa fa-facebook-f"></i> <a href="http://facebook.com/edit" target="_blank">facebook.com/edit</a><br>
  608. </div>
  609. <div class="col-xs-6 footer-desc" style="width:50%">
  610. <i class="fa fa-phone-square"></i> 09123456789<br>
  611. <i class="fa fa-at"></i> admin@admin.com<br>
  612. <i class="fa fa-map-marker"></i> Bacolod City, PH<br>
  613. </div>
  614. </div>
  615. </div>
  616. </footer>
  617. </div>
  618. <!-- End Container -->
  619. <script>
  620. $(document).ready(function() {
  621.  
  622. var status_style_connected = "<span class='text-success'><i class='fa fa-wifi'></i> Connected</span>";
  623. var status_style_notime = "<img width=45 src='images/disabled2.png' style='margin-top:-3px;'><span class='text-danger'> Disconnected</span>";
  624. var status_style_pause = "<span class='text paused'><i class='fa fa-pause blink pause-button'></i> <span class=''>Time Pause</span></span>";
  625.  
  626. $(".conn_status").hide();
  627. $('.btn-blocks').addClass('disabled');
  628. if($.trim($(".conn_status").text().toLowerCase()) == "no-time"){
  629.  
  630. //show policy modal if not registered
  631. //$('#policy').modal({
  632. // backdrop: 'static',
  633. //keyboard: false,
  634. //show: true
  635. // });
  636.  
  637. //change button text for insert coin
  638. $('#insert_coin_button').text("Insert Coin");
  639. $('#insert_coin_button').addClass("button-animate");
  640.  
  641. $(".conn_status2").html(status_style_notime);
  642.  
  643. }
  644. else if($.trim($(".conn_status").text().toLowerCase()) == "connected"){
  645. $(".conn_status2").html(status_style_connected);
  646. $('#insert_coin_button').text("Insert Additional Coins");
  647. }
  648. else if($.trim($(".conn_status").text().toLowerCase()) == "paused"){
  649. $(".conn_status2").html(status_style_pause);
  650. $('#insert_coin_button').text("Insert Additional Coins");
  651. }
  652. else {
  653. $('#insert_coin_button').text("Insert Coin");
  654. $('#insert_coin_button').removeClass("button-animate");
  655. $(".conn_status2").html($.trim($(".conn_status").text()));
  656. }
  657.  
  658.  
  659. $('#policy_agree').on('click', function(e) {
  660. e.preventDefault();
  661. $('.btn-blocks').removeClass('disabled');
  662. $('#info_disagree').addClass('hidden');
  663. $('#default_container').removeClass('hidden');
  664. });
  665.  
  666. $('#policy_disagree').on('click', function(e) {
  667. e.preventDefault();
  668. $('.btn-blocks').addClass('disabled');
  669. $('#default_container').addClass('hidden');
  670. $('#info_disagree').removeClass('hidden');
  671. });
  672.  
  673. $('.policy_view').on('click', function(e) {
  674. e.preventDefault();
  675. $('.btn-blocks').addClass('disabled');
  676. $('#info_disagree').addClass('hidden');
  677. $('#default_container').removeClass('hidden');
  678. });
  679.  
  680.  
  681.  
  682.  
  683. // add spinner and disable button when click
  684. $(".btn-spinner").on('click', function(e) {
  685. //e.preventDefault();
  686. $(".btn-spinner").attr("disabled", "disabled");
  687. //$(".btn-no-spinner").attr("disabled", false);
  688. $(this).prepend('<i class="fa fa-spinner fa-spin"></i> ');
  689. });
  690.  
  691. $("#close-eload").on('click', function(e) {
  692. $(".eload-spinner").attr("disabled", false);
  693. });
  694.  
  695. $('#buyload').on('hide.bs.modal', function (e) {
  696. $(".eload-spinner").attr("disabled", false);
  697. $(".fa-spin").remove();
  698. })
  699.  
  700. $('#eloadcomplete').on('hide.bs.modal', function (e) {
  701. location.reload();
  702. })
  703.  
  704. $(".eload-spinner").on('click', function(e) {
  705. e.preventDefault();
  706. $(".eload-spinner").attr("disabled", "disabled");
  707. $(this).prepend('<i class="fa fa-spinner fa-spin"></i> ');
  708.  
  709. });
  710.  
  711.  
  712. }); //end document ready
  713.  
  714.  
  715. </script>
  716.  
  717. <?= getportalnodejs($link,$ip,$mac,$remainingTime,$pausedTime)?>
  718. </body>
  719. </html>
Add Comment
Please, Sign In to add comment