<!--{template common/link_header}-->

<style id="temp-css" type="text/css"></style>
<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">
var PageSkin = (function(){
	var PageskinCookie = userCookie.init();
	if(PageskinCookie.is("style")){
		var skins = ["blue","orange","green","purple","blue2"];
		var skinName = skins[Number(PageskinCookie.get("style"))];
		document.getElementById("skin").href = "<{$URL}>/themes/default/skins/"+skinName+"/page.css";
	}
	return{
		cookie:PageskinCookie
	}
})()

</script>


<div id="page">
<script type="text/javascript">
	(function(){
		if(PageSkin.cookie.is("bg")){
			var value = PageSkin.cookie.get("bg");
			var img = "<{$URL}>/themes/default/images/bg/"+Yl.trim(value);
			if(Yl.trim(value)!=="default"){
				$("#page").setStyle("background","url("+img+")");
			}else{
				$("#page").setStyle("background","");
			}
		}else{
			return;
		}
	})()
</script>
    <div class="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"><script type="text/javascript">document.write(Calendar.day());</script></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}>
            <{if $search_class2.classid==2}>
             <div class="search-box" id="js_type_<{$search_class2.classid}>" <{if $search_class2.is_default!=1}> style="display:none;"<{/if}>>
            <div class="sf" >
            <table height="100%" width="100%"><tr><td valign="middle" align="center">
                
<script type="text/javascript"><!--
  google_ad_client = "pub-3043661870494778";
  google_ad_format = "js_sdo";
  google_color_bg = "parentport";
  google_cts_mode ="hq";
  google_num_cts = "6";
  google_cts_font_size = "14";
  google_color_link = "336699";
  google_searchbox_width = 215;
  google_searchbox_height = 30;
  google_link_target = 2;
  google_ad_channel = "9521510331";
  google_logo_pos = "left";
  google_rs_pos = "right";
  google_ad_height = 30;
  google_ad_width = 935;
//-->
</script>
<script type="text/javascript"
  src=" http://pagead2.googlesyndication.com/pagead/show_sdo.js">
</script>
</td></tr></table>
</div></div>
            <{/if}>
            <{if $search_class2.classid!=2}>
            <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://115.com/s" method="get" target="_blank">
                        <a href="http://115.com" id="sf_label" rel="lk"><img src="<{$URL}>/static/images/s/115.gif" width="105" height="35" rel="img" /></a><input type="text" name="q" class="int" autocomplete="off" rel="kw"/><input class="searchint" type="submit" value="115聚搜" 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>
            <{/if}>
            <{/foreach}>
           
            <div id="suggest" style="display:none"></div>
        </div>
    </div><!--/ header-->
