1 | <div id="LayoutA"> |
---|
2 | <div id="Top"> |
---|
3 | |
---|
4 | ({ext_include file="inc_c_com_topic_find.tpl"}) |
---|
5 | |
---|
6 | ({if !$is_c_commu_member}) |
---|
7 | ({* {{{ infoBox *}) |
---|
8 | <div class="dparts infoBox"><div class="parts"> |
---|
9 | <p>この({$WORD_COMMUNITY})に参加しますか?</p> |
---|
10 | <ul class="moreInfo"> |
---|
11 | <li><a href="({t_url m=pc a=page_c_join_commu})&target_c_commu_id=({$c_commu.c_commu_id})">({$WORD_COMMUNITY})に参加する</a></li> |
---|
12 | </ul> |
---|
13 | </div></div> |
---|
14 | ({* }}} *}) |
---|
15 | ({/if}) |
---|
16 | |
---|
17 | </div><!-- Top --> |
---|
18 | <div id="Left"> |
---|
19 | |
---|
20 | ({if $inc_entry_point[3]})({$inc_entry_point[3]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if}) |
---|
21 | |
---|
22 | ({* {{{ homePhotoBox *}) |
---|
23 | <div class="dparts homePhotoBox"> |
---|
24 | <div class="parts"> |
---|
25 | <p class="photo"><img src="({t_img_url filename=$c_commu.image_filename w=180 h=180 noimg=no_logo})" class="pict" alt="({$WORD_COMMUNITY})写真" /></p> |
---|
26 | </div> |
---|
27 | <p class="text">({$c_commu.name})</p> |
---|
28 | </div> |
---|
29 | ({* }}} *}) |
---|
30 | |
---|
31 | ({if $inc_entry_point[4]})({$inc_entry_point[4]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if}) |
---|
32 | |
---|
33 | ({* {{{ homeNineTable *}) |
---|
34 | <div class="parts homeNineTable"> |
---|
35 | <div class="partsHeading"><h3>({$WORD_COMMUNITY})メンバー</h3></div> |
---|
36 | ({if $smarty.const.OPENPNE_USE_FLASH_LIST}) |
---|
37 | ({capture assign=flashvars})({strip}) |
---|
38 | ({foreach from=$c_commu_member_list item=item key=key}) |
---|
39 | ({if $key > 0})&({/if}) |
---|
40 | pne_item({$key+1})_id=({$item.c_member_id}) |
---|
41 | &pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults}) |
---|
42 | &pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id}) |
---|
43 | &pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false}) |
---|
44 | &pne_item({$key+1})_count=({$item.friend_count}) |
---|
45 | ({/foreach}) |
---|
46 | ({/strip})({/capture}) |
---|
47 | <script type="text/javascript" src="js/show_flash.js?r7140"></script> |
---|
48 | <script type="text/javascript"> |
---|
49 | //<![CDATA[ |
---|
50 | show_flash('flash/list.swf', '({$flashvars})'); |
---|
51 | //]]> |
---|
52 | </script> |
---|
53 | ({else}) |
---|
54 | <table> |
---|
55 | ({if $c_commu_member_list[0]}) |
---|
56 | <tr class="photo"> |
---|
57 | ({t_loop from=$c_commu_member_list start=0 num=3}) |
---|
58 | <td>({if $item})({if $item.c_member_id == $c_commu.c_member_id_admin})<p class="crown"><img src="({t_img_url_skin filename=icon_crown})" alt="" /></p>({/if})<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.image_filename w=76 h=76 noimg=no_image})" alt="({$item.nickname})" /></a>({/if})</td> |
---|
59 | ({/t_loop}) |
---|
60 | </tr> |
---|
61 | <tr class="text"> |
---|
62 | ({t_loop from=$c_commu_member_list start=0 num=3}) |
---|
63 | <td>({if $item})<a href="({t_url m=pc a=page_f_home})&target_c_member_id=({$item.c_member_id})">({$item.nickname}) (({$item.friend_count|default:"0"}))</a>({/if})</td> |
---|
64 | ({/t_loop}) |
---|
65 | </tr> |
---|
66 | ({/if}) |
---|
67 | ({if $c_commu_member_list[3]}) |
---|
68 | <tr class="photo"> |
---|
69 | ({t_loop from=$c_commu_member_list start=3 num=3}) |
---|
70 | <td>({if $item})({if $item.c_member_id == $c_commu.c_member_id_admin})<p class="crown"><img src="({t_img_url_skin filename=icon_crown})" alt="" /></p>({/if})<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.image_filename w=76 h=76 noimg=no_image})" alt="({$item.nickname})" /></a>({/if})</td> |
---|
71 | ({/t_loop}) |
---|
72 | </tr> |
---|
73 | <tr class="text"> |
---|
74 | ({t_loop from=$c_commu_member_list start=3 num=3}) |
---|
75 | <td>({if $item})<a href="({t_url m=pc a=page_f_home})&target_c_member_id=({$item.c_member_id})">({$item.nickname}) (({$item.friend_count|default:"0"}))</a>({/if})</td> |
---|
76 | ({/t_loop}) |
---|
77 | </tr> |
---|
78 | ({/if}) |
---|
79 | ({if $c_commu_member_list[6]}) |
---|
80 | <tr class="photo"> |
---|
81 | ({t_loop from=$c_commu_member_list start=6 num=3}) |
---|
82 | <td>({if $item})({if $item.c_member_id == $c_commu.c_member_id_admin})<p class="crown"><img src="({t_img_url_skin filename=icon_crown})" alt="" /></p>({/if})<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.image_filename w=76 h=76 noimg=no_image})" alt="({$item.nickname})" /></a>({/if})</td> |
---|
83 | ({/t_loop}) |
---|
84 | </tr> |
---|
85 | <tr class="text"> |
---|
86 | ({t_loop from=$c_commu_member_list start=6 num=3}) |
---|
87 | <td>({if $item})<a href="({t_url m=pc a=page_f_home})&target_c_member_id=({$item.c_member_id})">({$item.nickname}) (({$item.friend_count|default:"0"}))</a>({/if})</td> |
---|
88 | ({/t_loop}) |
---|
89 | </tr> |
---|
90 | ({/if}) |
---|
91 | </table> |
---|
92 | ({/if}) |
---|
93 | <div class="block moreInfo"> |
---|
94 | <ul class="moreInfo"> |
---|
95 | <li><a href="({t_url m=pc a=page_c_member_list})&target_c_commu_id=({$c_commu.c_commu_id})">全てを見る(({$c_commu.member_count})人)</a></li> |
---|
96 | ({if $is_c_commu_admin && $c_commu.member_count > 1}) |
---|
97 | <li><a href="({t_url m=pc a=page_c_send_message})&target_c_commu_id=({$c_commu.c_commu_id})">参加者にメッセージを送る</a></li> |
---|
98 | <li><a href="({t_url m=pc a=page_c_edit_member})&target_c_commu_id=({$c_commu.c_commu_id})">メンバー管理</a></li> |
---|
99 | ({/if}) |
---|
100 | </ul> |
---|
101 | </div> |
---|
102 | </div> |
---|
103 | ({* }}} *}) |
---|
104 | |
---|
105 | ({if $inc_entry_point[5]})({$inc_entry_point[5]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if}) |
---|
106 | |
---|
107 | </div><!-- Left --> |
---|
108 | <div id="Center"> |
---|
109 | |
---|
110 | ({if $inc_entry_point[6]})({$inc_entry_point[6]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if}) |
---|
111 | |
---|
112 | ({* {{{ homeMainTable *}) |
---|
113 | <div class="dparts homeMainTable"><div class="parts"> |
---|
114 | <div class="partsHeading"><h3>({$WORD_COMMUNITY})</h3></div> |
---|
115 | <table> |
---|
116 | <tr><th>({$WORD_COMMUNITY})名</th><td>({$c_commu.name})</td></tr> |
---|
117 | <tr><th>開設日</th><td>({$c_commu.r_datetime|date_format:"%Y年%m月%d日"})</td></tr> |
---|
118 | <tr><th>管理者</th><td><a href="({t_url m=pc a=page_f_home})&target_c_member_id=({$c_commu.c_member_id_admin})">({$c_commu.c_member_admin.nickname})</a></td></tr> |
---|
119 | ({if $sub_admin}) |
---|
120 | <tr><th>副管理者</th><td><a href="({t_url m=pc a=page_f_home})&target_c_member_id=({$sub_admin.c_member_id})">({$sub_admin.nickname})</a></td></tr> |
---|
121 | ({/if}) |
---|
122 | <tr><th>カテゴリ</th><td>({$c_commu.c_commu_category.name})</td></tr> |
---|
123 | <tr><th>メンバー数</th><td>({$c_commu.member_count|default:"0"})人</td></tr> |
---|
124 | <tr><th>参加条件と<br />公開範囲</th><td> |
---|
125 | ({if $c_commu.public_flag == 'public'}) |
---|
126 | だれでも参加できる(公開) |
---|
127 | ({elseif $c_commu.public_flag == 'auth_public'}) |
---|
128 | 管理者の承認が必要(公開) |
---|
129 | ({elseif $c_commu.public_flag == 'auth_sns'}) |
---|
130 | 管理者の承認が必要(公開) |
---|
131 | ({elseif $c_commu.public_flag == 'auth_commu_member'}) |
---|
132 | 管理者の承認が必要(非公開) |
---|
133 | ({/if}) |
---|
134 | </td></tr> |
---|
135 | <tr><th>({$WORD_COMMUNITY})<br />説明文</th><td>({$c_commu.info|nl2br|t_url2cmd:'community'|t_cmd:'community'})</td></tr> |
---|
136 | ({if $is_c_commu_member || $c_commu.public_flag != "auth_commu_member"}) |
---|
137 | ({if $new_topic_comment}) |
---|
138 | <tr><th>({$WORD_COMMUNITY})<br />掲示板</th><td> |
---|
139 | <dl class="articleList"> |
---|
140 | ({foreach from=$new_topic_comment item=item}) |
---|
141 | <dt>({$item.r_datetime|date_format:"%m月%d日"})</dt><dd><a href="({t_url m=pc a=page_c_topic_detail})&target_c_commu_topic_id=({$item.c_commu_topic_id})">({$item.name|t_truncate:30})(({$item.count_comments}))</a>({if $item.image_filename1 || $item.image_filename2 || $item.image_filename3}) <img src="({t_img_url_skin filename=icon_camera})" alt="写真あり" />({/if})</dd> |
---|
142 | ({/foreach}) |
---|
143 | </dl> |
---|
144 | <div class="moreInfo"><ul class="moreInfo"> |
---|
145 | <li><a href="({t_url m=pc a=page_c_topic_list})&target_c_commu_id=({$c_commu.c_commu_id})">もっと読む</a></li> |
---|
146 | ({if ($c_commu.topic_authority == 'public' && $is_c_commu_member) || ($c_commu.topic_authority == 'admin_only' && $is_c_commu_admin)}) |
---|
147 | <li><a href="({t_url m=pc a=page_c_topic_add})&target_c_commu_id=({$c_commu.c_commu_id})">トピックを作成</a></li> |
---|
148 | ({/if}) |
---|
149 | </ul></div> |
---|
150 | </td></tr> |
---|
151 | ({/if}) |
---|
152 | ({if $new_topic_comment_event}) |
---|
153 | <tr><th>新着の<br />イベント<br />書き込み</th><td> |
---|
154 | <dl class="articleList"> |
---|
155 | ({foreach from=$new_topic_comment_event item=item}) |
---|
156 | <dt>({$item.r_datetime|date_format:"%m月%d日"})</dt><dd><a href="({t_url m=pc a=page_c_event_detail})&target_c_commu_topic_id=({$item.c_commu_topic_id})">({$item.name|t_truncate:30})(({$item.count_comments}))</a>({if $item.image_filename1 || $item.image_filename2 || $item.image_filename3}) <img src="({t_img_url_skin filename=icon_camera})" alt="写真あり" />({/if})</dd> |
---|
157 | ({/foreach}) |
---|
158 | </dl> |
---|
159 | <div class="moreInfo"><ul class="moreInfo"> |
---|
160 | <li><a href="({t_url m=pc a=page_c_event_list})&target_c_commu_id=({$c_commu.c_commu_id})">もっと読む</a></li> |
---|
161 | ({if ($c_commu.topic_authority == 'public' && $is_c_commu_member) || ($c_commu.topic_authority == 'admin_only' && $is_c_commu_admin)}) |
---|
162 | <li><a href="({t_url m=pc a=page_c_event_add})&target_c_commu_id=({$c_commu.c_commu_id})">イベントを作成</a></li> |
---|
163 | ({/if}) |
---|
164 | </ul></div> |
---|
165 | </td></tr> |
---|
166 | ({/if}) |
---|
167 | ({if $new_commu_review}) |
---|
168 | <tr><th>新着の<br />おすすめ<br />レビュー</th><td> |
---|
169 | <dl class="articleList"> |
---|
170 | ({foreach from=$new_commu_review item=item}) |
---|
171 | <dt>({$item.r_datetime|date_format:"%m月%d日"})</dt><dd><a href="({t_url m=pc a=page_h_review_list_product})&c_review_id=({$item.c_review_id})">({$item.title|t_truncate:30})</a></dd> |
---|
172 | ({/foreach}) |
---|
173 | </dl> |
---|
174 | <div class="moreInfo"><ul class="moreInfo"> |
---|
175 | <li><a href="({t_url m=pc a=page_c_member_review})&target_c_commu_id=({$c_commu.c_commu_id})">もっと読む</a></li> |
---|
176 | <li><a href="({t_url m=pc a=page_c_member_review_add})&target_c_commu_id=({$c_commu.c_commu_id})">レビューを掲載</a></li> |
---|
177 | </ul></div> |
---|
178 | </td></tr> |
---|
179 | ({/if}) |
---|
180 | ({/if}) |
---|
181 | ({if $is_c_commu_member && (!$new_topic_comment || !$new_topic_comment_event || $is_c_commu_admin)}) |
---|
182 | <tr><td class="halfway" colspan="2"><ul class="moreInfo"> |
---|
183 | ({if $is_c_commu_member || $c_commu.public_flag != "auth_commu_member"}) |
---|
184 | ({if ($c_commu.topic_authority == 'public' && $is_c_commu_member) || ($c_commu.topic_authority == 'admin_only' && $is_c_commu_admin)}) |
---|
185 | ({if !$new_topic_comment}) |
---|
186 | <li><a href="({t_url m=pc a=page_c_topic_add})&target_c_commu_id=({$c_commu.c_commu_id})">トピックを作成</a></li> |
---|
187 | ({/if}) |
---|
188 | ({if !$new_topic_comment_event}) |
---|
189 | <li><a href="({t_url m=pc a=page_c_event_add})&target_c_commu_id=({$c_commu.c_commu_id})">イベントを作成</a></li> |
---|
190 | ({/if}) |
---|
191 | ({/if}) |
---|
192 | ({/if}) |
---|
193 | ({if $is_c_commu_admin}) |
---|
194 | <li><a href="({t_url m=pc a=page_c_edit})&target_c_commu_id=({$c_commu.c_commu_id})">({$WORD_COMMUNITY})設定変更</a></li> |
---|
195 | ({/if}) |
---|
196 | </ul></td></tr> |
---|
197 | ({/if}) |
---|
198 | </table> |
---|
199 | ({if $is_c_commu_member && !($is_unused_pc_bbs && $is_unused_ktai_bbs)}) |
---|
200 | ({t_form_block m=pc a=do_c_home_update_is_receive_mail}) |
---|
201 | <input type="hidden" name="target_c_commu_id" value="({$c_commu.c_commu_id})" /> |
---|
202 | <table> |
---|
203 | ({if !$is_c_commu_admin}) |
---|
204 | <tr><th>管理者からの<br />メッセージを</th><td> |
---|
205 | <ul class="check"> |
---|
206 | <li><input type="radio" class="input_radio" value="1" id="is_receive_message_1" name="is_receive_message"({if $is_receive_message}) checked="checked"({/if}) /><label for="is_receive_message_1">受け取る</label></li> |
---|
207 | <li><input type="radio" class="input_radio" value="0" id="is_receive_message_0" name="is_receive_message"({if !$is_receive_message}) checked="checked"({/if}) /><label for="is_receive_message_0">受け取らない</label></li> |
---|
208 | </ul> |
---|
209 | </td></tr> |
---|
210 | ({/if}) |
---|
211 | ({if $smarty.const.OPENPNE_ENABLE_KTAI && !$is_unused_ktai_bbs && $is_registered_ktai_address}) |
---|
212 | <tr><th>({$WORD_COMMUNITY})<br />書き込みを<br />携帯メールで</th><td> |
---|
213 | <ul class="check"> |
---|
214 | <li><input type="radio" class="input_radio" value="1" id="is_receive_mail_1" name="is_receive_mail"({if $is_receive_mail}) checked="checked"({/if}) /><label for="is_receive_mail_1">受け取る</label></li> |
---|
215 | <li><input type="radio" class="input_radio" value="0" id="is_receive_mail_0" name="is_receive_mail"({if !$is_receive_mail}) checked="checked"({/if}) /><label for="is_receive_mail_0">受け取らない</label></li> |
---|
216 | </ul> |
---|
217 | </td></tr> |
---|
218 | ({/if}) |
---|
219 | ({if !$is_unused_pc_bbs}) |
---|
220 | <tr><th>({$WORD_COMMUNITY})<br />書き込みを<br />PCメールで</th><td> |
---|
221 | <ul class="check"> |
---|
222 | <li><input type="radio" class="input_radio" value="1" id="is_receive_mail_pc_1" name="is_receive_mail_pc"({if $is_receive_mail_pc}) checked="checked"({/if}) /><label for="is_receive_mail_pc_1">受け取る</label></li> |
---|
223 | <li><input type="radio" class="input_radio" value="0" id="is_receive_mail_pc_0" name="is_receive_mail_pc"({if !$is_receive_mail_pc}) checked="checked"({/if}) /><label for="is_receive_mail_pc_0">受け取らない</label></li> |
---|
224 | </ul> |
---|
225 | </td></tr> |
---|
226 | ({/if}) |
---|
227 | <tr><th></th><td> |
---|
228 | <ul class="moreInfo button"> |
---|
229 | <li><input type="submit" class="input_submit" value="メール受信設定変更" /></li> |
---|
230 | </ul> |
---|
231 | </td></tr> |
---|
232 | </table> |
---|
233 | ({/t_form_block}) |
---|
234 | ({/if}) |
---|
235 | </div></div> |
---|
236 | ({* }}} *}) |
---|
237 | |
---|
238 | ({if $inc_entry_point[7]})({$inc_entry_point[7]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if}) |
---|
239 | |
---|
240 | </div><!-- Center --> |
---|
241 | </div><!-- LayoutA --> |
---|