source: branches/feature-module-update/data/Smarty/templates/admin/products/product_rank.tpl @ 15078

Revision 15078, 9.0 KB checked in by nanasess, 17 years ago (diff)

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
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=`$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.