<script language="javascript">   
function addfavor(url, title) {
        if (confirm("网站名称：" + title + "\n网址：" + url + "\n确定添加收藏?")) {
            var ua = navigator.userAgent.toLowerCase();
            if (ua.indexOf("msie 8") > -1) {
                external.AddToFavoritesBar(url, title, ''); //IE8 
            }
            else {
                try {
                    window.external.addFavorite(url, title);
                } catch (e) {
                    try {
                        window.sidebar.addPanel(title, url, ""); //firefox 
                    } catch (e) { alert("加入收藏失败，请使用Ctrl+D进行添加"); } 
                } 
            } 
        } return false;
    }
    function openwindow(url) {
     var urls = "/url.aspx?url=" + url;
      window.open(urls,"newwindow");
    }
    </script>

    <div id="head">
              <div id="collection">
			<a href="#" onclick='addfavor("http://www.alimmy.com/","淘客吧")'>· 收藏本站</a>
			<a href="#" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.alimmy.com/');">· 设为首页</a>
			<a href="http://mail.qq.com/cgi-bin/feed?u=http://www.alimmy.com/rss.xml" rel="nofollow" target="_blank">· 订阅到QQ邮箱</a>
            <a href="https://www.google.com/reader/view/feed/http://www.alimmy.com/rss.xml" rel="nofollow" target="_blank">· 订阅到谷歌</a>
            </div> 
              <div id="logo">
                <h1>淘客吧</h1>
              </div>   
     
            <div id="menu">
                <ul class="menu-list">
						{Temp_Menu}<!--导航-->
                </ul>
             </div>
    </div>
    <div id="body">
    	<div id="left">
        		<div class="new-activ">
                            <div class="hd">
                      			  <h2 class="h2">最新文章</h2>
                       			 <a href="{AllNewUrl}" class="more">more►</a><!--所有文章列表链接-->
                   		    </div>
                            <div class="bd">
                            	<ul class="lists">
									{Temp_List_New}<!--最新文章-->
                                </ul>
                            </div>
                </div>
                <div class="new-activ">
                            <div class="hd">
                      			  <h2 class="h2">{Temp_type}<!--分类文章--></h2>
                       			 <a href="{Temp_More}" class="more">more►</a>
                   		    </div>
                            <div class="bd">
                            	<ul class="lists">
									{Temp_List_Relat}<!--相关文章-->
                                </ul>
                            </div>
                </div>
                <div class="new-activ">
                            <div class="hd">
                      			  <h2 class="h2">减肥方法</h2>
                       			 <a href="{OtherUrl}" class="more">more►</a><!--其他文章更多-->
                   		    </div>
                            <div class="bd">
                            	<ul class="lists">
										{Temp_List_ Method}<!--部分其他文章列表-->
                                </ul>
                            </div>
                </div>
        </div>
        <div id="right">
                <div id="ad">
                	{Temp_Top_Adv}<!--广告-->
                </div>
                <div class="introduction">
                	<p>
                    	{Temp_ Intr}<!--分类介绍说明-->
                    </p>
                </div>
                <div class="goods">
                <div class="hd">
				<a class="button1" href="javascript:void()" onclick='openwindow("Cla.searchlinks")' target="taobaosearch">到淘宝搜搜看看</a>
			</div>
            	{Temp_Details}<!--商品信息-->
            </div>
                
        </div>
    </div>
    <div id="foot">
    	{Temp_Links}<!--网站友情链接-->
        <div class="about">
		    {Temp_about}<!--请保留此标签，否则程序将无法正常运行-->
		</div>
    </div>