1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
6 | * |
---|
7 | * http://www.lockon.co.jp/ |
---|
8 | * |
---|
9 | * This program is free software; you can redistribute it and/or |
---|
10 | * modify it under the terms of the GNU General Public License |
---|
11 | * as published by the Free Software Foundation; either version 2 |
---|
12 | * of the License, or (at your option) any later version. |
---|
13 | * |
---|
14 | * This program is distributed in the hope that it will be useful, |
---|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | * GNU General Public License for more details. |
---|
18 | * |
---|
19 | * You should have received a copy of the GNU General Public License |
---|
20 | * along with this program; if not, write to the Free Software |
---|
21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
22 | */ |
---|
23 | *}--> |
---|
24 | <!--★★メインコンテンツ★★--> |
---|
25 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data" onSubmit="winSubmit('','form1', 'upload', 500, 400)"> |
---|
26 | <input type="hidden" name="mode" value="csv_upload"> |
---|
27 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
28 | <tr valign="top"> |
---|
29 | <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> |
---|
30 | <!-- サブナビ --> |
---|
31 | <!--{include file=$tpl_subnavi}--> |
---|
32 | </td> |
---|
33 | <td class="mainbg"> |
---|
34 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
35 | <!--メインエリア--> |
---|
36 | <tr> |
---|
37 | <td align="center"> |
---|
38 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
39 | <tr><td height="14"></td></tr> |
---|
40 | <tr> |
---|
41 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> |
---|
42 | </tr> |
---|
43 | <tr> |
---|
44 | <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
45 | <td bgcolor="#cccccc"> |
---|
46 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
47 | <tr> |
---|
48 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> |
---|
49 | </tr> |
---|
50 | <tr> |
---|
51 | <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> |
---|
52 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->カテゴリ登録CSV</span></td> |
---|
53 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> |
---|
54 | </tr> |
---|
55 | <tr> |
---|
56 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> |
---|
57 | </tr> |
---|
58 | <tr> |
---|
59 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> |
---|
60 | </tr> |
---|
61 | </table> |
---|
62 | |
---|
63 | <!--{if $tpl_errtitle != ""}--> |
---|
64 | <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc"> |
---|
65 | <tr><td bgcolor="#ffffff"> |
---|
66 | <span class="red12"><!--{$tpl_errtitle}--><br><br></span> |
---|
67 | <!--{foreach key=key item=item from=$arrCSVErr}--> |
---|
68 | <span class="red12"><!--{$item}--> |
---|
69 | <!--{if $key != 'blank'}--> |
---|
70 | [値:<!--{$arrParam[$key]}-->] |
---|
71 | <!--{/if}--> |
---|
72 | <br></span> |
---|
73 | <!--{/foreach}--> |
---|
74 | </td></tr> |
---|
75 | </table> |
---|
76 | <!--{/if}--> |
---|
77 | |
---|
78 | <!--▼登録テーブルここから--> |
---|
79 | <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc"> |
---|
80 | <tr class="fs12n"> |
---|
81 | <td bgcolor="#f0f0f0" width="110">CSVファイル</td> |
---|
82 | <td bgcolor="#ffffff" width="607"> |
---|
83 | <span class="red12"><!--{$arrErr.csv_file}--></span> |
---|
84 | <input type="file" name="csv_file" size="60" class="box60" /><span class="red10"> (1行目タイトル行)</span></td> |
---|
85 | </tr> |
---|
86 | <tr class="fs12n"> |
---|
87 | <td bgcolor="#f0f0f0" width="110">登録情報</td> |
---|
88 | <td bgcolor="#ffffff" width="607"> |
---|
89 | <!--{foreach name=title key=key item=item from=$arrTitle}--> |
---|
90 | <!--{$smarty.foreach.title.iteration}-->項目:<!--{$item}--><br> |
---|
91 | <!--{/foreach}--> |
---|
92 | </td> |
---|
93 | </tr> |
---|
94 | </table> |
---|
95 | <!--▲登録テーブルここまで--> |
---|
96 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
97 | <tr> |
---|
98 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
99 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
100 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
101 | </tr> |
---|
102 | <tr> |
---|
103 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
104 | <td bgcolor="#e9e7de" align="center"> |
---|
105 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
106 | <tr> |
---|
107 | <td> |
---|
108 | <input 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" > |
---|
109 | </td> |
---|
110 | </tr> |
---|
111 | </table> |
---|
112 | </td> |
---|
113 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
114 | </tr> |
---|
115 | <tr> |
---|
116 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
117 | </tr> |
---|
118 | </table> |
---|
119 | </td> |
---|
120 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
121 | </tr> |
---|
122 | <tr> |
---|
123 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> |
---|
124 | </tr> |
---|
125 | <tr><td height="30"></td></tr> |
---|
126 | </table> |
---|
127 | </td> |
---|
128 | </tr> |
---|
129 | <!--メインエリア--> |
---|
130 | </table> |
---|
131 | </td> |
---|
132 | </tr> |
---|
133 | </form> |
---|
134 | </table> |
---|
135 | <!--▲CONTENTS--> |
---|