Inteno FG500

25. heinäkuuta 2021 | 187 näyttökertaa

<html>
   <head>
      <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
      <script language="javascript">
 function formSubmit(){
        with ( document.forms[0] ) {
	     if(j_username.value == '')
	     	{
			alert('username can not with null');
			return;
		 }
		if((j_username.value !="admin")&&(j_username.value != "support")&&(j_username.value !="user"))
		{
			alert('Error username,please input again');
			return;
		}

		document.forms[0].submit();
	}
}
</script>
   </head>
   <body>
   	<center> 
<table align=center style="margin:25px;width:480px" cellspacing=0 cellpadding=0 border=0> 
 
    <tr> 
        <td align=center><span style="font-size:1.2em"> Inteno FG500</span> 
    <tr height=2> 

    <tr> 
        <td align=center colspan=3> 
        <table style="width:80%;;margin:10;border:2px solid #666666;" cellspacing=1 cellpadding=3 border=0> 
            <tr> 
                <td>&nbsp;
 
                <form action="/main.html" method="post" target="_parent"> 
            <tr> 
                <td valign=top align=right>Username:</td> 
                <td width=70%> 
                    <input id="j_username" type="text" name="j_username" style="width:100%;" /> 
                </td> 
            </tr> 
 
            <tr valign=top> 
                <td align=right>Password:</td> 
                <td width=70%><input id="j_password" type="password" name="j_password" style="width:100%;" /></td> 
            </tr> 
 
            <tr valign=top> 
                <td> 
                <td align=right><input type='submit' value="Login" onClick='formSubmit()'> 
                </form> 
            
        </table> 

        <td colspan=2 style=""> 
    <tr> 

</table> 
   </body>
</html>