<!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="{$ecs_css_path}" rel="stylesheet" type="text/css" />
{* 包含脚本文件 *}
{insert_scripts files='utils.js,common.js,global.js,compare.js'}
</head>
<body>
<!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->
<!--当前位置 start-->
<div class="block box">
 <div id="ur_here">
  <!-- #BeginLibraryItem "/library/ur_here.lbi" --><!-- #EndLibraryItem -->
 </div>
</div>
<!--当前位置 end-->
<div class="blank"></div>
<div class="block clearfix">
  <!--left start-->
  <div class="AreaL">
    <!-- TemplateBeginEditable name="左边区域" -->
    <!-- #BeginLibraryItem "/library/cart.lbi" --><!-- #EndLibraryItem -->
    <!-- #BeginLibraryItem "/library/category_tree.lbi" --><!-- #EndLibraryItem -->
    <!-- #BeginLibraryItem "/library/goods_related.lbi" --><!-- #EndLibraryItem -->
    <!-- #BeginLibraryItem "/library/goods_fittings.lbi" --><!-- #EndLibraryItem -->
    <!-- #BeginLibraryItem "/library/goods_article.lbi" --><!-- #EndLibraryItem -->
    <!-- #BeginLibraryItem "/library/goods_attrlinked.lbi" --><!-- #EndLibraryItem -->
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="左边广告区域（宽200px）" -->
    <!-- TemplateEndEditable -->
    <!--AD end-->
    <!-- #BeginLibraryItem "/library/history.lbi" --><!-- #EndLibraryItem -->
  </div>
  <!--left end-->
  <!--right start-->
  <div class="AreaR">
  <!-- {if $action eq "form"} -->
  <!--  搜索的表单 -->
  <div class="box">
   <div class="box_1">
    <h3><span>{$lang.advanced_search}</span></h3>
    <div class="boxCenterList">
      <form action="search.php" method="get" name="advancedSearchForm" id="advancedSearchForm">
    <table border="0" align="center" cellpadding="3">
      <tr>
        <td valign="top">{$lang.keywords}：</td>
        <td>
          <input name="keywords" id="keywords" type="text" size="40" maxlength="120" class="inputBg" value="{$adv_val.keywords}" />
          <label for="sc_ds"><input type="checkbox" name="sc_ds" value="1" id="sc_ds" {$scck} />{$lang.sc_ds}</label>
          <br />{$lang.searchkeywords_notice}
        </td>
      </tr>
      <tr>
        <td>{$lang.category}：</td>
        <td><select name="category" id="select" style="border:1px solid #ccc;">
            <option value="0">{$lang.all_category}</option>{$cat_list}</select>
        </td>
      </tr>
      <tr>
        <td>{$lang.brand}：</td>
        <td><select name="brand" id="brand" style="border:1px solid #ccc;">
            <option value="0">{$lang.all_brand}</option>
            {html_options options=$brand_list selected=$adv_val.brand}
          </select>
        </td>
      </tr>
      <tr>
        <td>{$lang.price}：</td>
        <td><input name="min_price" type="text" id="min_price" class="inputBg" value="{$adv_val.min_price}" size="10" maxlength="8" />
          -
          <input name="max_price" type="text" id="max_price" class="inputBg" value="{$adv_val.max_price}" size="10" maxlength="8" />
        </td>
      </tr>
      <!--{if $goods_type_list}-->
      <tr>
        <td>{$lang.extension}：</td>
        <td><select name="goods_type" onchange="this.form.submit()" style="border:1px solid #ccc;">
            <option value="0">{$lang.all_option}</option>
            {html_options options=$goods_type_list selected=$goods_type_selected}
          </select>
        </td>
      </tr>
      <!--{/if}-->
      <!--{if $goods_type_selected > 0}-->
      <!--{foreach from=$goods_attributes item=item}-->
      <!--{if $item.type eq 1}-->
      <tr>
        <td>{$item.attr}：</td>
        <td colspan="3"><input name="attr[{$item.id}]" value="{$item.value}" class="inputBg" type="text" size="20" maxlength="120" /></td>
      </tr>
      <!--{/if}-->
      <!--{if $item.type eq 2}-->
      <tr>
        <td>{$item.attr}：</td>
        <td colspan="3"><input name="attr[{$item.id}][from]" class="inputBg" value="{$item.value.from}" type="text" size="5" maxlength="5" />
          -
          <input name="attr[{$item.id}][to]" value="{$item.value.to}"  class="inputBg" type="text" maxlength="5" /></td>
      </tr>
      <!--{/if}-->
      <!--{if $item.type eq 3}-->
      <tr>
        <td>{$item.attr}：</td>
        <td colspan="3"><select name="attr[{$item.id}]" style="border:1px solid #ccc;">
            <option value="0">{$lang.all_option}</option>
            {html_options options=$item.options selected=$item.value}
          </select></td>
      </tr>
      <!--{/if}-->
      <!--{/foreach}-->
      <!--{/if}-->

      <!-- {if $use_storage eq 1} -->
      <tr>
        <td>&nbsp;</td>
        <td><label for="outstock"><input type="checkbox" name="outstock" value="1" id="outstock" <!-- {if $outstock} -->checked="checked"<!--{/if}-->/> {$lang.hidden_outstock}</label>
        </td>
      </tr>
      <!--{/if}-->

      <tr>
        <td colspan="4" align="center"><input type="hidden" name="action" value="form" />
          <input type="submit" name="Submit" class="bnt_blue_1" value="{$lang.button_search}" /></td>
      </tr>
    </table>
  </form>
    </div>
   </div>
  </div>
  <div class="blank5"></div>
  <!-- {/if} -->

   <!-- {if isset($goods_list)} -->
     <div class="box">
     <div class="box_1">
      <h3>
    <!--标题及显示方式-->
        <!-- {if $intromode eq 'best'} -->
         <span>{$lang.best_goods}</span>
         <!-- {elseif $intromode eq 'new'} -->
         <span>{$lang.new_goods}</span>
         <!-- {elseif $intromode eq 'hot'} -->
         <span>{$lang.hot_goods}</span>
         <!-- {elseif $intromode eq 'promotion'} -->
         <span>{$lang.promotion_goods}</span>
         <!-- {else} -->
         <span>{$lang.search_result}</span>
         <!-- {/if} -->
          <!--{if $goods_list}-->
          <form action="search.php" method="post" class="sort" name="listform" id="form">
          {$lang.btn_display}：
          <a href="javascript:;" onClick="javascript:display_mode('list')"><img src="images/display_mode_list<!-- {if $pager.display == 'list'} -->_act<!-- {/if} -->.gif" alt="{$lang.display.list}"></a>
          <a href="javascript:;" onClick="javascript:display_mode('grid')"><img src="images/display_mode_grid<!-- {if $pager.display == 'grid'} -->_act<!-- {/if} -->.gif" alt="{$lang.display.grid}"></a>
          <a href="javascript:;" onClick="javascript:display_mode('text')"><img src="images/display_mode_text<!-- {if $pager.display == 'text'} -->_act<!-- {/if} -->.gif" alt="{$lang.display.text}"></a>&nbsp;&nbsp;
              <select name="sort">
              {html_options options=$lang.sort selected=$pager.sort}
              </select>
              <select name="order">
              {html_options options=$lang.order selected=$pager.order}
              </select>
              <input type="image" name="imageField" src="../images/bnt_go.gif" alt="go"/>
              <input type="hidden" name="page" value="{$pager.page}" />
              <input type="hidden" name="display" value="{$pager.display}" id="display" />
              <!--{foreach from=$pager.search key=key item=item}-->
              {if $key neq "sort" and $key neq "order"}
                {if $key eq 'keywords'}
                  <input type="hidden" name="{$key}" value="{$item|escape:decode_url}" />
                {else}
                  <input type="hidden" name="{$key}" value="{$item}" />
                {/if}
              {/if}
              <!--{/foreach}-->
            </form>
          <!--{/if}-->
           </h3>
        <!--{if $goods_list}-->

          <form action="compare.php" method="post" name="compareForm" id="compareForm" onsubmit="return compareGoods(this);">
          <!-- {if $pager.display == 'list'} -->
              <div class="goodsList">
                <!--{foreach name=goods_list from=$goods_list item=goods}-->
                <!-- {if $goods.goods_id} -->
                <ul class="clearfix bgcolor"<!--{if $smarty.foreach.goods_list.index mod 2 eq 0}-->id=""<!--{else}-->id="bgcolor"<!--{/if}-->>
                <li>
                <br>
                <a href="javascript:;" id="compareLink" onClick="Compare.add({$goods.goods_id},'{$goods.goods_name|escape:"quotes"}','{$goods.type}')" class="f6">{$lang.compare}</a>
                </li>
                <li class="thumb"><a href="{$goods.url}"><img src="{$goods.goods_thumb}" alt="{$goods.goods_name}" /></a></li>
                <li class="goodsName">
                <a href="{$goods.url}" class="f6">
                    <!-- {if $goods.goods_style_name} -->
                    {$goods.goods_style_name}<br />
                    <!-- {else} -->
                    {$goods.goods_name}<br />
                    <!-- {/if} -->
                  </a>
                 <!-- {if $goods.goods_brief} -->
                {$lang.goods_brief}{$goods.goods_brief}<br />
                <!-- {/if} -->
                </li>
                <li>
                <!-- {if $show_marketprice} -->
                {$lang.market_price}<font class="market">{$goods.market_price}</font><br />
                <!-- {/if} -->
                <!--{if $goods.promote_price neq "" } -->
                {$lang.promote_price}<font class="shop">{$goods.promote_price}</font><br />
                <!--{else}-->
                {$lang.shop_price}<font class="shop">{$goods.shop_price}</font><br />
                <!--{/if}-->
                </li>
                <li class="action">
                <a href="javascript:collect({$goods.goods_id});" class="abg f6">{$lang.favourable_goods}</a>
                <a href="javascript:addToCart({$goods.goods_id})"><img src="../images/bnt_buy_1.gif"></a>
                </li>
                </ul>
                <!--{/if}-->
                <!--{/foreach}-->
                </div>
             <!-- {elseif $pager.display == 'grid'} -->
              <div class="centerPadd">
                <div class="clearfix goodsBox" style="border:none;">
                <!--{foreach from=$goods_list item=goods}-->
                <!-- {if $goods.goods_id} -->
                 <div class="goodsItem">
                       <a href="{$goods.url}"><img src="{$goods.goods_thumb}" alt="{$goods.goods_name}" class="goodsimg" /></a><br />
                       <p><a href="{$goods.url}" title="{$goods.name|escape:html}">{$goods.goods_name}</a></p>
                       <!-- {if $show_marketprice} -->
                        {$lang.market_prices}<font class="market_s">{$goods.market_price}</font><br />
                        <!-- {/if} -->
                        <!--{if $goods.promote_price neq "" } -->
                        {$lang.promote_price}<font class="shop_s">{$goods.promote_price}</font><br />
                        <!--{else}-->
                        {$lang.shop_prices}<font class="shop_s">{$goods.shop_price}</font><br />
                        <!--{/if}-->
                       <a href="javascript:collect({$goods.goods_id});" class="f6">{$lang.btn_collect}</a> |
                       <a href="javascript:addToCart({$goods.goods_id})" class="f6">{$lang.btn_buy}</a> |
                       <a href="javascript:;" id="compareLink" onClick="Compare.add({$goods.goods_id},'{$goods.goods_name|escape:"quotes"}','{$goods.type}')" class="f6">{$lang.compare}</a>
                    </div>
                <!--{/if}-->
                <!--{/foreach}-->
                </div>
                </div>
             <!-- {elseif $pager.display == 'text'} -->
              <div class="goodsList">
              <!--{foreach from=$goods_list item=goods}-->
               <ul class="clearfix bgcolor"<!--{if $smarty.foreach.goods_list.index mod 2 eq 0}-->id=""<!--{else}-->id="bgcolor"<!--{/if}-->>
              <li style="margin-right:15px;">
              <a href="javascript:;" id="compareLink" onClick="Compare.add({$goods.goods_id},'{$goods.goods_name|escape:"quotes"}','{$goods.type}')" class="f6">{$lang.compare}</a>
              </li>
              <li class="goodsName">
              <a href="{$goods.url}" class="f6 f5">
                  <!-- {if $goods.goods_style_name} -->
                  {$goods.goods_style_name}<br />
                  <!-- {else} -->
                  {$goods.goods_name}<br />
                  <!-- {/if} -->
                </a>
               <!-- {if $goods.goods_brief} -->
              {$lang.goods_brief}{$goods.goods_brief}<br />
              <!-- {/if} -->
              </li>
              <li>
              <!-- {if $show_marketprice} -->
              {$lang.market_price}<font class="market">{$goods.market_price}</font><br />
              <!-- {/if} -->
              <!--{if $goods.promote_price neq "" } -->
              {$lang.promote_price}<font class="shop">{$goods.promote_price}</font><br />
              <!--{else}-->
              {$lang.shop_price}<font class="shop">{$goods.shop_price}</font><br />
              <!--{/if}-->
              </li>
              <li class="action">
              <a href="javascript:collect({$goods.goods_id});" class="abg f6">{$lang.favourable_goods}</a>
              <a href="javascript:addToCart({$goods.goods_id})"><img src="../images/bnt_buy_1.gif"></a>
              </li>
              </ul>
              <!--{/foreach}-->
              </div>
             <!-- {/if} -->
          </form>
          <script type="text/javascript">
        {foreach from=$lang.compare_js item=item key=key}
        var {$key} = "{$item}";
        {/foreach}

				{foreach from=$lang.compare_js item=item key=key}
        {if $key neq 'button_compare'}
        var {$key} = "{$item}";
        {else}
        var button_compare = '';
        {/if}
        {/foreach}


        var compare_no_goods = "{$lang.compare_no_goods}";
        window.onload = function()
        {
          Compare.init();
          fixpng();
        }
	var btn_buy = "{$lang.btn_buy}";
	var is_cancel = "{$lang.is_cancel}";
	var select_spe = "{$lang.select_spe}";
        </script>
        <!--{else}-->
        <div style="padding:20px 0px; text-align:center" class="f5" >{$lang.no_search_result}</div>
        <!--{/if}-->
        </div>
      </div>
      <div class="blank"></div>
      <!-- #BeginLibraryItem "/library/pages.lbi" --><!-- #EndLibraryItem -->
   <!-- {/if} -->

  </div>
  <!--right end-->
</div>
<div class="blank5"></div>
<!--帮助-->
<div class="block">
  <div class="box">
   <div class="helpTitBg clearfix">
    <!-- #BeginLibraryItem "/library/help.lbi" --><!-- #EndLibraryItem -->
   </div>
  </div>
</div>
<div class="blank"></div>
<!--帮助-->
<!--友情链接 start-->
<!--{if $img_links  or $txt_links }-->
<div id="bottomNav" class="box">
 <div class="box_1">
  <div class="links clearfix">
    <!--开始图片类型的友情链接{foreach from=$img_links item=link}-->
    <a href="{$link.url}" target="_blank" title="{$link.name}"><img src="{$link.logo}" alt="{$link.name}" border="0" /></a>
    <!--结束图片类型的友情链接{/foreach}-->
    <!-- {if $txt_links} -->
    <!--开始文字类型的友情链接{foreach from=$txt_links item=link}-->
    [<a href="{$link.url}" target="_blank" title="{$link.name}">{$link.name}</a>]
    <!--结束文字类型的友情链接{/foreach}-->
    <!-- {/if} -->
  </div>
 </div>
</div>
<!--{/if}-->
<!--友情链接 end-->
<div class="blank"></div>
<!-- #BeginLibraryItem "/library/page_footer.lbi" --><!-- #EndLibraryItem -->
</body>
</html>
