Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta http-equiv="Content-Style-Type" content="text/css" />
- <title>WISH NET BROADBAND</title>
- <link href="style.css" rel="stylesheet" type="text/css" />
- <link href="layout.css" rel="stylesheet" type="text/css" />
- <link rel="stylesheet" type="text/css" href="style_pop.css" />
- <link rel="stylesheet" type="text/css" href="style_pop_sg.css" />
- <script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
- <script src="js/cufon-yui.js" type="text/javascript"></script>
- <script src="js/cufon-replace.js" type="text/javascript"></script>
- <script src="js/Myriad_Pro_400.font.js" type="text/javascript"></script>
- <script src="js/Myriad_Pro_600.font.js" type="text/javascript"></script>
- <script type="text/javascript" src="js/custom.js"></script>
- <!--<script type="text/javascript" src="js/jquery.min.js"></script>-->
- <!--[if lt IE 7]>
- <!--[if lt IE 7]>
- <link href="ie_style.css" rel="stylesheet" type="text/css" />
- <![endif]-->
- <script language="JavaScript">
- function newCookie(Username,value,days) {
- var days = 30; // the number at the left reflects the number of days for the cookie to last
- // modify it according to your needs
- if (days) {
- var date = new Date();
- date.setTime(date.getTime()+(days*24*60*60*1000));
- var expires = "; expires="+date.toGMTString(); }
- else var expires = "";
- document.cookie = Username+"="+value+expires+"; path=/"; }
- function readCookie(Username) {
- var nameSG = Username + "=";
- var nuller = '';
- if (document.cookie.indexOf(nameSG) == -1)
- return nuller;
- var ca = document.cookie.split(';');
- for(var i=0; i<ca.length; i++) {
- var c = ca[i];
- while (c.charAt(0)==' ') c = c.substring(1,c.length);
- if (c.indexOf(nameSG) == 0) return c.substring(nameSG.length,c.length); }
- return null; }
- function eraseCookie(Username) {
- newCookie(Username,"",1); }
- function toMem(a) {
- newCookie('theName', document.login.Username.value); // add a new cookie as shown at left for every
- newCookie('theEmail', document.login.Password.value); // field you wish to have the script remember
- }
- function delMem(a) {
- eraseCookie('theName'); // make sure to add the eraseCookie function for every field
- eraseCookie('theEmail');
- document.login.Username.value = ''; // add a line for every field
- document.login.Password.value = ''; }
- function remCookie() {
- document.login.Username.value = readCookie("theName");
- document.login.Password.value = readCookie("theEmail");
- }
- function addLoadEvent(func) {
- var oldonload = window.onload;
- if (typeof window.onload != 'function') {
- window.onload = func;
- } else {
- window.onload = function() {
- if (oldonload) {
- oldonload();
- }
- func();
- }
- }
- }
- addLoadEvent(function() {
- remCookie();
- });
- function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6.
- {
- var arVersion = navigator.appVersion.split("MSIE")
- var version = parseFloat(arVersion[1])
- if ((version >= 5.5) && (document.body.filters))
- {
- for(var i=0; i<document.images.length; i++)
- {
- var img = document.images[i]
- var imgName = img.src.toUpperCase()
- if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
- {
- var imgID = (img.id) ? "id='" + img.id + "' " : ""
- var imgClass = (img.className) ? "class='" + img.className + "' " : ""
- var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
- var imgStyle = "display:inline-block;" + img.style.cssText
- if (img.align == "left") imgStyle = "float:left;" + imgStyle
- if (img.align == "right") imgStyle = "float:right;" + imgStyle
- if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
- var strNewHTML = "<span " + imgID + imgClass + imgTitle
- + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
- + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
- + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
- img.outerHTML = strNewHTML
- i = i-1
- }
- }
- }
- }
- /* ------- Trim ------- */
- function trim(str) {
- return ltrim(rtrim(str));
- }
- function ltrim(str) {
- return str.replace(new RegExp("^[\\s]+", "g"), "");
- }
- function rtrim(str) {
- return str.replace(new RegExp("[\\s]+$", "g"), "");
- }
- /* ------- End of Trim ------- */
- function validateForm(){
- var input=true;
- document.login.Username.value = trim(document.login.Username.value);
- if(document.login.Username.value.length==0){
- alert("User Name is required.");
- document.login.Username.focus();
- input=false;
- return false;
- }
- if(document.login.Password.value.length==0){
- alert("Password is required.");
- document.login.Password.focus();
- input=false;
- return false;
- }
- var uname = "?"+document.login.Username.value+"+/@";
- var pwd = "?"+document.login.Password.value+"+/@";
- document.login.LoginName.value=encodeURIComponent(uname);
- document.login.LoginPassword.value=encodeURIComponent(pwd);
- if (input==true&&document.login.checker.checked)
- toMem(this);
- }
- window.attachEvent("onload", correctPNG);
- </script>
- </head>
- <!--Main Container Starts here-->
- <form name="login" method="post" action="loginUI.do2" onSubmit="if (this.checker.checked) toMem(this)" id="login-form">
- <body id="page1">
- <!-- header -->
- <div id="header" align="center">
- <div class="container">
- <!-- .logo -->
- <div class="logo">
- <a href="index.html"><img src="images/logo.png" alt="" /></a>
- </div>
- <!-- /.logo -->
- <div class="toll">Toll Free : <strong>1800 419 4244</strong></div>
- <div class="pass">
- <marquee scrollamount="2" behavior="alternate" direction="right"
- height="30" width="100%">Your Default Password is <strong>wnpl123</strong> for first time only. Please change your password after first login.</marquee></div>
- <div class="logoo">
- <img src="images/pay.png" alt="" /> </div>
- <!-- .nav -->
- <!--<ul class="nav">
- <li><a href="index.html" class="current"><span>home</span></a></li>
- <li><a href="about.html"><span>about</span></a></li>
- <li><a href="projects.html"><span>projects</span></a></li>
- <li><a href="contacts.html"><span>Contacts</span></a></li>
- <li><a href="sitemap.html"><span>SiteMap</span></a></li>
- </ul>-->
- <!-- /.nav -->
- <!-- .extra-box -->
- <div class="extra-box">
- <div class="inner">
- <!--<p><img src="images/img2.jpg" alt="" width="192" height="105" /></p>
- <ul>
- <li><a href="#">Structural engineering</a></li>
- <li><a href="#">Building services</a></li>
- <li><a href="#">Specialist consulting</a></li>
- <li><a href="#">Urban design</a></li>
- <li><a href="#">Transportation</a></li>
- </ul>-->
- <!--<div class="wrapper"><a href="#" class="link1"><em><b>More Services</b></em></a></div>-->
- </div>
- </div>
- <!-- /.extra-box -->
- <!-- .intro-text -->
- <div class="intro-text">
- <div class="box">
- <h3>Login Form</h3>
- <div style="color:#FFFF00; font-size:12px;"><b>
- </b></div>
- <div class="field" align="left"><label for="text">Username:</label><input type="text" class="text" name="Username"/></div>
- <div class="field" align="left"><label for="text">Password:</label><input type="password" class="password" name="Password"/></div>
- <input type="hidden" name="LoginName" />
- <input type="hidden" name="LoginPassword" />
- <div class="wrapper">
- <div class="fright"><input type="checkbox" name="checker" id="checker" /><label for="checkbox"> Remember</label></div><br /><br />
- <input type="submit" value="Login" onClick="return validateForm()" class="submit fleft" />
- </div>
- </div>
- </div>
- <div class="intro-textt" align="left">
- <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>
- <!--<b style="color:#333333; font-size:15px;">Enjoy!! Play MULTIPLAYER GAMES without INTERNET</b><b style="color:#999999; font-size:20px;"></b>
- <br />-->
- <!--<p><img src="images/contact.png" /></p>-->
- <!--<div class="wrapper"><a href="#" class="button">View Our Works</a></div>-->
- </div>
- <div class="intro-textttt" align="right"></div>
- <!--<a href="http://10.10.250.100:8080/cportal" style="color:#FFF" target="_blank"><div class="intro-textttb" align="right"></div></a>-->
- <!-- <a href="index1.html" target="_blank"><div class="intro-texttts" align="right"></div>
- </a>-->
- <!-- /.intro-text -->
- <!--<div class="intro-video" align="center">
- <a href="http://10.10.250.100:8080/cportal" style="color:#FFF" target="_blank"><div class="intro-button"></div></a>
- </div>--></div>
- </div>
- <!--<div class="popupbox8" id="popuprel8">
- <div id="intabdiv4">
- <h3> <strong></strong> <a href="http://10.10.250.100:8080/cportal" style="color:#FFF" target="_blank"><font size="+1">GO</font></a> </h3>
- </div>
- </div>-->
- <!-- footer -->
- <div id="footer">
- <div class="container">
- Designed by <a href="http://www.wishnet.co.in/" target="_blank">Wish Net Pvt. Ltd.</a><br />
- </div>
- </div>
- <div id="fade"></div>
- </form>
- <script type="text/javascript"> Cufon.now(); </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement