source: branches/comu/data/Smarty/templates_c/admin/%%2A^2AB^2AB93D92%%product.tpl.php @ 2

Revision 2, 34.9 KB checked in by root, 17 years ago (diff)

new import

Line 
1<?php /* Smarty version 2.6.13, created on 2007-01-10 00:09:57
2         compiled from products/product.tpl */ ?>
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'products/product.tpl', 27, false),array('modifier', 'default', 'products/product.tpl', 138, false),array('modifier', 'sfGetErrorColor', 'products/product.tpl', 144, false),array('modifier', 'sfRmDupSlash', 'products/product.tpl', 314, false),array('function', 'html_options', 'products/product.tpl', 81, false),array('function', 'html_checkboxes', 'products/product.tpl', 91, false),)), $this); ?>
5<script type="text/javascript">
6<!--
7//-->
8</script>
9<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
10<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
11    <tr valign="top">
12        <td background="<?php echo @URL_DIR; ?>
13img/contents/navi_bg.gif" height="402">
14            <!--¢§SUB NAVI-->
15            <?php $_smarty_tpl_vars = $this->_tpl_vars;
16$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['tpl_subnavi'], 'smarty_include_vars' => array()));
17$this->_tpl_vars = $_smarty_tpl_vars;
18unset($_smarty_tpl_vars);
19 ?>
20            <!--¢¥SUB NAVI-->
21        </td>
22        <td class="mainbg">
23            <!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
24            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
25                <!--¥á¥¤¥ó¥¨¥ê¥¢-->
26                <tr>
27                    <td align="center">
28                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
29                        <form name="form1" id="form1" method="post" action="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
30" enctype="multipart/form-data">
31                        <?php $_from = $this->_tpl_vars['arrSearchHidden']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
32    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
33?>
34                            <input type="hidden" name="<?php echo $this->_tpl_vars['key']; ?>
35" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['item'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
36">
37                        <?php endforeach; endif; unset($_from); ?>
38                        <input type="hidden" name="mode" value="edit">
39                        <input type="hidden" name="image_key" value="">
40                        <input type="hidden" name="product_id" value="<?php echo $this->_tpl_vars['arrForm']['product_id']; ?>
41" >
42                        <input type="hidden" name="copy_product_id" value="<?php echo $this->_tpl_vars['arrForm']['copy_product_id']; ?>
43" >
44                        <input type="hidden" name="anchor_key" value="">
45                        <?php $_from = $this->_tpl_vars['arrHidden']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
46    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
47?>
48                            <input type="hidden" name="<?php echo $this->_tpl_vars['key']; ?>
49" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['item'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
50">
51                        <?php endforeach; endif; unset($_from); ?>
52                            <tr><td height="14"></td></tr>
53                            <tr>
54                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
55img/contents/main_top.jpg" width="706" height="14" alt=""></td>
56                            </tr>
57                            <tr>
58                                <td background="<?php echo @URL_DIR; ?>
59img/contents/main_left.jpg"><img src="<?php echo @URL_DIR; ?>
60img/common/_.gif" width="14" height="1" alt=""></td>
61                                <td bgcolor="#cccccc">
62                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
63                                    <tr>
64                                        <td colspan="3"><img src="<?php echo @URL_DIR; ?>
65img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
66                                    </tr>
67                                    <tr>
68                                        <td background="<?php echo @URL_DIR; ?>
69img/contents/contents_title_left_bg.gif"><img src="<?php echo @URL_DIR; ?>
70img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
71                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¾¦ÉÊÅÐÏ¿</span></td>
72                                        <td background="<?php echo @URL_DIR; ?>
73img/contents/contents_title_right_bg.gif"><img src="<?php echo @URL_DIR; ?>
74img/common/_.gif" width="18" height="1" alt=""></td>
75                                    </tr>
76                                    <tr>
77                                        <td colspan="3"><img src="<?php echo @URL_DIR; ?>
78img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
79                                    </tr>
80                                    <tr>
81                                        <td colspan="3"><img src="<?php echo @URL_DIR; ?>
82img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
83                                    </tr>
84                                </table>
85
86                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
87                                    <tr>
88                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¾¦ÉÊID</td>
89                                        <td bgcolor="#ffffff" width="557" class="fs10n"><?php echo $this->_tpl_vars['arrForm']['product_id']; ?>
90</td>
91                                    </tr>
92                                    <tr>
93                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¾¦ÉÊ̾<span class="red"> *</span></td>
94                                        <td bgcolor="#ffffff" width="557" class="fs10n">
95                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['name']; ?>
96</span>
97                                        <input type="text" name="name" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
98" maxlength="<?php echo @STEXT_LEN; ?>
99" style="<?php if ($this->_tpl_vars['arrErr']['name'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>" size="60" class="box60" /><span class="red"> ¡Ê¾å¸Â<?php echo @STEXT_LEN; ?>
100ʸ»ú¡Ë</span>
101                                        </td>
102                                    </tr>
103                                    <tr>
104                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¾¦ÉÊ¥«¥Æ¥´¥ê<span class="red"> *</span></td>
105                                        <td bgcolor="#ffffff" width="557">
106                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['category_id']; ?>
107</span>
108                                        <select name="category_id" style="<?php if ($this->_tpl_vars['arrErr']['category_id'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>" onchange="">
109                                        <option value="">ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option>
110                                        <?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['arrCatVal'],'output' => $this->_tpl_vars['arrCatOut'],'selected' => $this->_tpl_vars['arrForm']['category_id']), $this);?>
111
112                                        </select></td>
113                                    </tr>
114                                    <tr>
115                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¸ø³«¡¦Èó¸ø³«<span class="red"> *</span></td>
116                                        <td bgcolor="#ffffff" width="557" class="fs12n"><input type="radio" name="status" value="1" <?php if ($this->_tpl_vars['arrForm']['status'] == '1'): ?>checked<?php endif; ?>/>¸ø³«¡¡<input type="radio" name="status" value="2" <?php if ($this->_tpl_vars['arrForm']['status'] == '2'): ?>checked<?php endif; ?> />Èó¸ø³«</td>
117                                    </tr>
118                                    <tr class="fs12n">
119                                        <td bgcolor="#f2f1ec" width="160">¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹</td>
120                                        <td bgcolor="#ffffff" width="557">
121                                        <?php echo smarty_function_html_checkboxes(array('name' => 'product_flag','options' => $this->_tpl_vars['arrSTATUS'],'selected' => $this->_tpl_vars['arrForm']['product_flag']), $this);?>
122
123                                        </td>
124                                    </tr>
125                                   
126                                    <?php if ($this->_tpl_vars['tpl_nonclass'] == true): ?>
127                                    <tr>
128                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¾¦ÉÊ¥³¡¼¥É<span class="red"> *</span></td>
129                                        <td bgcolor="#ffffff" width="557" class="fs10n">
130                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['product_code']; ?>
131</span>
132                                        <input type="text" name="product_code" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['product_code'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
133" maxlength="<?php echo @STEXT_LEN; ?>
134" style="<?php if ($this->_tpl_vars['arrErr']['product_code'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>" size="60" class="box60" /><span class="red"> ¡Ê¾å¸Â<?php echo @STEXT_LEN; ?>
135ʸ»ú¡Ë</span></td>
136                                    </tr>
137                                    <tr class="fs12n">
138                                        <td bgcolor="#f2f1ec" width="160">»²¹Í»Ô¾ì²Á³Ê</td>
139                                        <td bgcolor="#ffffff" width="557">
140                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['price01']; ?>
141</span>
142                                        <input type="text" name="price01" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['price01'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
143" size="6" class="box6" maxlength="<?php echo @PRICE_LEN; ?>
144" style="<?php if ($this->_tpl_vars['arrErr']['price01'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>"/>±ß<span class="red10"> ¡ÊȾ³Ñ¿ô»ú¤ÇÆþÎÏ¡Ë</span></td>
145                                    </tr>
146                                    <tr class="fs12n">
147                                        <td bgcolor="#f2f1ec" width="160">¾¦ÉʲÁ³Ê<span class="red"> *</span></td>
148                                        <td bgcolor="#ffffff" width="557">
149                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['price02']; ?>
150</span>
151                                        <input type="text" name="price02" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['price02'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
152" size="6" class="box6" maxlength="<?php echo @PRICE_LEN; ?>
153" style="<?php if ($this->_tpl_vars['arrErr']['price02'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>"/>±ß<span class="red10"> ¡ÊȾ³Ñ¿ô»ú¤ÇÆþÎÏ¡Ë</span></td>
154                                    </tr>
155                                    <tr class="fs12n">
156                                        <td bgcolor="#f2f1ec" width="160">ºß¸Ë¿ô<span class="red"> *</span></td>
157                                        <td bgcolor="#ffffff" width="557">
158                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['stock']; ?>
159</span>
160                                        <input type="text" name="stock" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['stock'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
161" size="6" class="box6" maxlength="<?php echo @AMOUNT_LEN; ?>
162" style="<?php if ($this->_tpl_vars['arrErr']['stock'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>"/>¸Ä
163                                        <input type="checkbox" name="stock_unlimited" value="1" <?php if ($this->_tpl_vars['arrForm']['stock_unlimited'] == '1'): ?>checked<?php endif; ?> onclick="fnCheckStockLimit('<?php echo @DISABLED_RGB; ?>
164');"/>̵À©¸Â</td>
165                                        </td>
166                                    </tr>
167                                    <?php endif; ?>
168                                   
169                                                                       
170                                    <tr class="fs12n">
171                                        <td bgcolor="#f2f1ec" width="160">¥Ý¥¤¥ó¥ÈÉÕͿΨ<span class="red"> *</span></td>
172                                        <td bgcolor="#ffffff" width="557">
173                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['point_rate']; ?>
174</span>
175                                        <input type="text" name="point_rate" value="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrForm']['point_rate'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['arrInfo']['point_rate']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['arrInfo']['point_rate'])); ?>
176" size="6" class="box6" maxlength="<?php echo @PERCENTAGE_LEN; ?>
177" style="<?php if ($this->_tpl_vars['arrErr']['point_rate'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>"/>¡ó<span class="red10"> ¡ÊȾ³Ñ¿ô»ú¤ÇÆþÎÏ¡Ë</span></td>
178                                    </tr>
179                                    <tr class="fs12n">
180                                        <td bgcolor="#f2f1ec" width="160">ȯÁ÷ÆüÌÜ°Â</td>
181                                        <td bgcolor="#ffffff" width="557">
182                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['deliv_date_id']; ?>
183</span>
184                                        <select name="deliv_date_id" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr']['deliv_date_id'])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
185">
186                                        <option value="">ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option>
187                                        <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrDELIVERYDATE'],'selected' => $this->_tpl_vars['arrForm']['deliv_date_id']), $this);?>
188
189                                        </select>
190                                        </td>
191                                    </tr>
192                                    <tr class="fs12n">
193                                        <td bgcolor="#f2f1ec" width="160">¹ØÆþÀ©¸Â<span class="red"> *</span></td>
194                                        <td bgcolor="#ffffff" width="557">
195                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['sale_limit']; ?>
196</span>
197                                        <input type="text" name="sale_limit" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['sale_limit'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
198" size="6" class="box6" maxlength="<?php echo @AMOUNT_LEN; ?>
199" style="<?php if ($this->_tpl_vars['arrErr']['sale_limit'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>"/>¸Ä
200                                        <input type="checkbox" name="sale_unlimited" value="1" <?php if ($this->_tpl_vars['arrForm']['sale_unlimited'] == '1'): ?>checked<?php endif; ?> onclick="fnCheckSaleLimit('<?php echo @DISABLED_RGB; ?>
201');"/>̵À©¸Â</td>
202                                        </td>
203                                    </tr>
204                                    <tr>
205                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¥á¡¼¥«¡¼URL</td>
206                                        <td bgcolor="#ffffff" width="557" class="fs10n">
207                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['comment1']; ?>
208</span>
209                                        <input type="text" name="comment1" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['comment1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
210" maxlength="<?php echo @URL_LEN; ?>
211" size="60" class="box60" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr']['comment1'])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
212" /><span class="red"> ¡Ê¾å¸Â<?php echo @URL_LEN; ?>
213ʸ»ú¡Ë</span></td>
214                                    </tr>
215                                                                        <tr>
216                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¸¡º÷¥ï¡¼¥É<br />¢¨Ê£¿ô¤Î¾ì¹ç¤Ï¡¢¥«¥ó¥Þ( , )¶èÀÚ¤ê¤ÇÆþÎϤ·¤Æ²¼¤µ¤¤</td>
217                                        <td bgcolor="#ffffff" width="557" class="fs10n">
218                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['comment3']; ?>
219</span>
220                                        <textarea name="comment3" cols="60" rows="8" class="area60" maxlength="<?php echo @LLTEXT_LEN; ?>
221" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr']['comment3'])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
222"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['comment3'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
223</textarea><br /><span class="red"> ¡Ê¾å¸Â<?php echo @LLTEXT_LEN; ?>
224ʸ»ú¡Ë</span></td>
225                                    </tr>
226                                    <tr>
227                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">°ìÍ÷-¥á¥¤¥ó¥³¥á¥ó¥È<span class="red"> *</span></td>
228                                        <td bgcolor="#ffffff" width="557" class="fs10n">
229                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['main_list_comment']; ?>
230</span>
231                                        <textarea name="main_list_comment" maxlength="<?php echo @MTEXT_LEN; ?>
232" style="<?php if ($this->_tpl_vars['arrErr']['main_list_comment'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>" cols="60" rows="8" class="area60"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['main_list_comment'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
233</textarea><br /><span class="red"> ¡Ê¾å¸Â<?php echo @MTEXT_LEN; ?>
234ʸ»ú¡Ë</span></td>
235                                    </tr>
236                                    <tr>
237                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¾ÜºÙ-¥á¥¤¥ó¥³¥á¥ó¥È<span class="red">(¥¿¥°µö²Ä)*</span></td>
238                                        <td bgcolor="#ffffff" width="557" class="fs10n">
239                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr']['main_comment']; ?>
240</span>
241                                        <textarea name="main_comment" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['main_comment'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
242" maxlength="<?php echo @LLTEXT_LEN; ?>
243" style="<?php if ($this->_tpl_vars['arrErr']['main_comment'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>"  cols="60" rows="8" class="area60"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['main_comment'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
244</textarea><br /><span class="red"> ¡Ê¾å¸Â<?php echo @LLTEXT_LEN; ?>
245ʸ»ú¡Ë</span></td>
246                                    </tr>
247                                    <tr>
248                                        <?php $this->assign('key', 'main_list_image'); ?>
249                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">°ìÍ÷-¥á¥¤¥ó²èÁü<span class="red"> *</span><br />[<?php echo @SMALL_IMAGE_HEIGHT; ?>
250¡ß<?php echo @SMALL_IMAGE_WIDTH; ?>
251]</td>
252                                        <td bgcolor="#ffffff" width="557" class="fs12n">
253                                        <a name="<?php echo $this->_tpl_vars['key']; ?>
254"></a>
255                                        <a name="main_image"></a>
256                                        <a name="main_large_image"></a>
257                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr'][$this->_tpl_vars['key']]; ?>
258</span>
259                                        <?php if ($this->_tpl_vars['arrFile'][$this->_tpl_vars['key']]['filepath'] != ""): ?>
260                                        <img src="<?php echo $this->_tpl_vars['arrFile'][$this->_tpl_vars['key']]['filepath']; ?>
261" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
262" />¡¡<a href="" onclick="fnModeSubmit('delete_image', 'image_key', '<?php echo $this->_tpl_vars['key']; ?>
263'); return false;">[²èÁü¤Î¼è¤ê¾Ã¤·]</a><br>
264                                        <?php endif; ?>
265                                        <input type="file" name="main_list_image" size="50" class="box50" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
266" />
267                                        <input type="button" name="btn" onclick="fnModeSubmit('upload_image', 'image_key', '<?php echo $this->_tpl_vars['key']; ?>
268')" value="¥¢¥Ã¥×¥í¡¼¥É">
269                                        </td>
270                                    </tr>
271                                    <tr>
272                                        <?php $this->assign('key', 'main_image'); ?>
273                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¾ÜºÙ-¥á¥¤¥ó²èÁü<span class="red"> *</span><br />[<?php echo @NORMAL_IMAGE_HEIGHT; ?>
274¡ß<?php echo @NORMAL_IMAGE_WIDTH; ?>
275]</td>
276                                        <td bgcolor="#ffffff" width="557" class="fs12n">
277                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr'][$this->_tpl_vars['key']]; ?>
278</span>
279                                        <?php if ($this->_tpl_vars['arrFile'][$this->_tpl_vars['key']]['filepath'] != ""): ?>
280                                        <img src="<?php echo $this->_tpl_vars['arrFile'][$this->_tpl_vars['key']]['filepath']; ?>
281" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
282" />¡¡<a href="" onclick="fnModeSubmit('delete_image', 'image_key', '<?php echo $this->_tpl_vars['key']; ?>
283'); return false;">[²èÁü¤Î¼è¤ê¾Ã¤·]</a><br>
284                                        <?php endif; ?>
285                                        <input type="file" name="main_image" size="50" class="box50" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
286" />
287                                        <input type="button" name="btn" onclick="fnModeSubmit('upload_image', 'image_key', '<?php echo $this->_tpl_vars['key']; ?>
288')" value="¥¢¥Ã¥×¥í¡¼¥É">
289                                        </td>
290                                    </tr>
291                                    <tr>
292                                        <?php $this->assign('key', 'main_large_image'); ?>
293                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¾ÜºÙ-¥á¥¤¥ó³ÈÂç²èÁü<br />[<?php echo @LARGE_IMAGE_HEIGHT; ?>
294¡ß<?php echo @LARGE_IMAGE_WIDTH; ?>
295]</td>
296                                        <td bgcolor="#ffffff" width="557" class="fs12n">
297                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr'][$this->_tpl_vars['key']]; ?>
298</span>
299                                        <?php if ($this->_tpl_vars['arrFile'][$this->_tpl_vars['key']]['filepath'] != ""): ?>
300                                        <img src="<?php echo $this->_tpl_vars['arrFile'][$this->_tpl_vars['key']]['filepath']; ?>
301" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
302" />¡¡<a href="" onclick="fnModeSubmit('delete_image', 'image_key', '<?php echo $this->_tpl_vars['key']; ?>
303'); return false;">[²èÁü¤Î¼è¤ê¾Ã¤·]</a><br>
304                                        <?php endif; ?>
305                                        <input type="file" name="<?php echo $this->_tpl_vars['key']; ?>
306" size="50" class="box50" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
307" />
308                                        <input type="button" name="btn" onclick="fnModeSubmit('upload_image', 'image_key', '<?php echo $this->_tpl_vars['key']; ?>
309')" value="¥¢¥Ã¥×¥í¡¼¥É">
310                                        </td>
311                                    </tr>
312                                                                        <?php unset($this->_sections['cnt']);
313$this->_sections['cnt']['name'] = 'cnt';
314$this->_sections['cnt']['loop'] = is_array($_loop=@PRODUCTSUB_MAX) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
315$this->_sections['cnt']['show'] = true;
316$this->_sections['cnt']['max'] = $this->_sections['cnt']['loop'];
317$this->_sections['cnt']['step'] = 1;
318$this->_sections['cnt']['start'] = $this->_sections['cnt']['step'] > 0 ? 0 : $this->_sections['cnt']['loop']-1;
319if ($this->_sections['cnt']['show']) {
320    $this->_sections['cnt']['total'] = $this->_sections['cnt']['loop'];
321    if ($this->_sections['cnt']['total'] == 0)
322        $this->_sections['cnt']['show'] = false;
323} else
324    $this->_sections['cnt']['total'] = 0;
325if ($this->_sections['cnt']['show']):
326
327            for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1;
328                 $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total'];
329                 $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++):
330$this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration'];
331$this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step'];
332$this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step'];
333$this->_sections['cnt']['first']      = ($this->_sections['cnt']['iteration'] == 1);
334$this->_sections['cnt']['last']       = ($this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total']);
335?>
336                                    <!--¢§¾¦ÉÊ<?php echo $this->_sections['cnt']['iteration']; ?>
337-->
338                                    <tr>
339                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¾ÜºÙ-¥µ¥Ö¥¿¥¤¥È¥ë¡Ê<?php echo $this->_sections['cnt']['iteration']; ?>
340¡Ë</td>
341                                        <?php $this->assign('key', "sub_title".($this->_sections['cnt']['iteration'])); ?>
342                                        <td bgcolor="#ffffff" width="557" class="fs12n">
343                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr'][$this->_tpl_vars['key']]; ?>
344</span>
345                                        <input type="text" name="sub_title<?php echo $this->_sections['cnt']['iteration']; ?>
346" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
347" size="60" class="box60" maxlength="<?php echo @STEXT_LEN; ?>
348" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
349"/><span class="red10"> ¡Ê¾å¸Â<?php echo @STEXT_LEN; ?>
350ʸ»ú¡Ë</span>
351                                        </td>
352                                    </tr>
353                                    <tr>
354                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¾ÜºÙ-¥µ¥Ö¥³¥á¥ó¥È¡Ê<?php echo $this->_sections['cnt']['iteration']; ?>
355¡Ë<span class="red">(¥¿¥°µö²Ä)</span></td>
356                                        <?php $this->assign('key', "sub_comment".($this->_sections['cnt']['iteration'])); ?>
357                                        <td bgcolor="#ffffff" width="557" class="fs10n">
358                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr'][$this->_tpl_vars['key']]; ?>
359</span>
360                                        <textarea name="sub_comment<?php echo $this->_sections['cnt']['iteration']; ?>
361" cols="60" rows="8" class="area60" maxlength="<?php echo @LLTEXT_LEN; ?>
362" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
363"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
364</textarea><br /><span class="red10"> ¡Ê¾å¸Â<?php echo @LLTEXT_LEN; ?>
365ʸ»ú¡Ë</span></td>
366                                    </tr>
367                                    <tr>
368                                        <?php $this->assign('key', "sub_image".($this->_sections['cnt']['iteration'])); ?>
369                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¾ÜºÙ-¥µ¥Ö²èÁü¡Ê<?php echo $this->_sections['cnt']['iteration']; ?>
370¡Ë<br />[<?php echo @NORMAL_SUBIMAGE_HEIGHT; ?>
371¡ß<?php echo @NORMAL_SUBIMAGE_WIDTH; ?>
372]</td>
373                                        <td bgcolor="#ffffff" width="557" class="fs12n">
374                                        <a name="<?php echo $this->_tpl_vars['key']; ?>
375"></a>
376                                        <?php $this->assign('largekey', "sub_large_image".($this->_sections['cnt']['iteration'])); ?>
377                                        <a name="<?php echo $this->_tpl_vars['largekey']; ?>
378"></a>
379                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr'][$this->_tpl_vars['key']]; ?>
380</span>
381                                        <?php if ($this->_tpl_vars['arrFile'][$this->_tpl_vars['key']]['filepath'] != ""): ?>
382                                        <img src="<?php echo $this->_tpl_vars['arrFile'][$this->_tpl_vars['key']]['filepath']; ?>
383" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
384" />¡¡<a href="" onclick="fnModeSubmit('delete_image', 'image_key', '<?php echo $this->_tpl_vars['key']; ?>
385'); return false;">[²èÁü¤Î¼è¤ê¾Ã¤·]</a><br>
386                                        <?php endif; ?>
387                                        <input type="file" name="<?php echo $this->_tpl_vars['key']; ?>
388" size="50" class="box50" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
389"/>
390                                        <input type="button" name="btn" onclick="fnModeSubmit('upload_image', 'image_key', '<?php echo $this->_tpl_vars['key']; ?>
391')" value="¥¢¥Ã¥×¥í¡¼¥É">
392                                        </td>
393                                    </tr>
394                                    <tr>
395                                        <?php $this->assign('key', "sub_large_image".($this->_sections['cnt']['iteration'])); ?>
396                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">¾ÜºÙ-¥µ¥Ö³ÈÂç²èÁü¡Ê<?php echo $this->_sections['cnt']['iteration']; ?>
397¡Ë<br />[<?php echo @LARGE_SUBIMAGE_HEIGHT; ?>
398¡ß<?php echo @LARGE_SUBIMAGE_WIDTH; ?>
399]</td>
400                                        <td bgcolor="#ffffff" width="557" class="fs12n">
401                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr'][$this->_tpl_vars['key']]; ?>
402</span>
403                                        <?php if ($this->_tpl_vars['arrFile'][$this->_tpl_vars['key']]['filepath'] != ""): ?>
404                                        <img src="<?php echo $this->_tpl_vars['arrFile'][$this->_tpl_vars['key']]['filepath']; ?>
405" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
406" />¡¡<a href="" onclick="fnModeSubmit('delete_image', 'image_key', '<?php echo $this->_tpl_vars['key']; ?>
407'); return false;">[²èÁü¤Î¼è¤ê¾Ã¤·]</a><br>
408                                        <?php endif; ?>
409                                        <input type="file" name="<?php echo $this->_tpl_vars['key']; ?>
410" size="50" class="box50" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
411"/>
412                                        <input type="button" name="btn" onclick="fnModeSubmit('upload_image', 'image_key', '<?php echo $this->_tpl_vars['key']; ?>
413')" value="¥¢¥Ã¥×¥í¡¼¥É">
414                                        </td>
415                                    </tr>
416                                    <!--¢¥¾¦ÉÊ<?php echo $this->_sections['cnt']['iteration']; ?>
417-->
418                                    <?php endfor; endif; ?>
419                                   
420                                    <?php if (@OPTION_RECOMMEND == 1): ?>           
421                                    <!--¢§´ØÏ¢¾¦ÉÊ-->
422                                    <?php unset($this->_sections['cnt']);
423$this->_sections['cnt']['name'] = 'cnt';
424$this->_sections['cnt']['loop'] = is_array($_loop=@RECOMMEND_PRODUCT_MAX) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
425$this->_sections['cnt']['show'] = true;
426$this->_sections['cnt']['max'] = $this->_sections['cnt']['loop'];
427$this->_sections['cnt']['step'] = 1;
428$this->_sections['cnt']['start'] = $this->_sections['cnt']['step'] > 0 ? 0 : $this->_sections['cnt']['loop']-1;
429if ($this->_sections['cnt']['show']) {
430    $this->_sections['cnt']['total'] = $this->_sections['cnt']['loop'];
431    if ($this->_sections['cnt']['total'] == 0)
432        $this->_sections['cnt']['show'] = false;
433} else
434    $this->_sections['cnt']['total'] = 0;
435if ($this->_sections['cnt']['show']):
436
437            for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1;
438                 $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total'];
439                 $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++):
440$this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration'];
441$this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step'];
442$this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step'];
443$this->_sections['cnt']['first']      = ($this->_sections['cnt']['iteration'] == 1);
444$this->_sections['cnt']['last']       = ($this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total']);
445?>         
446                                    <?php $this->assign('recommend_no', ($this->_sections['cnt']['iteration'])); ?>
447                                    <tr>
448                                        <?php $this->assign('key', "recommend_id".($this->_sections['cnt']['iteration'])); ?>
449                                        <?php $this->assign('anckey', "recommend_no".($this->_sections['cnt']['iteration'])); ?>
450                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">´ØÏ¢¾¦ÉÊ(<?php echo $this->_sections['cnt']['iteration']; ?>
451)<br>
452                                        <?php if ($this->_tpl_vars['arrRecommend'][$this->_tpl_vars['recommend_no']]['main_list_image'] != ""): ?>
453                                            <?php $this->assign('image_path', (@IMAGE_SAVE_DIR)."/".($this->_tpl_vars['arrRecommend'][$this->_tpl_vars['recommend_no']]['main_list_image'])); ?>
454                                        <?php else: ?>
455                                            <?php $this->assign('image_path', (@NO_IMAGE_DIR)); ?>
456                                        <?php endif; ?>
457                                        <img src="<?php echo @SITE_URL; ?>
458resize_image.php?image=<?php echo ((is_array($_tmp=$this->_tpl_vars['image_path'])) ? $this->_run_mod_handler('sfRmDupSlash', true, $_tmp) : sfRmDupSlash($_tmp)); ?>
459&width=65&height=65" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrRecommend'][$this->_tpl_vars['recommend_no']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
460">
461                                        </td>
462                                        <td bgcolor="#ffffff" width="557" class="fs12">
463                                        <a name="<?php echo $this->_tpl_vars['anckey']; ?>
464"></a>
465                                        <input type="hidden" name="<?php echo $this->_tpl_vars['key']; ?>
466" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrRecommend'][$this->_tpl_vars['recommend_no']]['product_id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
467">
468                                        <input type="button" name="change" value="Êѹ¹" onclick="win03('./product_select.php?no=<?php echo $this->_sections['cnt']['iteration']; ?>
469', 'search', '500', '500'); " >
470                                        <?php $this->assign('key', "recommend_delete".($this->_sections['cnt']['iteration'])); ?>
471                                        <input type="checkbox" name="<?php echo $this->_tpl_vars['key']; ?>
472" value="1">ºï½ü<br>
473                                        ¾¦ÉÊ¥³¡¼¥É:<?php echo $this->_tpl_vars['arrRecommend'][$this->_tpl_vars['recommend_no']]['product_code_min']; ?>
474<br>
475                                        ¾¦ÉÊ̾:<?php echo ((is_array($_tmp=$this->_tpl_vars['arrRecommend'][$this->_tpl_vars['recommend_no']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
476<br>
477                                        <?php $this->assign('key', "recommend_comment".($this->_sections['cnt']['iteration'])); ?>
478                                        <span class="red12"><?php echo $this->_tpl_vars['arrErr'][$this->_tpl_vars['key']]; ?>
479</span>
480                                        <textarea name="<?php echo $this->_tpl_vars['key']; ?>
481" cols="60" rows="8" class="area60" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
482" ><?php echo ((is_array($_tmp=$this->_tpl_vars['arrRecommend'][$this->_tpl_vars['recommend_no']]['comment'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
483</textarea><br /><span class="red10"> ¡Ê¾å¸Â<?php echo @LTEXT_LEN; ?>
484ʸ»ú¡Ë</span></td>
485                                        </td>
486                                    </tr>
487                                    <?php endfor; endif; ?>
488                                    <!--¢¥´ØÏ¢¾¦ÉÊ-->
489                                    <?php endif; ?>
490                                </table>
491                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
492                                    <tr>
493                                        <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
494img/common/_.gif" width="1" height="5" alt=""></td>
495                                        <td><img src="<?php echo @URL_DIR; ?>
496img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
497                                        <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
498img/common/_.gif" width="1" height="5" alt=""></td>
499                                    </tr>
500                                    <tr>
501                                        <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
502img/common/_.gif" width="1" height="10" alt=""></td>
503                                        <td bgcolor="#e9e7de" align="center">
504                                        <table border="0" cellspacing="0" cellpadding="0" summary=" ">
505                                            <tr>
506                                            <td>
507                                                <?php if (count ( $this->_tpl_vars['arrSearchHidden'] ) > 0): ?>
508                                                <!--¢§¸¡º÷·ë²Ì¤ØÌá¤ë-->
509                                                    <a href="#" onmouseover="chgImg('<?php echo @URL_DIR; ?>
510img/contents/btn_search_back_on.jpg','back');" onmouseout="chgImg('<?php echo @URL_DIR; ?>
511img/contents/btn_search_back.jpg','back');" onClick="fnChangeAction('<?php echo @URL_SEARCH_TOP; ?>
512'); fnModeSubmit('search','',''); return false;"><img src="<?php echo @URL_DIR; ?>
513img/contents/btn_search_back.jpg" width="123" height="24" alt="¸¡º÷²èÌ̤ËÌá¤ë" border="0" name="back"></a>
514                                                <!--¢¥¸¡º÷·ë²Ì¤ØÌá¤ë-->
515                                                <?php endif; ?>
516                                                <input type="image" onMouseover="chgImgImageSubmit('<?php echo @URL_DIR; ?>
517img/contents/btn_confirm_on.jpg',this)" onMouseout="chgImgImageSubmit('<?php echo @URL_DIR; ?>
518img/contents/btn_confirm.jpg',this)" src="<?php echo @URL_DIR; ?>
519img/contents/btn_confirm.jpg" width="123" height="24" alt="³Îǧ¥Ú¡¼¥¸¤Ø" border="0" name="subm" >
520                                            </td>
521                                            </tr>
522                                        </table>
523                                        </td>
524                                        <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
525img/common/_.gif" width="1" height="10" alt=""></td>
526                                    </tr>
527                                    <tr>
528                                        <td colspan="3"><img src="<?php echo @URL_DIR; ?>
529img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
530                                    </tr>
531                                </table>
532                                </td>
533                                <td background="<?php echo @URL_DIR; ?>
534img/contents/main_right.jpg"><img src="<?php echo @URL_DIR; ?>
535img/common/_.gif" width="14" height="1" alt=""></td>
536                            </tr>
537                            <tr>
538                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
539img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
540                            </tr>
541                            <tr><td height="30"></td></tr>
542                        </table>
543                    </td>
544                </tr>
545                <!--¥á¥¤¥ó¥¨¥ê¥¢-->
546            </table>
547            <!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
548        </td>
549    </tr>
550</form>
551</table>
552<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
Note: See TracBrowser for help on using the repository browser.