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

📄 index.dwt

📁 ECSHOP是一款开源免费的通用电子商务平台构建软件
💻 DWT
📖 第 1 页 / 共 2 页
字号:
<!-- {/if} -->

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/recommend_new.lbi" -->

<!-- {if $new_goods}-->
<div class="title-div"><img src="../images/new_products.gif" alt="New products" width="158" height="39" /></div>
<div class="content-div">
  <!--{foreach from=$new_goods item=goods}-->
  <table border="0" cellpadding="3" cellspacing="1" class="goods-table" style="float: left">
    <tr>
      <td align="center"><A href="{$goods.url}"><img src="{$goods.thumb}" border="0" alt="{$goods.name|escape:html}" class="thumb" /></A></td>
    </tr>
    <tr>
      <td><A href="{$goods.url}" title="{$goods.name|escape:html}">{$goods.short_style_name}</A><br />
        <!-- {if $goods.promote_price neq ""} -->
        {$lang.promote_price}<span class="goods-price">{$goods.promote_price}</span>
        <!-- {else}-->
        {$lang.shop_price}<span class="goods-price">{$goods.shop_price}</span>
        <!--{/if}-->
      </td>
    </tr>
  </table>
  <!--{/foreach}-->
  <br style="clear:both"/>
  <div style="text-align:right"><A href="../search.php?intro=new">more...</A></div>
</div>
<!-- {/if} -->

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/recommend_hot.lbi" -->

<!-- {if $hot_goods} -->
<div class="title-div"><img src="../images/hot_products.gif" alt="Hot products" width="158" height="39" /></div>
<div class="content-div">
  <!--{foreach from=$hot_goods item=goods}-->
  <table border="0" cellpadding="3" cellspacing="1" class="goods-table" style="float: left">
    <tr>
      <td align="center"><A href="{$goods.url}"><img src="{$goods.thumb}" border="0" alt="{$goods.name|escape:html}" class="thumb" /></A></td>
    </tr>
    <tr>
      <td><A href="{$goods.url}" title="{$goods.name|escape:html}">{$goods.short_style_name}</A><br />
        <!-- {if $goods.promote_price neq ""} -->
        {$lang.promote_price}<span class="goods-price">{$goods.promote_price}</span>
        <!-- {else}-->
        {$lang.shop_price}<span class="goods-price">{$goods.shop_price}</span>
        <!--{/if}-->
      </td>
    </tr>
  </table>
  <!--{/foreach}-->
  <br style="clear:both"/>
  <div style="text-align:right"><A href="../search.php?intro=hot">more...</A></div>
</div>
<!-- {/if} -->

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/group_buy.lbi" -->

<!-- {if $group_buy_goods} -->
<div class="title-div"><img src="../images/group_buy.gif" alt="group buy goods" width="158" height="39" /></div>
<div class="content-div">
  <!--{foreach from=$group_buy_goods item=goods}-->
  <table border="0" cellpadding="3" cellspacing="1" class="goods-table" style="float: left">
    <tr>
      <td align="center"><A href="{$goods.url}"><img src="{$goods.thumb}" border="0" alt="{$goods.goods_name|escape:html}" class="thumb" /></A></td>
    </tr>
    <tr>
      <td><a href="{$goods.url}">{$goods.goods_name|escape:html}</A> <br />
        <span class="goods-price">{$goods.last_price}</span> </td>
    </tr>
  </table>
  <!--{/foreach}-->
  <br style="clear:both"/>
  <div style="text-align:right"><A href="group_buy.php">more...</A></div>
</div>
<!-- {/if} -->

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/auction.lbi" -->

<!-- {if $auction_list} -->
<div class="title-div"><img src="../images/auction.gif" alt="auction" width="158" height="39" /></div>
<div class="content-div">
  <!--{foreach from=$auction_list item=auction}-->
  <table border="0" cellpadding="3" cellspacing="1" class="goods-table" style="float: left">
    <tr>
      <td align="center"><a href="{$auction.url}"><img src="{$auction.thumb}" border="0" alt="{$auction.goods_name|escape:html}" class="thumb" /></a></td>
    </tr>
    <tr>
      <td><a href="{$auction.url}">{$auction.goods_name|escape:html}</a> <br />
        <span class="goods-price">{$auction.formated_start_price}</span> </td>
    </tr>
  </table>
  <!--{/foreach}-->
  <br style="clear:both"/>
  <div style="text-align:right"><a href="auction.php">more...</a></div>
</div>
<!-- {/if} -->

 <!-- #EndLibraryItem -->
<!-- TemplateEndEditable --></div>
<!-- End #page-middle -->
<div id="page-right">
<!-- TemplateBeginEditable name="主区域右侧" -->
<!-- #BeginLibraryItem "/library/brands.lbi" -->

<!-- {if $brand_list} -->
<!-- 品牌区 -->
<div class="title-div"><img src="../images/brands.gif" alt="" width="158" height="39" /></div>
<div class="content-div">
  <div style="list-style: none; margin: 10px; padding: 0;">
    <!-- {foreach from=$brand_list item=brand} -->
    <!-- {if $brand.brand_logo} -->
    <a href="{$brand.url}"><img src="{$data_dir}/brandlogo/{$brand.brand_logo}" alt="{$brand.brand_name|escape:html} ({$brand.goods_num})" border="0" /></a>
    <!-- {else} -->
    <div><img src="images/cat_arrow.gif" alt="arrow" /> <a href="{$brand.url}">{$brand.brand_name|escape:html} {if $brand.goods_num}({$brand.goods_num}){/if}</a></div>
    <!-- {/if} -->
    <!-- {/foreach} -->
  </div>
</div>
<!-- {/if} -->

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/recommend_promotion.lbi" -->

<!-- {if $promotion_goods} -->
<div class="title-div"><img src="../images/sales.gif" alt="promotion products" width="158" height="39" /></div>
<div class="content-div">
  <!--{foreach from=$promotion_goods item=goods}-->
  <table border="0" cellpadding="3" cellspacing="1" class="goods-table" style="float: left">
    <tr>
      <td align="center"><A href="{$goods.url}"><img src="{$goods.thumb}" border="0" alt="{$goods.name|escape:html}" class="thumb" /></A></td>
    </tr>
    <tr>
      <td><A href="{$goods.url}" title="{$goods.name|escape:html}">{$goods.short_name|escape:html}</A><br />
        {$lang.promote_price}<span class="goods-price">{$goods.promote_price}</span></td>
    </tr>
  </table>
  <!--{/foreach}-->
  <br />
  <br style="clear: both" />
  <div style="text-align:right"><A href="../search.php?intro=promotion">more...</A></div>
</div>
<!-- {/if} -->

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/cart.lbi" -->

{insert_scripts files='transport.js'}
<div class="title-div"><img src="../images/cart.gif" alt="Cart" width="158" height="39" /></div>
<div class="cart-div" id="ECS_CARTINFO">{insert name='cart_info'}</div>
 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/promotion_info.lbi" -->

<!-- {if $promotion_info} -->
<!-- 促销信息 -->
<div class="title-div"><img src="../images/promotion.gif" alt="" width="158" height="39" /></div>
<div class="content-div">
  <div style="list-style: none; margin: 10px; padding: 0;">
    <!-- {foreach from=$promotion_info item=item key=key} -->

    <!-- {foreach from=$item item=activity key=index} -->
    <!-- {if $key eq "snatch"} -->
    <a href="snatch.php">{$lang.snatch_promotion}</a>
    <!-- {elseif $key eq "group"} -->
    <a href="group_buy.php">{$lang.group_promotion}</a>
    <!-- {elseif $key eq "auction"} -->
    <a href="auction.php">{$lang.auction_promotion}</a>
    <!-- {elseif $key eq "favourable"} -->
    <a href="activity.php">{$lang.favourable_promotion}</a>
    <!-- {/if} -->
    <a href="{$activity.url}">{$activity.act_name}</a><br />
    <!-- {/foreach} -->

    <!-- {/foreach} -->
  </div>
</div>
<!-- {/if} -->

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/email_list.lbi" -->
<div class="title-div"><img src="../images/subscription.gif" alt="subscription" width="158" height="39" /></div>
<div class="content-div" style="text-align:center;">
<input type="text" id="user_email" /><br />
<input type="button"  value="{$lang.email_list_ok}" onclick="add_email_list();" />
<input type="button"  value="{$lang.email_list_cancel}" onclick="cancel_email_list();" />
<script type="text/javascript">
var email = document.getElementById('user_email');
function add_email_list()
{
    if (check_email())
    {
        Ajax.call('user.php?act=email_list&job=add&email=' + email.value, '', rep_add_email_list, 'GET', 'TEXT');
    }
}
function rep_add_email_list(text)
{
    alert(text);
}
function cancel_email_list()
{
    if (check_email())
    {
        Ajax.call('user.php?act=email_list&job=del&email=' + email.value, '', rep_cancel_email_list, 'GET', 'TEXT');
    }
}
function rep_cancel_email_list(text)
{
    alert(text);
}
function check_email()
{
    if (Utils.isEmail(email.value))
    {
        return true;
    }
    else
    {
        alert('{$lang.email_invalid}');
        return false;
    }
}
</script>
</div>
 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/vote_list.lbi" -->

{insert name='vote'}
 <!-- #EndLibraryItem -->
<!-- TemplateEndEditable --></div>
<!-- End #page-right -->
<div class="clear"></div>
</div>
<!-- #BeginLibraryItem "/library/help.lbi" -->
<!--{if $helps}-->
<table width="801" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#DADADA" class="clear" style="margin:10px auto 5px auto;">
  <tr>
    <!-- {foreach from=$helps item=help_cat} -->
    <td class="help-cat"><img src="images/grey_arrow.gif" alt="" width="37" height="37" />{$help_cat.cat_name}</td>
    <!-- {/foreach} -->
  </tr>
  <tr>
    <!-- {foreach from=$helps item=help_cat} -->
    <td bgcolor="#FFFFFF" valign="top"><ul>
        <!-- {foreach from=$help_cat.article item=item} -->
        <li><a href="{$item.url}" title="{$item.title|escape:html}">{$item.short_title}</a></li>
        <!-- {/foreach} -->
      </ul></td>
    <!-- {/foreach} -->
  </tr>
</table>
<!--{/if}-->
<!-- #EndLibraryItem --><!--{if $img_links  or $txt_links }-->
<div style="border:1px solid #CCC;margin:5px auto 10px auto;padding:5px;">
<!-- {if $img_links} -->
<div style="padding:3px;">
<!--开始图片类型的友情链接{foreach from=$img_links item=link}-->
<span style="width: 100px; text-align: center">
<a href="{$link.url}" target="_blank" title="{$link.name}"><img src="{$link.logo}" width="88" height="31" alt="{$link.name}" border="0" /></a>
</span>
<!--结束图片类型的友情链接{/foreach}-->
</div>
<!-- {/if} -->
<!-- {if $txt_links} -->
<div style="padding:3px;">
<!--开始文字类型的友情链接{foreach from=$txt_links item=link}-->
<span style="width: 100px; text-align: center">
[<a href="{$link.url}" target="_blank" title="{$link.name}">{$link.name}</a>]
</span>
<!--结束文字类型的友情链接{/foreach}-->
</div>
<!-- {/if} -->
</div>
<!--{/if}-->

<!-- #BeginLibraryItem "/library/page_footer.lbi" -->
<table width="801" border="0" align="center" cellpadding="5" cellspacing="0" style="margin:10px 0 20px 0;" id="footer-table">
  <tr>
    <td><img src="images/ecshop.gif" alt="ECSHOP" width="133" height="46" hspace="10" /></td>
    <td width="6" id="foot-logo"><img src="images/footer_bg.gif" width="6" height="80" alt="" /></td>
    <td> {$copyright}<br />
      {$shop_address} {$shop_postcode} <br />
      <!-- 客服电话{if $service_phone} -->
      Tel: {$service_phone}
      <!-- 结束客服电话{/if} -->
      <!-- QQ 号码 {foreach from=$qq item=im} -->
      <!-- {if $im} -->
      <a href="http://wpa.qq.com/msgrd?V=1&amp;Uin={$im}&amp;Site={$shop_name}&amp;Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:{$im}:4" height="16" border="0" alt="QQ" /> {$im}</a>
      <!-- {/if} -->
      <!-- {/foreach} 结束QQ号码 -->
      <!-- 淘宝旺旺 {foreach from=$ww item=im} -->
      <!-- {if $im} -->
      <a href="http://amos1.taobao.com/msg.ww?v=2&amp;uid={$im|escape:url}&amp;s=2" target="_blank"><img src="http://amos1.taobao.com/online.ww?v=2&amp;uid={$im|escape:url}&amp;s=2" width="16" height="16" border="0" alt="淘宝旺旺" /> {$im}</a>
      <!-- {/if} -->
      <!--{/foreach} 结束淘宝旺旺 -->
      <!-- Yahoo Messenger {foreach from=$ym item=im} -->
      <!-- {if $im} -->
      <a href="http://edit.yahoo.com/config/send_webmesg?.target={$im}n&amp;.src=pg" target="_blank"><img src="images/yahoo.gif" width="18" height="17" border="0" alt="Yahoo Messenger" /> {$im}</a>
      <!-- {/if} -->
      <!-- {/foreach} 结束Yahoo Messenger -->
      <!-- MSN Messenger {foreach from=$msn item=im} -->
      <!-- {if $im} -->
      <img src="images/msn.gif" width="18" height="17" border="0" alt="MSN" /> {$im}
      <!-- {/if} -->
      <!-- {/foreach} 结束MSN Messenger -->
      <!-- Skype {foreach from=$skype item=im} -->
      <!-- {if $im} -->
      <img src="http://mystatus.skype.com/smallclassic/{$im|escape:url}" alt="Skype" /><a href="skype:{$im|escape:url}?call">{$im}</a>
      <!-- {/if} -->
      <!-- {/foreach} -->
      <div>
        <!-- 开始相关声明{foreach from=$declaration item=article} -->
        <a href="{$article.url}" target="_blank">{$article.title}</a>
        <!-- 相关声明{/foreach}-->
      </div>
      <!-- ICP 证书{if $icp_number} -->
      <div> {$lang.icp_number}:<a href="http://www.miibeian.gov.cn/" target="_blank">{$icp_number}</a> </div>
      <!-- 结束ICP 证书{/if} -->
      {insert name='query_info'}<br />
      <a href="http://www.ecshop.com" target="_blank" style="font-size:10px">Powered by <strong><span style="color: #3366FF">ECSHOP</span> <span style="color: #FF9966">{$ecs_version}</span></strong></a><br />
    </td>
  </tr>
</table>
{if $stats_code}
<div align="center">{$stats_code}</div>
{/if}

<script type="text/javascript">
var process_request = "{$lang.process_request}";
</script>
<!-- #EndLibraryItem --></div>
<!-- End #Wrapper -->
<div style="float:left;"><img src="images/page_right.gif" alt="" /></div>
</div><!-- End #globalWrapper -->
</body>
</html>

⌨️ 快捷键说明

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