<!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=utf-8" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}" />
<meta name="description" content="{$SEO['description']}" />
<link type="text/css" rel="stylesheet" href="/statics/theme/css/body.css"/>
<script src="/statics/theme/js/jquery.min.js"></script>
<script>
	var phoneWidth = parseInt(window.screen.width)
	var phoneScale = phoneWidth/750
	var ua = navigator.userAgent
	if (/Android (\d+\.\d+)/.test(ua)){
	var version = parseFloat(RegExp.$1)
	if(version>2.3){
	document.write('<meta name="viewport" content="width=750, minimum-scale = '+phoneScale+', maximum-scale = '+phoneScale+', target-densitydpi=device-dpi">')
	}else{
	document.write('<meta name="viewport" content="width=750, target-densitydpi=device-dpi">')
	}
	} else {
	document.write('<meta name="viewport" content="width=750, user-scalable=no, target-densitydpi=device-dpi">')
	}
</script>
</head>
<body class="body">
	<div class="container">
        {pc:content action="lists"  catid="10" num="1" siteid="$siteid" order="listorder DESC" moreinfo="1"}
        {loop $data $r}
    		<div class="index_top" style="background:url({$r[topbg_img]}) no-repeat top center;">
        {/loop}
        {/pc}
        	<div class="index_top_bg">
            	<div class="index_thead">
					<div class="to_index f1">
                    	<a href="/"></a>
                    </div>
                    {pc:content action="lists"  catid="10" num="1" siteid="$siteid" order="listorder DESC" moreinfo="1"}
                    {loop $data $r}
                    	<div class="index_logo f1"><img src="{$r[toplogo_img]}"></div>
                    {/loop}
                    {/pc}
                    <div class="menu_show f2">
                    	<a id="open-sb" class="menu_show_btn" href="javascript:;"></a>
                        <section class="sidebar">
                            <nav>
                                <ul><li><a href="/" target="_blank">网站首页</a></li></ul>
                                    <hr >
                                {php $i=0;}
                                    {pc:content action="category" catid="0" num="4" siteid="$siteid" order="listorder ASC" moreinfo="1"}
                                    {loop $data $k $v}
                                    {php $arr=array();}
                                            {php array_push($arr,$v["catid"]);}  
                                    {php $i=$i+1;}
                                    {pc:content action="category" catid="$k" num="4" siteid="$siteid" order="listorder ASC"}
                                       {php $twodata=$data;}
                                       {loop $twodata $r}
                                            {php array_push($arr,$r["catid"]);}    
                                    {pc:content action="category" catid="$r['catid']" num="4" siteid="$siteid" order="listorder ASC"}
                                    {loop $data $three}
                                    {php  array_push($arr,$three["catid"]);}
                                    {/loop}
                                    {/pc}
                                    {/loop}                                        
                                		<ul>
                                        {loop $twodata $r}
                                            <li><a href="{$r[url]}" target="_blank">{$r[catname]}</a></li>
                                        {/loop}
                                        </ul>
                                    	<hr class="display{$i}">
                                    {/pc}
                                    {/loop}
                                    {/pc}
                                {php echo runhook('glogal_header')}                           
                            </nav>
                        </section>
                    </div>
                </div>
                {pc:content action="lists"  catid="10" num="1" siteid="$siteid" order="listorder DESC" moreinfo="1"}
                {loop $data $r}
                	<div class="index_tbody"><a href="{$r[top_link]}" ><img src="{$r[top_img]}" /></a></div>
                {/loop}
                {/pc}
            </div>
        </div>
        <div class="index_lunbo">
        	<div class="block_home_slider">
                <div id="home_slider" class="flexslider">
                    <ul class="slides">
                        {pc:content action="lists"  catid="11" num="4" siteid="$siteid" order="listorder DESC" moreinfo="1"}
                        {loop $data $r}
                            <li>
                                <a href="{$r[url]}"><div class="slide"><img src="{$r[img]}" alt="{$r[title]}" /></div></a>
                            </li>
                        {/loop}
                        {/pc}
                    </ul>
                </div>
            </div>
        </div>
        <div class="index_hd">
        	<div class="index_hd_tit">
            	<a href="javascript:;"></a>
            </div>
            <div class="index_hd_show">
            
            	<div class="index_hd_sleft f1">
                    {pc:content action="lists"  catid="35" num="1" siteid="$siteid" order="listorder DESC" moreinfo="1"}
                    {loop $data $r}
                	<div class="index_hd_sleft_img01">
                    	<a href="{$r[url]}"><img src="{$r[img]}" alt="" /></a>
                    </div>
                    {/loop}
                    {/pc}
                    {pc:content action="lists"  catid="36" num="1" siteid="$siteid" order="listorder DESC" moreinfo="1"}
                    {loop $data $r}
                    <div class="index_hd_sleft_img02">
                    	<a href="{$r[url]}"><img src="{$r[img]}" alt="" /></a>
                    </div>
                    {/loop}
                    {/pc}
                </div>
                
                <div class="index_hd_sright f1">
                    {pc:content action="lists"  catid="37" num="3" siteid="$siteid" order="listorder DESC" moreinfo="1"}
                    {loop $data $r}
                	<div class="index_hd_sright_img index_hd_srimg_border"><a href="{$r[url]}"><img src="{$r[img]}" alt="" /></a></div>
                    {/loop}
                    {/pc}
                </div>
                <div class="clear"></div>
            </div>
        </div>
        <div class="index_kz">
        	<div class="index_kz_tit">
            	<a href="/"></a>
            </div>
            {pc:content action="lists"  catid="16" num="4" siteid="$siteid" order="listorder DESC" moreinfo="1"}
            <div class="index_kzbody">
            	<ul>
                    {loop $data $r}
                        <li>
                            <a href="{$r[url]}">
                                <img src="{$r[img]}" alt="" />
                                <h3>{$r[title]}</h3>
                            </a>
                        </li>
                    {/loop}
                    <div class="clear"></div>
                </ul>
            </div>
            <div class="index_kz_more">
            	<a href="{$CATEGORYS[16]['url']}">
                    <div class="index_kzm_show">
                        <p>
                        	MORE : 
                            {php $lanmu=$r['catid'];}
                            {pc:get sql="select items from sj_category where catid=$lanmu" return="data2"}
                            {loop $data2 $t}
                            {$t[items]}
                            {/loop}
                            {/pc}
                        </p>
                    </div>
                </a>
            </div>
            {/pc}
        </div>
<!--首页-->
        <div class="index_zp">
        	<div class="index_zp_tit">
            	<a href="javascript:;"></a>
            </div>
            {pc:content action="lists"  catid="13" num="4" siteid="$siteid" order="listorder DESC" moreinfo="1"}
            <div class="index_zp_show">
            	<div class="block_home_slider">
                    <div id="home_slider2" class="flexslider">
                        <ul class="slides">
                            {loop $data $r}
                                <li>
                                    <a href="{$r[url]}">
                                        <div class="slide"><img src="{$r[img]}" alt="" /></div>
                                    </a>
                                </li>
                            {/loop}
						</ul>
                    </div>
                </div>
            </div>
            <div class="index_zp_more">
            	<a href="{$CATEGORYS[17]['url']}">
                    <div class="index_zpm_show">
                        <p>
                        	MORE : 
                            {php $lanmu=$r['catid'];}
                            {pc:get sql="select items from sj_category where catid=$lanmu" return="data2"}
                            {loop $data2 $t}
                            {$t[items]}
                            {/loop}
                            {/pc}
                        </p>
                    </div>
                </a>
            </div>
            {/pc}
        </div>
        <div class="index_bm">
            {pc:content action="lists"  catid="42" num="1" siteid="$siteid" order="listorder DESC" moreinfo="1"}
            {loop $data $r}
        	<div class="index_yuyue" style="background:url({$r[img]}) no-repeat top center;">
            	<a href="{$r[url]}"><img src="{$r[img2]}" alt="" /></a>
            </div>
            {/loop}
            {/pc}
            {pc:content action="lists"  catid="43" num="1" siteid="$siteid" order="listorder DESC" moreinfo="1"}
            {loop $data $r}
            <div class="index_baojia" style="background:url({$r[img]}) no-repeat top center;">
            	<a href="{$r[url]}"><img src="{$r[img2]}" alt="" /></a>
            </div>
            {/loop}
            {/pc}
            <div class="index_taoxi">
            	{php $i=0}
                {pc:content action="lists"  catid="15" num="2" siteid="$siteid" order="listorder DESC" moreinfo="1"}
                {loop $data $r}
                {php $i=$i+1}
            	<div class="index_taoxi_list f{$i}" style="background:url({$r[img]}) no-repeat top center;">
                	<a href="{$r[url]}">
                    	<div class="index_tx_lbody">
                            <span>{$r[title]}</span><br>
                            <span class="jiage">{$r[jiage]}</span>
                        </div>
                    </a>
                </div>
                {/loop}
                {/pc}
            </div>
        </div>
        <div class="foot_menu">
            {pc:content action="category" catid="0" num="2" siteid="$siteid" order="listorder ASC" moreinfo="1"}
            {loop $data $k $v}
            {php $arr=array();}
                    {php array_push($arr,$v["catid"]);}  
            {pc:content action="category" catid="$k" num="3" siteid="$siteid" order="listorder ASC"}
               {php $twodata=$data;}
               {loop $twodata $r}
                    {php array_push($arr,$r["catid"]);}    
            {pc:content action="category" catid="$r['catid']" num="3" siteid="$siteid" order="listorder ASC"}
            {loop $data $three}
            {php  array_push($arr,$three["catid"]);}
            {/loop}
            {/pc}
            {/loop}                                        
        	<div class="foot_menu_body b1 f{$i}">
            	<div class="foot_menu_blist">
                	{php $j=0;}
                    {loop $twodata $r}
                    	{php $j=$j+1;}
                        <a class="fm{$j}" href="{$r[url]}">{$r[catname]} {$r[catdir]}</a>
                    {/loop}
                </div>
            </div>
            {/pc}
            {/loop}
            {/pc}
        {php echo runhook('glogal_header')}                           
        </div>
        {pc:content action="lists"  catid="10" num="1" order="listorder DESC" moreinfo="1"}
        {loop $data $r}
        <div class="foot_tel">
        	<a href="tel:{$r['haoma']}">{$r['haoma']}</a>
        </div>
        <div class="banquan">
        	<p>{$r['bqxinxi']}</p>
        </div>
        {/loop}
        {/pc}
        {pc:content action="lists"  catid="10" num="1" order="listorder DESC" moreinfo="1"}
        {loop $data $r}
        <div class="fudong">
        	<a class="fd_bg01 f1" href="{$r['kflink']}">
            	<span>咨询客服</span>
            </a>
            <a class="fd_bg02 f1" href="tel:{$r['haoma']}">
            	<span>直拨电话</span>
            </a>
            <a class="fd_bg03 f1" href="{$r['bottom_link']}">
            	<span>预约有礼</span>
            </a>
        </div>
        {/loop}
        {/pc}
    </div>
    {pc:content action="lists"  catid="10" num="1" order="listorder DESC" moreinfo="1"}
    {loop $data $r}
    <?php echo html_entity_decode($r['jscode']); ?>
    {/loop}
    {/pc}
<script src="/statics/theme/js/jquery-ui.min.js"></script>
<script src="/statics/theme/js/jquery.simplesidebar.js"></script>
<script type="text/javascript" src="/statics/theme/js/jquery.flexslider-min.js"></script>
<script src="/statics/theme/js/body.js"></script>
</body>
</html>
