source: trunk/data/Smarty/templates/default/admin/products/product_rank.tpl @ 18758

Revision 18758, 9.3 KB checked in by kajiwara, 14 years ago (diff)

EC-CUBE Ver2.4.4 分コミット。詳細はこちら( http://www.ec-cube.net/release/detail.php?release_id=223

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24<!--★★メインコンテンツ★★-->
25<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
26<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
27<input type="hidden" name="mode" value="edit">
28<input type="hidden" name="parent_category_id" value="<!--{$arrForm.parent_category_id}-->">
29<input type="hidden" name="category_id" value="<!--{$arrForm.category_id}-->">
30<input type="hidden" name="product_id" value="">
31<input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->">
32    <tr valign="top">
33        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
34            <!--▼SUB NAVI-->
35            <!--{include file=$tpl_subnavi}-->
36            <!--▲SUB NAVI-->
37        </td>
38        <td class="mainbg" >
39        <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
40            <!--メインエリア-->
41            <tr>
42                <td align="center">
43                <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
44
45                    <tr><td height="14"></td></tr>
46                    <tr>
47                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
48                    </tr>
49                    <tr>
50                        <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
51                        <td bgcolor="#cccccc">
52
53                            <!--▼登録テーブルここから-->
54                            <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
55                                <tr>
56                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
57                                </tr>
58                                <tr>
59                                    <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
60                                    <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->商品並び替え</span></td>
61                                    <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
62                                </tr>
63                                <tr>
64                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
65                                </tr>
66                                <tr>
67                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
68                                </tr>
69                            </table>
70
71                            <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
72
73                                <tr bgcolor="#ffffff">
74                                    <!--▼画面左-->
75                                    <td width="250" valign="top" class="fs12">
76                                    <a href="<!--{$smarty.server.PHP_SELF|escape}-->">▼ホーム</a><br>
77                                    <!--{section name=cnt loop=$arrTree}-->
78                                        <!--{assign var=level value="`$arrTree[cnt].level`}-->
79
80                                        <!--{* 上の階層表示の時にdivを閉じる *}-->
81                                        <!--{assign var=close_cnt value="`$before_level-$level+1`}-->
82                                        <!--{if $close_cnt > 0}-->
83                                            <!--{section name=n loop=$close_cnt}--></div><!--{/section}-->
84                                        <!--{/if}-->
85
86                                        <!--{* スペース繰り返し *}-->
87                                        <!--{section name=n loop=$level}-->  <!--{/section}-->
88
89                                        <!--{* カテゴリ名表示 *}-->
90                                        <!--{assign var=disp_name value="`$arrTree[cnt].category_id`.`$arrTree[cnt].category_name`"}-->
91                                        <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrTree[cnt].category_id}-->); return false">
92                                        <!--{if $arrForm.parent_category_id == $arrTree[cnt].category_id}-->
93                                            <img src="<!--{$smarty.const.URL_DIR}-->misc/openf.gif" border="0">
94                                        <!--{else}-->
95                                            <img src="<!--{$smarty.const.URL_DIR}-->misc/closef.gif" border="0">
96                                        <!--{/if}-->
97                                        <!--{$disp_name|sfCutString:20|escape}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</a>
98                                    <br>
99                                        <!--{if $arrTree[cnt].display == true}-->
100                                            <div id="f<!--{$arrTree[cnt].category_id}-->">
101                                        <!--{else}-->
102                                            <div id="f<!--{$arrTree[cnt].category_id}-->" style="display:none">
103                                        <!--{/if}-->
104                                        <!--{assign var=before_level value="`$arrTree[cnt].level`}-->
105                                    <!--{/section}-->
106                                    </td>
107                                    <!--▲画面左-->
108
109                                    <!--▼画面右-->
110                                    <!--{if count($arrProductsList) > 0}-->
111                                    <td width="428" valign="top">
112
113                                    <table width="428" border="0" cellspacing="0" cellpadding="0" summary=" ">
114                                        <tr><td class="fs12n"><!--{$tpl_linemax}-->件が該当しました。    </td></tr>
115                                        <tr class="fs12">
116                                            <td align="center">
117                                            <!--▼ページナビ-->
118                                            <!--{$tpl_strnavi}-->
119                                            <!--▲ページナビ-->
120                                            </td>
121                                        </tr>
122                                        <tr><td height="10"></td></tr>
123                                    </table>
124
125                                    <table border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
126                                        <tr bgcolor="#f0f0f0" align="center" class="fs12n">
127                                            <td width="27">順位</td>
128                                            <td width="100">商品コード</td>
129                                            <td width="100">商品画像</td>
130                                            <td width="130">商品名</td>
131                                            <td width="130">移動</td>
132                                        </tr>
133                                        <!--{assign var=rank value=$tpl_start_row}-->
134                                        <!--{section name=cnt loop=$arrProductsList}-->
135                                        <tr bgcolor="#ffffff" align="left" class="fs12n">
136                                            <!--{assign var=db_rank value="`$arrProductsList[cnt].rank`"}-->
137                                            <!--{assign var=rank value=`$rank+1`}-->
138                                            <td width="27" align="center"><!--{$rank}--></td>
139                                            <td width="100"><!--{$arrProductsList[cnt].product_code|escape|default:"-"}--></td>
140                                            <td  width="100" align="center">
141                                            <!--{* 商品画像 *}-->
142                                            <!--{if $arrProductsList[cnt].main_list_image != ""}-->
143                                                <!--{assign var=image_path value=`$arrProductsList[cnt].main_list_image`}-->
144                                            <!--{else}-->
145                                                <!--{assign var=image_path value=$smarty.const.NO_IMAGE_URL}-->
146                                            <!--{/if}-->
147                                            <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrProducts[cnt].name|escape}-->">
148                                            </td>
149                                            <td  width="130" align="center">
150                                                <!--{$arrProductsList[cnt].name|escape}-->
151                                            </td>
152                                            <td  width="130" align="center">
153                                            <!--{* 移動 *}-->
154                                            <!--{if !(count($arrProductsList) == 1 && $rank == 1)}-->
155                                                <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 />
156                                            <!--{/if}-->
157                                            <!--{if !($smarty.section.cnt.first && $tpl_disppage eq 1) }-->
158                                                <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">上へ</a>
159                                            <!--{/if}-->
160                                            <!--{if !($smarty.section.cnt.last && $tpl_disppage eq $tpl_pagemax) }-->
161                                                <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">下へ</a>
162                                            <!--{/if}-->
163                                            </td>
164                                        </tr>
165                                        <!--{/section}-->
166                                    </table>
167
168                                    <table width="428" border="0" cellspacing="0" cellpadding="0" summary=" ">
169                                        <tr><td height="5"></td></tr>
170                                        <tr class="fs12">
171                                            <td align="center">
172                                            <!--▼ページナビ-->
173                                            <!--{$tpl_strnavi}-->
174                                            <!--▲ページナビ-->
175                                            </td>
176                                        </tr>
177                                        <tr><td height="5"></td></tr>
178                                    </table>
179                                    </td>
180                                    <!--{else}-->
181                                    <td width="428" valign="top" class="fs12n">カテゴリを選択してください。</td>
182                                    <!--{/if}-->
183                                    <!--▲画面右-->
184                                </tr>
185                            </table>
186                            <!-- ▲登録テーブルここまで -->
187
188                        </td>
189                        <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
190                    </tr>
191                    <tr>
192                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
193                    </tr>
194                    <tr><td height="30"></td></tr>
195
196                </table>
197                </td>
198            </tr>
199            <!--メインエリア-->
200        </table>
201        </td>
202    </tr>
203</form>
204</table>
205<!--★★メインコンテンツ★★-->
Note: See TracBrowser for help on using the repository browser.