[15099] | 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 | <!--
|
---|
| 10 | function 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 |
|
---|
| 32 | function 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 | <!--★★メインコンテンツ★★-->
|
---|