ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE/branches/maruyama/prj_ext_auth/webapp/modules/pc/templates/h_regist_prof.tpl @ 1056

Last change on this file since 1056 was 1056, checked in by maruyama, 14 years ago

不足プロフィールを強制入力させる機能追加

File size: 14.8 KB
Line 
1({$inc_html_header|smarty:nodefaults})
2<body>
3({ext_include file="inc_extension_pagelayout_top.tpl"})
4<table class="mainframe" border="0" cellspacing="0" cellpadding="0">
5<tr>
6<td class="container inc_page_header">
7({$inc_page_header|smarty:nodefaults})
8</td>
9</tr>
10<tr>
11<td class="container inc_navi">
12({$inc_navi|smarty:nodefaults})
13</td>
14</tr>
15<tr>
16<td class="container main_content" align="center">
17
18({ext_include file="inc_alert_box.tpl"})({* エラーメッセージコンテナ *})
19
20<table class="container" border="0" cellspacing="0" cellpadding="0">({*BEGIN:container*})
21<tr>
22<td class="full_content" align="center">
23({***************************})
24({**ここから:メインコンテンツ**})
25({***************************})
26
27<img src="./skin/dummy.gif" class="v_spacer_l">
28
29<!-- ******************************** -->
30<!-- ******ここから:個人情報入力****** -->
31({t_form m=pc a=do_h_regist_prof})
32<input type="hidden" name="sessid" value="({$PHPSESSID})">
33
34<table border="0" cellspacing="0" cellpadding="0" style="width:650px;margin:0px auto;" class="border_07">
35<tr>
36<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
37<td style="width:636px;" class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
38<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
39</tr>
40<tr>
41<td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
42<td class="bg_01" align="center">
43<!-- *ここから:個人情報入力>内容* -->
44({*ここから:header*})
45<!-- ここから:小タイトル -->
46<div class="border_01">
47<table border="0" cellspacing="0" cellpadding="0" style="width:636px;" class="border_01">
48<tr>
49<td style="width:36px;" class="bg_06"><img src="({t_img_url_skin filename=content_header_1})" style="width:30px;height:20px;" class="dummy"></td>
50<td style="width:598px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">プロフィール入力&nbsp;&nbsp;(<span class="caution">※</span>の項目は必須です)</span></td>
51</tr>
52</table>
53</div>
54<!-- ここまで:小タイトル -->
55({*ここまで:header*})
56({*ここから:body*})
57<!-- ここから:主内容 -->
58<table border="0" cellspacing="0" cellpadding="0" style="width:636px;">
59({*********})
60<tr>
61<td style="width:636px;height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
62</tr>
63({*********})
64({capture name="nick"})
65<tr>
66<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
67<td style="width:150px;" class="bg_05" align="left" valign="middle">
68
69<div class="padding_s">
70
71ニックネーム <span class="caution">※</span>
72
73</div>
74
75</td>
76<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
77<td style="width:483px;" class="bg_02" align="left" valign="middle">
78
79<div class="padding_s">
80
81<input name="nickname" type="text" value="({$profs.nickname})" size="30"><br>
82
83</div>
84
85</td>
86<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
87</tr>
88({*********})
89<tr>
90<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
91</tr>
92({*********})
93({/capture})
94({capture name="birth"})
95<tr>
96<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
97<td class="bg_05" align="left" valign="middle">
98
99<div class="padding_s">
100
101生まれた年 <span class="caution">※</span>
102
103</div>
104
105</td>
106<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
107<td class="bg_02" align="left" valign="middle">
108
109<table style="width:100%;border-collapse:collapse;padding:0">
110<tr>
111<td style="padding:0">
112
113<div class="padding_s">
114
115<input name="birth_year" type="text" value="({$profs.birth_year})" size="10" maxlength="4">年
116
117</div>
118
119</td>
120<td align="right">
121
122<div class="padding_s">
123
124<select name="public_flag_birth_year">
125({html_options options=$public_flags selected=$profs.public_flag_birth_year})
126</select>
127
128</div>
129
130</td>
131</tr>
132</table>
133
134</td>
135<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
136</tr>
137({*********})
138<tr>
139<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
140</tr>
141({*********})
142<tr>
143<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
144<td class="bg_05" align="left" valign="middle">
145
146<div class="padding_s">
147
148誕生日 <span class="caution">※</span>
149
150</div>
151
152</td>
153<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
154<td class="bg_02" align="left" valign="middle">
155
156<div class="padding_s">
157
158<select name="birth_month">
159<option value="">--
160({foreach from=$month_list item=item})
161<option value="({$item})"({if $profs.birth_month==$item}) selected="selected"({/if})>({$item})
162({/foreach})
163</select>月
164<select name="birth_day">
165<option value="">--
166({foreach from=$day_list item=item})
167<option value="({$item})"({if $profs.birth_day==$item}) selected="selected"({/if})>({$item})
168({/foreach})
169</select>日
170
171</div>
172
173</td>
174<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
175</tr>
176({*********})
177<tr>
178<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
179</tr>
180({*********})
181({/capture})
182
183({foreach from=$c_profile_list item=profile})
184({strip})
185
186({if !$_cnt_nick && $profile.sort_order >= $smarty.const.SORT_ORDER_NICK
187  && !$_cnt_birth && $profile.sort_order >= $smarty.const.SORT_ORDER_BIRTH})
188({counter assign="_cnt_nick"})
189({counter assign="_cnt_birth"})
190({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
191({$smarty.capture.birth|smarty:nodefaults})
192({$smarty.capture.nick|smarty:nodefaults})
193({else})
194({$smarty.capture.nick|smarty:nodefaults})
195({$smarty.capture.birth|smarty:nodefaults})
196({/if})
197({/if})
198
199({if !$_cnt_nick && $profile.sort_order >= $smarty.const.SORT_ORDER_NICK})
200({counter assign="_cnt_nick"})
201({$smarty.capture.nick|smarty:nodefaults})
202({/if})
203
204({if !$_cnt_birth && $profile.sort_order >= $smarty.const.SORT_ORDER_BIRTH})
205({counter assign="_cnt_birth"})
206({$smarty.capture.birth|smarty:nodefaults})
207({/if})
208
209({/strip})
210({if $profile.disp_regist})
211<tr>
212<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
213<td class="bg_05" align="left" valign="middle">
214
215<div class="padding_s">
216
217({$profile.caption}) ({if $profile.is_required})<span class="caution">※</span>({/if})
218
219</div>
220
221</td>
222<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
223<td class="bg_02" align="left" valign="middle">
224
225<table style="width:100%;border-collapse:collapse;padding:0">
226<tr>
227<td style="padding:0;">
228
229<div class="padding_s">
230
231({strip})
232({if $profile.form_type == 'text'})
233    <input type="text" size="30" name="profile[({$profile.name})]" value="({$profs.profile[$profile.name].value})">
234({elseif $profile.form_type == 'textarea'})
235    <textarea name="profile[({$profile.name})]" rows="6" cols="50">({$profs.profile[$profile.name].value})</textarea>
236({elseif $profile.form_type == 'select'})
237    <select name="profile[({$profile.name})]">
238    <option value="">選択してください</option>
239    ({foreach item=item from=$profile.options})
240    <option value="({$item.c_profile_option_id})"({if $profs.profile[$profile.name].value == $item.value}) selected="selected"({/if})>({$item.value|default:"--"})</option>
241    ({/foreach})
242    </select>
243({elseif $profile.form_type == 'radio'})
244    <table>
245    ({foreach item=item from=$profile.options})
246    ({counter name=$profile.name assign=_cnt})
247    ({if $_cnt % 3 == 1})<tr>({/if})
248        <td><input type="radio" name="profile[({$profile.name})]" value="({$item.c_profile_option_id})"({if $profs.profile[$profile.name].value == $item.value}) checked="checked"({/if}) class="no_bg"></td>
249        <td>({$item.value|default:"--"})</td>
250    ({if $_cnt % 3 == 0})</tr>({/if})
251    ({/foreach})
252    ({if $_cnt % 3 != 0})</tr>({/if})
253    </table>
254({elseif $profile.form_type == 'checkbox'})
255    <input type="hidden" name="profile[({$profile.name})][]" value="0">
256
257    <table>
258    ({foreach item=item from=$profile.options name=check})
259    ({counter name=$profile.name assign=_cnt})
260    ({if $_cnt % 3 == 1})<tr>({/if})
261        <td><input type="checkbox" name="profile[({$profile.name})][]" value="({$item.c_profile_option_id})"({if $profs.profile[$profile.name].value && in_array($item.value|smarty:nodefaults, $profs.profile[$profile.name].value)}) checked="checked"({/if}) class="no_bg"></td>
262        <td>({$item.value|default:"--"})</td>
263    ({if $_cnt % 3 == 0})</tr>({/if})
264    ({/foreach})
265    ({if $_cnt % 3 != 0})</tr>({/if})
266    </table>
267({/if})
268({/strip})
269
270</div>
271
272</td>
273({if $profile.public_flag_edit})
274<td align="right">
275
276<div class="padding_s">
277
278({if $profs.profile[$profile.name].public_flag})
279({assign var=pflag value=$profs.profile[$profile.name].public_flag})
280({else})
281({assign var=pflag value=$profile.public_flag_default})
282({/if})
283<select name="public_flag[({$profile.name})]">
284({foreach from=$public_flags key=key item=item})
285<option value="({$key})"({if $pflag==$key}) selected="selected"({/if})>({$item})
286({/foreach})
287</select>
288
289</div>
290
291</td>
292({/if})
293</tr>
294</table>
295
296</td>
297<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
298</tr>
299({*********})
300<tr>
301<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
302</tr>
303({*********})
304({/if})
305({/foreach})
306
307({if !$_cnt_nick && !$_cnt_birth})
308({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
309({$smarty.capture.birth|smarty:nodefaults})
310({$smarty.capture.nick|smarty:nodefaults})
311({else})
312({$smarty.capture.nick|smarty:nodefaults})
313({$smarty.capture.birth|smarty:nodefaults})
314({/if})
315({else})
316({if !$_cnt_nick})({$smarty.capture.nick|smarty:nodefaults})({/if})
317({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})({/if})
318({/if})
319({if $profs.secure.pc_address==""&&false})
320<tr>
321<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
322<td class="bg_05" align="left" valign="middle">
323
324<div class="padding_s">
325
326メールアドレス <span class="caution">※</span>
327
328</div>
329
330</td>
331<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
332<td class="bg_02" align="left" valign="middle">
333
334<table style="width:100%;border-collapse:collapse;padding:0">
335<tr>
336<td style="padding:0">
337
338<div class="padding_s">
339
340<input type="text" name="pc_address" value="" size="30">
341
342</div>
343
344</td>
345</tr>
346</table>
347
348</td>
349<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
350</tr>
351({*********})
352<tr>
353<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
354</tr>
355({*********})
356({/if})
357<tr>
358<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
359<td class="bg_05" align="left" valign="middle">
360
361<div class="padding_s">
362
363秘密の質問 <span class="caution">※</span>
364
365</div>
366
367</td>
368<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
369<td class="bg_02" align="left" valign="middle">
370
371<div class="padding_s">
372
373<select name="c_password_query_id">
374<option value="">選択してください</option>
375({foreach from=$query_list key=key item=item})
376<option value="({$key})"({if $profs.c_password_query_id == $key}) selected="selected"({/if})>({$item})</option>
377({/foreach})
378</select>
379
380</div>
381
382</td>
383<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
384</tr>
385({*********})
386<tr>
387<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
388</tr>
389({*********})
390<tr>
391<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
392<td class="bg_05" align="left" valign="middle">
393
394<div class="padding_s">
395
396質問の答え <span class="caution">※</span>
397
398</div>
399
400</td>
401<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
402<td class="bg_02" align="left" valign="middle">
403
404<div class="padding_s">
405
406<input name="c_password_query_answer" type="text" value="({$profs.c_password_query_answer})" size="30">
407
408</div>
409
410</td>
411<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
412</tr>
413({*********})
414<tr>
415<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
416</tr>
417({*********})
418<tr>
419<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
420<td class="bg_03" align="center" valign="middle" colspan="3">
421
422<div class="padding_w_m">
423
424<input type="submit" class="submit" value="確認画面">
425
426</div>
427
428</td>
429<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
430</tr>
431({*********})
432<tr>
433<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
434</tr>
435({*********})
436</table>
437<!-- ここまで:主内容 -->
438({*ここまで:body*})
439({*ここから:footer*})
440<!-- 無し -->
441({*ここまで:footer*})
442<!-- *ここまで:個人情報入力>>内容* -->
443</td>
444<td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
445</tr>
446<tr>
447<td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
448<td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
449<td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
450</tr>
451</table>
452</form>
453<!-- ******ここまで:個人情報入力****** -->
454<!-- ******************************** -->
455
456<img src="./skin/dummy.gif" class="v_spacer_l">
457
458<img src="./skin/dummy.gif" class="v_spacer_l">
459
460<img src="./skin/dummy.gif" class="v_spacer_l">
461
462({***************************})
463({**ここまで:メインコンテンツ**})
464({***************************})
465</td>
466</tr>
467</table>({*END:container*})
468</td>
469</tr>
470<tr>
471<td class="container inc_page_footer">
472({$inc_page_footer|smarty:nodefaults})
473</td>
474</tr>
475</table>
476({ext_include file="inc_extension_pagelayout_bottom.tpl"})
477</body>
478</html>
Note: See TracBrowser for help on using the repository browser.