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

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

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

home系のマーキングを修正

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