3 * @link https://datagram.co.jp/source/bksj for the canonical source repository
4 * @copyright Copyright (c) 2006-2019 Datagram Ltd. (https://datagram.co.jp)
5 * @license https://datagram.co.jp/source/bksj/license.txt
12 $aid = $view->str($dat['aid']);
13 $mid = $view->str($dat['mid']);
14 $name = $view->str($dat['name']);
15 $login_id = $view->str($dat['login_id']);
16 $email = $view->str($dat['email']);
17 $tel = $view->str($dat['tel']);
19 <script type="text/javascript">
34 gotoNext: function(func, act) {
48 'func': 'UserAccount',
51 'name': this.v_name.val(),
52 'email': this.v_email.val(),
53 'tel': this.v_tel.val(),
54 'passwd0': this.v_passwd0.val(),
55 'passwd1': this.v_passwd1.val(),
60 eval("this.ans = " + data);
63 this.ans = {"sts": "NG", "err": "ajax error"};
73 if (!confirm("登録しますか?")) {
77 if (this.check() == 'NG') {
79 for (var i in this.ans.err) {
80 msg += this.ans.err[i] + '<br>';
83 this.errmsg.html(msg);
92 'func': 'UserAccount',
97 'name': this.v_name.val(),
98 'email': this.v_email.val(),
99 'tel': this.v_tel.val(),
100 'passwd0': this.v_passwd0.val(),
101 'passwd1': this.v_passwd1.val(),
106 eval("this.ans = " + data);
109 this.ans = {"sts": "NG", "err": "ajax error"};
112 if (this.ans.sts == 'NG') {
113 this.errmsg.html(this.ans.err);
117 this.gotoNext('UserMenu', '');
123 this.errmsg = $('#errmsg');
124 this.next = $('#next');
125 this.func = $('#func');
126 this.act = $('#act');
127 this.v_name = $('#v_name');
128 this.v_passwd0 = $('#v_passwd0');
129 this.v_passwd1 = $('#v_passwd1');
130 this.v_email = $('#v_email');
131 this.v_tel = $('#v_tel');
141 <form method="post" name="next" id="next" action="<?= $base ?>">
142 <input type="hidden" name="func" id="func">
143 <input type="hidden" name="act" id="act">
144 <input type="hidden" name="bid" id="bid" value="<?= $bid ?>">
147 <table id="my_header" width="100%">
150 <a onclick="return my.gotoNext('UserMenu', '');">メニュー</a>
151 > アカウント
153 <td style="text-align: right;">
154 <button type="button" class="my_magenta" style="width: 120px;" onclick="return my.gotoNext('Login', '');">ログアウト</button>
159 <div style="height: 5px;"> </div>
164 <table class="my_table" width="100%">
166 <th class="my_border">アカウント</th>
170 <div style="height: 1px;"> </div><hr>
177 <td style="padding: 8px;">
178 <button type="button" class="my_cyan" style="width: 100px;" onclick="return my.regist();">登録</button>
180 <td style="width: 80px;"> </td>
182 <button type="button" class="my_magenta" style="width: 100px;" onclick="return my.gotoNext('UserMenu', '');">戻る</button>
190 <div style="height: 1px;"> </div><hr>
192 <div style="height: 8px;"> </div>
194 <table class="my_table">
196 <td colspan="2"><div id="errmsg" class="my_red"></div></td>
199 <td colspan="2">・パスワード確認が空白の場合、パスワードは更新されません。</td>
202 <th class="my_border" style="width: 100px; text-align: right;">
205 <td class="my_border">
206 <input style="width: 400px; text-align: left;" maxlength="80" type="text" id="v_name" value="<?= $name ?>">
210 <th class="my_border" style="width: 100px; text-align: right;">
213 <td class="my_border">
218 <th class="my_border" style="width: 100px; text-align: right;">
221 <td class="my_border">
222 <input style="width: 400px; text-align: left;" maxlength="80" type="password" id="v_passwd0" value="">
224 <input style="width: 400px; text-align: left;" maxlength="80" type="password" id="v_passwd1" value="">
228 <th class="my_border" style="width: 100px; text-align: right;">
231 <td class="my_border">
232 <input style="width: 400px; text-align: left;" maxlength="80" type="text" id="v_email" value="<?= $email ?>">
236 <th class="my_border" style="width: 100px; text-align: right;">
239 <td class="my_border">
240 <input style="width: 400px; text-align: left;" maxlength="80" type="text" id="v_tel" value="<?= $tel ?>">