1 | <div id="LayoutB"> |
---|
2 | |
---|
3 | <div id="Left"> |
---|
4 | |
---|
5 | ({* {{{ rankingSideNav *}) |
---|
6 | <div class="parts rankingSideNav"> |
---|
7 | <div class="item"> |
---|
8 | <div class="partsHeading"><h3>アクセス数No1</h3></div> |
---|
9 | <p>昨日のアクセスが多かったメンバーのランキングです。</p> |
---|
10 | <p class="link"><a href="({t_url m=pc a=page_h_ranking})">アクセス数No1</a></p> |
---|
11 | </div> |
---|
12 | |
---|
13 | <div class="item"> |
---|
14 | <div class="partsHeading"><h3>({$WORD_MY_FRIEND})数No1</h3></div> |
---|
15 | <p>登録されている({$WORD_MY_FRIEND})の数が多いメンバーのランキングです。 |
---|
16 | </p> |
---|
17 | <p class="link"><a href="({t_url m=pc a=page_h_ranking})&kind=friend">({$WORD_MY_FRIEND})数No1</a></p> |
---|
18 | </div> |
---|
19 | |
---|
20 | <div class="item"> |
---|
21 | <div class="partsHeading"><h3>参加人数No1({$WORD_COMMUNITY})</h3></div> |
---|
22 | <p>参加者の多い({$WORD_COMMUNITY})のランキングです。</p> |
---|
23 | <p class="link"><a href="({t_url m=pc a=page_h_ranking})&kind=com_member">参加人数No1<br />({$WORD_COMMUNITY})を表示</a></p> |
---|
24 | </div> |
---|
25 | |
---|
26 | <div class="item"> |
---|
27 | <div class="partsHeading"><h3>盛り上がり度No1({$WORD_COMMUNITY})</h3></div> |
---|
28 | <p>昨日の掲示板書き込み数が多かった({$WORD_COMMUNITY})のランキングです。</p> |
---|
29 | <p class="link"><a href="({t_url m=pc a=page_h_ranking})&kind=com_comment">盛り上がり度No1<br />({$WORD_COMMUNITY})を表示</a></p> |
---|
30 | </div> |
---|
31 | </div> |
---|
32 | ({* }}} *}) |
---|
33 | |
---|
34 | </div><!-- Left --> |
---|
35 | <div id="Center"> |
---|
36 | |
---|
37 | ({foreach from=$rank_list key=rank item=list name=ranking}) |
---|
38 | ({if $rank == 1})({assign var=size value=120})({else})({assign var=size value=76})({/if}) |
---|
39 | |
---|
40 | ({* {{{ rankingList *}) |
---|
41 | <div class="dparts rankingList"><div class="parts"> |
---|
42 | ({if $rank == 1}) |
---|
43 | <div class="partsHeading"><p>({strip}) |
---|
44 | <strong> |
---|
45 | ({if $kind == "ashiato"}) |
---|
46 | アクセス数No1メンバー |
---|
47 | ({elseif $kind == "friend"}) |
---|
48 | ({$WORD_MY_FRIEND})数No1メンバー |
---|
49 | ({elseif $kind == "com_member"}) |
---|
50 | 参加人数No1({$WORD_COMMUNITY}) |
---|
51 | ({elseif $kind == "com_comment"}) |
---|
52 | 盛り上がり度No1({$WORD_COMMUNITY}) |
---|
53 | ({/if}) |
---|
54 | </strong> |
---|
55 | は |
---|
56 | ({if $kind == "ashiato" || $kind == "friend"}) |
---|
57 | ({$list[0].c_member.nickname}) さん |
---|
58 | ({else})『({$list[0].c_commu.name})』 |
---|
59 | ({/if}) |
---|
60 | です。 |
---|
61 | ({/strip})</p></div> |
---|
62 | ({/if}) |
---|
63 | ({if $rank > 1})<div class="ditem"><div class="item">({/if}) |
---|
64 | ({foreach from=$list item=item}) |
---|
65 | <table> |
---|
66 | <tr><td class="photo" rowspan="({if $kind == "ashiato" || $kind == "friend"})3({else})4({/if})">({strip}) |
---|
67 | ({if $kind == "ashiato" || $kind == "friend"}) |
---|
68 | <a href="({t_url m=pc a=page_f_home})&target_c_member_id=({$item.c_member_id})"><img src="({t_img_url filename=$item.c_member.image_filename w=$size h=$size noimg=no_image})" alt="" /></a> |
---|
69 | ({else}) |
---|
70 | <a href="({t_url m=pc a=page_c_home})&target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.c_commu.image_filename w=$size h=$size noimg=no_logo})" alt="" /></a> |
---|
71 | ({/if}) |
---|
72 | ({/strip})</td> |
---|
73 | <th>第({$rank})位</th> |
---|
74 | <td class="name">({strip}) |
---|
75 | ({if $kind == "ashiato" || $kind == "friend"}) |
---|
76 | <a href="({t_url m=pc a=page_f_home})&target_c_member_id=({$item.c_member_id})">({$item.c_member.nickname})</a> さん |
---|
77 | ({else}) |
---|
78 | <a href="({t_url m=pc a=page_c_home})&target_c_commu_id=({$item.c_commu_id})">({$item.c_commu.name})</a> |
---|
79 | ({/if}) |
---|
80 | : |
---|
81 | ({if $kind == "ashiato"}) |
---|
82 | ({$item.count})アクセス |
---|
83 | ({elseif $kind == "friend"}) |
---|
84 | ({$item.count})人 |
---|
85 | ({elseif $kind == "com_member"}) |
---|
86 | ({$item.count})人 |
---|
87 | ({elseif $kind == "com_comment"}) |
---|
88 | 書き込み({$item.count})件 |
---|
89 | ({/if}) |
---|
90 | ({/strip})</td> |
---|
91 | </tr> |
---|
92 | <tr> |
---|
93 | <th>({if $kind == "ashiato" || $kind == "friend"})誕生日({else})カテゴリ({/if})</th> |
---|
94 | <td>({strip}) |
---|
95 | ({if $kind == "ashiato" || $kind == "friend"}) |
---|
96 | ({$item.c_member.birth_month})月({$item.c_member.birth_day})日 |
---|
97 | ({else}) |
---|
98 | ({$item.c_commu.c_commu_category.name}) |
---|
99 | ({/if}) |
---|
100 | ({/strip})</td> |
---|
101 | </tr> |
---|
102 | ({if $kind == "com_member" || $kind == "com_comment"}) |
---|
103 | <tr> |
---|
104 | <th>管理者</th> |
---|
105 | <td>({$item.c_commu.c_member_admin.nickname})</td> |
---|
106 | </tr> |
---|
107 | ({/if}) |
---|
108 | <tr> |
---|
109 | <th>({if $kind == "ashiato" || $kind == "friend"})自己紹介({else})説明文({/if})</th> |
---|
110 | <td>({strip}) |
---|
111 | ({if $kind == "ashiato" || $kind == "friend"}) |
---|
112 | ({$item.c_member.profile.self_intro.value|t_truncate:36:"":3|default:" "}) |
---|
113 | ({else}) |
---|
114 | ({$item.c_commu.info|t_truncate:36:"":3|default:" "}) |
---|
115 | ({/if}) |
---|
116 | ({/strip})</td> |
---|
117 | </tr> |
---|
118 | </table> |
---|
119 | ({/foreach}) |
---|
120 | ({if $rank > 1})</div></div>({/if}) |
---|
121 | </div></div> |
---|
122 | ({* }}} *}) |
---|
123 | |
---|
124 | ({/foreach}) |
---|
125 | |
---|
126 | </div><!-- Center --> |
---|
127 | </div><!-- LayoutB --> |
---|