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

source: OpenPNE/trunk/webapp/modules/admin/templates/list_c_image.tpl @ 2

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

OpenPNE 2.3.0

File size: 3.3 KB
Line 
1({$inc_header|smarty:nodefaults})
2
3<h2>画像リスト</h2>
4
5<form action="./" method="get">
6<input type="hidden" name="m" value="({$module_name})">
7<input type="hidden" name="a" value="page_({$hash_tbl->hash('list_c_image')})">
8表示件数:
9<select name="page_size">
10<option value="20"({if $pager.page_size==20}) selected="selected"({/if})>20件</option>
11<option value="50"({if $pager.page_size==50}) selected="selected"({/if})>50件</option>
12<option value="100"({if $pager.page_size==100}) selected="selected"({/if})>100件</option>
13<option value="500"({if $pager.page_size==500}) selected="selected"({/if})>500件</option>
14</select>
15<input type="submit" class="submit" value="変更">
16<div class="caution">※表示件数を多くすると処理が重くなり、サーバーに負荷がかかります。</div>
17</form>
18
19<!-- pager_begin -->
20<div class="pager">
21({$pager.total_num}) 件中 ({$pager.start_num}) - ({$pager.end_num})件目を表示しています
22<br>
23({if $pager.prev_page})
24<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_image')})&amp;page=({$pager.prev_page})&amp;page_size=({$pager.page_size})">前へ</a>&nbsp;
25({/if})
26({foreach from=$pager.disp_pages item=i})
27({if $i == $pager.page})
28&nbsp;<strong>({$i})</strong>&nbsp;
29({else})
30<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_image')})&amp;page=({$i})&amp;page_size=({$pager.page_size})">&nbsp;({$i})&nbsp;</a>
31({/if})
32({/foreach})
33({if $pager.next_page})
34&nbsp;<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_image')})&amp;page=({$pager.next_page})&amp;page_size=({$pager.page_size})">次へ</a>
35({/if})
36</div>
37<!-- pager_end -->
38
39
40<table>
41({foreach name=c_image from=$c_image_list item=item})
42({if $smarty.foreach.c_image.iteration % 5 == 1})<tr>({/if})
43
44<td style="font-size:10pt">
45({$item.r_datetime|date_format:"%Y/%m/%d %H:%M"})
46<div style="width:120px; height:120px">
47<a href="({t_img_url filename=$item.filename})" target="_blank"
48><img src="({t_img_url filename=$item.filename w=120 h=120})"
49></a></div>
50({$item.filename})<br>
51({if strpos($item.filename, 'skin_') !== 0 && strpos($item.filename, 'no_') !== 0})
52[<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('delete_c_image_confirm')})&amp;target_c_image_id=({$item.c_image_id})">削除</a>]
53({/if})
54</td>
55
56({if $smarty.foreach.c_image.iteration % 5 == 0})</tr>({/if})
57({/foreach})
58</table>
59
60
61<!-- pager_begin -->
62<div class="pager">
63({$pager.total_num}) 件中 ({$pager.start_num}) - ({$pager.end_num})件目を表示しています
64<br>
65({if $pager.prev_page})
66<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_image')})&amp;page=({$pager.prev_page})&amp;page_size=({$pager.page_size})">前へ</a>&nbsp;
67({/if})
68({foreach from=$pager.disp_pages item=i})
69({if $i == $pager.page})
70&nbsp;<strong>({$i})</strong>&nbsp;
71({else})
72<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_image')})&amp;page=({$i})&amp;page_size=({$pager.page_size})">&nbsp;({$i})&nbsp;</a>
73({/if})
74({/foreach})
75({if $pager.next_page})
76&nbsp;<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_image')})&amp;page=({$pager.next_page})&amp;page_size=({$pager.page_size})">次へ</a>
77({/if})
78</div>
79<!-- pager_end -->
80
81<hr>
82
83<h3>画像管理</h3>
84<p><a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('edit_c_image')})">画像管理ページへ</a></p>
85
86({$inc_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.