| 1 | {@ include(common/header) @} |
| 2 | <h1 class="paragraph">登録</h1> |
| 3 | <p class="paragraph"> |
| 4 | 登録して下さい。 |
| 5 | </p> |
| 6 | |
| 7 | {@ if ($error) @} |
| 8 | <p> |
| 9 | <div class="errormes"> |
| 10 | {{{ $error }}} |
| 11 | </div> |
| 12 | </p> |
| 13 | {@ endif @} |
| 14 | |
| 15 | <p> |
| 16 | <form action="/register" method="POST"> |
| 17 | {$ $username = randstr() $} |
| 18 | {$ $password = randstr() $} |
| 19 | {$ $passwordVerify = randstr() $} |
| 20 | {$ $email = randstr() $} |
| 21 | {$ $botUsername = randstr() $} |
| 22 | {$ $botPassword = randstr() $} |
| 23 | {$ $botPasswordVerify = randstr() $} |
| 24 | {$ $botEmail = randstr() $} |
| 25 | <table> |
| 26 | <tbody> |
| 27 | <tr> |
| 28 | <td><label for="{{ $username }}">ユーザー名:</label></td> |
| 29 | <td><input type="text" id="{{ $username }}" name="{{ $username }}" value="{{ $nyuU }}" /></td> |
| 30 | </tr> |
| 31 | <tr> |
| 32 | <td><label for="{{ $password }}">パスワード:</label></td> |
| 33 | <td><input type="password" id="{{ $password }}" name="{{ $password }}" /></td> |
| 34 | </tr> |
| 35 | <tr> |
| 36 | <td><label for="{{ $passwordVerify }}">パスワード(確認):</label></td> |
| 37 | <td><input type="password" id="{{ $passwordVerify }}" name="{{ $passwordVerify }}" /></td> |
| 38 | </tr> |
| 39 | <tr> |
| 40 | <td><label for="{{ $email }}">メールアドレス:</label></td> |
| 41 | <td><input type="email" id="{{ $email }}" name="{{ $email }}" value="{{ $nyuE }}" /></td> |
| 42 | </tr> |
| 43 | <tr> |
| 44 | <td></td> |
| 45 | <td> |
| 46 | <div style="position:absolute; left:-9999px;"> |
| 47 | <input type="text" id="{{ $botUsername }}" name="{{ $botUsername }}" value="" /> |
| 48 | <input type="password" id="{{ $botPassword }}" name="{{ $botPassword }}" value="" /> |
| 49 | <input type="password" id="{{ $botPasswordVerify }}" name="{{ $botPasswordVerify }}" /> |
| 50 | <input type="email" id="{{ $botEmail }}" name="{{ $botEmail }}" value="" /> |
| 51 | </div> |
| 52 | |
| 53 | <a href="/?bot=1" style="display:none"></a> |
| 54 | <input type="hidden" id="csrf_token" name="csrf_token" value="{{ make_csrf_token() }}" /> |
| 55 | <button>登録</button> |
| 56 | </td> |
| 57 | </tr> |
| 58 | </tbody> |
| 59 | </table> |
| 60 | </form> |
| 61 | </p> |
| 62 | {@ include(common/footer) @} |