source: branches/rel/data/Smarty/templates/admin/products/product_rank.tpl @ 12157

Revision 12157, 8.9 KB checked in by uehara, 17 years ago (diff)
Line 
1<!--{*
2/*
3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7*}-->
8<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
9<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
10<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
11<input type="hidden" name="mode" value="edit">
12<input type="hidden" name="parent_category_id" value="<!--{$arrForm.parent_category_id}-->">
13<input type="hidden" name="category_id" value="<!--{$arrForm.category_id}-->">
14<input type="hidden" name="product_id" value="">
15<input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->">
16    <tr valign="top">
17        <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
18            <!--¢§SUB NAVI-->
19            <!--{include file=$tpl_subnavi}-->
20            <!--¢¥SUB NAVI-->
21        </td>
22        <td class="mainbg" >
23        <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
24            <!--¥á¥¤¥ó¥¨¥ê¥¢-->
25            <tr>
26                <td align="center">
27                <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
28
29                    <tr><td height="14"></td></tr>
30                    <tr>
31                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
32                    </tr>
33                    <tr>
34                        <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
35                        <td bgcolor="#cccccc">
36                       
37                            <!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
38                            <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
39                                <tr>
40                                    <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
41                                </tr>
42                                <tr>
43                                    <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
44                                    <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¾¦ÉÊʤÓÂؤ¨</span></td>
45                                    <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
46                                </tr>
47                                <tr>
48                                    <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
49                                </tr>
50                                <tr>
51                                    <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
52                                </tr>
53                            </table>   
54                           
55                            <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
56                   
57                                <tr bgcolor="#ffffff">
58                                    <!--¢§²èÌ̺¸-->
59                                    <td width="250" valign="top" class="fs12">
60                                    <a href="<!--{$smarty.server.PHP_SELF|escape}-->">¢§¥Û¡¼¥à</a><br>
61                                    <!--{section name=cnt loop=$arrTree}-->
62                                        <!--{assign var=level value="`$arrTree[cnt].level`}-->
63                                       
64                                        <!--{* ¾å¤Î³¬ÁØɽ¼¨¤Î»þ¤Ëdiv¤òÊĤ¸¤ë *}-->
65                                        <!--{assign var=close_cnt value="`$before_level-$level+1`}-->
66                                        <!--{if $close_cnt > 0}-->
67                                            <!--{section name=n loop=$close_cnt}--></div><!--{/section}-->
68                                        <!--{/if}-->
69                                                           
70                                        <!--{* ¥¹¥Ú¡¼¥¹·«¤êÊÖ¤· *}-->
71                                        <!--{section name=n loop=$level}-->¡¡¡¡<!--{/section}-->
72                                       
73                                        <!--{* ¥«¥Æ¥´¥ê̾ɽ¼¨ *}-->
74                                        <!--{assign var=disp_name value="`$arrTree[cnt].category_id`.`$arrTree[cnt].category_name`"}-->
75                                        <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrTree[cnt].category_id}-->); return false">
76                                        <!--{if $arrForm.parent_category_id == $arrTree[cnt].category_id}-->
77                                            <img src="<!--{$smarty.const.URL_DIR}-->misc/openf.gif" border="0">
78                                        <!--{else}-->
79                                            <img src="<!--{$smarty.const.URL_DIR}-->misc/closef.gif" border="0">
80                                        <!--{/if}-->
81                                        <!--{$disp_name|sfCutString:20|escape}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</a>
82                                    <br>                   
83                                        <!--{if $arrTree[cnt].display == true}-->
84                                            <div id="f<!--{$arrTree[cnt].category_id}-->">
85                                        <!--{else}-->
86                                            <div id="f<!--{$arrTree[cnt].category_id}-->" style="display:none">
87                                        <!--{/if}-->               
88                                        <!--{assign var=before_level value="`$arrTree[cnt].level`}-->
89                                    <!--{/section}-->       
90                                    </td>
91                                    <!--¢¥²èÌ̺¸-->
92                                       
93                                    <!--¢§²èÌ̱¦-->             
94                                    <!--{if count($arrProductsList) > 0}-->
95                                    <td width="428" valign="top">
96                                                                   
97                                    <table width="428" border="0" cellspacing="0" cellpadding="0" summary=" ">
98                                        <tr><td class="fs12n"><!--{$tpl_linemax}-->·ï¤¬³ºÅö¤·¤Þ¤·¤¿¡£   </td></tr>
99                                        <tr class="fs12">
100                                            <td align="center">
101                                            <!--¢§¥Ú¡¼¥¸¥Ê¥Ó-->
102                                            <!--{$tpl_strnavi}-->
103                                            <!--¢¥¥Ú¡¼¥¸¥Ê¥Ó-->
104                                            </td>
105                                        </tr>
106                                        <tr><td height="10"></td></tr>
107                                    </table>
108                                                   
109                                    <table border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
110                                        <tr bgcolor="#f0f0f0" align="center" class="fs12n">
111                                            <td width="27">½ç°Ì</td>
112                                            <td width="110">¾¦ÉÊ¥³¡¼¥É</td>
113                                            <td width="100">¾¦ÉʲèÁü</td>
114                                            <td width="130">¾¦ÉÊ̾</td>
115                                            <td width="120">°ÜÆ°</td>
116                                        </tr>
117                                        <!--{section name=cnt loop=$arrProductsList}-->
118                                        <tr bgcolor="#ffffff" align="left" class="fs12n">
119                                            <!--{assign var=db_rank value="`$arrProductsList[cnt].rank`"}-->
120                                            <!--{assign var=rank value="`$tpl_linemax-$db_rank+1`"}-->
121                                            <td width="27" align="center"><!--{$rank}--></td>
122                                            <td width="110"><!--{$arrProductsList[cnt].product_code|escape|default:"-"}--></td>
123                                            <td width="100" align="center">
124                                                <!--{* ¾¦ÉʲèÁü *}-->
125                                                <!--{if $arrProductsList[cnt].main_list_image != ""}-->
126                                                    <!--{assign var=image_path value=`$smarty.const.IMAGE_SAVE_DIR`/`$arrProductsList[cnt].main_list_image`}-->
127                                                <!--{else}-->
128                                                    <!--{assign var=image_path value=$smarty.const.NO_IMAGE_URL}-->
129                                                <!--{/if}-->
130                                                <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrProducts[cnt].name|escape}-->">
131                                            </td>
132                                            <td width="130" align="center">
133                                                <!--{$arrProductsList[cnt].name|escape}-->
134                                            </td>
135                                           
136                                            <td width="120" align="center">
137                                            <!--{* °ÜÆ° *}-->
138                                            <!--{if !(count($arrProductsList) == 1 && $rank == 1)}-->
139                                            <input type="text" name="pos-<!--{$arrProductsList[cnt].product_id}-->" size="3" class="box3" />ÈÖÌܤØ<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('move','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">°ÜÆ°</a><br />
140                                            <!--{/if}-->
141                                            <!--{if !($smarty.section.cnt.first && $tpl_disppage eq 1) }-->
142                                            <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">¾å¤Ø</a>
143                                            <!--{/if}-->
144                                            <!--{if !($smarty.section.cnt.last && $tpl_disppage eq $tpl_pagemax) }-->
145                                            <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">²¼¤Ø</a>
146                                            <!--{/if}-->
147                                            </td>
148                                        </tr>
149                                        <!--{/section}-->
150                                    </table>
151                                   
152                                    <table width="428" border="0" cellspacing="0" cellpadding="0" summary=" ">
153                                        <tr><td height="5"></td></tr>
154                                        <tr class="fs12">
155                                            <td align="center">
156                                            <!--¢§¥Ú¡¼¥¸¥Ê¥Ó-->
157                                            <!--{$tpl_strnavi}-->
158                                            <!--¢¥¥Ú¡¼¥¸¥Ê¥Ó-->
159                                            </td>
160                                        </tr>
161                                        <tr><td height="5"></td></tr>
162                                    </table>
163                                    </td>       
164                                    <!--{else}-->
165                                    <td width="428" valign="top" class="fs12n">¥«¥Æ¥´¥ê¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤¡£</td>
166                                    <!--{/if}-->
167                                    <!--¢¥²èÌ̱¦-->
168                                </tr>
169                            </table>
170                            <!-- ¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç -->
171
172                        </td>
173                        <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
174                    </tr>
175                    <tr>
176                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
177                    </tr>
178                    <tr><td height="30"></td></tr>
179
180                </table>
181                </td>
182            </tr>
183            <!--¥á¥¤¥ó¥¨¥ê¥¢-->
184        </table>
185        </td>
186    </tr>
187</form>
188</table>
189<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->     
Note: See TracBrowser for help on using the repository browser.