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

source: OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp/modules/pc/templates/c_home.tpl @ 5815

Last change on this file since 5815 was 5815, checked in by ogawa, 12 years ago

#1945:truncate->t_truncate

File size: 14.4 KB
Line 
1<div id="Container">
2<div id="LayoutA">
3({ext_include file="inc_c_com_topic_find.tpl"})
4
5({if !$is_c_commu_member})
6({* {{{ infoBox *})
7<tr>
8<td class="container inc_c_join_commu_box" align="center">
9
10<!-- ******************************************* -->
11<!-- ******ここから:このコミュニティに参加****** -->
12<table border="0" cellspacing="0" cellpadding="0" style="width:680px;margin:0px auto;" class="border_07">
13({*********})
14<tr>
15<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
16<td style="width:666px;" class="bg_00"><img src="./skin/dummy.gif" alt="dummy" style="width:666px;height:7px;" class="dummy"></td>
17<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
18</tr>
19({*********})
20<tr>
21<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
22<td class="bg_01">
23<!-- *ここから:主内容* -->
24
25<table class="container" border="0" cellspacing="0" cellpadding="0" style="width:666px;">
26<tr>
27<td style="height:1px;" class="bg_01" colspan="6"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
28</tr>
29<tr>
30<td style="width:1px;" class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
31<td style="width:300px;" class="bg_09 padding_s">
32<span class="c_01">&nbsp;・このコミュニティに参加しますか?</span>
33</td>
34<td style="width:1px;" class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
35<td style="width:20px;padding-left:5px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" class="icon arrow_1"></td>
36<td style="width:343px;" class="bg_02">
37<a href="({t_url m=pc a=page_c_join_commu})&amp;target_c_commu_id=({$c_commu.c_commu_id})">({$c_commu.name})に参加する</a>
38</td>
39<td style="width:1px;" class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
40</tr>
41<tr>
42<td style="height:1px;" class="bg_01" colspan="6"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
43</tr>
44</table>
45
46<!-- *ここまで:主内容* -->
47</td>
48<td class="bg_00"><img src="./skin/dummy.gif" alt="dummy"></td>
49</tr>
50({*********})
51<tr>
52<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
53<td class="bg_00"><img src="./skin/dummy.gif" alt="dummy" style="width:666px;height:7px;" class="dummy"></td>
54<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
55</tr>
56({*********})
57</table>
58<!-- ******ここまで:このコミュニティに参加****** -->
59<!-- ******************************************* -->
60
61</td>
62</tr>
63({* }}} *})
64({/if})
65
66<div id="Left">
67
68({* unknown *})({if $inc_entry_point[3]})({$inc_entry_point[3]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
69
70({* {{{ homePhotoBox *})
71<div class="dparts homePhotoBox">
72<div class="parts">
73<p class="photo"><img src="({t_img_url filename=$c_commu.image_filename w=180 h=180 noimg=no_logo})" class="pict" alt="コミュニティ写真" /></p>
74</div>
75<p class="text">({$c_commu.name})</p>
76</div>
77({* }}} *})
78
79({* unknown *})({if $inc_entry_point[4]})({$inc_entry_point[4]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
80
81({* {{{ homeNineTable *})
82<div class="parts homeNineTable">
83<div class="partsHeading"><h3>コミュニティメンバー</h3></div>
84({if $smarty.const.OPENPNE_USE_FLASH_LIST})
85({capture assign=flashvars})({strip})
86({foreach from=$c_commu_member_list item=item key=key})
87({if $key > 0})&({/if})
88pne_item({$key+1})_id=({$item.c_member_id})
89&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
90&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})
91&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
92&pne_item({$key+1})_count=({$item.friend_count})
93({/foreach})
94({/strip})({/capture})
95<script type="text/javascript" src="js/show_flash.js"></script>
96<script type="text/javascript">
97<!--
98show_flash('flash/list.swf', '({$flashvars})');
99//-->
100</script>
101({else})
102<table>
103({if $c_commu_member_list[0]})
104<tr class="photo">
105({t_loop from=$c_commu_member_list start=0 num=3})
106<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})&amp;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>
107({/t_loop})
108</tr>
109<tr class="text">
110({t_loop from=$c_commu_member_list start=0 num=3})
111<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname}) (({$item.friend_count|default:"0"}))</a>({/if})</td>
112({/t_loop})
113</tr>
114({/if})
115({if $c_commu_member_list[3]})
116<tr class="photo">
117({t_loop from=$c_commu_member_list start=3 num=3})
118<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})&amp;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>
119({/t_loop})
120</tr>
121<tr class="text">
122({t_loop from=$c_commu_member_list start=3 num=3})
123<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname}) (({$item.friend_count|default:"0"}))</a>({/if})</td>
124({/t_loop})
125</tr>
126({/if})
127({if $c_commu_member_list[6]})
128<tr class="photo">
129({t_loop from=$c_commu_member_list start=6 num=3})
130<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})&amp;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>
131({/t_loop})
132</tr>
133<tr class="text">
134({t_loop from=$c_commu_member_list start=6 num=3})
135<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname}) (({$item.friend_count|default:"0"}))</a>({/if})</td>
136({/t_loop})
137</tr>
138({/if})
139</table>
140({/if})
141<div class="block moreInfo">
142<ul class="moreInfo">
143<li><a href="({t_url m=pc a=page_c_member_list})&amp;target_c_commu_id=({$c_commu.c_commu_id})">全てを見る(({$c_commu.member_count})人)</a></li>
144({if $is_c_commu_admin && $c_commu.member_count > 1})
145<li><a href="({t_url m=pc a=page_c_send_message})&amp;target_c_commu_id=({$c_commu.c_commu_id})">参加者にメッセージを送る</a></li>
146<li><a href="({t_url m=pc a=page_c_edit_member})&amp;target_c_commu_id=({$c_commu.c_commu_id})">メンバー管理</a></li>
147({/if})
148</ul>
149</div>
150</div>
151({* }}} *})
152
153({* unknown *})({if $inc_entry_point[5]})({$inc_entry_point[5]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
154
155</div><!-- Left -->
156<div id="Center">
157
158({* unknown *})({if $inc_entry_point[6]})({$inc_entry_point[6]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
159
160({* {{{ homeMainTable *})
161<div class="dparts homeMainTable"><div class="parts">
162<div class="partsHeading"><h3>コミュニティ</h3></div>
163<table>
164<tr><th>コミュニティ名</th><td>({$c_commu.name})</td></tr>
165<tr><th>開設日</th><td>({$c_commu.r_datetime|date_format:"%Y年%m月%d日"})</td></tr>
166<tr><th>管理者</th><td><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$c_commu.c_member_id_admin})">({$c_commu.c_member_admin.nickname})</a></td></tr>
167({if $sub_admin})
168<tr><th>副管理者</th><td><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$sub_admin.c_member_id})">({$sub_admin.nickname})</a></td></tr>
169({/if})
170<tr><th>カテゴリ</th><td>({$c_commu.c_commu_category.name})</td></tr>
171<tr><th>メンバー数</th><td>({$c_commu.member_count|default:"0"})人</td></tr>
172<tr><th>参加条件と<br />公開範囲</th><td>
173({if $c_commu.public_flag == 'public'})
174だれでも参加できる(公開)
175({elseif $c_commu.public_flag == 'auth_public'})
176管理者の承認が必要(公開)
177({elseif $c_commu.public_flag == 'auth_sns'})
178管理者の承認が必要(公開)
179({elseif $c_commu.public_flag == 'auth_commu_member'})
180管理者の承認が必要(非公開)
181({/if})
182</td></tr>
183<tr><th>コミュニティ<br />説明文</th><td>({$c_commu.info|nl2br|t_url2cmd:'community'|t_cmd:'community'})</td></tr>
184({if $is_c_commu_member || $c_commu.public_flag != "auth_commu_member"})
185({if $new_topic_comment})
186<tr><th>コミュニティ<br />掲示板</th><td>
187<dl class="articleList">
188({foreach from=$new_topic_comment item=item})
189<dt>({$item.r_datetime|date_format:"%m月%d日"})</dt><dd><a href="({t_url m=pc a=page_c_topic_detail})&amp;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>
190({/foreach})
191</dl>
192<div class="moreInfo"><ul class="moreInfo">
193<li><a href="({t_url m=pc a=page_c_topic_list})&amp;target_c_commu_id=({$c_commu.c_commu_id})">もっと読む</a></li>
194({if ($c_commu.topic_authority == 'public' && $is_c_commu_member) || ($c_commu.topic_authority == 'admin_only' && $is_c_commu_admin)})
195<li><a href="({t_url m=pc a=page_c_topic_add})&amp;target_c_commu_id=({$c_commu.c_commu_id})">トピックを作成</a></li>
196({/if})
197</ul></div>
198</td></tr>
199({/if})
200({if $new_topic_comment_event})
201<tr><th>新着の<br />イベント<br />書き込み</th><td>
202<dl class="articleList">
203({foreach from=$new_topic_comment_event item=item})
204<dt>({$item.r_datetime|date_format:"%m月%d日"})</dt><dd><a href="({t_url m=pc a=page_c_event_detail})&amp;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>
205({/foreach})
206</dl>
207<div class="moreInfo"><ul class="moreInfo">
208<li><a href="({t_url m=pc a=page_c_event_list})&amp;target_c_commu_id=({$c_commu.c_commu_id})">もっと読む</a></li>
209({if ($c_commu.topic_authority == 'public' && $is_c_commu_member) || ($c_commu.topic_authority == 'admin_only' && $is_c_commu_admin)})
210<li><a href="({t_url m=pc a=page_c_event_add})&amp;target_c_commu_id=({$c_commu.c_commu_id})">イベントを作成</a></li>
211({/if})
212</ul></div>
213</td></tr>
214({/if})
215({if $new_commu_review})
216<tr><th>新着の<br />おすすめ<br />レビュー</th><td>
217<dl class="articleList">
218({foreach from=$new_commu_review item=item})
219<dt>({$item.r_datetime|date_format:"%m月%d日"})</dt><dd><a href="({t_url m=pc a=page_h_review_list_product})&amp;c_review_id=({$item.c_review_id})">({$item.title|t_truncate:30})</a></dd>
220({/foreach})
221</dl>
222<div class="moreInfo"><ul class="moreInfo">
223<li><a href="({t_url m=pc a=page_c_member_review})&amp;target_c_commu_id=({$c_commu.c_commu_id})">もっと読む</a></li>
224<li><a href="({t_url m=pc a=page_c_member_review_add})&amp;target_c_commu_id=({$c_commu.c_commu_id})">レビューを掲載</a></li>
225</ul></div>
226</td></tr>
227({/if})
228({/if})
229({if $is_c_commu_member && (!$new_topic_comment || !$new_topic_comment_event || $is_c_commu_admin)})
230<tr><td class="halfway" colspan="2"><ul class="moreInfo">
231({if $is_c_commu_member || $c_commu.public_flag != "auth_commu_member"})
232({if ($c_commu.topic_authority == 'public' && $is_c_commu_member) || ($c_commu.topic_authority == 'admin_only' && $is_c_commu_admin)})
233({if !$new_topic_comment})
234<li><a href="({t_url m=pc a=page_c_topic_add})&amp;target_c_commu_id=({$c_commu.c_commu_id})">トピックを作成</a></li>
235({/if})
236({if !$new_topic_comment_event})
237<li><a href="({t_url m=pc a=page_c_event_add})&amp;target_c_commu_id=({$c_commu.c_commu_id})">イベントを作成</a></li>
238({/if})
239({/if})
240({/if})
241({if $is_c_commu_admin})
242<li><a href="({t_url m=pc a=page_c_edit})&amp;target_c_commu_id=({$c_commu.c_commu_id})">コミュニティ設定変更</a></li>
243({/if})
244</ul></td></tr>
245({/if})
246</table>
247({if $is_c_commu_member && !($is_unused_pc_bbs && $is_unused_ktai_bbs)})
248({t_form m=pc a=do_c_home_update_is_receive_mail})
249<input type="hidden" name="sessid" value="({$PHPSESSID})" />
250<input type="hidden" name="target_c_commu_id" value="({$c_commu.c_commu_id})" />
251<table>
252({if !$is_c_commu_admin})
253<tr><th>管理者からの<br />メッセージを</th><td>
254<ul class="check">
255<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>
256<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>
257</ul>
258</td></tr>
259({/if})
260({if $smarty.const.OPENPNE_ENABLE_KTAI && !$is_unused_ktai_bbs && $is_registered_ktai_address})
261<tr><th>コミュニティ<br />書き込みを<br />携帯メールで</th><td>
262<ul class="check">
263<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>
264<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>
265</ul>
266</td></tr>
267({/if})
268({if !$is_unused_pc_bbs})
269<tr><th>コミュニティ<br />書き込みを<br />PCメールで</th><td>
270<ul class="check">
271<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>
272<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>
273</ul>
274</td></tr>
275({/if})
276<tr><th></th><td>
277<ul class="moreInfo button">
278<li><input type="submit" class="input_submit" value="メール受信設定変更" /></li>
279</ul>
280</td></tr>
281</table>
282</form>
283({/if})
284</div></div>
285({* }}} *})
286
287({* unknown *})({if $inc_entry_point[7]})({$inc_entry_point[7]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
288
289</div><!-- Center -->
290</div><!-- LayoutA -->
291</div>
Note: See TracBrowser for help on using the repository browser.