source: branches/version-2_4/data/Smarty/templates/default/admin/mail/htmlmail.tpl @ 18734

Revision 18734, 13.4 KB checked in by nanasess, 14 years ago (diff)

Copyright の更新(#601)

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 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<script language="JavaScript">
25<!--
26function lfc_del_product( pname ){
27    fm = document.form1;
28    fm[pname].value = '';
29    fm['photo_' + pname].src = '<!--{$smarty.const.NO_IMAGE_URL}-->';
30    fm['name_' + pname].value = '';
31   
32    return false;
33}
34//-->
35</script>
36
37<!--★★メインコンテンツ★★-->
38<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
39<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
40<input type="hidden" name="template_id" value="<!--{$arrForm.template_id|escape}-->">
41<input type="hidden" name="mail_method" value="3">
42<input type="hidden" name="image_key" value="">
43<input type="hidden" name="product_key" value="">
44<input type="hidden" name="sub_product_num" value="">
45<input type="hidden" name="mode" value="confirm">
46<!--{foreach key=key item=item from=$arrHidden}-->
47<!--{if $key ne "mode"}-->
48<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
49<!--{/if}-->
50<!--{/foreach}-->
51    <tr valign="top">
52        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
53            <!--▼SUB NAVI-->
54            <!--{include file=$tpl_subnavi}-->
55            <!--▲SUB NAVI-->
56        </td>
57        <td class="mainbg">
58            <!--▼登録テーブルここから-->
59            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
60                <!--メインエリア-->
61                <tr>
62                    <td align="center">
63                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
64                            <tr><td height="14"></td></tr>
65                            <tr>
66                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
67                            </tr>
68                            <tr>
69                                <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
70                                <td bgcolor="#cccccc">
71                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
72                                    <tr>
73                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
74                                    </tr>
75                                    <tr>
76                                        <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>
77                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->HTMLメール作成</span></td>
78                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
79                                    </tr>
80                                    <tr>
81                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
82                                    </tr>
83                                    <tr>
84                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
85                                    </tr>
86                                </table>
87
88                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
89                                    <tr>
90                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">Subject<span class="red"> *</span></td>
91                                        <td bgcolor="#ffffff" width="547" class="fs12n"><input type="text" name="subject" size="65" class="box65" <!--{if $arrErr.subject}--><!--{sfSetErrorStyle}--><!--{/if}--> value="<!--{$arrForm.subject|escape}-->"/>
92                                        <!--{if $arrErr.subject}--><br><span class="red"><!--{$arrErr.subject}--></span><!--{/if}-->
93                                        </td>
94                                    </tr>
95                                    <tr>
96                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">メール担当写真<span class="red"> *</span><br />[130×130]</td>
97                                        <!--{assign var=key value="charge_image"}-->
98                                        <td bgcolor="#ffffff" width="547" class="fs12n">
99                                        <!--{if $arrFile[$key].filepath != ""}-->
100                                        <img src="<!--{$arrFile[$key].filepath}-->" alt="メール担当写真" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->"><br/><br />
101                                        <!--{/if}-->
102                                        <!--{if $arrErr[$key]}--><span class="red"><!--{$arrErr[$key]}--></span><!--{/if}-->
103                                        <input type="file" name="<!--{$key}-->" size="45" class="box45" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
104                                        <input type="button" name="btn" value="アップロード" onclick="fnModeSubmit('upload_image','image_key','<!--{$key}-->');" />
105                                        </td>
106                                    </tr>
107                                    <tr>
108                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">ヘッダーテキスト<span class="red"> *</span></td>
109                                        <td bgcolor="#ffffff" width="547" class="fs12n"><textarea name="header" cols="70" rows="8" class="area70" <!--{if $arrErr.header}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{$arrForm.header|escape}--></textarea>
110                                        <!--{if $arrErr.header}--><br><span class="red"><!--{$arrErr.header}--></span><!--{/if}-->
111                                        </td>
112                                    </tr>
113                                    <tr>
114                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">メイン商品タイトル<span class="red"> *</span></td>
115                                        <td bgcolor="#ffffff" width="547" class="fs12n"><input type="text" name="main_title" size="65" class="box65"  <!--{if $arrErr.main_title}--><!--{sfSetErrorStyle}--><!--{/if}--> value="<!--{$arrForm.main_title|escape}-->"/>
116                                        <!--{if $arrErr.main_title}--><br><span class="red"><!--{$arrErr.main_title}--></span><!--{/if}-->
117                                        </td>
118                                    </tr>
119                                    <tr>
120                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">メイン商品コメント<span class="red"> *</span></td>
121                                        <td bgcolor="#ffffff" width="547" class="fs12n"><textarea name="main_comment" cols="70" rows="8" class="area70" <!--{if $arrErr.main_comment}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{$arrForm.main_comment|escape}--></textarea>
122                                        <!--{if $arrErr.main_comment}--><br><span class="red"><!--{$arrErr.main_comment}--></span><!--{/if}-->
123                                        </td>
124                                    </tr>
125                                    <tr>
126                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">メイン商品選択<span class="red"> *</span><br />
127                                        [110×120]</td>
128                                        <td bgcolor="#ffffff" width="547" class="fs12n">
129                                            <!--{if is_numeric($arrForm.template_id)}-->
130                                                <!--{assign var=image_path value="`$smarty.const.IMAGE_SAVE_URL`/`$arrFileName[0].main_image`"}-->
131                                            <!--{elseif $arrFileName[0].main_image != ""}-->
132                                                <!--{assign var=image_path value="`$smarty.const.IMAGE_SAVE_URL`/`$arrFileName[0].main_image`"}-->
133                                            <!--{else}-->
134                                                <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_URL`"}-->
135                                            <!--{/if}-->
136                                            <img src="<!--{$image_path}-->" width="<!--{$smarty.const.SMALL_IMAGE_WIDTH}-->" height="<!--{$smarty.const.SMALL_IMAGE_HEIGHT}-->" alt="商品画像main" />
137                                            <input type="hidden" name="main_product_id" value="<!--{$arrForm.main_product_id}-->"/>
138                                             <a href="#" onclick="win03('./htmlmail_select.php?name=main_product_id','select','450','300'); return false;" target="_blank">商品選択</a><br />
139                                            <!--{if $arrErr.main_product_id}--><br><span class="red"><!--{$arrErr.main_product_id}--></span><!--{/if}-->
140                                            <input type="text" name="name_main_product_id" value="<!--{$arrFileName[0].name|escape}-->" disabled="disabled" size="65" class="box65" style="background:#FFF;border-style:solid;border-color:#FFFFFF;"/>
141                                        </td>
142                                    </tr>
143                                    <tr>
144                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">サブ商品群タイトル<span class="red"> *</span></td>
145                                        <td bgcolor="#ffffff" width="547" class="fs12n"><input type="text" name="sub_title" size="65" class="box65" <!--{if $arrErr.sub_title}--><!--{sfSetErrorStyle}--><!--{/if}--> value="<!--{$arrForm.sub_title|escape}-->"/>
146                                        <!--{if $arrErr.sub_title}--><br><span class="red"><!--{$arrErr.sub_title}--></span><!--{/if}-->
147                                        </td>
148                                    </tr>
149                                    <tr>
150                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">サブ商品群コメント<span class="red"> *</span></td>
151                                        <td bgcolor="#ffffff" width="547" class="fs12n"><textarea name="sub_comment" cols="70" rows="8" class="area70" <!--{if $arrErr.sub_comment}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{$arrForm.sub_comment|escape}--></textarea>
152                                        <!--{if $arrErr.sub_comment}--><br><span class="red"><!--{$arrErr.sub_comment}--></span><!--{/if}-->
153                                        </td>
154                                    </tr>
155                                    <!--{section name=cnt loop=$smarty.const.HTML_TEMPLATE_SUB_MAX}-->
156                                    <!--{assign var=subProductNum value=`$smarty.section.cnt.iteration`}-->
157                                    <tr class="fs12n">
158                                        <td bgcolor="#f2f1ec" width="160">商品画像(<!--{$subProductNum}-->)</td>
159                                        <td bgcolor="#ffffff" width="547">
160                                            <!--{if is_numeric($arrForm.template_id)}-->
161                                                <!--{if strlen($arrFileName[$smarty.section.cnt.iteration].main_image) > 0}--><!--{assign var=image_path value="`$smarty.const.IMAGE_SAVE_URL`/`$arrFileName[$smarty.section.cnt.iteration].main_image`"}--><!--{else}--><!--{assign var=image_path value="`$smarty.const.NO_IMAGE_URL`"}--><!--{/if}-->
162                                            <!--{elseif $arrFileName[$smarty.section.cnt.iteration].main_image != ""}-->
163                                                <!--{assign var=image_path value="`$smarty.const.IMAGE_SAVE_URL`/`$arrFileName[$smarty.section.cnt.iteration].main_image`"}-->
164                                            <!--{else}-->
165                                                <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_URL`"}-->
166                                            <!--{/if}-->
167                                            <!--{if $smarty.section.cnt.iteration <= 9}-->
168                                            <!--{assign var=sub_product_id value="sub_product_id0`$smarty.section.cnt.iteration`"}-->
169                                            <!--{else}-->
170                                            <!--{assign var=sub_product_id value="sub_product_id`$smarty.section.cnt.iteration`"}-->
171                                            <!--{/if}-->
172                                            <img src="<!--{$image_path}-->" width="<!--{$smarty.const.SMALL_IMAGE_WIDTH}-->" height="<!--{$smarty.const.SMALL_IMAGE_HEIGHT}-->" alt="商品画像<!--{$subProductNum}-->" /> 
173                                            <input type="hidden" name="<!--{$sub_product_id}-->" value="<!--{$arrFileName[$smarty.section.cnt.iteration].product_id|escape}-->"/>
174                                             <a href="#" onclick="win03('./htmlmail_select.php?name=<!--{$sub_product_id}-->' ,'select','450','300'); return false;" target="_blank">商品選択</a>
175                                                <!--{assign var=sub_box value="delete_sub`$smarty.section.cnt.iteration`"}-->
176                                             <!--{if $arrForm[$sub_product_id]}--><input type="checkbox" name="delete_sub<!--{$smarty.section.cnt.iteration}-->" value="1" <!--{if $arrForm[$sub_box] == '1'}-->checked<!--{/if}-->>商品削除<br /><!--{/if}-->
177                                            <input type="text" name="name_sub_product" value="<!--{$arrFileName[$smarty.section.cnt.iteration].name|escape}-->" disabled="disabled"  size="65" class="box65" style="background:#FFF;border-style:solid;border-color:#FFF;"/>
178                                        </td>
179                                    </tr>
180                                    <!--{/section}-->
181                                </table>
182
183                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
184                                    <tr>
185                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
186                                        <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
187                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
188                                    </tr>
189                                    <tr>
190                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
191                                        <td bgcolor="#e9e7de" align="center">
192                                        <table border="0" cellspacing="0" cellpadding="0" summary=" ">
193                                            <tr>
194                                                <td>
195                                                    <input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_confirm_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_confirm.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_confirm.jpg" width="123" height="24" alt="確認ページへ" border="0" name="subm" >
196                                                </td>
197                                            </tr>
198                                        </table>
199                                        </td>
200                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
201                                    </tr>
202                                    <tr>
203                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
204                                    </tr>
205                                </table>
206                                </td>
207                                <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
208                            </tr>
209                            <tr>
210                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
211                            </tr>
212                            <tr><td height="30"></td></tr>
213                        </table>
214                    </td>
215                </tr>
216                <!--メインエリア-->
217            </table>
218            <!--▲登録テーブルここまで-->
219        </td>
220    </tr>
221</form>
222</table>
223<!--★★メインコンテンツ★★-->
Note: See TracBrowser for help on using the repository browser.