- 1). Log in to your Web server.
- 2). Open the HTML page on which you want to embed the login box.
- 3). Click on the HTML code between the <body> and </body> tags and insert this code:
<font face="verdana,arial" size=-1>
<center><table cellpadding=2 cellspacing=0 border=0>
<tr><td bgcolor="blue"><table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td bgcolor="blue" align=center style="padding:2;padding-bottom:4"><b><font size=-1 color="white" face="verdana,arial"><b>Enter your login and password</b></font></th></tr>
<tr><td bgcolor="white" style="padding:5">
<form method="post" action="http://www.loginpage.com" name=pform>
<input type="hidden" name="action" value="login">
<input type="hidden" name="hide" value="">
<center><table>
<tr><td><font face="verdana,arial" size=-1>Login:</td><td><input type="text" name="login"></td></tr>
<tr><td><font face="verdana,arial" size=-1>Password:</td><td><input type="password" name="password"></td></tr>
<tr><td><font face="verdana,arial" size=-1> </td><td><font face="verdana,arial" size=-1><input type="submit" value="Enter"></td></tr>
<tr><td colspan=2><font face="verdana,arial" size=-1> </td></tr>
<tr><td colspan=2><font face="verdana,arial" size=-1>Not member yet? Click <a href="/links/?u=http://www.registerpage.com">here</a> to register.</td></tr>
</table></center>
</form>
</td></tr></table></td></tr></table> - 4). Replace "http://www.loginpage.com" with the URL of the page that will open after the user logs in.
- 5). Replace "http://www.registerpage.com" with the URL of the page that will appear if the user clicks "Click here to register" if he does not yet have a login account.
- 6). Publish the page.
SHARE