Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html>
- <head>
- <title>PMPL Broadband</title>
- <link rel="stylesheet" href="css/style.css">
- <script type="text/javascript" src="./md5.js"></script>
- <script type="text/javascript" src="jquery-1.11.1.min.js"></script>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta http-equiv="pragma" content="no-cache" />
- <meta http-equiv="expires" content="-1" />
- <script type="text/javascript">
- function afterLogin() {
- document.getElementById('wlcm').style.display = 'none';
- document.getElementById('lblmsgs').style.display = 'block';
- //document.getElementById('lblmsgs').innerHTML = 'Welcome To Pacenet Broadband';
- document.getElementById('dvlogout').style.display = 'block';
- document.getElementById('dvlogin').style.display = 'none';
- return false;
- }
- function afterLogout() {
- document.getElementById('lblmsgs').style.display = 'block';
- document.getElementById('lblmsgs').innerHTML = 'Logout Successfully Done.';
- document.getElementById('lblmsgs1').style.display = 'block';
- document.getElementById('dvlogout').style.display = 'none';
- document.getElementById('dvlogin').style.display = 'block';
- return false;
- }
- $(document).ready(function () {
- if ($("#LoginMessage").html() == "Success") {
- afterLogin();
- }
- if ($("#LogoutMessage").html() == "Success") {
- afterLogout();
- }
- if ($("#hdnPartnerID").val() > 0) {
- $('#divbackimg').css("background-image", "url(images/mb1.png)");
- }
- });
- </script>
- <script type="text/javascript">
- function doLogin() {
- $.ajax({
- type: "POST",
- url: "Register.aspx?CheckCustomerStatus=1",
- data: { mobileNo: $("#username").val(), passwoRd: $("#password").val() }
- })
- .done(function (msg) {
- if (msg == "Inactive") {
- //document.getElementById('RenewalBox').style.display = 'block';
- //document.getElementById('loginBox').style.display = 'none';
- //document.getElementById('logoBox').style.display = 'none';
- //alert("Your account is inactive.");
- $("#dvErrMsg").html("Your account is inactive.");
- return false;
- }
- else if (msg == "Terminated") {
- //alert("Your account is terminated.");
- $("#dvErrMsg").html("Your account is terminated.");
- return false;
- }
- else if (msg == "Suspended") {
- //alert("Your account is suspended.");
- $("#dvErrMsg").html("Your account is suspended.");
- return false;
- }
- else if (msg == "Active") {
- document.sendin.username.value = document.login.username.value;
- document.sendin.password.value = hexMD5('' + document.login.password.value + '');
- document.sendin.password.value = document.login.password.value;
- document.sendin.submit();
- afterlogin();
- return false;
- } else if (msg == "") {
- $("#dvErrMsg").html("Please enter correct username or password.");
- return false;
- }
- else {
- $("#dvErrMsg").html(msg);
- //alert();
- }
- });
- return false;
- }
- function logoutClick() {
- $("#username").val("");
- $("#password").val("");
- document.logout.submit();
- return false;
- }
- function clearMsg() {
- if ($("#dvErrMsg") != null) {
- $("#dvErrMsg").html("");
- }
- }
- $("#btnLogin").click(function (event) {
- event.preventDefault();
- $('form').fadeOut(500);
- $('.wrapper').addClass('form-success');
- });
- </script>
- </head>
- <body style="background-color: #53e3a6;">
- <div style="display: none; visibility: hidden;">
- <input name="hdnIPAddress" type="hidden" id="hdnIPAddress" value="0" />
- <input name="hdnMACAddress" type="hidden" id="hdnMACAddress" value="0" />
- <input name="hdnStatusURL" type="hidden" id="hdnStatusURL" value="0" />
- <input name="hdnURL" type="hidden" id="hdnURL" value="0" />
- <input name="hdnResellerID" type="text" id="hdnResellerID" style="display: none" value="0" />
- <input name="hdnPartnerID" type="text" id="hdnPartnerID" style="display: none" value="0" />
- <input name="hotspotID" type="text" id="hotspotID" style="display: none" value="0" />
- <input name="hndPortalURL" type="text" id="hndPortalURL" style="display: none" />
- <input name="Locid" type="text" id="Locid" style="display: none" />
- <input name="ApMacId" type="text" id="ApMacId" style="display: none" />
- <label id="hndRespMsg" type="text"></label>
- <label id="hndReqId" type="text"></label>
- <label id="hndusername" type="text"></label>
- <label id="hndpassword" type="text"></label>
- <label id="LoginMessage" type="text"></label>
- <label id="LogoutMessage" type="text"></label>
- <input type="hidden" name="mac" id="mac" value="" />
- <input type="hidden" name="ip" id="ip" value="" />
- <input type="hidden" name="sessionid" id="sessionid" value="" />
- <input type="hidden" name="called" id="called" value="" />
- <input type="hidden" name="nasid" id="nasid" value="" />
- <input type="hidden" name="mod" id="mod" value="proceed" />
- <input type="hidden" name="type" id="type" value="1" />
- </div>
- <div class="header">
- <ul class="contactPan">
- <li id="PhoneNo" class="phone">033-40291100 for technical assistance</li>
- <li class="mail"><a href="#" id="MailId">helpdesk@meghbelabroadband.com</a></li>
- <li><a href="http://www.multireach.in/" id="site" target="_blank" style="display:none;">www.multireach.in</a></li>
- </ul>
- <div id="img" class="logo">
- <a href="http://pmplbroadband.com/" target="_blank">
- <img src="/captiveportal/images/PMPL Logo.png" id="imgLogo" />
- www.pmplbroadband.com</a>
- </div>
- </div>
- <div class="wrapper">
- <div class="actionPan">
- <ul id="tab">
- <li class="myPage"><a href="http://mypage.meghbelabroadband.in/Customer/Default.aspx" target="_blank">My Page</a></li>
- <li class="googlePlay"><a href="https://play.google.com/store/apps/details?id=com.subscriber.pmpl" target="_blank">Google Play</a></li>
- </ul>
- </div>
- <div class="container" id="divbackimg">
- <h1 id="wlcm">Welcome</h1>
- <h2>
- <label id="lblmsgs" style="display: none;">Welcome To Meghbela Broadband</label></h2>
- <h4>
- <label id="lblmsgs1" style="display: none;">For any Quaries & Complain Please Visit My Page & Download App</label></h4>
- <span id="lblusername"></span>
- <div id="dvlogin">
- <div style="color: red; height: 0px; text-align: center" id="dvErrMsg"> </div>
- <form name="login" action="http://10.10.0.1/login" method="post">
- <input type="hidden" name="dst" value="" />
- <input type="hidden" name="popup" value="true" />
- <input id="username" name="username" type="text" value="" placeholder="Username" />
- <input id="password" name="password" type="password" placeholder="Password" />
- <input type="hidden" name="radius1-44115" value="1" />
- <button type="submit" id="btnLogin" onclick="javascript: return doLogin();">Login</button>
- </form>
- </div>
- <div id="dvlogout" style="display: none; z-index: 1000; position: relative;">
- <br />
- <br />
- <form name="logout" action="" method="post">
- <input type="text" placeholder="Username" value="" class="input">
- <button type="submit" onclick="javascript: return logoutClick();" class="button">Logout</button>
- <input type="hidden" name="dst" value="" />
- <input type="hidden" name="popup" value="true" />
- </form>
- </div>
- <form name="sendin" action="http://10.10.0.1/login" method="post">
- <input type="hidden" name="username" id="actualusername" />
- <input type="hidden" name="password" id="actualpassword" />
- <input type="hidden" name="dst" value="" />
- <input type="hidden" name="popup" value="true" />
- <input type="hidden" name="radius1-44115" value="1" />
- </form>
- </div>
- <ul class="bg-bubbles">
- <li></li>
- <li></li>
- <li></li>
- <li></li>
- <li></li>
- <li></li>
- <li></li>
- <li></li>
- <li></li>
- <li></li>
- </ul>
- </div>
- <div style="font-size: 15px; margin-left: 30%; font-weight: bold; margin-top: 22px; letter-spacing: 1px;">For Login & Logout Page please visit to 10.10.0.1 !!! Happy Surfing.</div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment