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_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_list','page')})" /> |
---|
28 | <h3 class="item">ID検索</h3> |
---|
29 | <input class="basic" type="text" name="target_c_commu_topic_id" value="({$target_c_commu_topic_id})" /> |
---|
30 | <span class="textBtnS"><input type="submit" value="検索" /></span> |
---|
31 | </form> |
---|
32 | </div> |
---|
33 | |
---|
34 | ({if !$topic_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})&a=page_({$hash_tbl->hash('topic_list','page')})&page=({$item})&keyword=({$keyword_encode})">({$item})</a>({else})<b>({$item})</b>({/if}) ({/foreach}) ({/if}) |
---|
48 | ({if $prev})<a href="?m=({$module_name})&a=page_({$hash_tbl->hash('topic_list','page')})&page=({$page-1})&keyword=({$keyword_encode})"><<前</a> ({/if}) |
---|
49 | ({if $next})<a href="?m=({$module_name})&a=page_({$hash_tbl->hash('topic_list','page')})&page=({$page+1})&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_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_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})&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>コミュニティ名</th> |
---|
78 | <td> |
---|
79 | <a href="({t_url _absolute=1 m=pc a=page_c_home})&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})&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 | ({if $item.filename && $smarty.const.OPENPNE_USE_FILEUPLOAD}) |
---|
116 | <tr> |
---|
117 | <th>ファイル</th> |
---|
118 | <td class="textbody"> |
---|
119 | <a href="({t_url m=$module_name a=do_file_download})&filename=({$item.filename})&sessid=({$PHPSESSID})"> |
---|
120 | ({$item.original_filename}) |
---|
121 | </a> |
---|
122 | </td> |
---|
123 | </tr> |
---|
124 | ({****}) |
---|
125 | ({/if}) |
---|
126 | <tr> |
---|
127 | <td class="formbutton" colspan="2"> |
---|
128 | <form action="./" method="get"> |
---|
129 | <input type="hidden" name="m" value="({$module_name})" /> |
---|
130 | <input type="hidden" name="a" value="page_({$hash_tbl->hash('delete_topic')})" /> |
---|
131 | <input type="hidden" name="target_c_commu_topic_id" value="({$item.c_commu_topic_id})" /> |
---|
132 | <span class="textBtnS"><input type="submit" value="削除" /></span> |
---|
133 | </form> |
---|
134 | </td> |
---|
135 | </tr> |
---|
136 | </tbody> |
---|
137 | </table> |
---|
138 | ({/foreach}) |
---|
139 | |
---|
140 | ({if $page_list}) |
---|
141 | ({$smarty.capture.pager|smarty:nodefaults}) |
---|
142 | ({/if}) |
---|
143 | |
---|
144 | ({/if}) |
---|
145 | |
---|
146 | ({$inc_footer|smarty:nodefaults}) |
---|