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

source: OpenPNE/branches/ebihara/prj_pnebiz/webapp_biz/modules/admin_biz/templates/biz_shisetsu_list.tpl @ 557

Last change on this file since 557 was 557, checked in by ebihara, 14 years ago

create prj_pnebiz

File size: 1.5 KB
Line 
1({$inc_header|smarty:nodefaults})
2
3<h2>施設管理</h2>
4
5({if $msg})<p class="caution">({$msg})</p>({/if})
6
7<table>
8({foreach name=shisetsu_list from=$shisetsu_list item=item})
9({if $smarty.foreach.shisetsu_list.iteration % 4 == 1})<tr>({/if})
10
11<td style="font-size:10pt">
12<div style="width:200px; height:200px">
13
14<a href="({t_img_url filename=$item.image_filename w=180 h=180 noimg=no_image})" target="_blank"
15><img src="({t_img_url filename=$item.image_filename w=180 h=180 noimg=no_image})"></a>
16</div>
17({$item.name})<br>
18<a href="?m=({$module_name})&a=page_({$hash_tbl->hash('biz_edit_shisetsu','page')})&biz_shisetsu_id=({$item.biz_shisetsu_id})">[編集]</a> <a href="?m=({$module_name})&a=do_({$hash_tbl->hash('biz_admin_delete_shisetsu','do')})&sessid=({$PHPSESSID})&biz_shisetsu_id=({$item.biz_shisetsu_id})">[削除]</a>
19</td>
20
21({if $smarty.foreach.shisetsu_list.iteration %4 == 0})</tr>({/if})
22({/foreach})
23</table>
24
25<hr>
26
27<h2>施設新規作成</h2>
28
29<form action="./" method="post" enctype="multipart/form-data">
30<input type="hidden" name="m" value="({$module_name})">
31<input type="hidden" name="a" value="do_({$hash_tbl->hash('biz_admin_add_shisetsu','do')})">
32
33<input type="hidden" name="sessid" value="({$PHPSESSID})">
34
35<table>
36<tr>
37        <th>施設名</th>
38        <td><input type="text" name="name" value=""></td>
39</tr>
40<tr>
41        <th>施設画像</th>
42        <td><input type="file" size="40" name="image_filename"></td>
43</tr>
44<tr>
45<td></td>
46<td><input type="submit" value=" 作 成 "></td>
47</tr>
48</table>
49</form>
50
51({$inc_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.