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

source: OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin/templates/list_c_rank.tpl @ 1367

Last change on this file since 1367 was 1367, checked in by takanashi, 14 years ago

管理画面表示ズレを対処

File size: 3.6 KB
Line 
1({$inc_header|smarty:nodefaults})
2({ext_include file="inc_subnavi_adminSNSConfig.tpl"})
3
4({assign var="page_name" value="ランク一覧"})
5({ext_include file="inc_tree_adminSNSConfig.tpl"})
6</div>
7
8({*ここまで:navi*})
9
10({if $msg})<p class="actionMsg">({$msg})</p>({/if})
11
12<h2>ランク一覧</h2>
13
14({if $msg})
15<p class="caution">({$msg})</p>
16({/if})
17
18({if $pager && $pager.total_num > 0})
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_rank')})&amp;page=({$pager.prev_page})&amp;page_size=({$pager.page_size})({$cond})">前へ</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_rank')})&amp;page=({$i})&amp;page_size=({$pager.page_size})({$cond})">&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_rank')})&amp;page=({$pager.next_page})&amp;page_size=({$pager.page_size})({$cond})">次へ</a>
35({/if})
36</div>
37<!-- pager_end -->
38({/if})
39
40<table>
41<tr>
42<th>ID</th>
43<th>項目名</th>
44<th>画像</th>
45<th>到達ポイント</th>
46<th colspan="2">操作</th>
47</tr>
48({foreach from=$c_rank_list item=c_rank})
49<tr>
50<td class="idnumber">({$c_rank.c_rank_id})</td>
51<td>({$c_rank.name})</td>
52<td  align="center"><a href="({t_img_url filename=$c_rank.image_filename})" target="_blank"><img src="({t_img_url filename=$c_rank.image_filename w=180 h=180})"></a></td>
53<td>({$c_rank.point})</td>
54<td><a href="?m=({$module_name})&amp;a=({$hash_tbl->hash('page_update_c_rank')})&amp;c_rank_id=({$c_rank.c_rank_id})">変更</a></td>
55<td><a href="?m=({$module_name})&amp;a=({$hash_tbl->hash('page_delete_c_rank_confirm')})&amp;c_rank_id=({$c_rank.c_rank_id})">削除</a></td>
56</tr>
57({foreachelse})
58<tr>
59<td colspan="6">ランクが登録されていません</td>
60</tr>
61({/foreach})
62<tr>
63<form action="./" method="post" enctype="multipart/form-data">
64<td>
65<input type="hidden" name="m" value="({$module_name})">
66<input type="hidden" name="a" value="do_({$hash_tbl->hash('insert_c_rank','do')})">
67<input type="hidden" name="sessid" value="({$PHPSESSID})">
68</td>
69<td><input type="text" name="name" value="" size="5"></td>
70<td><input type="file" name="image_upfile" value="" size="20"></td>
71<td><input type="text" name="point" value="" size="5"></td>
72<td colspan="2"><input type="submit" class="submit" value="項目追加"></td>
73</form>
74</tr>
75</table>
76
77({if $pager && $pager.total_num > 0})
78<!-- pager_begin -->
79<div class="pager">
80({$pager.total_num}) 件中 ({$pager.start_num}) - ({$pager.end_num})件目を表示しています
81<br>
82({if $pager.prev_page})
83<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_rank')})&amp;page=({$pager.prev_page})&amp;page_size=({$pager.page_size})({$cond})">前へ</a>&nbsp;
84({/if})
85({foreach from=$pager.disp_pages item=i})
86({if $i == $pager.page})
87&nbsp;<strong>({$i})</strong>&nbsp;
88({else})
89<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_rank')})&amp;page=({$i})&amp;page_size=({$pager.page_size})({$cond})">&nbsp;({$i})&nbsp;</a>
90({/if})
91({/foreach})
92({if $pager.next_page})
93&nbsp;<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_rank')})&amp;page=({$pager.next_page})&amp;page_size=({$pager.page_size})({$cond})">次へ</a>
94({/if})
95</div>
96<!-- pager_end -->
97({/if})
98
99({$inc_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.