Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------------------HTML FILE FOR CAPTIVE PORTAL----------------------------------------------
- <html>
- <head>
- <title>Captive Portal</title>
- <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 language="JavaScript" src="/javascript/cyberoamAjax.js"></script>
- <script language="JavaScript">
- var message = "";
- var status = "LOGIN";
- var ack = "";
- var userName = "";
- userName = userName.replace(new RegExp("''", 'g'),"'")
- var password = "";
- var timer="";
- var liveReqTimeInJS=180;
- </script>
- <script language="JavaScript" src="/javascript/validation/httpclient.js?ver=56469"></script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><!--[if lte IE 8]><link rel="stylesheet" type="text/css" href="1.css" /><![endif]--><link rel="stylesheet" href="1.css" /></head><script language='JavaScript'>document.title='Captive Portal'; var port=80;var httpsport=443;var redirectTo='';var preserveCaptivePortal='';var guestUserEnabled = false;var enablefullcustomization = false;var myAccountLink = true;</script><script language='JavaScript' src='/javascript/validation/oncloselogout.js?ver=94702'></script><body class='bodyclass' style='background:#FFFFFF;font-family: Arial;font-size: 12px;color:#565656;'><div class = 'headerdiv'><table width='100%' cellspacing='0' cellpadding='0'><tr><td style='color:#565656' align='center' valign='middle'><div id="header" style="background:#900000 ; height:75px; width:80%; text-align:center; font-size:28px; padding-top:15px;-moz-box-shadow: 10px 10px 5px #888;
- -webkit-box-shadow: 10px 10px 5px #888;
- box-shadow: 10px 10px 5px #888;border-top-left-radius: 5px;
- border-top-right-radius: 10px;
- border-bottom-right-radius: 20px;
- border-bottom-left-radius: 15px; margin-left:10px; color:#FFFFFF; filter: progid:DXImageTransform.Microsoft.Shadow(color=#000000,direction=135,strength=10);">Welcome to Symbiosis Institute of Computer Studies & Research </div></td></tr></table></div><form name='frmHTTPClientLogin' target='_parent' method='post' onSubmit='return checkSubmit();' action='httpclient.html'><input type='hidden' value='191' name='mode'/><div align='center' class = 'maindiv'> <div class='imageblock' bgcolor='#FFFFFF' style='color: #336699'><div class ='image'> <a href='http://www.cyberoam.com' target='_blank'><img id='logo' name='logo' border='0' src='1.pngd'></a> </div><div class='headerclass' id='loginboxtitle' style='background-color:#FFFFFF;color: #336699;' >SICSR</div> <div class='clear'></div></div> <div class='datablock'><div id='msgDiv' align='left' class='msgdiv'></div> <div class='table'> <table cellpadding='1' cellspacing='1' border='0' align='center'> <tr id='usernamelbl'><td style='color:#1B14FF;text-align:left;'><label >Username</label></td></tr><tr id='usernametxt'><td><input type='text' name='username' maxlength='50' class='textbox' ></td></tr><tr id='passwordlbl'><td style='color:#1B14FF;text-align:left;'><label>Password</label></td></tr><tr><td><input type='password' name='password' autocomplete='off' class='textbox'></td></tr><tr><td><input type='submit' name='btnSubmit' value='Login' id='logincaption' class='button' style='color:#1B14FF' /></td></tr></table></div> <div class ='redirectcss'><ul><li class='liformyaccount' id='accountAncLI' style='color:#1B14FF'><a href='#' style='color: #1B14FF;text-decoration: none;' target='_new'
- id='accountAnc'>Click here for User My Account</a></li></ul><ul><li id='registerLinkLI' class='liforusername' style='color:#1B14FF'><a href='#' style='color:#1B14FF;text-decoration: none;' id='registerLink'>Click here to get a username to access the Internet</a></li></ul><div id='redirecturl' style='font-size: 11px;font-weight: bold;margin-left: -25px;'><a href='#' style='color: #1B14FF;text-decoration: none;' id='accountAnc'></a></div></div><div class='clear'></div></div><div class = 'noteblock'> <div class = 'notefont' style='display:'';'> Note : Do not close this window, closing this window will log you out. </div></div><div class='clear'></div> </div>
- <br><br><br>
- <div class = 'headerdiv'><table width='100%' cellspacing='0' cellpadding='0'><tr><td height='50px;' style='color:#565656' align='center' valign='middle'><div id="Footer" style="background:#800000 ; height:75px; width:80%; text-align:center; font-size:20px; padding-top:15px;-moz-box-shadow: 10px 10px 5px #888;
- -webkit-box-shadow: 10px 10px 5px #888;
- box-shadow: 10px 10px 5px #888;border-top-left-radius: 10px;
- border-top-right-radius: 10px;
- border-bottom-right-radius: 20px;
- border-bottom-left-radius: 15px; margin-left:10px; color:#FFFFFF; filter:progid:DXImageTransform.Microsoft.Shadow(color=#000000,direction=135,strength=10);behavior:url(border-radius.htc); ">Donot Close CAPTIVE PORTAL Tab after Login... Open a New TAB for Surfing....In Case of any query Please Contact to SICSR IT Department </div></td></tr></table></div><script language='JavaScript'>loginValue = 'Login';logoutValue = 'Logout';setHREF();</script><div id="arrivedMsgDiv" style="display:none"></div></form></body></html><script language="Javascript">document.forms[0].password.setAttribute("maxLength",60);</script>
- -------------------------------------------CSS FOR CAPTIVE PORTAL-------------------------------------------------------
- .datablock {padding:2%;}
- .noteblock {padding:2%;}
- .clear { clear: both;}
- /* =Responsive Images
- -------------------------------------------------------------- */
- img {
- -ms-interpolation-mode: bicubic;
- border: 0;
- height: auto;
- max-width: 100%;
- vertical-align: middle;
- }
- .ie8 img {
- height: auto;
- width: auto\9;
- }
- .ie8 img.size-large {
- max-width: 60%;
- width: auto;
- }
- @media screen and (max-width: 240px) {
- .block {width : 100%; float: left;}
- .datablock { margin: 10px 0px; width : 100%; float : left;}
- .noteblock {width : 100%; float : left;}
- .maindiv{
- background: #FFFFFF;
- margin-top: 5%;
- width: 150px !important;
- height:auto;
- margin: 0 auto;
- margin-top : 5%;
- padding: 5% 1%;
- }
- .headerdiv{
- width: 150px !important;
- height:auto;
- overflow: auto;
- }
- .headerclass{
- margin: 8% 0 !important;
- width: 100% !important;
- font-weight: bold !important;
- font-size : 12px !important;
- max-height: 50px;
- overflow: hidden;
- }
- .tablecss{
- width: 45% !important;
- font-weight: bold;
- font-size : 11px !important;
- float: left;
- }
- .redirectcss{
- float : right;
- width : 100% !important;
- height : 110px;
- margin-top: 10px;
- }
- .button{
- font-weight: bold;
- background-color:#BBBBBB;
- border: 1px solid #CCCCCC;
- font-weight: bold;
- min-width: 100px;
- padding-top:3px;
- padding-bottom: 3px;
- margin-top: 10px;
- font-size: 12px;
- }
- .textbox{
- border: 1px solid #CCCCCC;
- padding-top:3px;
- padding-bottom: 3px;
- width: 160px !important;
- font-size: 13px !important;
- line-height: 25px !important;
- }
- .notefont{
- font-weight: bold;
- color: #FD0000;
- font-size: 8px !important;
- margin-top: 12px;
- }
- .note{ FONT-WEIGHT: bold;
- FONT-SIZE: 11px;
- COLOR: green;
- FONT-FAMILY: tahoma,arial,san-serif;
- TEXT-DECORATION: none
- }
- .errorfont{
- FONT-SIZE: 12px;
- COLOR: red;
- FONT-FAMILY: tahoma,arial,san-serif;
- TEXT-DECORATION: none
- }
- .liformyaccount{
- font-size: 11px;
- font-weight: bold;
- /* margin-left: -25px; */
- }
- .liforusername{
- font-size: 11px;
- font-weight: bold;
- /* margin-left: -25px; */
- }
- .msgdiv{
- text-align: center;
- }
- .msgdivForCHALLENGE{
- margin-right: 0px !important;
- text-align: center;
- }
- }
- @media screen and (max-width: 320px) {
- .block {width:100%; float: left;}
- .datablock {width : 100%; float : left; padding:1% !important;}
- .noteblock {width : 100%; float : left;}
- body {font-family: Arial;font-size: 9px;}
- .maindiv{
- background: #FFFFFF;
- margin-top: 5%;
- width: 200px !important;
- height:auto;
- margin: 0 auto;
- margin-top : 5%;
- padding: 5% 1%;
- }
- .headerdiv{
- width: 200px !important;
- height:auto;
- overflow: auto;
- }
- .headerclass{
- margin: 8% 0 !important;
- width: 100% !important;
- font-weight: bold !important;
- font-size : 12px !important;
- max-height: 50px;
- overflow: hidden;
- }
- .tablecss{
- width: 45%!important;
- font-weight: bold;
- font-size : 11px !important;
- float: left;
- }
- .redirectcss{
- float : right;
- width : 100% !important;
- height : 110px;
- margin-top: 10px;
- }
- .button{
- font-weight: bold;
- background-color:#BBBBBB;
- border: 1px solid #CCCCCC;
- font-weight: bold;
- min-width: 100px;
- padding-top:3px;
- padding-bottom: 3px;
- margin-top: 10px;
- font-size: 12px;
- }
- .textbox{
- border: 1px solid #CCCCCC;
- padding-top:3px;
- padding-bottom: 3px;
- width: 190px !important;
- font-size: 13px !important;
- line-height: 25px !important;
- }
- .notefont{
- font-weight: bold;
- color: #FD0000;
- font-size: 10px !important;
- margin-top: 12px;
- }
- .image{
- float: none !important;
- width : 100%;
- }
- .note{ FONT-WEIGHT: bold;
- FONT-SIZE: 11px;
- COLOR: green;
- FONT-FAMILY: tahoma,arial,san-serif;
- TEXT-DECORATION: none
- }
- .errorfont{
- FONT-SIZE: 12px;
- COLOR: red;
- FONT-FAMILY: tahoma,arial,san-serif;
- TEXT-DECORATION: none
- }
- .liformyaccount{
- font-size: 11px;
- font-weight: bold;
- /* margin-left: -25px; */
- }
- .liforusername{
- font-size: 11px;
- font-weight: bold;
- /* margin-left: -25px; */
- }
- .msgdiv{
- text-align: center;
- }
- .msgdivForCHALLENGE{
- margin-right: 0px !important;
- text-align: center;
- }
- }
- @media screen and (max-width: 480px) {
- .block {width:100%; float: left;}
- .datablock {width : 100%; float : left; padding:1% !important;}
- .noteblock {width : 100%; float : left;}
- body {font-family: Arial;font-size: 10px;}
- .maindiv{
- background: #FFFFFF;
- margin-top: 5%;
- width: 300px !important;
- height:auto;
- margin: 0 auto;
- margin-top : 5%;
- padding: 5% 1%;
- }
- .headerdiv{
- width: 300px !important;
- height:auto;
- overflow: auto;
- }
- .headerclass{
- margin: 8% 0 !important;
- width: 100% !important;
- font-weight: bold !important;
- font-size : 13px !important;
- max-height: 50px;
- overflow: hidden;
- }
- .tablecss{
- width: 49%;
- font-weight: bold;
- font-size : 12px;
- float: left;
- }
- .redirectcss{
- float : right;
- width : 100% !important;
- height : 110px;
- margin-top: 10px;
- }
- .button{
- font-weight: bold;
- background-color:#BBBBBB;
- border: 1px solid #CCCCCC;
- font-weight: bold;
- min-width: 100px;
- padding-top:3px;
- padding-bottom: 3px;
- margin-top: 10px;
- font-size: 12px;
- }
- .textbox{
- border: 1px solid #CCCCCC;
- padding-top:3px;
- padding-bottom: 3px;
- width: 200px;
- font-size: 13px !important;
- line-height: 25px !important;
- }
- .notefont{
- font-weight: bold;
- color: #FD0000;
- font-size: 9px !important;
- margin-top: 12px;
- }
- .image{
- float: none !important;
- width : 100%;
- }
- .note{ FONT-WEIGHT: bold;
- FONT-SIZE: 11px;
- COLOR: green;
- FONT-FAMILY: tahoma,arial,san-serif;
- TEXT-DECORATION: none
- }
- .errorfont{
- FONT-SIZE: 12px;
- COLOR: red;
- FONT-FAMILY: tahoma,arial,san-serif;
- TEXT-DECORATION: none
- }
- .liformyaccount{
- font-size: 11px;
- font-weight: bold;
- /* margin-left: -82px; */
- }
- .liforusername{
- font-size: 11px;
- font-weight: bold;
- /* margin-left: 30px; */
- }
- .msgdiv{
- text-align: center;
- }
- .msgdivForCHALLENGE{
- margin-right: 0px !important;
- text-align: center;
- }
- }
- @media screen and (max-width: 650px) {
- body {font-family: Arial;font-size: 11px;}
- .block {width:100%; float: left;}
- .datablock {width : 100%; float : left; padding:1% !important;}
- .noteblock {width : 100%; float : left;}
- .maindiv{
- background: #FFFFFF;
- margin-top: 5%;
- box-shadow: none !important;
- border: none !important;
- width: 60% !important;
- margin: 0 15%;
- padding: 5% 1%;
- }
- .headerdiv{
- width: 80% !important;
- height:auto;
- overflow: auto;
- }
- .headerclass{
- width: 180px;
- font-weight: bold;
- font-size : 14px;
- margin: 8% 0 !important;
- max-height: 50px;
- overflow: hidden;
- }
- .tablecss{
- width: 49%;
- font-weight: bold;
- font-size : 12px;
- float: left;
- }
- .redirectcss{
- float : right;
- width :100% !important;
- height : 110px;
- margin-top: 10px;
- }
- .button{
- font-weight: bold;
- background-color:#BBBBBB;
- border: 1px solid #CCCCCC;
- font-weight: bold;
- min-width: 100px;
- padding-top:3px;
- padding-bottom: 3px;
- margin-top: 10px;
- font-size: 12px;
- }
- .textbox{
- border: 1px solid #CCCCCC;
- padding-top:3px;
- padding-bottom: 3px;
- width: 200px;"
- font-size: 11px !important;
- line-height:20px;
- }
- .notefont{
- font-weight: bold;
- color: #FD0000;
- font-size: 12px;
- margin-top: 12px;
- }
- .note{ FONT-WEIGHT: bold;
- FONT-SIZE: 11px;
- COLOR: green;
- FONT-FAMILY: tahoma,arial,san-serif;
- TEXT-DECORATION: none
- }
- .errorfont{
- FONT-SIZE: 12px;
- COLOR: red;
- FONT-FAMILY: tahoma,arial,san-serif;
- TEXT-DECORATION: none
- }
- .liformyaccount{
- font-size: 11px;
- font-weight: bold;
- /* margin-left: -82px; */
- }
- .liforusername{
- font-size: 11px;
- font-weight: bold;
- /* margin-left: 30px; */
- }
- .msgdiv{
- text-align: center;
- }
- .msgdivForCHALLENGE{
- margin-right: 0px !important;
- text-align: center;
- }
- }
- @media screen and (max-width: 980px) {
- body {font-family: Arial;font-size: 12px;}
- .block {width:100%; float: left;}
- .datablock {width : 100%; float : left;}
- .noteblock {width : 100%; float : left;}
- .loginboxtitle { float: none !important;}
- .maindiv{
- background: #FFFFFF;
- margin-top: 5%;
- box-shadow: 0px 0px 10px #666666;
- border: 1px solid #CCCCCC;
- width: 70% !important;
- margin: 6% 12% !important;
- padding: 5% 1%;
- }
- .headerdiv{
- width: 100% !important;
- height:auto;
- overflow: auto;
- }
- .headerclass{
- /* float: left; */
- font-size: 20px;
- font-weight: bold;
- margin-top: 20px;
- max-height: 50px;
- overflow: hidden;
- width: 100% !important;
- }
- .tablecss{
- width: 100% !important;
- font-weight: bold;
- font-size : 13px;
- float: none !important;
- }
- .redirectcss{
- float : right;
- width : 90%;
- height : 70px;
- margin-top: 10px;
- }
- .button{
- font-weight: bold;
- background-color:#BBBBBB;
- border: 1px solid #CCCCCC;
- font-weight: bold;
- min-width: 100px;
- padding-top:3px;
- padding-bottom: 3px;
- margin-top: 10px;
- font-size: 12px;
- }
- .textbox{
- border: 1px solid #CCCCCC;
- padding-top:3px;
- padding-bottom: 3px;
- width: 200px;
- font-size: 11px !important;
- line-height:15px;
- }
- .notefont{
- font-weight: bold;
- color: #FD0000;
- font-size: 12px;
- margin: 2% 0 !important;
- }
- .image{
- float: none !important;
- width : 100%;
- }
- .note{ FONT-WEIGHT: bold;
- FONT-SIZE: 11px;
- COLOR: green;
- FONT-FAMILY: tahoma,arial,san-serif;
- TEXT-DECORATION: none
- }
- .errorfont{
- FONT-SIZE: 12px;
- COLOR: red;
- FONT-FAMILY: tahoma,arial,san-serif;
- TEXT-DECORATION: none
- }
- .liformyaccount{
- font-size: 11px;
- font-weight: bold;
- /* margin-left: -82px; */
- text-align: left;
- }
- .liforusername{
- font-size: 11px;
- font-weight: bold;
- /* margin-left: -25px; */
- text-align: left;
- }
- .msgdiv{
- text-align: center;
- }
- .msgdivForCHALLENGE{
- text-align: center;
- }
- }
- @media screen and (min-width: 980px){
- .block {width:100%; float: left;}
- .datablock {width : 100%; float : left;}
- .noteblock {width : 100%; float : left;}
- body {font-family: Arial;font-size: 13px;}
- .maindiv{
- background: #FFFFFF;
- margin-top: 5%;
- box-shadow: 0px 0px 10px #666666;
- border: 1px solid #CCCCCC;
- width: 500px;
- margin: 0 auto;
- margin-top : 5%;
- padding: 3% 1%;
- }
- .headerdiv{
- width: 100%;
- height:auto;
- overflow: auto;
- }
- .headerclass{
- float: left;
- font-size: 20px;
- font-weight: bold;
- margin-top: 20px;
- max-height: 50px;
- overflow: hidden;
- width: 55%;
- }
- .image{
- float : right;
- width : 30%;
- }
- .tablecss{
- width: 49%;
- font-weight: bold;
- font-size : 12px;
- float: left;
- }
- .redirectcss{
- float : right;
- width : 49%;
- height : 70px;
- margin-top: 10px;
- }
- .button{
- font-weight: bold;
- background-color:#BBBBBB;
- border: 1px solid #CCCCCC;
- font-weight: bold;
- min-width: 100px;
- padding-top:3px;
- padding-bottom: 3px;
- margin-top: 10px;
- font-size: 12px;
- }
- .textbox{
- border: 1px solid #CCCCCC;
- padding-top:3px;
- padding-bottom: 3px;
- width: 200px;
- font-size: 11px !important;
- line-height:15px;
- }
- .notefont{
- font-weight: bold;
- color: #FD0000;
- font-size: 12px;
- margin: 2% 0;
- }
- .note{
- FONT-WEIGHT: bold;
- FONT-SIZE: 11px;
- COLOR: green;
- FONT-FAMILY: tahoma,arial,san-serif;
- TEXT-DECORATION: none
- }
- .errorfont{
- FONT-SIZE: 12px;
- COLOR: red;
- FONT-FAMILY: tahoma,arial,san-serif;
- TEXT-DECORATION: none
- }
- .liformyaccount{
- font-size: 11px;
- font-weight: bold;
- /* margin-left: -82px; */
- text-align: left;
- }
- .liforusername{
- font-size: 11px;
- font-weight: bold;
- /* margin-left: -25px; */
- text-align: left;
- }
- .msgdiv{
- text-align: center;
- }
- .msgdivForCHALLENGE{
- text-align: left;
- margin-left: 20px;
- }
- }
Add Comment
Please, Sign In to add comment