<!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">
<{$header}>

<div id="wrap">
      <div style="display: none;" class="box" id="weatherBox">
            <div class="head"><a title="关闭" id="closeWTBOX" class="close">关闭</a><span style="float:left;">#{postTime}</span></div>
            <h2>#{city} #{more}</h2>
            #{weather} </div>
    </div> 
        
    <div id="search" class="cl">
        <div id="ex" >
         <div id="weather">
             <a title="点击查看更多" id="wet" onClick="Weather.more()"><strong>#{city}</strong> #{img} #{title}</a> <a onClick="Weather.set()" href="javascript:void(0)" target="_parent">[定制城市]</a>
          </div> 
          <div id="date"></div>
          
                      
                        <div id="setCity" style="display:none">
                            <select id="w_pro" name="w_pro" onChange="Weather.loadCity(this.value)">
                                <option value="141">A 澳门</option>
                                <option value="119">A 安徽</option>
                                <option value="109">B 北京</option>
                                <option value="135">C 重庆</option>
                                <option value="123">F 福建</option>
                                <option value="127">G 广东</option>
                                <option value="128">G 广西</option>
                                <option value="137">G 贵州</option>
                                <option value="131">G 甘肃</option>
                                <option value="111">H 河北</option>
                                <option value="124">H 河南</option>
                                <option value="125">H 湖北</option>
                                <option value="126">H 湖南</option>
                                <option value="129">H 海南</option>
                                <option value="116">H 黑龙?/option>
                                <option value="122">J 江西</option>
                                <option value="120">J 江苏</option>
                                <option value="115">J 吉林</option>
                                <option value="114">L 辽宁</option>
                                <option value="132">N 宁夏</option>
                                <option value="113">N 内蒙?/option>
                                <option value="133">Q 青海</option>
                                <option value="117">S 上海</option>
                                <option value="118">S 山东</option>
                                <option value="112">S 山西</option>
                                <option value="130">S 陕西</option>
                                <option value="136">S 四川</option>
                                <option value="110">T 天津</option>
                                <option value="142">T 台湾</option>
                                <option value="139">X 西藏</option>
                                <option value="134">X 新疆</option>
                                <option value="140">X 香港</option>
                                <option value="138">Y 云南</option>
                                <option value="121">Z 浙江</option>
                            </select>
                            <select name="w_city" id="w_city">
                            </select>
                            <a class="set button" onClick="Weather.tick()">确定</a> <a class="auto button" onClick="Weather.init(1)">自动判断</a> </div>
        </div>
        <div id="sm" class="clearfix" >
            <ul id="sm_tab">
                <{foreach from=$search_class item=search_class1}>
                <li s_tab="js_type_<{$search_class1.classid}>" <{if $search_class1.is_default}> class="active" default="1"<{/if}>><{$search_class1.classname}></li>
                <{/foreach}>
            </ul>
        </div>
        <div id="sb" class="clearfix">
            <{foreach from=$search_class item=search_class2}>
            <div class="search-box" id="js_type_<{$search_class2.classid}>" <{if $search_class2.is_default!=1}> style="display:none;"<{/if}>>
                <div class="sw">
                    <p id="sw_<{$search_class2.classid}>">
                        <{foreach from=$search_keyword item=keyword}>
                            <{if $keyword.class == $search_class2.classid}>
                                <a href="<{$keyword.url}>" target="_blank"><{$keyword.name}></a>
                            <{/if}>
                        <{/foreach}>
                    </p><!--/ keywords-->
                </div>
                <div class="sf">
                    <form action="http://www.baidu.com/s" method="get" target="_blank">
                        <a href="http://www.baidu.com" id="sf_label" rel="lk" target="_blank"><img src="<{$URL}>/static/images/s/baidu.gif" width="105" height="35" rel="img" /></a><input type="text" name="wd" class="int" autocomplete="off" rel="kw"/><input class="searchint" type="submit" value="百度一下" rel="btn" />
                        <div class="ctrl">
                        <{foreach from=$search item=row1}>
                            <{if $row1.class == $search_class2.classid}>
                            <label><input class="radio" type="radio" value="engine_<{$row1.id}>" name="search_select" rad="engine_<{$row1.id}>" <{if $row1.is_default}> checked="checked"<{/if}> /><{$row1.search_select}></label>
                            <{/if}>
                        <{/foreach}>
                        </div>
                    </form>
                </div>
            </div>
          
            <{/foreach}>
            <div id="suggest" style="display:none"></div>
        </div>
    </div>
    <div id="hot"><{*名站上方广告*}>
        <{foreach from = $advert_search_footer item = i}><a target="_blank" <{if $i.color=='#FF0000' || $i.color=='red'}>class="red"<{elseif $i.color=='#008000' || $i.color=='green'}>class="green"<{elseif $i.color=='#0000FF' || $i.color=='blue'}>class="blue"<{elseif $i.color!=''}>style="color:<{$i.color}>;"<{/if}>  href="<{$i.link}>" ><{$i.title}></a><{/foreach}><a  href='<{$FKURL}>'><img src="<{$URL}>/admin/static/images/fankui.gif" width="12" height="12" /> 用户反馈</a><a  href='<{$XFURL}>'><img src="<{$URL}>/admin/static/images/xiugai.gif" width="12" height="12" /> 主页修复</a><a  href='<{$URL}>/shortcut.php'><img src="<{$URL}>/admin/static/images/down.gif" width="12" height="12" /> 下载到桌面</a><a  href='javascript:;' onClick="return setHomepage();"><img src="<{$URL}>/admin/static/images/shouye.gif" width="12" height="12" /> 设为首页</a>
    </div>
    <div id="content" >
        <div id="cate">
            <div class="box">
                
                <{*网站分类*}>
                <{foreach from = $site_class key = k item = parent}>
                    <h2><{$k}></h2>
                    <ul<{if $parent.0.classname_len > 6}> class="c2"<{/if}>>
                    <{foreach from = $parent item = i}>
                        <li ><{if $i.out}><a target="_blank" href="link/html/<{$i.urlpath}>"><{$i.classname}></a><{else}><a href="<{$i.urlpath}>" target="_blank"><{$i.classname}></a><{/if}></li>
                    <{/foreach}>
                    </ul>
                <{/foreach}>
            </div>
        </div>
        <div id="main" style="background:#FFF;">
            <div id="bm">
                <ul id="bm_tab" class="clearfix">
                    <li id="bm-def" class="active" rel="fm">名站导航</li>
                    <{foreach from = $famous_tab item = tab key = i}>
                    <li rel="bb<{$i}>" url="<{$tab.url}>" nocache=<{$tab.nocache}>><{$tab.name}></li>
                    <{/foreach}>
                </ul><div id="qs"><b class="l"></b><div id="q_int" class="n"><div class="button-wrap"><input type="text" /></div></div><b class="r"></b></div>
            </div>
            <div id="bb">
                <div class="box">
                    <div id="fm">
                        <ul id="topsite" class="clearfix">
                            <{*TOP 名站*}>
                            	<{foreach from = $mz_top item = i}>
                            	<{$i.html}>
                            <{/foreach}>
                        </ul>
                        <ul id="fmsite" class="clearfix">
                            <{*名站*}>
                            <{foreach from = $mz_list item = i}>
                            <li><a href="<{$i.url}>" target="_blank" <{if $i.namecolor=='#FF0000' || $i.namecolor=='red'}>class="red"<{elseif $i.namecolor=='#008000' || $i.namecolor=='green'}>class="green"<{elseif $i.namecolor=='#0000FF' || $i.namecolor=='blue'}>class="blue"<{elseif $i.namecolor!=''}>style="color:<{$i.namecolor}>;"<{/if}>><{$i.name}></a></li>
                            <{/foreach}>
                        </ul>
                    </div>
                    <div id="qs-result" style="display:none;"></div>
                </div>
                </div>
            <div id="hot2">
                <{*名站下方广告*}>
                <{$advert_notice}>
            </div>
            <div id="ls">
                <div class="box">
                    <{*酷站导航*}>
                    <{foreach from = $kz_list key ='key' item = 'item' name = n}><dl <{if $smarty.foreach.n.iteration % 2 eq 0}>class="alt"<{/if}>id="ls<{$smarty.foreach.n.iteration}>"><dt><a href="link/<{$item.url}>index.htm" target="_blank"><{$key}></a></dt><dd class="l"><{foreach key='k' item='v' from=$item.son}><a href="<{$v.url}>" target="_blank" <{if $v.namecolor=='#FF0000' || $v.namecolor=='red'}>class="red"<{elseif $v.namecolor=='#008000' || $v.namecolor=='green'}>class="green"<{elseif $v.namecolor=='#0000FF' || $v.namecolor=='blue'}>class="blue"<{elseif $v.namecolor!=''}>style="color:<{$v.namecolor}>;"<{/if}>><{$v.name}></a><{/foreach}></dd><dd class="m"><a href="link/<{$item.url}>index.htm" target="_blank">更多 &raquo;</a></dd></dl><{/foreach}>
                </div>
                </div>
        </div>
    </div>
    <div id="meta" style="background:#FFF;border-bottom:none">
        <div class="box">
            <ul>
            <{*专题*}>
        <{foreach from = $zhuanti key = k item = parent}>
        <li class="bd">
            <strong><a href="link/html/catalog/<{$k}>.htm" target="_blank"><{$parent.name}></a></strong>
            <{foreach from = $parent.son item = v}>
            <a href="link/html/catalog/<{$k}>.htm#<{$v.id}>" target="_blank"><{$v.name}></a>
            <{/foreach}>
            <span class="more"><a href="link/html/catalog/<{$k}>.htm" target="_blank">更多 &raquo;</a></span>
        </li>
        <{/foreach}>
        <li class="bd">
            <strong><a href="link/html/local/index.htm" target="_blank">地方服务</a></strong>
            <a  href="link/html/local/beijing.htm" title="北京" target="_blank">北京</a>
            <a  href="link/html/local/tianjin.htm" title="天津" target="_blank">天津</a>
            <a  href="link/html/local/guangdong.htm" title="广东" target="_blank">广东</a>
            <a  href="link/html/local/hebei.htm" title="河北" target="_blank">河北</a>
            <a  href="link/html/local/shanxi.htm" title="山西" target="_blank">山西</a>
            <a  href="link/html/local/liaoning.htm" title="辽宁" target="_blank">辽宁</a>
            <a  href="link/html/local/heilongjiang.htm" title="黑龙江" target="_blank">黑龙江</a>
            <a  href="link/html/local/shanghai.htm" title="上海" target="_blank">上海</a>
            <a  href="link/html/local/jiangsu.htm" title="江苏" target="_blank">江苏</a>
            <a  href="link/html/local/zhejiang.htm" title="浙江" target="_blank">浙江</a>
            <a  href="link/html/local/anhui.htm" title="安徽" target="_blank">安徽</a>
            <a  href="link/html/local/fujian.htm" title="福建" target="_blank">福建</a>
            <a  href="link/html/local/jiangxi.htm" title="江西" target="_blank">江西</a>
            <a  href="link/html/local/shandong.htm" title="山东" target="_blank">山东</a>
            <a  href="link/html/local/henan.htm" title="河南" target="_blank">河南</a>
            <a  href="link/html/local/hubei.htm" title="湖北" target="_blank">湖北</a>
            <a  href="link/html/local/taiwanm.htm" title="台湾" target="_blank">台湾</a>
            <a  href="link/html/local/aomen.htm" title="澳门" target="_blank">澳门</a>
            <a  href="link/html/local/hongkong.htm" title="香港" target="_blank">香港</a>

            <span class="more"><a href="link/html/local/index.htm" target="_blank">更多 &raquo;</a></span>
        </li>
         <{if $links}>
         <li class="bd">
            <strong><a href="link/html/catalog/links.htm" target="_blank">友情链接</a></strong>
            <{foreach from=$links item=links}>
            <a  href="<{$links.site_url}>" title="<{$links.site_name}>.htm" target="_blank"><{$links.site_name}></a>
            <{/foreach}>
            <span class="more"><a href="link/html/catalog/links.htm" target="_blank">更多 &raquo;</a></span>
         </li>
         <{/if}>
            </ul>
        </div>
    </div>
    
        </div>
       
 <script type="text/javascript" src="<{$URL}>/public/home/js/base.js"></script>
<script type="text/javascript" src="<{$URL}>/public/home/js/core.js"></script>
  
<script type="text/javascript" src="<{$URL}>/public/home/js/config.js"></script>
<script type="text/javascript" src="<{$URL}>/public/home/js/main.js"></script>

<script type="text/javascript">
    try{
		if(window.SR){
			SR.SearchData = {
                <{foreach from=$search item=row2}>
                    engine_<{$row2.id}>: {
						action: "<{$row2.action}>",
						name: "<{$row2.name}>",
						btn: "<{$row2.btn}>",
						img: ["<{$row2.img_text}>","<{$row2.img_url}>"],
						url: "<{$row2.url}>",
						params: {
							<{$row2.params}>
						}
                    },
                <{/foreach}>
				none:{}
            }	
		}
		
		var sbBox = document.getElementById('sb');
		var sbForms = sbBox.getElementsByTagName('form');
		for(var i = 0,len = sbForms.length; i < len; i++){
			sbForms[i].reset();
		}
		
		var sbRadios = sbBox.getElementsByTagName('input');
		var inputTxtArr = [];
		if(sbRadios.length){
			var setRadios = [];
			for(var i = 0,len = sbRadios.length; i < len; i++){
				var input = sbRadios[i];
				if(input.getAttribute("rad") && input.checked){
					setRadios.push(input);
				}
				else if(input.getAttribute("rel") == "kw"){
					var key = inputTxtArr.push(input);
					input.setAttribute("index",key - 1);
					
				}
			}
			try{
			for(var i = 0,len = setRadios.length; i < len; i++){
				var input = setRadios[i];
				
				SR.RadioMod.ClickRadio(input);
			}
			}catch(e){}
		}
	}catch(e){}
    </script>
<{$footer}>
