1 | <!--{* |
---|
2 | /* |
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
4 | * |
---|
5 | * http://www.lockon.co.jp/ |
---|
6 | */ |
---|
7 | *}--> |
---|
8 | <!--★★メインコンテンツ★★--> |
---|
9 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
10 | <tr valign="top"> |
---|
11 | <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> |
---|
12 | <!--▼SUB NAVI--> |
---|
13 | <!--{include file=$tpl_subnavi}--> |
---|
14 | <!--▲SUB NAVI--> |
---|
15 | </td> |
---|
16 | <td class="mainbg"> |
---|
17 | <!--▼登録テーブルここから--> |
---|
18 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
19 | <!--メインエリア--> |
---|
20 | <tr> |
---|
21 | <td align="center"> |
---|
22 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
23 | <tr><td height="14"></td></tr> |
---|
24 | <tr> |
---|
25 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> |
---|
26 | </tr> |
---|
27 | <tr> |
---|
28 | <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
29 | <td bgcolor="#cccccc"> |
---|
30 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
31 | <tr> |
---|
32 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> |
---|
33 | </tr> |
---|
34 | <tr> |
---|
35 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> |
---|
36 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->マスタデータ管理</span></td> |
---|
37 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> |
---|
38 | </tr> |
---|
39 | <tr> |
---|
40 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> |
---|
41 | </tr> |
---|
42 | <tr> |
---|
43 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> |
---|
44 | </tr> |
---|
45 | </table> |
---|
46 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> |
---|
47 | <input type="hidden" name="mode" value="show"> |
---|
48 | |
---|
49 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
50 | <tr> |
---|
51 | <td bgcolor="#f2f1ec" width="180" class="fs12n"> |
---|
52 | <select name="master_data_name" id="master_data_name"> |
---|
53 | <!--{html_options output=$arrMasterDataName values=$arrMasterDataName selected=$masterDataName}--> |
---|
54 | </select> |
---|
55 | <input type="submit" value="選択"> |
---|
56 | </td> |
---|
57 | </tr> |
---|
58 | </table> |
---|
59 | </form> |
---|
60 | <!--{if count($arrMasterData) > 0}--> |
---|
61 | <form name="form2" id="form2" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> |
---|
62 | <input type="hidden" name="mode" value="edit"> |
---|
63 | <input type="hidden" name="master_data_name" value="<!--{$masterDataName}-->"> |
---|
64 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
65 | <tr class="fs12n"> |
---|
66 | <td bgcolor="#f2f1ec" align="center" colspan="2"><strong>マスタデータ編集</strong></td> |
---|
67 | </tr> |
---|
68 | <tr class="fs12n"> |
---|
69 | <td bgcolor="#ffffff" align="left" colspan="2"> |
---|
70 | <ul class="red"> |
---|
71 | <li>マスタデータの値を設定できます。</li> |
---|
72 | <li>重複したIDを登録することはできません。</li> |
---|
73 | <li>空のIDを登録すると、値は削除されます。</li> |
---|
74 | <li>設定値によってはサイトが機能しなくなる場合もありますので、十分ご注意下さい。</li> |
---|
75 | </ul> |
---|
76 | </td> |
---|
77 | </tr> |
---|
78 | <!--{if $errorMessage != ""}--> |
---|
79 | <tr class="fs12n"> |
---|
80 | <td bgcolor="#ffffff" align="left" colspan="2"> |
---|
81 | <span class="red"><!--{$errorMessage}--></span> |
---|
82 | </td> |
---|
83 | </tr> |
---|
84 | <!--{/if}--> |
---|
85 | |
---|
86 | <!--{foreach from=$arrMasterData item=val key=key}--> |
---|
87 | <tr class="fs12n"> |
---|
88 | <td bgcolor="#ffffff" align="left"> |
---|
89 | ID:<input type="text" name="id[]" value="<!--{$key|escape}-->" size="6"> |
---|
90 | </td> |
---|
91 | <td bgcolor="#ffffff" align="left"> |
---|
92 | 値:<input type="text" name="name[]" value="<!--{$val|escape}-->" style="" size="60" |
---|
93 | class="box60" /> |
---|
94 | </td> |
---|
95 | </tr> |
---|
96 | <!--{/foreach}--> |
---|
97 | <tr class="fs12n"> |
---|
98 | <td bgcolor="#f2f1ec" align="center" colspan="2">追加のデータ</td> |
---|
99 | </tr> |
---|
100 | <tr class="fs12n"> |
---|
101 | <td bgcolor="#ffffff" align="left"> |
---|
102 | ID:<input type="text" name="id[]" size="6"> |
---|
103 | </td> |
---|
104 | <td bgcolor="#ffffff" align="left"> |
---|
105 | 値:<input type="text" name="name[]" style="" size="60" |
---|
106 | class="box60" /> |
---|
107 | </td> |
---|
108 | </tr> |
---|
109 | </table> |
---|
110 | </form> |
---|
111 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
112 | <tr> |
---|
113 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
114 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
115 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
116 | </tr> |
---|
117 | <tr> |
---|
118 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
119 | <td bgcolor="#e9e7de" align="center"> |
---|
120 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
121 | <tr> |
---|
122 | <td> |
---|
123 | <input onClick="return document.form2.submit()" type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" > |
---|
124 | </td> |
---|
125 | </tr> |
---|
126 | </table> |
---|
127 | |
---|
128 | </td> |
---|
129 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
130 | </tr> |
---|
131 | <tr> |
---|
132 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
133 | </tr> |
---|
134 | </table> |
---|
135 | <!--{/if}--> |
---|
136 | </td> |
---|
137 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
138 | </tr> |
---|
139 | <tr> |
---|
140 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> |
---|
141 | </tr> |
---|
142 | <tr><td height="30"></td></tr> |
---|
143 | </table> |
---|
144 | </td> |
---|
145 | </tr> |
---|
146 | <!--メインエリア--> |
---|
147 | </table> |
---|
148 | <!--▲登録テーブルここまで--> |
---|
149 | </td> |
---|
150 | </tr> |
---|
151 | </form> |
---|
152 | </table> |
---|
153 | <!--★★メインコンテンツ★★--> |
---|