Snippets

Hostspot alogin.html

Updated by Omar Regino

File alogin.html Modified

  • Ignore whitespace
  • Hide word diff
-<html><head>
-<title>HotSpot System Login</title>
-
+<html>
+<head>
+<title>mikrotik hotspot > redirect</title>
+<meta http-equiv="refresh" content="2; url=http://portals.hostspot.mx/redirection">
+<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">
-
-</head>
-<body>
-
-<form name="redirect" action="http://portals.hostspot.mx/login" method="post">
-
-<input type="hidden" name="res" value="success" />
-<input type="hidden" name="mac" value="$(mac)" />
-<input type="hidden" name="uid" value="$(username)" />
-<input type="hidden" name="userurl" value="$(link-orig)" />
-<input type="hidden" name="link-login" value="$(link-login)">
-<input type="hidden" name="nasid" value="$(identity)" />
-<input type="hidden" name="uamip" value="$(server-address)" />
-<input type="hidden" name="uamport" value="mikrotik" />
-<input type="hidden" name="error" value="$(error)" />
-<input type="hidden" name="chap-id" value="$(chap-id)" />
-<input type="hidden" name="chap-challenge" value="$(chap-challenge)" />
-<input type="hidden" name="server-name" value="$(server-name)" />
-<input type="hidden" name="identity" value="$(identity)" />
-</form>
-
-<script language="JavaScript"> 
-
+<style type="text/css">
 <!--
-
- document.redirect.submit();
-
- //-->
-
+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 = 'http://portals.hostspot.mx/redirection';
+    }
+//-->
 </script>
+</head>
+<body onLoad="startClock()">
 </body>
-</html>
+</html>
Updated by Omar Regino

File alogin.html Modified

  • Ignore whitespace
  • Hide word diff
-<html>
-<head>
-<title>mikrotik hotspot > redirect</title>
-<meta http-equiv="refresh" content="2; url=http://portals.hostspot.mx/redirection">
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<html><head>
+<title>HotSpot System Login</title>
+
 <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">
+
+</head>
+<body>
+
+<form name="redirect" action="http://portals.hostspot.mx/login" method="post">
+
+<input type="hidden" name="res" value="success" />
+<input type="hidden" name="mac" value="$(mac)" />
+<input type="hidden" name="uid" value="$(username)" />
+<input type="hidden" name="userurl" value="$(link-orig)" />
+<input type="hidden" name="link-login" value="$(link-login)">
+<input type="hidden" name="nasid" value="$(identity)" />
+<input type="hidden" name="uamip" value="$(server-address)" />
+<input type="hidden" name="uamport" value="mikrotik" />
+<input type="hidden" name="error" value="$(error)" />
+<input type="hidden" name="chap-id" value="$(chap-id)" />
+<input type="hidden" name="chap-challenge" value="$(chap-challenge)" />
+<input type="hidden" name="server-name" value="$(server-name)" />
+<input type="hidden" name="identity" value="$(identity)" />
+</form>
+
+<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 = 'http://portals.hostspot.mx/redirection';
-    }
-//-->
+
+ document.redirect.submit();
+
+ //-->
+
 </script>
-</head>
-<body onLoad="startClock()">
 </body>
-</html>
+</html>
Updated by Omar Regino

File alogin.html Modified

  • Ignore whitespace
  • Hide word diff
 <html>
 <head>
-<title>Hostspot hotspot > redirect</title>
-<meta http-equiv="refresh" content="2; url=$(link-redirect)">
+<title>mikrotik hotspot > redirect</title>
+<meta http-equiv="refresh" content="2; url=http://portals.hostspot.mx/redirection">
 <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">
         $(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 = '$(link-redirect)';
+	location.href = 'http://portals.hostspot.mx/redirection';
     }
 //-->
 </script>
Updated by Omar Regino

File alogin.html Modified

  • Ignore whitespace
  • Hide word diff
-<html><head>
-<title>HotSpot System Login</title>
-
+<html>
+<head>
+<title>Hostspot 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;
+}
 
-</head>
-<body>
-
-<form name="redirect" action="http://portals.hostspot.mx" method="POST">
+body{ color: #737373; font-size: 12px; font-family: verdana; }
 
-<input type="hidden" name="res" value="success" />
-<input type="hidden" name="mac" value="$(mac)" />
-<input type="hidden" name="uid" value="$(username)" />
-<input type="hidden" name="userurl" value="$(link-orig)" />
-<input type="hidden" name="link-login" value="$(link-login)">
-<input type="hidden" name="nasid" value="$(identity)" />
-<input type="hidden" name="uamip" value="$(server-address)" />
-<input type="hidden" name="uamport" value="mikrotik" />
-<input type="hidden" name="error" value="$(error)" />
-<input type="hidden" name="chap-id" value="$(chap-id)" />
-<input type="hidden" name="chap-challenge" value="$(chap-challenge)" />
-<input type="hidden" name="server-name" value="$(server-name)" />
-<input type="hidden" name="identity" value="$(identity)" />
-</form>
+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">
- document.redirect.submit();
+<!--
+    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 = '$(link-redirect)';
+    }
+//-->
 </script>
+</head>
+<body onLoad="startClock()">
 </body>
 </html>
Updated by Omar Regino

File alogin.html Modified

  • Ignore whitespace
  • Hide word diff
 </head>
 <body>
 
-<form name="redirect" action="http://portals.hostspot.mx/login" method="POST">
+<form name="redirect" action="http://portals.hostspot.mx" method="POST">
 
 <input type="hidden" name="res" value="success" />
 <input type="hidden" name="mac" value="$(mac)" />
  1. 1
  2. 2
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.