source: branches/comu/data/Smarty/templates/admin/contents/recomend.tpl @ 11730

Revision 11730, 6.8 KB checked in by nanasess, 17 years ago (diff)

r11729 の変更を取消

Line 
1<!--{*
2/*
3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7*}-->
8<script language="JavaScript">
9<!--
10function lfnCheckSubmit( fm ){
11   
12    var err = '';
13    /*
14    if ( ! fm["title"].value ){
15        err += '¸«½Ð¤·¥³¥á¥ó¥È¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£';
16    }
17    */
18    if ( ! fm["comment"].value ){
19        if ( err ) err += '\n';
20        err += '¥ª¥¹¥¹¥á¥³¥á¥ó¥È¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£';
21    }
22    if ( err ){
23        alert(err);
24        return false;
25    } else {
26        if(window.confirm('ÆâÍƤòÅÐÏ¿¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«')){
27            return true;
28        }
29    }
30}
31
32function lfnCheckSetItem( rank ){
33    var flag = true;
34    var checkRank = '<!--{$checkRank}-->';
35    if ( checkRank ){
36        if ( rank != checkRank ){
37            if( ! window.confirm('¤µ¤­¤Û¤ÉÁªÂò¤·¤¿<!--{$checkRank}-->°Ì¤Î¾ðÊó¤ÏÇË´þ¤µ¤ì¤Þ¤¹¡£µ¹¤·¤¤¤Ç¤·¤ç¤¦¤«')){
38                flag = false;
39            }
40        }
41    }
42   
43    if ( flag ){
44        win03('./recommend_search.php?rank=' + rank,'search','500','500');
45    }
46}
47
48//-->
49</script>
50
51<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
52<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
53    <tr valign="top">
54        <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
55            <!--¢§SUB NAVI-->
56            <!--{include file=$tpl_subnavi}-->
57            <!--¢¥SUB NAVI-->
58        </td>
59        <td class="mainbg" >
60        <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
61            <!--¥á¥¤¥ó¥¨¥ê¥¢-->
62            <tr>
63                <td align="center">
64                <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
65
66                    <tr><td height="14"></td></tr>
67                    <tr>
68                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
69                    </tr>
70                    <tr>
71                        <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>
72                        <td bgcolor="#cccccc">
73                       
74                        <!--ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
75                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
76                            <tr>
77                                <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
78                            </tr>
79                            <tr>
80                                <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>
81                                <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥ª¥¹¥¹¥á´ÉÍý</span></td>
82                                <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>
83                            </tr>
84                            <tr>
85                                <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
86                            </tr>
87                            <tr>
88                                <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
89                            </tr>
90                        </table>
91
92                        <!--{section name=cnt loop=$tpl_disp_max}-->
93                        <!--¢§¤ª¤¹¤¹¤á<!--{$smarty.section.cnt.iteration}-->-->
94                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
95                        <form name="form<!--{$smarty.section.cnt.iteration}-->" id="form<!--{$smarty.section.cnt.iteration}-->" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
96                        <input type="hidden" name="mode" value="regist">
97                        <input type="hidden" name="product_id" value="<!--{$arrItems[$smarty.section.cnt.iteration].product_id|escape}-->">
98                        <input type="hidden" name="category_id" value="<!--{$category_id|escape}-->">
99                        <input type="hidden" name="rank" value="<!--{$arrItems[$smarty.section.cnt.iteration].rank|escape}-->">
100
101                            <tr class="fs12n">
102                                <td bgcolor="#f2f1ec" width="15" align="center"><!--{$smarty.section.cnt.iteration}--></td>
103                                <td bgcolor="#ffffff" width="130" align="center">
104                                <!--{if $arrItems[$smarty.section.cnt.iteration].main_list_image != ""}-->
105                                    <!--{assign var=image_path value="`$smarty.const.IMAGE_SAVE_URL`/`$arrItems[$smarty.section.cnt.iteration].main_list_image`"}-->
106                                <!--{else}-->
107                                    <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_URL`"}-->
108                                <!--{/if}-->
109                                <img src="<!--{$image_path}-->" alt="" />
110                                </td>
111                                <td bgcolor="#ffffff" width="40" align="center">
112                                    <!--{if $arrItems[$smarty.section.cnt.iteration].product_id}-->
113                                    <a href="#" onClick="return fnInsertValAndSubmit( document.form<!--{$smarty.section.cnt.iteration}-->, 'mode', 'delete', 'ºï½ü¤·¤Þ¤¹¡£µ¹¤·¤¤¤Ç¤¹¤«' )">ºï½ü</a>
114                                    <!--{/if}-->
115                                </td>
116                                <td bgcolor="#ffffff" width="40" align="center">
117                                    <a href="#" onclick="lfnCheckSetItem('<!--{$smarty.section.cnt.iteration}-->'); return false;" target="_blank">
118                                    <!--{if $arrItems[$smarty.section.cnt.iteration].product_id}-->¾¦ÉÊ<br/>Êѹ¹<!--{else}-->¾¦ÉÊ<br/>ÁªÂò<!--{/if}-->
119                                    </a></td>
120                                <td bgcolor="#ffffff" width="350">
121                                <table width="350" border="0" cellspacing="0" cellpadding="0" summary=" ">
122                                    <tr class="fs12">
123                                        <td width="70">¾¦ÉÊ̾¡§<!--{$arrItems[$smarty.section.cnt.iteration].name|escape}--></td>
124                                    </tr>
125                                    <tr><td height="5"></td></tr>
126                                    <tr class="fs12">
127                                        <td colspan="2">¥ª¥¹¥¹¥á¥³¥á¥ó¥È¡§</td>
128                                    </tr>
129                                    <tr>
130                                        <td colspan="2" class="fs12n">
131                                        <span class="red"><!--{$arrErr[$smarty.section.cnt.iteration].comment}--></span>
132                                        <textarea name="comment" cols="45" rows="4" style="width: 337px; height: 82px; " <!--{$arrItems[$smarty.section.cnt.iteration].product_id|sfGetEnabled}-->><!--{$arrItems[$smarty.section.cnt.iteration].comment}--></textarea>
133                                        </td>
134                                    </tr>
135                                    <!--{if $arrItems[$smarty.section.cnt.iteration].product_id}-->
136                                    <tr><td colspan=2><input type="submit" name="subm" value="ÅÐÏ¿¤¹¤ë" onclick="return lfnCheckSubmit(document.form<!--{$smarty.section.cnt.iteration}-->);"/></td></tr>
137                                    <!--{/if}-->
138                                </table>
139                                </td>
140                            </tr>
141                            </form>
142                        </table>
143                        <!--¢¥¤ª¤¹¤¹¤á<!--{$smarty.section.cnt.iteration}-->-->
144                        <!--{/section}-->
145                       
146                        <!--ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
147                        </td>
148                        <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>
149                    </tr>
150                    <tr>
151                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
152                    </tr>
153                    <tr><td height="30"></td></tr>
154
155                </table>
156                </td>
157            </tr>
158            <!--¥á¥¤¥ó¥¨¥ê¥¢-->
159        </table>
160        </td>
161    </tr>
162</table>
163<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->     
Note: See TracBrowser for help on using the repository browser.