<?php /* Smarty version 2.6.25, created on 2011-03-24 17:19:40
         compiled from index.tpl */ ?>
<!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">
<?php echo $this->_tpl_vars['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">
                <?php $_from = $this->_tpl_vars['search_class']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['search_class1']):
?>
                <li s_tab="js_type_<?php echo $this->_tpl_vars['search_class1']['classid']; ?>
" <?php if ($this->_tpl_vars['search_class1']['is_default']): ?> class="active" default="1"<?php endif; ?>><?php echo $this->_tpl_vars['search_class1']['classname']; ?>
</li>
                <?php endforeach; endif; unset($_from); ?>
            </ul>
        </div>
        <div id="sb" class="clearfix">
            <?php $_from = $this->_tpl_vars['search_class']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['search_class2']):
?>
            <div class="search-box" id="js_type_<?php echo $this->_tpl_vars['search_class2']['classid']; ?>
" <?php if ($this->_tpl_vars['search_class2']['is_default'] != 1): ?> style="display:none;"<?php endif; ?>>
                <div class="sw">
                    <p id="sw_<?php echo $this->_tpl_vars['search_class2']['classid']; ?>
">
                        <?php $_from = $this->_tpl_vars['search_keyword']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['keyword']):
?>
                            <?php if ($this->_tpl_vars['keyword']['class'] == $this->_tpl_vars['search_class2']['classid']): ?>
                                <a href="<?php echo $this->_tpl_vars['keyword']['url']; ?>
" target="_blank"><?php echo $this->_tpl_vars['keyword']['name']; ?>
</a>
                            <?php endif; ?>
                        <?php endforeach; endif; unset($_from); ?>
                    </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="<?php echo $this->_tpl_vars['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">
                        <?php $_from = $this->_tpl_vars['search']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['row1']):
?>
                            <?php if ($this->_tpl_vars['row1']['class'] == $this->_tpl_vars['search_class2']['classid']): ?>
                            <label><input class="radio" type="radio" value="engine_<?php echo $this->_tpl_vars['row1']['id']; ?>
" name="search_select" rad="engine_<?php echo $this->_tpl_vars['row1']['id']; ?>
" <?php if ($this->_tpl_vars['row1']['is_default']): ?> checked="checked"<?php endif; ?> /><?php echo $this->_tpl_vars['row1']['search_select']; ?>
</label>
                            <?php endif; ?>
                        <?php endforeach; endif; unset($_from); ?>
                        </div>
                    </form>
                </div>
            </div>
          
            <?php endforeach; endif; unset($_from); ?>
            <div id="suggest" style="display:none"></div>
        </div>
    </div>
    <div id="hot">        <?php $_from = $this->_tpl_vars['advert_search_footer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?><a target="_blank" <?php if ($this->_tpl_vars['i']['color'] == '#FF0000' || $this->_tpl_vars['i']['color'] == 'red'): ?>class="red"<?php elseif ($this->_tpl_vars['i']['color'] == '#008000' || $this->_tpl_vars['i']['color'] == 'green'): ?>class="green"<?php elseif ($this->_tpl_vars['i']['color'] == '#0000FF' || $this->_tpl_vars['i']['color'] == 'blue'): ?>class="blue"<?php elseif ($this->_tpl_vars['i']['color'] != ''): ?>style="color:<?php echo $this->_tpl_vars['i']['color']; ?>
;"<?php endif; ?>  href="<?php echo $this->_tpl_vars['i']['link']; ?>
" ><?php echo $this->_tpl_vars['i']['title']; ?>
</a><?php endforeach; endif; unset($_from); ?><a  href='<?php echo $this->_tpl_vars['FKURL']; ?>
'><img src="<?php echo $this->_tpl_vars['URL']; ?>
/admin/static/images/fankui.gif" width="12" height="12" /> 用户反馈</a><a  href='<?php echo $this->_tpl_vars['XFURL']; ?>
'><img src="<?php echo $this->_tpl_vars['URL']; ?>
/admin/static/images/xiugai.gif" width="12" height="12" /> 主页修复</a><a  href='<?php echo $this->_tpl_vars['URL']; ?>
/shortcut.php'><img src="<?php echo $this->_tpl_vars['URL']; ?>
/admin/static/images/down.gif" width="12" height="12" /> 下载到桌面</a><a  href='javascript:;' onClick="return setHomepage();"><img src="<?php echo $this->_tpl_vars['URL']; ?>
/admin/static/images/shouye.gif" width="12" height="12" /> 设为首页</a>
    </div>
    <div id="content" >
        <div id="cate">
            <div class="box">
                
                                <?php $_from = $this->_tpl_vars['site_class']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['parent']):
?>
                    <h2><?php echo $this->_tpl_vars['k']; ?>
</h2>
                    <ul<?php if ($this->_tpl_vars['parent']['0']['classname_len'] > 6): ?> class="c2"<?php endif; ?>>
                    <?php $_from = $this->_tpl_vars['parent']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
                        <li ><?php if ($this->_tpl_vars['i']['out']): ?><a target="_blank" href="link/html/<?php echo $this->_tpl_vars['i']['urlpath']; ?>
"><?php echo $this->_tpl_vars['i']['classname']; ?>
</a><?php else: ?><a href="<?php echo $this->_tpl_vars['i']['urlpath']; ?>
" target="_blank"><?php echo $this->_tpl_vars['i']['classname']; ?>
</a><?php endif; ?></li>
                    <?php endforeach; endif; unset($_from); ?>
                    </ul>
                <?php endforeach; endif; unset($_from); ?>
            </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>
                    <?php $_from = $this->_tpl_vars['famous_tab']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i'] => $this->_tpl_vars['tab']):
?>
                    <li rel="bb<?php echo $this->_tpl_vars['i']; ?>
" url="<?php echo $this->_tpl_vars['tab']['url']; ?>
" nocache=<?php echo $this->_tpl_vars['tab']['nocache']; ?>
><?php echo $this->_tpl_vars['tab']['name']; ?>
</li>
                    <?php endforeach; endif; unset($_from); ?>
                </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">
                                                        	<?php $_from = $this->_tpl_vars['mz_top']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
                            	<?php echo $this->_tpl_vars['i']['html']; ?>

                            <?php endforeach; endif; unset($_from); ?>
                        </ul>
                        <ul id="fmsite" class="clearfix">
                                                        <?php $_from = $this->_tpl_vars['mz_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
                            <li><a href="<?php echo $this->_tpl_vars['i']['url']; ?>
" target="_blank" <?php if ($this->_tpl_vars['i']['namecolor'] == '#FF0000' || $this->_tpl_vars['i']['namecolor'] == 'red'): ?>class="red"<?php elseif ($this->_tpl_vars['i']['namecolor'] == '#008000' || $this->_tpl_vars['i']['namecolor'] == 'green'): ?>class="green"<?php elseif ($this->_tpl_vars['i']['namecolor'] == '#0000FF' || $this->_tpl_vars['i']['namecolor'] == 'blue'): ?>class="blue"<?php elseif ($this->_tpl_vars['i']['namecolor'] != ''): ?>style="color:<?php echo $this->_tpl_vars['i']['namecolor']; ?>
;"<?php endif; ?>><?php echo $this->_tpl_vars['i']['name']; ?>
</a></li>
                            <?php endforeach; endif; unset($_from); ?>
                        </ul>
                    </div>
                    <div id="qs-result" style="display:none;"></div>
                </div>
                </div>
            <div id="hot2">
                                <?php echo $this->_tpl_vars['advert_notice']; ?>

            </div>
            <div id="ls">
                <div class="box">
                                        <?php $_from = $this->_tpl_vars['kz_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['n'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['n']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
        $this->_foreach['n']['iteration']++;
?><dl <?php if ($this->_foreach['n']['iteration'] % 2 == 0): ?>class="alt"<?php endif; ?>id="ls<?php echo $this->_foreach['n']['iteration']; ?>
"><dt><a href="link/<?php echo $this->_tpl_vars['item']['url']; ?>
index.htm"><?php echo $this->_tpl_vars['key']; ?>
</a></dt><dd class="l"><?php $_from = $this->_tpl_vars['item']['son']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?><a href="<?php echo $this->_tpl_vars['v']['url']; ?>
" target="_blank" <?php if ($this->_tpl_vars['v']['namecolor'] == '#FF0000' || $this->_tpl_vars['v']['namecolor'] == 'red'): ?>class="red"<?php elseif ($this->_tpl_vars['v']['namecolor'] == '#008000' || $this->_tpl_vars['v']['namecolor'] == 'green'): ?>class="green"<?php elseif ($this->_tpl_vars['v']['namecolor'] == '#0000FF' || $this->_tpl_vars['v']['namecolor'] == 'blue'): ?>class="blue"<?php elseif ($this->_tpl_vars['v']['namecolor'] != ''): ?>style="color:<?php echo $this->_tpl_vars['v']['namecolor']; ?>
;"<?php endif; ?>><?php echo $this->_tpl_vars['v']['name']; ?>
</a><?php endforeach; endif; unset($_from); ?></dd><dd class="m"><a href="link/<?php echo $this->_tpl_vars['item']['url']; ?>
index.htm">更多 &raquo;</a></dd></dl><?php endforeach; endif; unset($_from); ?>
                </div>
                </div>
        </div>
    </div>
    <div id="meta" style="background:#FFF;border-bottom:none">
        <div class="box">
            <ul>
                    <?php $_from = $this->_tpl_vars['zhuanti']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['parent']):
?>
        <li class="bd">
            <strong><a href="link/html/catalog/<?php echo $this->_tpl_vars['k']; ?>
.htm" target="_blank"><?php echo $this->_tpl_vars['parent']['name']; ?>
</a></strong>
            <?php $_from = $this->_tpl_vars['parent']['son']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?>
            <a href="link/html/catalog/<?php echo $this->_tpl_vars['k']; ?>
.htm#<?php echo $this->_tpl_vars['v']['id']; ?>
" target="_blank"><?php echo $this->_tpl_vars['v']['name']; ?>
</a>
            <?php endforeach; endif; unset($_from); ?>
            <span class="more"><a href="link/html/catalog/<?php echo $this->_tpl_vars['k']; ?>
.htm" target="_blank">更多 &raquo;</a></span>
        </li>
        <?php endforeach; endif; unset($_from); ?>
        <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>
         <?php if ($this->_tpl_vars['links']): ?>
         <li class="bd">
            <strong><a href="link/html/catalog/links.htm" target="_blank">友情链接</a></strong>
            <?php $_from = $this->_tpl_vars['links']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['links']):
?>
            <a  href="<?php echo $this->_tpl_vars['links']['site_url']; ?>
" title="<?php echo $this->_tpl_vars['links']['site_name']; ?>
.htm" target="_blank"><?php echo $this->_tpl_vars['links']['site_name']; ?>
</a>
            <?php endforeach; endif; unset($_from); ?>
            <span class="more"><a href="link/html/catalog/links.htm" target="_blank">更多 &raquo;</a></span>
         </li>
         <?php endif; ?>
            </ul>
        </div>
    </div>
    
        </div>
       
 <script type="text/javascript" src="<?php echo $this->_tpl_vars['URL']; ?>
/public/home/js/base.js"></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['URL']; ?>
/public/home/js/core.js"></script>
  
<script type="text/javascript" src="<?php echo $this->_tpl_vars['URL']; ?>
/public/home/js/config.js"></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['URL']; ?>
/public/home/js/main.js"></script>

<script type="text/javascript">
    try{
		if(window.SR){
			SR.SearchData = {
                <?php $_from = $this->_tpl_vars['search']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['row2']):
?>
                    engine_<?php echo $this->_tpl_vars['row2']['id']; ?>
: {
						action: "<?php echo $this->_tpl_vars['row2']['action']; ?>
",
						name: "<?php echo $this->_tpl_vars['row2']['name']; ?>
",
						btn: "<?php echo $this->_tpl_vars['row2']['btn']; ?>
",
						img: ["<?php echo $this->_tpl_vars['row2']['img_text']; ?>
","<?php echo $this->_tpl_vars['row2']['img_url']; ?>
"],
						url: "<?php echo $this->_tpl_vars['row2']['url']; ?>
",
						params: {
							<?php echo $this->_tpl_vars['row2']['params']; ?>

						}
                    },
                <?php endforeach; endif; unset($_from); ?>
				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>
<?php echo $this->_tpl_vars['footer']; ?>

