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

source: OpenPNE/trunk/webapp/modules/pc/templates/fh_com_list.tpl @ 6324

Last change on this file since 6324 was 6324, checked in by ogawa, 15 years ago

#1944:photoTableを修正

File size: 8.9 KB
Line 
1<div id="LayoutC">
2<div id="Center">
3
4({if $fh_com_list_user})
5({* {{{ photoTable *})
6<div class="dparts photoTable"><div class="parts">
7<div class="partsHeading"><h3>コミュニティリスト</h3></div>
8
9<div class="pagerAbsolute">
10<p>[ ({foreach from=$page_list item=item})({if $item!=$page})<a href="({t_url m=pc a=page_fh_com_list})&amp;page=({$item})&amp;target_c_member_id=({$target_member.c_member_id})">({$item})</a>({else})({$item})({/if}) ({/foreach})]</p>
11</div>
12
13<div class="pagerRelative">
14({if $pager.prev_page})<p class="prev"><a href="({t_url m=pc a=page_fh_com_list})&amp;page=({$pager.prev_page})&amp;target_c_member_id=({$target_member.c_member_id})">前を表示</a></p>({/if})
15<p class="number">({$pager.start_num})件~({$pager.end_num})件を表示</p>
16({if $pager.next_page})<p class="next"><a href="({t_url m=pc a=page_fh_com_list})&amp;page=({$pager.next_page})&amp;target_c_member_id=({$target_member.c_member_id})">次を表示</a></p>({/if})
17</div>
18
19<table>
20({if $fh_com_list_user.0})
21<tr class="photo">
22({t_loop from=$fh_com_list_user start=0 num=5})
23<td>({if $item})({if $item.c_member_id_admin == $target_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" alt="" /><br />({/if})
24<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>
25({/if})</td>
26({/t_loop})
27</tr>
28<tr class="text">
29({t_loop from=$fh_com_list_user start=0 num=5})
30<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_members}))</a>({/if})</td>
31({/t_loop})
32</tr>
33({/if})
34
35({if $fh_com_list_user.5})
36<tr class="photo">
37({t_loop from=$fh_com_list_user start=5 num=5})
38<td>({if $item})({if $item.c_member_id_admin == $target_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" alt="" /><br />({/if})
39<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>
40({/if})</td>
41({/t_loop})
42</tr>
43<tr class="text">
44({t_loop from=$fh_com_list_user start=5 num=5})
45<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_members}))</a>({/if})</td>
46({/t_loop})
47</tr>
48({/if})
49
50({if $fh_com_list_user.10})
51<tr class="photo">
52({t_loop from=$fh_com_list_user start=10 num=5})
53<td>({if $item})({if $item.c_member_id_admin == $target_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" alt="" /><br />({/if})
54<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>
55({/if})</td>
56({/t_loop})
57</tr>
58<tr class="text">
59({t_loop from=$fh_com_list_user start=10 num=5})
60<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_members}))</a>({/if})</td>
61({/t_loop})
62</tr>
63({/if})
64
65({if $fh_com_list_user.15})
66<tr class="photo">
67({t_loop from=$fh_com_list_user start=15 num=5})
68<td>({if $item})({if $item.c_member_id_admin == $target_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" alt="" /><br />({/if})
69<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>
70({/if})</td>
71({/t_loop})
72</tr>
73<tr class="text">
74({t_loop from=$fh_com_list_user start=15 num=5})
75<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_members}))</a>({/if})</td>
76({/t_loop})
77</tr>
78({/if})
79
80({if $fh_com_list_user.20})
81<tr class="photo">
82({t_loop from=$fh_com_list_user start=20 num=5})
83<td>({if $item})({if $item.c_member_id_admin == $target_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" alt="" /><br />({/if})
84<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>
85({/if})</td>
86({/t_loop})
87</tr>
88<tr class="text">
89({t_loop from=$fh_com_list_user start=20 num=5})
90<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_members}))</a>({/if})</td>
91({/t_loop})
92</tr>
93({/if})
94
95({if $fh_com_list_user.25})
96<tr class="photo">
97({t_loop from=$fh_com_list_user start=25 num=5})
98<td>({if $item})({if $item.c_member_id_admin == $target_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" alt="" /><br />({/if})
99<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>
100({/if})</td>
101({/t_loop})
102</tr>
103<tr class="text">
104({t_loop from=$fh_com_list_user start=25 num=5})
105<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_members}))</a>({/if})</td>
106({/t_loop})
107</tr>
108({/if})
109
110({if $fh_com_list_user.30})
111<tr class="photo">
112({t_loop from=$fh_com_list_user start=30 num=5})
113<td>({if $item})({if $item.c_member_id_admin == $target_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" alt="" /><br />({/if})
114<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>
115({/if})</td>
116({/t_loop})
117</tr>
118<tr class="text">
119({t_loop from=$fh_com_list_user start=30 num=5})
120<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_members}))</a>({/if})</td>
121({/t_loop})
122</tr>
123({/if})
124
125({if $fh_com_list_user.35})
126<tr class="photo">
127({t_loop from=$fh_com_list_user start=35 num=5})
128<td>({if $item})({if $item.c_member_id_admin == $target_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" alt="" /><br />({/if})
129<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>
130({/if})</td>
131({/t_loop})
132</tr>
133<tr class="text">
134({t_loop from=$fh_com_list_user start=35 num=5})
135<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_members}))</a>({/if})</td>
136({/t_loop})
137</tr>
138({/if})
139
140({if $fh_com_list_user.40})
141<tr class="photo">
142({t_loop from=$fh_com_list_user start=40 num=5})
143<td>({if $item})({if $item.c_member_id_admin == $target_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" alt="" /><br />({/if})
144<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>
145({/if})</td>
146({/t_loop})
147</tr>
148<tr class="text">
149({t_loop from=$fh_com_list_user start=40 num=5})
150<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_members}))</a>({/if})</td>
151({/t_loop})
152</tr>
153({/if})
154
155({if $fh_com_list_user.45})
156<tr class="photo">
157({t_loop from=$fh_com_list_user start=45 num=5})
158<td>({if $item})({if $item.c_member_id_admin == $target_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" alt="" /><br />({/if})
159<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>
160({/if})</td>
161({/t_loop})
162</tr>
163<tr class="text">
164({t_loop from=$fh_com_list_user start=45 num=5})
165<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_members}))</a>({/if})</td>
166({/t_loop})
167</tr>
168({/if})
169</table>
170
171<div class="pagerAbsolute">
172<p>[ ({foreach from=$page_list item=item})({if $item!=$page})<a href="({t_url m=pc a=page_fh_com_list})&amp;page=({$item})&amp;target_c_member_id=({$target_member.c_member_id})">({$item})</a>({else})({$item})({/if}) ({/foreach})]</p>
173</div>
174
175<div class="pagerRelative">
176({if $pager.prev_page})<p class="prev"><a href="({t_url m=pc a=page_fh_com_list})&amp;page=({$pager.prev_page})&amp;target_c_member_id=({$target_member.c_member_id})">前を表示</a></p>({/if})
177<p class="number">({$pager.start_num})件~({$pager.end_num})件を表示</p>
178({if $pager.next_page})<p class="next"><a href="({t_url m=pc a=page_fh_com_list})&amp;page=({$pager.next_page})&amp;target_c_member_id=({$target_member.c_member_id})">次を表示</a></p>({/if})
179</div>
180
181</div></div>
182({* }}} *})
183({else})
184({* {{{ simpleBox *})
185<div class="dparts simpleBox"><div class="parts">
186<div class="partsHeading"><h3>コミュニティ一覧</h3></div>
187<div class="block">
188<p>参加しているコミュニティはありません。</p>
189</div>
190</div></div>
191({* }}} *})
192({/if})
193
194</div><!-- Center -->
195</div><!-- LayoutC -->
Note: See TracBrowser for help on using the repository browser.