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

source: OpenPNE/trunk/webapp/modules/admin/templates/review_list.tpl @ 8143

Last change on this file since 8143 was 8143, checked in by nakasone, 12 years ago

#2688:2.12以降で2.10より「確定」などのボタンが小さくなっているのを修正

File size: 3.5 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({capture name="pager"})
39<div class="listControl">
40<p class="display">
41({$total_num})件中 ({$start_num})-({$end_num})件目を表示しています
42</p>
43<p class="listMove">
44({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})
45({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})
46({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})
47</p>
48</div>
49({/capture})
50
51<div class="listControl" id="pager01">
52({$smarty.capture.pager|smarty:nodefaults})
53</div>
54
55({foreach from=$review_list item=item})
56<table class="basicType2">
57<tbody>
58({****})
59<tr>
60<th>ID</th>
61<td class="type1">
62({$item.c_review_comment_id})
63</td>
64</tr>
65({****})
66<tr>
67<th>タイトル</th>
68<td>
69<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>
70</td>
71</tr>
72({****})
73<tr>
74<th>説明</th>
75<td>
76({$item.c_review.release_date})<br />
77({$item.c_review.manufacturer})<br />
78({$item.c_review.artist})({$item.c_review.author})
79</td>
80</tr>
81({****})
82<tr>
83<th>レビュアー</th>
84<td>
85<a href="({t_url _absolute=1 m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})" target="_blank">({$item.c_member.nickname})</a>
86</td>
87</tr>
88({****})
89<tr>
90<th>作成日</th>
91<td>
92({$item.r_datetime})
93</td>
94</tr>
95({****})
96<tr>
97<th>本文</th>
98<td width="500">
99({$item.body|nl2br})
100</td>
101</tr>
102({****})
103<tr>
104<td class="formbutton" colspan="2">
105<form action="./" method="get">
106<input type="hidden" name="m" value="({$module_name})" />
107<input type="hidden" name="a" value="page_({$hash_tbl->hash('delete_review')})" />
108<input type="hidden" name="target_c_review_comment_id" value="({$item.c_review_comment_id})" />
109<span class="textBtnS"><input type="submit" value=" 削 除 " /></span>
110</form>
111</td>
112</tr>
113</tbody>
114</table>
115({/foreach})
116
117<div class="listControl" id="pager02">
118({$smarty.capture.pager|smarty:nodefaults})
119</div>
120
121({/if})
122
123({$inc_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.