Advertisement
Guest User

Untitled

a guest
Jul 10th, 2017
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 9.65 KB | None | 0 0
  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <meta http-equiv="Content-Style-Type" content="text/css" />
  5. <title>WISH NET BROADBAND</title>
  6.  
  7. <link href="style.css" rel="stylesheet" type="text/css" />
  8. <link href="layout.css" rel="stylesheet" type="text/css" />
  9. <link rel="stylesheet" type="text/css" href="style_pop.css" />
  10. <link rel="stylesheet" type="text/css" href="style_pop_sg.css" />
  11.  
  12. <script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
  13. <script src="js/cufon-yui.js" type="text/javascript"></script>
  14. <script src="js/cufon-replace.js" type="text/javascript"></script>
  15. <script src="js/Myriad_Pro_400.font.js" type="text/javascript"></script>
  16. <script src="js/Myriad_Pro_600.font.js" type="text/javascript"></script>
  17. <script type="text/javascript" src="js/custom.js"></script>
  18. <!--<script type="text/javascript" src="js/jquery.min.js"></script>-->
  19. <!--[if lt IE 7]>
  20. <!--[if lt IE 7]>
  21.     <link href="ie_style.css" rel="stylesheet" type="text/css" />
  22. <![endif]-->
  23. <script language="JavaScript">
  24. function newCookie(Username,value,days) {
  25.      var days = 30;   // the number at the left reflects the number of days for the cookie to last
  26.                      // modify it according to your needs
  27.      if (days) {
  28.        var date = new Date();
  29.        date.setTime(date.getTime()+(days*24*60*60*1000));
  30.        var expires = "; expires="+date.toGMTString(); }
  31.        else var expires = "";
  32.        document.cookie = Username+"="+value+expires+"; path=/"; }
  33.  
  34.     function readCookie(Username) {
  35.        var nameSG = Username + "=";
  36.        var nuller = '';
  37.       if (document.cookie.indexOf(nameSG) == -1)
  38.         return nuller;
  39.  
  40.        var ca = document.cookie.split(';');
  41.       for(var i=0; i<ca.length; i++) {
  42.         var c = ca[i];
  43.         while (c.charAt(0)==' ') c = c.substring(1,c.length);
  44.       if (c.indexOf(nameSG) == 0) return c.substring(nameSG.length,c.length); }
  45.         return null; }
  46.  
  47.     function eraseCookie(Username) {
  48.       newCookie(Username,"",1); }
  49.  
  50.     function toMem(a) {
  51.         newCookie('theName', document.login.Username.value);     // add a new cookie as shown at left for every
  52.         newCookie('theEmail', document.login.Password.value);   // field you wish to have the script remember
  53.     }
  54.  
  55.     function delMem(a) {
  56.       eraseCookie('theName');   // make sure to add the eraseCookie function for every field
  57.       eraseCookie('theEmail');
  58.  
  59.        document.login.Username.value = '';   // add a line for every field
  60.        document.login.Password.value = ''; }
  61.  
  62.  
  63.     function remCookie() {
  64.     document.login.Username.value = readCookie("theName");
  65.     document.login.Password.value = readCookie("theEmail");
  66.     }
  67.  
  68.  
  69.     function addLoadEvent(func) {
  70.       var oldonload = window.onload;
  71.       if (typeof window.onload != 'function') {
  72.         window.onload = func;
  73.       } else {
  74.         window.onload = function() {
  75.           if (oldonload) {
  76.             oldonload();
  77.           }
  78.           func();
  79.         }
  80.       }
  81.     }
  82.  
  83.     addLoadEvent(function() {
  84.       remCookie();
  85.     });
  86. function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6.
  87. {
  88.   var arVersion = navigator.appVersion.split("MSIE")
  89.   var version = parseFloat(arVersion[1])
  90.   if ((version >= 5.5) && (document.body.filters))
  91.   {
  92.      for(var i=0; i<document.images.length; i++)
  93.      {
  94.         var img = document.images[i]
  95.         var imgName = img.src.toUpperCase()
  96.         if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
  97.         {
  98.            var imgID = (img.id) ? "id='" + img.id + "' " : ""
  99.            var imgClass = (img.className) ? "class='" + img.className + "' " : ""
  100.            var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
  101.            var imgStyle = "display:inline-block;" + img.style.cssText
  102.            if (img.align == "left") imgStyle = "float:left;" + imgStyle
  103.            if (img.align == "right") imgStyle = "float:right;" + imgStyle
  104.            if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
  105.            var strNewHTML = "<span " + imgID + imgClass + imgTitle
  106.            + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
  107.            + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
  108.            + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
  109.             img.outerHTML = strNewHTML
  110.             i = i-1
  111.          }
  112.       }
  113.    }    
  114. }
  115.  
  116. /* ------- Trim ------- */
  117.  
  118. function trim(str) {
  119.     return ltrim(rtrim(str));
  120. }
  121.  
  122. function ltrim(str) {
  123.     return str.replace(new RegExp("^[\\s]+", "g"), "");
  124. }
  125.  
  126. function rtrim(str) {
  127.     return str.replace(new RegExp("[\\s]+$", "g"), "");
  128. }
  129. /* ------- End of Trim ------- */
  130. function validateForm(){
  131.     var input=true;
  132.     document.login.Username.value = trim(document.login.Username.value);
  133.         if(document.login.Username.value.length==0){
  134.             alert("User Name is required.");
  135.             document.login.Username.focus();
  136.             input=false;
  137.             return false;
  138.     }
  139.     if(document.login.Password.value.length==0){
  140.         alert("Password is required.");
  141.             document.login.Password.focus();
  142.             input=false;
  143.             return false;
  144.     }
  145.     var uname = "?"+document.login.Username.value+"+/@";
  146.     var pwd = "?"+document.login.Password.value+"+/@";     
  147.     document.login.LoginName.value=encodeURIComponent(uname);
  148.     document.login.LoginPassword.value=encodeURIComponent(pwd);
  149.     if (input==true&&document.login.checker.checked)
  150.         toMem(this);
  151. }
  152. window.attachEvent("onload", correctPNG);
  153. </script>
  154. </head>
  155.  
  156.  
  157.          <!--Main Container Starts here-->
  158.        
  159.        
  160.        
  161.        
  162.         <form name="login" method="post" action="loginUI.do2" onSubmit="if (this.checker.checked) toMem(this)" id="login-form">
  163.        
  164.          
  165.  
  166.  
  167.        
  168.  
  169. <body id="page1">
  170. <!-- header -->
  171. <div id="header" align="center">
  172.     <div class="container">
  173. <!-- .logo -->
  174.         <div class="logo">
  175.             <a href="index.html"><img src="images/logo.png" alt="" /></a>
  176.         </div>
  177. <!-- /.logo -->
  178.         <div class="toll">Toll Free : <strong>1800 419 4244</strong></div>
  179.             <div class="pass">
  180.       <marquee scrollamount="2" behavior="alternate" direction="right"
  181.          height="30" width="100%">Your Default Password is <strong>wnpl123</strong> for first time only.&nbsp;Please change your password after first login.</marquee></div>
  182.           <div class="logoo">
  183.             <img src="images/pay.png" alt="" />     </div>
  184.            
  185. <!-- .nav -->
  186.         <!--<ul class="nav">
  187.             <li><a href="index.html" class="current"><span>home</span></a></li>
  188.             <li><a href="about.html"><span>about</span></a></li>
  189.             <li><a href="projects.html"><span>projects</span></a></li>
  190.             <li><a href="contacts.html"><span>Contacts</span></a></li>
  191.             <li><a href="sitemap.html"><span>SiteMap</span></a></li>
  192.         </ul>-->
  193. <!-- /.nav -->
  194. <!-- .extra-box -->
  195.         <div class="extra-box">
  196.             <div class="inner">
  197.                 <!--<p><img src="images/img2.jpg" alt="" width="192" height="105" /></p>
  198.                 <ul>
  199.                     <li><a href="#">Structural engineering</a></li>
  200.                     <li><a href="#">Building services</a></li>
  201.                     <li><a href="#">Specialist consulting</a></li>
  202.                     <li><a href="#">Urban design</a></li>
  203.                     <li><a href="#">Transportation</a></li>
  204.                    
  205.                 </ul>-->
  206.                 <!--<div class="wrapper"><a href="#" class="link1"><em><b>More Services</b></em></a></div>-->
  207.             </div>
  208.       </div>
  209. <!-- /.extra-box -->
  210. <!-- .intro-text -->
  211. <div class="intro-text">
  212. <div class="box">
  213.                     <h3>Login Form</h3>
  214.                     <div style="color:#FFFF00; font-size:12px;"><b>
  215.                                                
  216.         </b></div>
  217.                      
  218.                        
  219.                             <div class="field" align="left"><label for="text">Username:</label><input type="text" class="text" name="Username"/></div>
  220.                             <div class="field" align="left"><label for="text">Password:</label><input type="password" class="password" name="Password"/></div>
  221.                             <input  type="hidden" name="LoginName" />
  222.                             <input  type="hidden" name="LoginPassword" />
  223.                             <div class="wrapper">
  224.                                
  225.                                 <div class="fright"><input type="checkbox" name="checker" id="checker" /><label for="checkbox"> Remember</label></div><br /><br />
  226.  
  227. <input type="submit" value="Login" onClick="return validateForm()" class="submit fleft" />
  228.                             </div>
  229.                        
  230.                      
  231.       </div>
  232.       </div>
  233.         <div class="intro-textt" align="left">
  234.             <h1>EXPERIENCE  <b style="color:#333333; font-size:20px;">High Speed Internet with</b><b style="color:#999999; font-size:20px;">    <img src="images/logowish.png" width="100" /></b></h1>
  235.     <!--<b style="color:#333333; font-size:15px;">Enjoy!! Play MULTIPLAYER GAMES without INTERNET</b><b style="color:#999999; font-size:20px;"></b>        
  236. <br />-->
  237.  
  238.             <!--<p><img src="images/contact.png"  /></p>-->
  239.           <!--<div class="wrapper"><a href="#" class="button">View Our Works</a></div>-->
  240.       </div>
  241.       <div class="intro-textttt" align="right"></div>
  242.       <!--<a href="http://10.10.250.100:8080/cportal" style="color:#FFF" target="_blank"><div class="intro-textttb" align="right"></div></a>-->
  243.      <!-- <a href="index1.html" target="_blank"><div class="intro-texttts" align="right"></div>
  244.      </a>-->
  245. <!-- /.intro-text -->
  246. <!--<div class="intro-video" align="center">
  247. <a href="http://10.10.250.100:8080/cportal" style="color:#FFF" target="_blank"><div class="intro-button"></div></a>
  248. </div>--></div>
  249. </div>
  250. <!--<div class="popupbox8" id="popuprel8">
  251. <div id="intabdiv4">
  252. <h3>&nbsp;<strong></strong> <a href="http://10.10.250.100:8080/cportal" style="color:#FFF" target="_blank"><font size="+1">GO</font></a> </h3>
  253. </div>
  254. </div>-->
  255.  
  256.  
  257.  
  258.  
  259. <!-- footer -->
  260. <div id="footer">
  261.     <div class="container">
  262.          Designed by <a href="http://www.wishnet.co.in/" target="_blank">Wish Net Pvt. Ltd.</a><br />
  263.        
  264.     </div>
  265. </div>
  266. <div id="fade"></div>
  267. </form>
  268. <script type="text/javascript"> Cufon.now(); </script>
  269. </body>
  270. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement