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

source: OpenPNE/branches/work/fukamachi/trunk/webapp/modules/admin/templates/review_list.tpl @ 11117

Last change on this file since 11117 was 11117, checked in by fukamachi, 13 years ago
File size: 4.1 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<form action="./" method="get">
17<input type="hidden" name="m" value="({$module_name})" />
18<input type="hidden" name="a" value="page_({$hash_tbl->hash('review_list','page')})" />
19<h3 class="item">検索キーワード</h3>
20<input class="basic" type="text" name="keyword" value="({$keyword})" />
21<span class="textBtnS"><input type="submit" value=" 検 索 " /></span>
22</form>
23
24<form action="./" method="get">
25<input type="hidden" name="m" value="({$module_name})" />
26<input type="hidden" name="a" value="page_({$hash_tbl->hash('review_list','page')})" />
27<h3 class="item">ID検索</h3>
28<input class="basic" type="text" name="target_c_review_comment_id" value="({$target_c_review_comment_id})" />
29<span class="textBtnS"><input type="submit" value=" 検 索 " /></span>
30</form>
31
32({if !$review_list})
33
34<p class="info">該当するレビューが存在しません</p>
35
36({else})
37
38<script type="text/javascript" src="./js/select_delete.js"></script>
39
40({capture name="pager"})
41<div class="listControl">
42<p class="display">
43({$total_num})件中 ({$start_num})-({$end_num})件目を表示しています
44</p>
45<p class="listMove">
46({if $page_list})({foreach from=$page_list item=item})({if $page!=$item})<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('review_list','page')})&amp;page=({$item})&amp;keyword=({$keyword_encode})">({$item})</a>({else})<b>({$item})</b>({/if})&nbsp;&nbsp;({/foreach})&nbsp;({/if})
47({if $prev})<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('review_list','page')})&amp;page=({$page-1})&amp;keyword=({$keyword_encode})"><<前</a> ({/if})
48({if $next})<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('review_list','page')})&amp;page=({$page+1})&amp;keyword=({$keyword_encode})">次>></a>({/if})
49</p>
50</div>
51({/capture})
52
53<div class="listControl" id="pager01">
54({$smarty.capture.pager|smarty:nodefaults})
55</div>
56
57({foreach from=$review_list item=item})
58<table class="basicType2">
59<tbody>
60({****})
61<tr>
62<th>ID</th>
63<td class="type1">
64<input type="checkbox" name="del" value="({$item.c_review_comment_id})" />
65({$item.c_review_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_h_review_list_product})&amp;c_review_id=({$item.c_review_id})" target="_blank">({$item.c_review.title})</a>
73</td>
74</tr>
75({****})
76<tr>
77<th>説明</th>
78<td>
79({$item.c_review.release_date})<br />
80({$item.c_review.manufacturer})<br />
81({$item.c_review.artist})({$item.c_review.author})
82</td>
83</tr>
84({****})
85<tr>
86<th>レビュアー</th>
87<td>
88<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('c_member_detail','page')})&amp;target_c_member_id=({$item.c_member_id})">({$item.c_member.nickname})</a>
89</td>
90</tr>
91({****})
92<tr>
93<th>作成日</th>
94<td>
95({$item.r_datetime})
96</td>
97</tr>
98({****})
99<tr>
100<th>本文</th>
101<td width="500">
102({$item.body|nl2br})
103</td>
104</tr>
105({****})
106<tr>
107<td class="formbutton" colspan="2">
108<form action="./" method="get">
109<input type="hidden" name="m" value="({$module_name})" />
110<input type="hidden" name="a" value="page_({$hash_tbl->hash('delete_review')})" />
111<input type="hidden" name="target_c_review_comment_id" value="({$item.c_review_comment_id})" />
112<span class="textBtnS"><input type="submit" value=" 削 除 " /></span>
113</form>
114</td>
115</tr>
116</tbody>
117</table>
118({/foreach})
119
120<form id="select-delete-form" action="./" method="get">
121<input type="hidden" name="m" value="({$module_name})" />
122<input type="hidden" name="a" value="page_({$hash_tbl->hash('delete_review_selected')})" />
123<input type="hidden" id="del-ids" name="target_c_review_comment_ids" value="" />
124<span class="textBtnS"><input type="button" id="select-delete" value="選択した({$WORD_DIARY})を削除" /></span>
125</form>
126
127<div class="listControl" id="pager02">
128({$smarty.capture.pager|smarty:nodefaults})
129</div>
130
131({/if})
132
133({$inc_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.