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

source: OpenPNE/branches/stable-2.10.x/webapp/modules/ktai/templates/h_friend_find_all.tpl @ 4371

Last change on this file since 4371 was 4371, checked in by kiwa, 13 years ago

#1391 テンプレートに新配色設定追加

File size: 5.0 KB
Line 
1({$inc_ktai_header|smarty:nodefaults})
2<table width="100%"><tr><td align="center" bgcolor="#({$ktai_color_config.bg_02})">
3<font color="#({$ktai_color_config.font_05})"><a name="top">メンバー検索</a></font><br>
4</td></tr></table>
5<center>
6検索結果
7<font color="#({$ktai_color_config.font_06})">(({$pager.total_num})件)</font><br>
8</center>
9<table width="100%">
10<tr><td>
11<hr color="#({$ktai_color_config.border_02})">
12</td></tr>
13({foreach from=$target_friend_list item=target_friend})
14<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
15<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$target_friend.c_member_id})&amp;({$tail})">({$target_friend.nickname|t_truncate:30:""})</a><br>
16</td></tr>
17({/foreach})
18<tr><td>
19<hr color="#({$ktai_color_config.border_02})">
20</td></tr></table>
21({if $pager.page_prev || $pager.page_next})
22<center>
23({if $pager.page_prev})<a href="({t_url m=ktai a=page_h_friend_find_all})({if $nickname})&amp;nickname=({$nickname|to_sjis|escape:url|smarty:nodefaults})({/if})({if $search_condition})&amp;({$search_condition})({/if})&amp;page=({$pager.page_prev})&amp;({$tail})" accesskey="4">[i:128]前を表示</a> ({/if})
24({if $pager.page_next})<a href="({t_url m=ktai a=page_h_friend_find_all})({if $nickname})&amp;nickname=({$nickname|to_sjis|escape:url|smarty:nodefaults})({/if})({if $search_condition})&amp;({$search_condition})({/if})&amp;page=({$pager.page_next})&amp;({$tail})" accesskey="6">[i:130]次を表示</a>({/if})
25</center>
26({/if})
27<br>
28<table width="100%">
29<tr><td bgcolor="#({$ktai_color_config.color_27})" align="center">
30<font color="#({$ktai_color_config.color_28})">メンバー検索</font><br>
31</td></tr></table>
32({strip})
33({t_form _method=get m=ktai a=page_h_friend_find_all})
34<input type="hidden" name="ksid" value="({$PHPSESSID})">
35({capture name="nick"})
36<font color="#({$ktai_color_config.font_06})">ニックネーム:</font><br>
37<input type="text" name="nickname" value="({$nickname})"><br>
38({/capture})
39({capture name="birth"})
40<font color="#({$ktai_color_config.font_06})">生年月日:</font><br>
41<input type="text" name="birth_year" value="({$cond.birth_year})" size="4" maxlength="4" istyle="4" mode="numeric">年
42<input type="text" name="birth_month" value="({$cond.birth_month})" size="2" maxlength="4" istyle="4" mode="numeric">月
43<input type="text" name="birth_day" value="({$cond.birth_day})" size="2" maxlength="4" istyle="4" mode="numeric">日<br>
44({/capture})
45
46({foreach from=$profile_list item=profile})
47
48({if !$_cnt_nick && $profile.sort_order >= $smarty.const.SORT_ORDER_NICK
49  && !$_cnt_birth && $profile.sort_order >= $smarty.const.SORT_ORDER_BIRTH})
50({counter assign="_cnt_nick"})
51({counter assign="_cnt_birth"})
52({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
53({$smarty.capture.birth|smarty:nodefaults})<br>
54({$smarty.capture.nick|smarty:nodefaults})<br>
55({else})
56({$smarty.capture.nick|smarty:nodefaults})
57({$smarty.capture.birth|smarty:nodefaults})
58({/if})
59({/if})
60
61({if !$_cnt_nick && $profile.sort_order >= $smarty.const.SORT_ORDER_NICK})
62({counter assign="_cnt_nick"})
63({$smarty.capture.nick|smarty:nodefaults})<br>
64({/if})
65
66({if !$_cnt_birth && $profile.sort_order >= $smarty.const.SORT_ORDER_BIRTH})
67({counter assign="_cnt_birth"})
68({$smarty.capture.birth|smarty:nodefaults})<br>
69({/if})
70
71({if $profile.disp_search})
72<font color="#({$ktai_color_config.font_06})">({$profile.caption}):</font><br>
73({if $profile.form_type == 'select' || $profile.form_type == 'radio'})
74    <select name="profile[({$profile.name})]">
75    <option value="0">指定しない
76    ({foreach from=$profile_list[$profile.name].options item=item})
77    <option value="({$item.c_profile_option_id})"({if $item.c_profile_option_id == $profiles[$profile.name].c_profile_option_id}) selected({/if})>({$item.value})
78    ({/foreach})
79    </select>
80({elseif $profile.form_type == 'checkbox'})
81    <select name="profile[({$profile.name})]">
82    <option value="0">指定しない
83    ({foreach from=$profile_list[$profile.name].options item=item})
84    <option value="({$item.c_profile_option_id})"({if $item.c_profile_option_id == $profiles[$profile.name].c_profile_option_id}) selected({/if})>({$item.value})
85    ({/foreach})
86    </select>
87({elseif $profile.form_type == 'text' || $profile.form_type == 'textlong' || $profile.form_type == 'textarea'})
88    <input name="profile[({$profile.name})]" type="text" value="({$profiles[$profile.name].value})">
89({/if})
90<br>
91({/if})
92({/foreach})
93
94({if !$_cnt_nick && !$_cnt_birth})
95({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
96({$smarty.capture.birth|smarty:nodefaults})<br>
97({$smarty.capture.nick|smarty:nodefaults})<br>
98({else})
99({$smarty.capture.nick|smarty:nodefaults})<br>
100({$smarty.capture.birth|smarty:nodefaults})<br>
101({/if})
102({else})
103({if !$_cnt_nick})({$smarty.capture.nick|smarty:nodefaults})<br>({/if})
104({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})<br>({/if})
105({/if})
106<center>
107<input type="submit" value="検索">
108</center>
109</form>
110({/strip})
111
112
113
114({$inc_ktai_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.