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

source: OpenPNE/trunk/webapp/modules/ktai/templates/c_bbs.tpl @ 11268

Last change on this file since 11268 was 11268, checked in by nagasawa, 14 years ago

#777:ブランチからのマージ

File size: 11.8 KB
Line 
1({$inc_ktai_header|smarty:nodefaults})
2
3<table width="100%"><tr><td align="center" bgcolor="#({$ktai_color_config.bg_02})">
4<font color="#({$ktai_color_config.font_05})"><a name="top">({$c_commu.name})</a></font><br>
5</td></tr>
6<tr><td bgcolor="#({$ktai_color_config.bg_03})" align="center">
7<font color="#({$ktai_color_config.color_24})">({$c_commu_topic.name})</font><br>
8</td></tr></table>
9
10({if $c_commu_topic.event_flag != 1})
11
12<a href="#({if $c_commu_topic_comment_list})tc1({else})write({/if})"><font color="#({$ktai_color_config.font_08})">▼</font></a>({$c_commu_topic.r_datetime|date_format:"%m/%d %H:%M"})<br>
13<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$c_commu_topic.c_member_id})&amp;({$tail})">({$c_commu_topic.nickname|default:"&nbsp;"})</a>
14({if $c_commu_topic.c_member_id==$u || $is_admin})
15[<a href="({t_url m=ktai a=page_c_topic_edit})&amp;target_c_commu_topic_id=({$c_commu_topic_id})&amp;({$tail})">編集</a>]
16({/if})
17<br>
18({$c_commu_topic.body|t_url2a_ktai|nl2br})<br>
19({if $c_commu_topic.image_filename1})[i:68]写真:[<a href="({t_img_url filename=$c_commu_topic.image_filename1 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_commu_topic.image_filename1 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>({/if})
20({if $c_commu_topic.image_filename2})[i:68]写真:[<a href="({t_img_url filename=$c_commu_topic.image_filename2 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_commu_topic.image_filename2 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>({/if})
21({if $c_commu_topic.image_filename3})[i:68]写真:[<a href="({t_img_url filename=$c_commu_topic.image_filename3 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_commu_topic.image_filename3 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>({/if})
22({if $c_commu_topic.filename && $smarty.const.OPENPNE_USE_FILEUPLOAD})ファイル名:({$c_commu_topic.original_filename})<br>({/if})
23<br>
24
25({else})
26このイベントを({$WORD_MY_FRIEND_HALF})に教えよう!<br>
27<font color="#({$ktai_color_config.font_07})">⇒</font><a href="({t_url m=ktai a=page_c_event_invite})&amp;target_c_commu_topic_id=({$c_commu_topic.c_commu_topic_id})&amp;({$tail})">このイベントを友人に教える</a>
28
29<hr color="#({$ktai_color_config.border_01})">
30<a href="#({if $c_commu_topic_comment_list})tc1({else})write({/if})"><font color="#({$ktai_color_config.font_08})">▼</font></a><br>
31企画者:<br>
32<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$c_commu_topic.c_member_id})&amp;({$tail})">({$c_commu_topic.nickname|default:"&nbsp;"})</a> <br>
33<br>
34開催日時:<br>
35({$c_commu_topic.open_date|date_format:"%Y年%m月%d日"})({if $c_commu_topic.open_date_comment})<br>({$c_commu_topic.open_date_comment})({/if})<br>
36<br>
37開催場所:<br>
38({$c_commu_topic.pref})({if $c_commu_topic.open_pref_comment})<br>({$c_commu_topic.open_pref_comment})({/if})<br>
39<br>
40募集人数:<br>
41({if $c_commu_topic.capacity})
42({$c_commu_topic.capacity})人
43({else})
44無制限
45({/if})
46<br>
47<br>
48参加者:<br>
49({$c_commu_topic.member_num})人<br>
50({if $c_commu_topic.member_num})
51<a href="({t_url m=ktai a=page_c_event_member_list})&amp;target_c_commu_topic_id=({$c_commu_topic.c_commu_topic_id})&amp;({$tail})">参加者リストを見る</a><br>
52({/if})
53<br>
54({if $c_commu_topic.invite_period != '0000-00-00'})
55募集期限:<br>
56({$c_commu_topic.invite_period|date_format:"%Y年%m月%d日"})<br>
57<br>
58({/if})
59詳細:<br>
60({$c_commu_topic.body|t_url2a_ktai|nl2br})<br>
61({if $c_commu_topic.image_filename1})[i:68]写真:[<a href="({t_img_url filename=$c_commu_topic.image_filename1 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_commu_topic.image_filename1 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>({/if})
62({if $c_commu_topic.image_filename2})[i:68]写真:[<a href="({t_img_url filename=$c_commu_topic.image_filename2 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_commu_topic.image_filename2 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>({/if})
63({if $c_commu_topic.image_filename3})[i:68]写真:[<a href="({t_img_url filename=$c_commu_topic.image_filename3 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_commu_topic.image_filename3 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>({/if})
64({if $c_commu_topic.filename && $smarty.const.OPENPNE_USE_FILEUPLOAD})ファイル名:({$c_commu_topic.original_filename})<br>({/if})
65({$c_commu_topic.r_datetime|date_format:"%m/%d %H:%M"})<br>
66
67({if $is_c_event_admin || $is_admin})
68<br>
69一括メッセージ:<br>
70参加者に一括でメッセージを送ります。<br>
71<a href="({t_url m=ktai a=page_c_event_mail})&amp;target_c_commu_topic_id=({$c_commu_topic.c_commu_topic_id})&amp;({$tail})">一括メッセージを送る</a><br>
72({/if})
73
74({if $is_c_event_admin || $is_admin})
75<br>
76イベント編集:<br>
77<a href="({t_url m=ktai a=page_c_event_edit})&amp;target_c_commu_topic_id=({$c_commu_topic_id})&amp;({$tail})">イベント編集画面を見る</a><br>
78({/if})
79({/if})
80
81
82({if $is_c_commu_view})
83({if $c_commu_topic_comment_list})
84<hr color="#({$ktai_color_config.border_01})">
85<center>
86コメント(全({$pager.total_num})件)<br>
87({$pager.start_num})番~({$pager.end_num})番を表示
88</center>
89
90<hr color="#({$ktai_color_config.border_02})">
91<table width="100%">
92({foreach from=$c_commu_topic_comment_list name=c_commu_topic_comment item=item})
93<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
94<a name="tc({$smarty.foreach.c_commu_topic_comment.iteration})" href="#({if $smarty.foreach.c_commu_topic_comment.last || $item.number == 0})({if $is_prev || $is_next})pager({else})write({/if})({else})tc({$smarty.foreach.c_commu_topic_comment.iteration+1})({/if})">
95<font color="#({$ktai_color_config.font_08})">▼</font>
96</a><font color="#({$ktai_color_config.font_06})">[({$item.number|string_format:"%03d"})]</font>({$item.r_datetime|date_format:"%m/%d %H:%M"})
97<br>
98({if $item.nickname})<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})&amp;({$tail})">({$item.nickname})</a>({/if})
99({if $item.c_member_id == $u || $target_diary_writer==$u || $is_admin})
100[<a href="({t_url m=ktai a=page_c_bbs_delete_c_commu_topic_comment_confirm})&amp;c_commu_topic_comment_id=({$item.c_commu_topic_comment_id})&amp;target_c_commu_topic_id=({$c_commu_topic_id})&amp;({$tail})">削除</a>]
101({/if})
102<br>
103({$item.body|t_url2a_ktai|nl2br})<br>
104({if $item.image_filename1})[i:68]写真:[<a href="({t_img_url filename=$item.image_filename1 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$item.image_filename1 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>({/if})
105({if $item.image_filename2})[i:68]写真:[<a href="({t_img_url filename=$item.image_filename2 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$item.image_filename2 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>({/if})
106({if $item.image_filename3})[i:68]写真:[<a href="({t_img_url filename=$item.image_filename3 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$item.image_filename3 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>({/if})
107({if $item.filename && $smarty.const.OPENPNE_USE_FILEUPLOAD})ファイル名:({$item.original_filename})<br>({/if})
108</td></tr>
109<tr><td bgcolor="#({$ktai_color_config.bg_07})">
110<hr color="#({$ktai_color_config.border_02})">
111</td></tr>
112({/foreach})
113</table>
114({if $pager.page_prev || $pager.page_next})
115<center>
116<a name="pager"></a>
117({if $pager.page_prev})<a href="({t_url m=ktai a=page_c_bbs})&amp;target_c_commu_topic_id=({$c_commu_topic_id})({if $requests.order == 'asc'})&amp;order=asc({/if})&amp;page=({$pager.page_prev})&amp;({$tail})" accesskey="4">[i:128]前を表示</a>({/if})
118({if $pager.page_prev && $pager.page_next})&nbsp;({/if})
119({if $pager.page_next})<a href="({t_url m=ktai a=page_c_bbs})&amp;target_c_commu_topic_id=({$c_commu_topic_id})({if $requests.order == 'asc'})&amp;order=asc({/if})&amp;page=({$pager.page_next})&amp;({$tail})" accesskey="6">[i:130]次を表示</a>({/if})
120<br>
121({if $pager.total_page_num > 1})
122({if $requests.order == 'asc'})
123<a href="({t_url m=ktai a=page_c_bbs})&amp;target_c_commu_topic_id=({$c_commu_topic_id})&amp;({$tail})">最新を表示</a>
124({else})
125<a href="({t_url m=ktai a=page_c_bbs})&amp;target_c_commu_topic_id=({$c_commu_topic_id})&amp;order=asc&amp;({$tail})">最初から表示</a>
126({/if})
127({/if})
128</center>
129({/if})
130({/if})
131
132({if $is_c_commu_member})
133<hr color="#({$ktai_color_config.border_01})">
134<a name="write"></a>
135({if $msg})
136<a name="comment"><font color="#({$ktai_color_config.font_09})">({$msg})</font></a><br>
137<br>
138({/if})
139
140({if $is_writable_comment})
141({t_form m=ktai a=do_c_bbs_insert_c_commu_topic_comment})
142<input type="hidden" name="ksid" value="({$PHPSESSID})">
143<input type="hidden" name="target_c_commu_topic_id" value="({$c_commu_topic_id})">
144<a name="menu"><font color="#({$ktai_color_config.font_06})">コメント:</font></a><br>
145<textarea name="body" rows="3"></textarea><br>
146({if $c_commu_topic.event_flag})
147({if $is_event_join_date})
148({if !$is_c_event_member})
149
150({if !$c_commu_topic.capacity || ($c_commu_topic.capacity > $c_commu_topic.member_num)})
151<input name="join_event" type="submit" value="イベントに参加する"><br>
152({/if})
153
154({else})
155<input name="cancel_event" type="submit" value="参加をキャンセルする"><br>
156({/if})
157({/if})
158<input name="write_comment" type="submit" value="コメントのみ書き込む">
159({else})
160<input type="submit" value="書き込む">
161({/if})
162</form>
163<br>
164[i:110]<a href="mailto:({$mail_address})">メール投稿</a><br>
165写真も添付できます。<br>
166<font color="#({$ktai_color_config.font_09})">※メール投稿では絵文字が反映されません</font>
167({else})
168({if $c_commu_topic.event_flag})
169コメントが1000番に達したので、このイベントにはコメントできません。
170<hr color="#({$ktai_color_config.border_01})">
171({if !$is_c_event_member})
172({if !$c_commu_topic.capacity || ($c_commu_topic.capacity > $c_commu_topic.member_num)})
173<center>
174このイベントに参加しますか?<br>
175({t_form m=ktai a=do_c_event_join_c_commu_event})
176<input type="hidden" name="ksid" value="({$PHPSESSID})">
177<input type="hidden" name="target_c_commu_topic_id" value="({$c_commu_topic_id})">
178<input type="submit" value="イベントに参加する"><br>
179</form>
180</center>
181({/if})
182({else})
183<center>
184このイベントの参加をキャンセルしますか?<br>
185({t_form m=ktai a=do_c_event_drop_c_commu_event})
186<input type="hidden" name="ksid" value="({$PHPSESSID})">
187<input type="hidden" name="target_c_commu_topic_id" value="({$c_commu_topic_id})">
188<input type="submit" value="参加をキャンセルする"><br>
189</form>
190</center>
191({/if})
192({else})
193コメントが1000番に達したので、このトピックにはコメントできません。
194({/if})
195({/if})
196({/if})
197({/if})
198<hr color="#({$ktai_color_config.border_01})">
199({if $c_commu_topic.event_flag != 1})
200[i:90]<a href="({t_url m=ktai a=page_c_topic_list})&amp;target_c_commu_id=({$c_commu.c_commu_id})&amp;({$tail})">トピックリスト</a><br>
201({else})
202[i:90]<a href="({t_url m=ktai a=page_c_event_list})&amp;target_c_commu_id=({$c_commu.c_commu_id})&amp;({$tail})">イベントリスト</a><br>
203({/if})
204[i:90]<a href="({t_url m=ktai a=page_c_home})&amp;target_c_commu_id=({$c_commu.c_commu_id})&amp;({$tail})">({$WORD_COMMUNITY_HALF})トップ</a><br>
205
206({$inc_ktai_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.