The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

HTML page Login/Register

View previous topic View next topic Go down

HTML page Login/Register

Post by tigru on February 17th 2013, 5:44 pm

You can add the following existing code?:

1. Near the Login button (on the right) to be added and Register button? And you give him to forward the registration page.

2. Can I change the page so that only those who appear not login? She always comes and asks them all to login.


Code:
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Log-in</title>
</head>

<body>

    <style type="text/css">
    body
    {
    background-image:url('http://img580.imageshack.us/img580/774/dsgua1.jpg');
    }
    </style>

    <center>
    <form style="top:25%; position: absolute; left: 35%;" action="/login.forum" method="post"><table style="color: #FFFFFF; background-color:#000000; opacity:0.7;
    filter:alpha(opacity=70); box-shadow: 2px 2px 5px #000000;" border="0" cellpadding="3" cellspacing="1"><tbody><tr><td align="right" width="45%"> Username:</td><td><input name="username" size="25" maxlength="40" style="background-color: #CCCCCC;" type="text"></td></tr><tr><td align="right">Password:</td><td><input name="password" size="25" maxlength="32" style="background-color: #CCCCCC;" type="password"></td></tr><tr align="center"><td colspan="2">Log me on automatically each visit: <input name="autologin" checked="true" type="checkbox"></td></tr><tr align="center"><td colspan="2"><input class="mainoption" name="login" value="Log in" type="submit"/>
<input name="redirect" type="hidden" value="/forum"/></td></tr></tbody></table><br /><a href="/" class="classname">Return to forum</a></center></form>

    <style type="text/css">
    .classname {
      -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
      -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
      box-shadow:inset 0px 1px 0px 0px #ffffff;
      background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
      background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
      filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
      background-color:#ededed;
      -moz-border-radius:6px;
      -webkit-border-radius:6px;
      border-radius:6px;
      border:1px solid #dcdcdc;
      display:inline-block;
      color:#777777;
      font-family:arial;
      font-size:15px;
      font-weight:bold;
      padding:3px 24px;
      text-decoration:none;
      text-shadow:1px 1px 0px #ffffff;
    }.classname:hover {
      background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
      background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
      filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
      background-color:#dfdfdf;
    }.classname:active {
      position:relative;
      top:1px;
    }
    /* This imageless css button was generated by CSSButtonGenerator.com */
    </style>
    </html>
</body>
</html>

tigru
Forumember

Posts : 31
Reputation : 1
Language : francais, romanian
Location : Calvi, Corse, France

http://www.legiuneastraina.forumz.ro

Back to top Go down

Re: HTML page Login/Register

Post by Mike on February 23rd 2013, 5:05 pm

You can just edit the templates and add a register button too.

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum