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