source: branches/comu/data/Smarty/templates_c/admin/%%E1^E1D^E1D0E673%%index.tpl.php @ 2

Revision 2, 26.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:50
2         compiled from products/index.tpl */ ?>
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'products/index.tpl', 44, false),array('modifier', 'sfGetErrorColor', 'products/index.tpl', 91, false),array('modifier', 'sfRmDupSlash', 'products/index.tpl', 301, false),array('modifier', 'default', 'products/index.tpl', 303, false),array('modifier', 'sfTrimURL', 'products/index.tpl', 314, false),array('modifier', 'number_format', 'products/index.tpl', 324, false),array('modifier', 'sfTrim', 'products/index.tpl', 333, false),array('modifier', 'count', 'products/index.tpl', 348, false),array('function', 'html_options', 'products/index.tpl', 104, false),array('function', 'html_checkboxes', 'products/index.tpl', 109, false),)), $this); ?>
5
6<script type="text/javascript">
7// URL¤Îɽ¼¨Èóɽ¼¨ÀÚ¤êÂؤ¨
8function lfnDispChange(){
9    inner_id = 'switch';
10
11    cnt = form1.item_cnt.value;
12   
13    if(document.getElementById('disp_url1').style.display == 'none'){
14        for (i = 1; i <= cnt; i++) {
15            disp_id = 'disp_url'+i;
16            document.getElementById(disp_id).style.display="";
17   
18            disp_id = 'disp_cat'+i;
19            document.getElementById(disp_id).style.display="none";
20           
21            document.getElementById(inner_id).innerHTML = ' URL <a href="#" onClick="lfnDispChange();"> <FONT Color="#FFFF99"> >> ¥«¥Æ¥´¥êɽ¼¨</FONT></a>';
22        }
23    }else{
24        for (i = 1; i <= cnt; i++) {
25            disp_id = 'disp_url'+i;
26            document.getElementById(disp_id).style.display="none";
27   
28            disp_id = 'disp_cat'+i;
29            document.getElementById(disp_id).style.display="";
30           
31            document.getElementById(inner_id).innerHTML = ' ¥«¥Æ¥´¥ê <a href="#" onClick="lfnDispChange();"> <FONT Color="#FFFF99"> >> URLɽ¼¨</FONT></a>';
32        }
33    }
34
35}
36
37</script>
38
39<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
40<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
41<form name="search_form" id="search_form" method="post" action="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
42">
43<input type="hidden" name="mode" value="search">
44<?php $_from = $this->_tpl_vars['arrHidden']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
45    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
46?>
47<?php if ($this->_tpl_vars['key'] == 'campaign_id' || $this->_tpl_vars['key'] == 'search_mode'): ?>
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 endif; ?>
52<?php endforeach; endif; unset($_from); ?>
53    <tr valign="top">
54        <td background="<?php echo @URL_DIR; ?>
55img/contents/navi_bg.gif" height="402">
56            <!-- ¥µ¥Ö¥Ê¥Ó -->
57            <?php $_smarty_tpl_vars = $this->_tpl_vars;
58$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['tpl_subnavi'], 'smarty_include_vars' => array()));
59$this->_tpl_vars = $_smarty_tpl_vars;
60unset($_smarty_tpl_vars);
61 ?>
62        </td>
63        <td class="mainbg">
64        <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
65            <!--¥á¥¤¥ó¥¨¥ê¥¢-->
66            <tr>
67                <td align="center">
68                <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
69                    <tr><td height="14"></td></tr>
70                    <tr>
71                        <td colspan="3"><img src="<?php echo @URL_DIR; ?>
72img/contents/main_top.jpg" width="706" height="14" alt=""></td>
73                    </tr>
74                    <tr>
75                        <td background="<?php echo @URL_DIR; ?>
76img/contents/main_left.jpg"><img src="<?php echo @URL_DIR; ?>
77img/common/_.gif" width="14" height="1" alt=""></td>
78                        <td bgcolor="#cccccc">
79                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
80                            <tr>
81                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
82img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
83                            </tr>
84                            <tr>
85                                <td background="<?php echo @URL_DIR; ?>
86img/contents/contents_title_left_bg.gif"><img src="<?php echo @URL_DIR; ?>
87img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
88                                <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¸¡º÷¾ò·ïÀßÄê</span></td>
89                                <td background="<?php echo @URL_DIR; ?>
90img/contents/contents_title_right_bg.gif"><img src="<?php echo @URL_DIR; ?>
91img/common/_.gif" width="18" height="1" alt=""></td>
92                            </tr>
93                            <tr>
94                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
95img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
96                            </tr>
97                            <tr>
98                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
99img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
100                            </tr>
101                        </table>
102                        <!--¸¡º÷¾ò·ïÀßÄê¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
103                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
104                            <tr class="fs12">
105                                <td bgcolor="#f2f1ec" width="110">¾¦ÉÊID</td>
106                                <td bgcolor="#ffffff" width="194"><input type="text" name="search_product_id" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['search_product_id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
107" size="30" class="box30" /></td>
108                                <td bgcolor="#f2f1ec" width="110">µ¬³Ê̾¾Î</td>
109                                <td bgcolor="#ffffff" width="195"><span class="red"><?php echo $this->_tpl_vars['arrErr']['search_product_class_name']; ?>
110</span><input type="text" name="search_product_class_name" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['search_product_class_name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
111" size="30" class="box30"style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr']['search_product_class_name'])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
112" /></td>
113                            </tr>
114                            <tr class="fs12">
115                                <td bgcolor="#f2f1ec" width="110">¾¦ÉÊ¥³¡¼¥É</td>
116                                <td bgcolor="#ffffff" width="194"><input type="text" name="search_product_code" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['search_product_code'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
117" size="30" class="box30" /></td>
118                                <td bgcolor="#f2f1ec" width="110">¾¦ÉÊ̾</td>
119                                <td bgcolor="#ffffff" width="195"><input type="text" name="search_name" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrForm']['search_name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
120" size="30" class="box30" /></td>
121                            </tr>
122                            <tr class="fs12">
123                                <td bgcolor="#f2f1ec" width="110">¥«¥Æ¥´¥ê</td>
124                                <td bgcolor="#ffffff" width="194">
125                                    <select name="search_category_id" style="<?php if ($this->_tpl_vars['arrErr']['search_category_id'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>">
126                                    <option value="">ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option>
127                                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrCatList'],'selected' => $this->_tpl_vars['arrForm']['search_category_id']), $this);?>
128
129                                    </select>
130                                </td>
131                                <td bgcolor="#f2f1ec" width="110">¼ïÊÌ</td>
132                                <td bgcolor="#ffffff" width="195">
133                                    <?php echo smarty_function_html_checkboxes(array('name' => 'search_status','options' => $this->_tpl_vars['arrDISP'],'selected' => $this->_tpl_vars['arrForm']['search_status']), $this);?>
134
135                                </td>
136                            </tr class="fs12">
137                            <tr class="fs12n">
138                                <td bgcolor="#f2f1ec" width="110">ÅÐÏ¿¡¦¹¹¿·Æü</td>
139                                <td bgcolor="#ffffff" width="499" colspan=3>
140                                    <span class="red"><?php echo $this->_tpl_vars['arrErr']['search_startyear']; ?>
141</span>
142                                    <span class="red"><?php echo $this->_tpl_vars['arrErr']['search_endyear']; ?>
143</span>     
144                                    <select name="search_startyear" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr']['search_startyear'])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
145">
146                                    <option value="">----</option>
147                                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrStartYear'],'selected' => $this->_tpl_vars['arrForm']['search_startyear']), $this);?>
148
149                                    </select>ǯ
150                                    <select name="search_startmonth" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr']['search_startyear'])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
151">
152                                    <option value="">--</option>
153                                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrStartMonth'],'selected' => $this->_tpl_vars['arrForm']['search_startmonth']), $this);?>
154
155                                    </select>·î
156                                    <select name="search_startday" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr']['search_startyear'])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
157">
158                                    <option value="">--</option>
159                                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrStartDay'],'selected' => $this->_tpl_vars['arrForm']['search_startday']), $this);?>
160
161                                    </select>Æü¡Á
162                                    <select name="search_endyear" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr']['search_endyear'])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
163">
164                                    <option value="">----</option>
165                                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrEndYear'],'selected' => $this->_tpl_vars['arrForm']['search_endyear']), $this);?>
166
167                                    </select>ǯ
168                                    <select name="search_endmonth" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr']['search_endyear'])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
169">
170                                    <option value="">--</option>
171                                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrEndMonth'],'selected' => $this->_tpl_vars['arrForm']['search_endmonth']), $this);?>
172
173                                    </select>·î
174                                    <select name="search_endday" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr']['search_endyear'])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
175">
176                                    <option value="">--</option>
177                                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrEndDay'],'selected' => $this->_tpl_vars['arrForm']['search_endday']), $this);?>
178
179                                    </select>Æü
180                                </td>
181                            </tr>
182                            <tr class="fs12n">
183                                <td bgcolor="#f2f1ec" width="110">¥¹¥Æ¡¼¥¿¥¹</td>
184                                <td bgcolor="#ffffff" width="499" colspan="3">
185                                <?php echo smarty_function_html_checkboxes(array('name' => 'search_product_flag','options' => $this->_tpl_vars['arrSTATUS'],'selected' => $this->_tpl_vars['arrForm']['search_product_flag']), $this);?>
186
187                                </td>
188                            </tr>
189
190                        </table>
191                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
192                            <tr>
193                                <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
194img/common/_.gif" width="1" height="5" alt=""></td>
195                                <td><img src="<?php echo @URL_DIR; ?>
196img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
197                                <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
198img/common/_.gif" width="1" height="5" alt=""></td>
199                            </tr>
200                            <tr>
201                                <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
202img/common/_.gif" width="1" height="10" alt=""></td>
203                                <td bgcolor="#e9e7de" align="center">
204                                <table border="0" cellspacing="0" cellpadding="0" summary=" ">
205                                    <tr>
206                                        <td class="fs12n">¸¡º÷·ë²Ìɽ¼¨·ï¿ô
207                                            <?php $this->assign('key', 'search_page_max'); ?>
208                                            <span class="red12"><?php echo $this->_tpl_vars['arrErr'][$this->_tpl_vars['key']]; ?>
209</span>
210                                            <select name="<?php echo $this->_tpl_vars['key']; ?>
211" style="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrErr'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : sfGetErrorColor($_tmp)); ?>
212">
213                                            <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrPageMax'],'selected' => $this->_tpl_vars['arrForm']['search_page_max']), $this);?>
214
215                                            </select> ·ï
216                                        </td>
217                                        <td><img src="<?php echo @URL_DIR; ?>
218img/common/_.gif" width="10" height="1" alt=""></td>
219                                        <td><input type="image" name="subm" onMouseover="chgImgImageSubmit('<?php echo @URL_DIR; ?>
220img/contents/btn_search_on.jpg',this)" onMouseout="chgImgImageSubmit('<?php echo @URL_DIR; ?>
221img/contents/btn_search.jpg',this)" src="<?php echo @URL_DIR; ?>
222img/contents/btn_search.jpg" width="123" height="24" alt="¤³¤Î¾ò·ï¤Ç¸¡º÷¤¹¤ë" border="0"></td>
223                                    </tr>
224                                </table>
225                                </td>
226                                <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
227img/common/_.gif" width="1" height="10" alt=""></td>
228                            </tr>
229                            <tr>
230                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
231img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
232                            </tr>
233                        </table>
234                        <!--¸¡º÷¾ò·ïÀßÄê¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
235                        </td>
236                        <td background="<?php echo @URL_DIR; ?>
237img/contents/main_right.jpg"><img src="<?php echo @URL_DIR; ?>
238img/common/_.gif" width="14" height="1" alt=""></td>
239                    </tr>
240                    <tr>
241                        <td colspan="3"><img src="<?php echo @URL_DIR; ?>
242img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
243                    </tr>
244                    <tr><td height="30"></td></tr>
245                </table>
246                </td>
247            </tr>
248            <!--¥á¥¤¥ó¥¨¥ê¥¢-->
249        </table>
250        </td>
251    </tr>
252</form>
253</table>
254<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
255
256<?php if (count ( $this->_tpl_vars['arrErr'] ) == 0 && ( $_POST['mode'] == 'search' || $_POST['mode'] == 'delete' )): ?>
257
258<!--¡ú¡ú¸¡º÷·ë²Ì°ìÍ÷¡ú¡ú-->
259<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
260<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)); ?>
261">
262<input type="hidden" name="mode" value="search">
263<input type="hidden" name="product_id" value="">
264<input type="hidden" name="category_id" value="">
265<?php $_from = $this->_tpl_vars['arrHidden']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
266    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
267?>
268<input type="hidden" name="<?php echo $this->_tpl_vars['key']; ?>
269" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['item'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
270">
271<?php endforeach; endif; unset($_from); ?> 
272    <tr><td colspan="2"><img src="<?php echo @URL_DIR; ?>
273img/contents/search_line.jpg" width="878" height="12" alt=""></td></tr>
274    <tr bgcolor="cbcbcb">
275        <td>
276        <table border="0" cellspacing="0" cellpadding="0" summary=" ">
277            <tr>
278                <td><img src="<?php echo @URL_DIR; ?>
279img/contents/search_left.gif" width="19" height="22" alt=""></td>
280                <td>
281                <!--¸¡º÷·ë²Ì-->
282                <table border="0" cellspacing="0" cellpadding="0" summary=" ">
283                    <tr>
284                        <td><img src="<?php echo @URL_DIR; ?>
285img/contents/reselt_left_top.gif" width="22" height="5" alt=""></td>
286                        <td background="<?php echo @URL_DIR; ?>
287img/contents/reselt_top_bg.gif"><img src="<?php echo @URL_DIR; ?>
288img/common/_.gif" width="1" height="5" alt=""></td>
289                        <td><img src="<?php echo @URL_DIR; ?>
290img/contents/reselt_right_top.gif" width="22" height="5" alt=""></td>
291                    </tr>
292                    <tr>
293                        <td background="<?php echo @URL_DIR; ?>
294img/contents/reselt_left_bg.gif"><img src="<?php echo @URL_DIR; ?>
295img/contents/reselt_left_middle.gif" width="22" height="12" alt=""></td>
296                        <td bgcolor="#393a48" class="white10">¸¡º÷·ë²Ì°ìÍ÷¡¡<span class="reselt"><!--¸¡º÷·ë²Ì¿ô--><?php echo $this->_tpl_vars['tpl_linemax']; ?>
297·ï</span>&nbsp;¤¬³ºÅö¤·¤Þ¤·¤¿¡£</td>
298                        <td background="<?php echo @URL_DIR; ?>
299img/contents/reselt_right_bg.gif"><img src="<?php echo @URL_DIR; ?>
300img/common/_.gif" width="22" height="8" alt=""></td>
301                    </tr>
302                    <tr>
303                        <td><img src="<?php echo @URL_DIR; ?>
304img/contents/reselt_left_bottom.gif" width="22" height="5" alt=""></td>
305                        <td background="<?php echo @URL_DIR; ?>
306img/contents/reselt_bottom_bg.gif"><img src="<?php echo @URL_DIR; ?>
307img/common/_.gif" width="1" height="5" alt=""></td>
308                        <td><img src="<?php echo @URL_DIR; ?>
309img/contents/reselt_right_bottom.gif" width="22" height="5" alt=""></td>
310                    </tr>
311                </table>
312                <!--¸¡º÷·ë²Ì-->
313                <?php if (@ADMIN_MODE == '1'): ?>
314                <input type="button" name="subm" value="¸¡º÷·ë²Ì¤ò¤¹¤Ù¤Æºï½ü" onclick="fnModeSubmit('delete_all','','');" />
315                <?php endif; ?>
316                </td>
317                <td><img src="<?php echo @URL_DIR; ?>
318img/common/_.gif" width="8" height="1" alt=""></td>
319                <td><a href="#" onmouseover="chgImg('<?php echo @URL_DIR; ?>
320img/contents/btn_csv_on.jpg','btn_csv');" onmouseout="chgImg('<?php echo @URL_DIR; ?>
321img/contents/btn_csv.jpg','btn_csv');"  onclick="fnModeSubmit('csv','','');" ><img src="<?php echo @URL_DIR; ?>
322img/contents/btn_csv.jpg" width="99" height="22" alt="CSV DOWNLOAD" border="0" name="btn_csv" id="btn_csv"></a></td>
323                <td><img src="<?php echo @URL_DIR; ?>
324img/common/_.gif" width="8" height="1" alt=""></td>
325                <td><a href="../contents/csv.php?tpl_subno_csv=product"><span class="fs12n"> >> CSV½ÐÎϹàÌÜÀßÄê </span></a></td>
326            </tr>
327        </table>
328        </td>
329        <td align="right">
330            <?php $_smarty_tpl_vars = $this->_tpl_vars;
331$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['tpl_pager'], 'smarty_include_vars' => array()));
332$this->_tpl_vars = $_smarty_tpl_vars;
333unset($_smarty_tpl_vars);
334 ?>
335        </td>                                   
336    </tr>
337    <tr><td bgcolor="cbcbcb" colspan="2"><img src="<?php echo @URL_DIR; ?>
338img/common/_.gif" width="1" height="5" alt=""></td></tr>
339</table>
340
341<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
342    <tr>
343        <td bgcolor="#f0f0f0" align="center">
344
345        <?php if (count ( $this->_tpl_vars['arrProducts'] ) > 0): ?>       
346            <table width="840" border="0" cellspacing="0" cellpadding="0" summary=" ">
347                <tr><td height="12"></td></tr>
348                <tr>
349                    <td bgcolor="#cccccc">
350                   
351                    <!--¸¡º÷·ë²Ìɽ¼¨¥Æ¡¼¥Ö¥ë-->
352                    <table width="840" border="0" cellspacing="1" cellpadding="5" summary=" ">
353                        <tr bgcolor="#636469" align="center" class="fs12n">
354                            <td width="50" rowspan="2"><span class="white">¾¦ÉÊID</span></td>
355                            <td width="90" rowspan="2"><span class="white">¾¦ÉʲèÁü</span></td>
356                            <td width="90"><span class="white">¾¦ÉÊ¥³¡¼¥É</span></td>
357                            <td width="350"><span class="white">¾¦ÉÊ̾</span></td>
358                            <td width="60"><span class="white">ºß¸Ë</span></td>
359                            <td width="50" rowspan="2"><span class="white">ÊÔ½¸</span></td>
360                            <td width="50" rowspan="2"><span class="white">³Îǧ</span></td>
361                            <?php if (@OPTION_CLASS_REGIST == 1): ?>
362                            <td width="50" rowspan="2"><span class="white">µ¬³Ê</span></td>
363                            <?php endif; ?>
364                            <td width="50"><span class="white">ºï½ü</span></td>
365                        </tr>
366                        <tr bgcolor="#636469" align="center" class="fs12n">
367                            <td width="90"><span class="white">²Á³Ê(±ß)</span></td>
368                            <td width="430">
369                                <span class="white"  id="switch">
370                                    ¥«¥Æ¥´¥ê <a href="#" onClick="lfnDispChange();"> <FONT Color="#FFFF99"> >> URLɽ¼¨</FONT></a>
371                                </span>
372                            </td>
373                            <td width="60"><span class="white">¼ïÊÌ</span></td>
374                            <td width="50"><span class="white">Ê£À½</span></td>
375                        </tr>
376
377                        <?php unset($this->_sections['cnt']);
378$this->_sections['cnt']['name'] = 'cnt';
379$this->_sections['cnt']['loop'] = is_array($_loop=$this->_tpl_vars['arrProducts']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
380$this->_sections['cnt']['show'] = true;
381$this->_sections['cnt']['max'] = $this->_sections['cnt']['loop'];
382$this->_sections['cnt']['step'] = 1;
383$this->_sections['cnt']['start'] = $this->_sections['cnt']['step'] > 0 ? 0 : $this->_sections['cnt']['loop']-1;
384if ($this->_sections['cnt']['show']) {
385    $this->_sections['cnt']['total'] = $this->_sections['cnt']['loop'];
386    if ($this->_sections['cnt']['total'] == 0)
387        $this->_sections['cnt']['show'] = false;
388} else
389    $this->_sections['cnt']['total'] = 0;
390if ($this->_sections['cnt']['show']):
391
392            for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1;
393                 $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total'];
394                 $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++):
395$this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration'];
396$this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step'];
397$this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step'];
398$this->_sections['cnt']['first']      = ($this->_sections['cnt']['iteration'] == 1);
399$this->_sections['cnt']['last']       = ($this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total']);
400?>
401                        <!--¢§¾¦ÉÊ<?php echo $this->_sections['cnt']['iteration']; ?>
402-->
403                        <?php $this->assign('status', ($this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['status'])); ?>
404                        <tr bgcolor="<?php echo $this->_tpl_vars['arrPRODUCTSTATUS_COLOR'][$this->_tpl_vars['status']]; ?>
405" class="fs12n">
406                            <td rowspan="2" align="center"><?php echo $this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['product_id']; ?>
407</td>
408                            <td rowspan="2" align="center">
409                            <?php if ($this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['main_list_image'] != ""): ?>
410                                <?php $this->assign('image_path', (@IMAGE_SAVE_DIR)."/".($this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['main_list_image'])); ?>
411                            <?php else: ?>
412                                <?php $this->assign('image_path', (@NO_IMAGE_DIR)); ?>
413                            <?php endif; ?>
414                            <img src="<?php echo @SITE_URL; ?>
415resize_image.php?image=<?php echo ((is_array($_tmp=$this->_tpl_vars['image_path'])) ? $this->_run_mod_handler('sfRmDupSlash', true, $_tmp) : sfRmDupSlash($_tmp)); ?>
416&width=65&height=65">
417                            </td>
418                            <td><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['product_code'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, "-") : smarty_modifier_default($_tmp, "-")); ?>
419</td>
420                            <td><?php echo ((is_array($_tmp=$this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
421</td>
422                            <td align="center">
423                                                        <?php if ($this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['stock_unlimited'] == '1'): ?>
424                            ̵À©¸Â
425                            <?php else: ?>
426                            <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['stock'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, "-") : smarty_modifier_default($_tmp, "-")); ?>
427
428                            <?php endif; ?>
429                            </td>
430                            <td align="center" rowspan="2"><span class="icon_edit"><a href="<?php echo @URL_DIR; ?>
431" onclick="fnChangeAction('./product.php'); fnModeSubmit('pre_edit', 'product_id', <?php echo $this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['product_id']; ?>
432); return false;" >ÊÔ½¸</a></span></td>
433                            <td align="center" rowspan="2"><span class="icon_confirm"><a href="<?php echo ((is_array($_tmp=@SITE_URL)) ? $this->_run_mod_handler('sfTrimURL', true, $_tmp) : sfTrimURL($_tmp)); ?>
434/products/detail.php?product_id=<?php echo $this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['product_id']; ?>
435&admin=on" target="_blank">³Îǧ</a></td>
436                            <?php if (@OPTION_CLASS_REGIST == 1): ?>
437                            <td align="center" rowspan="2"><span class="icon_class"><a href="<?php echo @URL_DIR; ?>
438" onclick="fnChangeAction('./product_class.php'); fnModeSubmit('pre_edit', 'product_id', <?php echo $this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['product_id']; ?>
439); return false;" >µ¬³Ê</a></td>
440                            <?php endif; ?>
441                            <td align="center"><span class="icon_delete"><a href="<?php echo @URL_DIR; ?>
442" onclick="fnSetFormValue('category_id', '<?php echo $this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['category_id']; ?>
443'); fnModeSubmit('delete', 'product_id', <?php echo $this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['product_id']; ?>
444); return false;">ºï½ü</a></span></td>
445                        </tr>
446                        <tr bgcolor="<?php echo $this->_tpl_vars['arrPRODUCTSTATUS_COLOR'][$this->_tpl_vars['status']]; ?>
447" class="fs12n">
448                            <td align="right">
449                                                        <?php if ($this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['price02'] != ""): ?>
450                            <?php echo ((is_array($_tmp=$this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['price02'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
451
452                            <?php else: ?>
453                            -
454                            <?php endif; ?>
455                            </td>
456                            <td>
457                                                        <div id="disp_cat<?php echo $this->_sections['cnt']['iteration']; ?>
458" style="display:<?php echo $this->_tpl_vars['cat_flg']; ?>
459">
460                            <?php $this->assign('key', $this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['category_id']); ?>
461                            <?php echo ((is_array($_tmp=$this->_tpl_vars['arrCatList'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('sfTrim', true, $_tmp) : sfTrim($_tmp)); ?>
462
463                            </div>
464
465                                                        <div id="disp_url<?php echo $this->_sections['cnt']['iteration']; ?>
466" style="display:none">
467                            <?php echo ((is_array($_tmp=@SITE_URL)) ? $this->_run_mod_handler('sfTrimURL', true, $_tmp) : sfTrimURL($_tmp)); ?>
468/products/detail.php?product_id=<?php echo $this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['product_id']; ?>
469
470                            </div>
471                            </td>
472                                                        <?php $this->assign('key', $this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['status']); ?>
473                            <td align="center"><?php echo $this->_tpl_vars['arrDISP'][$this->_tpl_vars['key']]; ?>
474</td>
475                            <td align="center"><span class="icon_copy"><a href="<?php echo @URL_DIR; ?>
476" onclick="fnChangeAction('./product.php'); fnModeSubmit('copy', 'product_id', <?php echo $this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['product_id']; ?>
477); return false;" >Ê£À½</a></span></td>
478                        </tr>
479                        <!--¢¥¾¦ÉÊ<?php echo $this->_sections['cnt']['iteration']; ?>
480-->
481                        <?php endfor; endif; ?>
482                        <input type="hidden" name="item_cnt" value="<?php echo count($this->_tpl_vars['arrProducts']); ?>
483">
484                    </table>
485                    <!--¸¡º÷·ë²Ìɽ¼¨¥Æ¡¼¥Ö¥ë-->
486                    </td>
487                </tr>
488            </table>
489        <?php endif; ?>
490
491        </td>
492    </tr>
493</form>
494</table>       
495
496<!--¡ú¡ú¸¡º÷·ë²Ì°ìÍ÷¡ú¡ú-->     
497<?php endif; ?>
Note: See TracBrowser for help on using the repository browser.