| 1 | {include file='header.tpl'}
|
|---|
| 2 |
|
|---|
| 3 | <div id="main">
|
|---|
| 4 | <div id="main-precontents"></div>
|
|---|
| 5 | <div id="main-contents">
|
|---|
| 6 | <div class="pad3"></div>
|
|---|
| 7 | <script type="text/javascript">
|
|---|
| 8 | function inputBoxValidate(f)
|
|---|
| 9 | {ldelim}
|
|---|
| 10 | var _ = f.elements[0];
|
|---|
| 11 | if(_.value.length == 0)
|
|---|
| 12 | {ldelim}
|
|---|
| 13 | ge('inputbox-error').innerHTML = LANG.message_enterusername;
|
|---|
| 14 | _.focus();
|
|---|
| 15 | return false;
|
|---|
| 16 | {rdelim}
|
|---|
| 17 |
|
|---|
| 18 | _ = f.elements[1];
|
|---|
| 19 | if(_.value.length == 0)
|
|---|
| 20 | {ldelim}
|
|---|
| 21 | ge('inputbox-error').innerHTML = LANG.message_enterpassword;
|
|---|
| 22 | _.focus();
|
|---|
| 23 | return false;
|
|---|
| 24 | {rdelim}
|
|---|
| 25 |
|
|---|
| 26 | _ = f.elements[2];
|
|---|
| 27 | if(_.value.length == 0)
|
|---|
| 28 | {ldelim}
|
|---|
| 29 | ge('inputbox-error').innerHTML = message_passwordsdonotmatch;
|
|---|
| 30 | _.focus();
|
|---|
| 31 | return false;
|
|---|
| 32 | {rdelim}
|
|---|
| 33 | {rdelim}
|
|---|
| 34 | </script>
|
|---|
| 35 |
|
|---|
| 36 | <form action="?account=signup" method="post" onsubmit="return inputBoxValidate(this)">
|
|---|
| 37 | <div class="inputbox" style="position: relative">
|
|---|
| 38 | <h1>{#Create_your_account#}</h1>
|
|---|
| 39 | <div id="inputbox-error">{$signup_error}</div>
|
|---|
| 40 |
|
|---|
| 41 | <table align="center">
|
|---|
| 42 | <tr>
|
|---|
| 43 | <td align="right">{#Username#}:</td>
|
|---|
| 44 | <td><input type="text" name="username" value="" maxlength="16" id="username-generic" style="width: 10em" /></td>
|
|---|
| 45 | </tr>
|
|---|
| 46 | <tr>
|
|---|
| 47 | <td align="right">{#Password#}:</td>
|
|---|
| 48 | <td><input type="password" name="password" style="width: 10em" /></td>
|
|---|
| 49 | </tr>
|
|---|
| 50 | <tr>
|
|---|
| 51 | <td align="right">{#Confirm_password#}:</td>
|
|---|
| 52 | <td><input type="password" name="c_password" style="width: 10em" /></td>
|
|---|
| 53 | </tr>
|
|---|
| 54 | <tr>
|
|---|
| 55 | <tr>
|
|---|
| 56 | <td align="right">{#Email#}:</td>
|
|---|
| 57 | <td><input type="text" name="email" style="width: 10em" /></td>
|
|---|
| 58 | </tr>
|
|---|
| 59 | <td align="right" valign="top"><input type="checkbox" name="remember_me" id="remember_me" value="yes" /></td>
|
|---|
| 60 | <td>
|
|---|
| 61 | <label for="remember_me">{#Remember_me_on_this_computer#}</label>
|
|---|
| 62 | <div class="pad2"></div>
|
|---|
| 63 | <input type="submit" name="signup" value="{#Signup#}" />
|
|---|
| 64 | </td>
|
|---|
| 65 | </tr>
|
|---|
| 66 | </table>
|
|---|
| 67 | </div>
|
|---|
| 68 | </form>
|
|---|
| 69 |
|
|---|
| 70 | <script type="text/javascript">ge('username-generic').focus()</script>
|
|---|
| 71 | <div class="clear"></div>
|
|---|
| 72 | </div>
|
|---|
| 73 |
|
|---|
| 74 | </div>
|
|---|
| 75 | </div>
|
|---|
| 76 | {include file='footer.tpl'}
|
|---|