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

source: OpenPNE/trunk/webapp/modules/admin/templates/topic_comment_list.tpl @ 6410

Last change on this file since 6410 was 6410, checked in by ogawa, 14 years ago

#2014:「コミュニティ」の名称変更に対応

File size: 4.6 KB
Line 
1({$inc_header|smarty:nodefaults})
2({ext_include file="inc_subnavi_adminImageKakikomi.tpl"})
3({assign var="page_name" value="トピック・イベントのコメント管理"})
4({ext_include file="inc_tree_adminImageKakikomi.tpl"})
5</div>
6
7({*ここまで:navi*})
8
9<h2>トピック・イベントのコメント管理</h2>
10<div class="contents">
11
12({if $msg})
13<p class="actionMsg">({$msg})</p>
14({/if})
15
16<div id="c01">
17<form action="./" method="get">
18<input type="hidden" name="m" value="({$module_name})" />
19<input type="hidden" name="a" value="page_({$hash_tbl->hash('topic_comment_list','page')})" />
20<h3 class="item">検索キーワード</h3>
21<input class="basic" type="text" name="keyword" value="({$keyword})" />
22<span class="textBtnS"><input type="submit" value="検索" /></span>
23</form>
24
25<form action="./" method="get">
26<input type="hidden" name="m" value="({$module_name})" />
27<input type="hidden" name="a" value="page_({$hash_tbl->hash('topic_comment_list','page')})" />
28<h3 class="item">ID検索</h3>
29<input class="basic" type="text" name="target_c_commu_topic_comment_id" value="({$target_c_commu_topic_comment_id})" />
30<span class="textBtnS"><input type="submit" value="検索" /></span>
31</form>
32</div>
33
34({if !$topic_comment_list})
35
36<p class="info">該当するコメントが存在しません</p>
37
38({else})
39
40({if $page_list})
41({capture name="pager"})
42<div class="listControl">
43<p class="display">
44({$total_num})件中 ({$start_num})-({$end_num})件目を表示しています
45</p>
46<p class="listMove">
47({if $page_list})({foreach from=$page_list item=item})({if $page!=$item})<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('topic_comment_list','page')})&amp;page=({$item})&amp;keyword=({$keyword_encode})">({$item})</a>({else})<b>({$item})</b>({/if})&nbsp;&nbsp;({/foreach})&nbsp;({/if})
48({if $prev})<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('topic_comment_list','page')})&amp;page=({$page-1})&amp;keyword=({$keyword_encode})"><<前</a> ({/if})
49({if $next})<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('topic_comment_list','page')})&amp;page=({$page+1})&amp;keyword=({$keyword_encode})">次>></a>({/if})
50</p>
51</div>({*/div class="listControl"*})
52
53({/capture})
54
55({$smarty.capture.pager|smarty:nodefaults})
56({/if})
57
58({foreach from=$topic_comment_list item=item})
59<table class="basicType2">
60<tbody>
61({****})
62<tr>
63<th>ID</th>
64<td class="type1">
65({$item.c_commu_topic_comment_id})
66</td>
67</tr>
68({****})
69<tr>
70<th>トピック名</th>
71<td>
72<a href="({t_url _absolute=1 m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$item.c_commu_topic_id})" target="_blank">({$item.topic_name})</a> (({$item.count_comments}))
73</td>
74</tr>
75({****})
76<tr>
77<th>({$WORD_COMMUNITY})名</th>
78<td>
79<a href="({t_url _absolute=1 m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})" target="_blank">({$item.commu_name})</a>
80</td>
81</tr>
82({****})
83<tr>
84<th>投稿者</th>
85<td>
86<a href="({t_url _absolute=1 m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})" target="_blank">({$item.nickname})</a>
87</td>
88</tr>
89({****})
90<tr>
91<th>作成日</th>
92<td>
93({$item.r_datetime})
94</td>
95</tr>
96({****})
97<tr>
98<th>トピックコメント本文</th>
99<td class="textbody">
100({if $item.image_filename1 || $item.image_filename2 || $item.image_filename3})
101<div>
102({if $item.image_filename1})<span class="padding_s"><a href="({t_img_url filename=$item.image_filename1})" target="_blank"><img src="({t_img_url filename=$item.image_filename1 w=120 h=120})"></a></span>({/if})
103({if $item.image_filename2})<span class="padding_s"><a href="({t_img_url filename=$item.image_filename2})" target="_blank"><img src="({t_img_url filename=$item.image_filename2 w=120 h=120})"></a></span>({/if})
104({if $item.image_filename3})<span class="padding_s"><a href="({t_img_url filename=$item.image_filename3})" target="_blank"><img src="({t_img_url filename=$item.image_filename3 w=120 h=120})"></a></span>({/if})
105</div>
106({/if})
107({if $smarty.const.OPENPNE_ADMIN_CONVERT_URL})
108({$item.body|nl2br|t_url2cmd:'community'|t_cmd:'community'})
109({else})
110({$item.body|nl2br})
111({/if})
112</td>
113</tr>
114({****})
115<tr>
116<td class="formbutton" colspan="2">
117<form action="./" method="get">
118<input type="hidden" name="m" value="({$module_name})" />
119<input type="hidden" name="a" value="page_({$hash_tbl->hash('delete_topic_comment')})" />
120<input type="hidden" name="target_c_commu_topic_comment_id" value="({$item.c_commu_topic_comment_id})" />
121<span class="textBtnS"><input type="submit" value="削除" /></span>
122</form>
123</td>
124</tr>
125</tbody>
126</table>
127({/foreach})
128
129({if $page_list})
130({$smarty.capture.pager|smarty:nodefaults})
131({/if})
132
133({/if})
134
135({$inc_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.