⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wholesale_list.dwt

📁 ECSHOP模板
💻 DWT
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>{$page_title}</title>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="style.css" rel="stylesheet" type="text/css" />
{* 包含脚本文件 *}
{insert_scripts files='common.js'}
</head>
<body>
<div id="globalWrapper">
<div id="wrapper">
<!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->
<table width="100" border="0" cellspacing="0" cellpadding="0">
  
  <tr>
    <td height="8"></td>
  </tr>
</table>
<div id="search-bar">
<!-- TemplateBeginEditable name="导航栏下方" -->
<!-- #BeginLibraryItem "/library/search_form.lbi" --><!-- #EndLibraryItem -->
<!-- TemplateEndEditable -->
</div>
<!-- TemplateBeginEditable name="通栏广告位" --><!-- TemplateEndEditable -->
    <div id="container2">
      <!-- {if $cart_goods} 如果有批发商品 -->
      <!-- 批发商品购物车 -->
      <div class="mcontent-div">
      <div class="goods-li-bg">
      <div class="goods-li">欲购商品</div>
	  </div>
        <table border="0" cellpadding="5" cellspacing="1" class="goods-list">
          <tr>
            <th>{$lang.goods_name}</th>
            <th>{$lang.goods_attr}</th>
            <th>{$lang.number}</th>
            <th>{$lang.ws_price}</th>
            <th>{$lang.ws_subtotal}</th>
            <th>{$lang.handle}</th>
          </tr>
          <!-- {foreach from=$cart_goods key=key item=goods} 循环批发商品开始 -->
          <tr>
            <td><a href="{$goods.goods_url}" target="_blank">{$goods.goods_name}</a></td>
            <td>{$goods.goods_attr}</td>
            <td align="right">{$goods.goods_number}</td>
            <td align="right">{$goods.formated_goods_price}</td>
            <td align="right">{$goods.formated_subtotal}</td>
            <td><a href="wholesale.php?act=drop_goods&key={$key}">{$lang.drop}</a></td>
          </tr>
          <!--{/foreach}-->
        </table>
        <form method="post" action="wholesale.php?act=submit_order">
          <table border="0" cellpadding="5" cellspacing="1" class="goods-list">
            <tr>
              <td>{$lang.ws_remark}</td>
            </tr>
            <tr>
              <td><textarea name="remark" rows="4" style="width:99%"></textarea>
              </td>
            </tr>
            <tr>
              <td align="center"><input type="image" src="images/order_submit.gif" /></td>
            </tr>
          </table>
        </form>
      </div>
      <!-- {/if} -->
        <!-- {if $wholesale_list} 如果有批发商品 -->
        <!-- 批发商品列表 -->
<div class="ncontent-div2">
      <div class="goods-li-bg">
      <div class="goods-li">{$lang.ws_price_list}</div>
	  </div>
        <form name="wholesale_goods" action="wholesale.php?act=add_to_cart" method="post">
          <table width="90%" border="0" cellpadding="5" cellspacing="1" class="goods-list">
            <tr>
              <th>{$lang.goods_name}</th>
              <th>{$lang.goods_attr}</th>
              <th>{$lang.goods_price_ladder}</th>
              <th>{$lang.number}</th>
              <th>&nbsp;</th>
            </tr>
            <!-- {foreach from=$wholesale_list item=wholesale} 循环批发商品开始 -->
            <tr>
              <td><a href="{$wholesale.goods_url}" target="_blank">{$wholesale.goods_name}</a></td>
              <td>
               <div>

                <table width="90%" border="0" align="center">
                  <!-- {foreach from=$wholesale.goods_attr item=property_group key=key} -->
                  <!-- {foreach from=$property_group item=property} -->
                  <tr>
                    <td nowrap="true">{$property.name|escape:html}</td>
                    <td>{$property.value|escape:html}</td>
                  </tr>
                  <!-- {/foreach}-->
                  <!-- {/foreach}-->
                </table>
                </div>
              </td>
              
              <td>
               <div>
                <table width="90%" border="0" align="center">
                <!-- {foreach from=$wholesale.price_ladder key=key item=attr_price} -->
                  <tr>
                    <td nowrap="true">{$lang.number}:{$key}</td>
                    <td>{$lang.ladder_price}:{$attr_price}</td>
                  </tr>
                  <!-- {/foreach} --> 
                </table>
                </div>
              </td>
              <td align="center"><input name="goods_number[{$wholesale.act_id}]" type="text" value="" size="10" /></td>
              <td><input name="image" type="image" onclick="this.form.elements['act_id'].value = {$wholesale.act_id}" src="images/add_cart.gif" /></td>
            </tr>
            <!--{/foreach}-->
          </table>
          <input type="hidden" name="act_id" value="" />
        </form>
        <!-- #BeginLibraryItem "/library/pages.lbi" --><!-- #EndLibraryItem -->
</div> 
      <!-- {else} -->
      <span style="margin:2px 10px; font-size:14px; line-height:36px;">{$lang.no_wholesale}</span>
      <!-- {/if} -->
    </div>
<!-- #BeginLibraryItem "/library/help.lbi" --><!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/page_footer.lbi" --><!-- #EndLibraryItem -->
</div>
</div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -