function content_55d7ea404c0899_77163178($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_modifier_cutstr')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
						<a class="help-left-image" href="<?php 
        echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['img'];
        ?>
/<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['logo'];
        ?>
" width="110" height="50" /></a>
						<div class="help-con">
							<a href="<?php 
        echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
        ?>
"><?php 
        echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['name'], 20, '');
        ?>
</a>
                                                        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "tenders/tenders", 'status' => 1, 'sign_company_id' => $_smarty_tpl->tpl_vars['item']->value['company_id'], 'order' => "sign_time:desc", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'status' => 1, 'sign_company_id' => $_smarty_tpl->tpl_vars['item']->value['company_id'], 'order' => "sign_time:desc", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

							<p><{$areaList[$item.area_id].area_name}>-<{$item.home_name|cutstr:14}></p>
							<p><{$item.name|cutstr:16}></p>
                                                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'status' => 1, 'sign_company_id' => $_smarty_tpl->tpl_vars['item']->value['company_id'], 'order' => "sign_time:desc", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
  
						</div>
                                                             
						<div class="clear"></div>
                                             <?php 
    }
    function content_55d7ea402917a4_98893898($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
					<div class="host-list-two">
						<div class="host-list-two-image">
                                                    
							<a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:tuanDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['tuan_id']), $_smarty_tpl);
        ?>
" target="_blank" title="<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['title'];
        ?>
">
                                                             <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/main", 'id' => $_smarty_tpl->tpl_vars['item']->value['home_id'], 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/main", 'id' => $_smarty_tpl->tpl_vars['item']->value['home_id'], 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
 
                                                            <img src="<{$pager.img}>/<{$item.face_pic}>" width="263" height="180"  />
                                                            
                                                        </a>
						</div>
                                            <{calldata mdl="home/tuan"  home_id=$item.id  limit="1" }>
						<div class="host-title">                                                                      
							 <{$item.title|cutstr:22:""}>              
						</div>
						<div class="host-dis">
							报名立减<span><{$item.jieyue}></span>元
                                                        <a target="_blank" title="<{$item.title}>" href="<{link ctl='home:tuanDetail' arg0=$item.tuan_id}>"><input type="button" class="host-input" value="我要报名" />
                                                        </a></div>
                                            <{/calldata}>
                                             <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/main", 'id' => $_smarty_tpl->tpl_vars['item']->value['home_id'], 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</div>
                                    
                                    <?php 
    }
    function content_55d7ea340e60b4_74166463($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_cutstr')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
        }
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
                <tr>                  
                    <td><?php 
        echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['name'], 10, '**');
        ?>
</td>          
                    <td><?php 
        echo $_smarty_tpl->tpl_vars['item']->value['area'];
        ?>
㎡</td>
                    <td><a target='_blank' title="<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['title'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['id']), $_smarty_tpl);
        ?>
" class=""style=" color:#666;font-size:14px"><?php 
        echo $_smarty_tpl->tpl_vars['item']->value['title'];
        ?>
</a></td>
                      <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "tenders/setting", 'setting_id' => $_smarty_tpl->tpl_vars['item']->value['budget_id'], 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "tenders/setting", 'setting_id' => $_smarty_tpl->tpl_vars['item']->value['budget_id'], 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                      <td><{$item.name}></td>
                      <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "tenders/setting", 'setting_id' => $_smarty_tpl->tpl_vars['item']->value['budget_id'], 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
                  
                </tr>
                    <div class="cl"></div>             
               <?php 
    }
    function content_55d7ea402d0db8_53276881($_smarty_tpl)
    {
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
 
                                                            <img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['img'];
        ?>
/<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['face_pic'];
        ?>
" width="263" height="180"  />
                                                            
                                                        </a>
						</div>
                                            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/tuan", 'home_id' => $_smarty_tpl->tpl_vars['item']->value['id'], 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/tuan", 'home_id' => $_smarty_tpl->tpl_vars['item']->value['id'], 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

						<div class="host-title">                                                                      
							 <{$item.title|cutstr:22:""}>              
						</div>
						<div class="host-dis">
							报名立减<span><{$item.jieyue}></span>元
                                                        <a target="_blank" title="<{$item.title}>" href="<{link ctl='home:tuanDetail' arg0=$item.tuan_id}>"><input type="button" class="host-input" value="我要报名" />
                                                        </a></div>
                                            <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/tuan", 'home_id' => $_smarty_tpl->tpl_vars['item']->value['id'], 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                                             <?php 
    }
    function content_55d7f76dbdd5a1_76062709($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_modifier_cutstr')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
            <li>
              <p><a target="_blank" title="<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['title'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:tuanDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['tuan_id']), $_smarty_tpl);
        ?>
" ><?php 
        echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['mobile'], 4, '**');
        ?>
报名了
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/tuan", 'tuan_id' => $_smarty_tpl->tpl_vars['item']->value['tuan_id'], 'city_id' => $_smarty_tpl->tpl_vars['this']->value->request['city_id']));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/tuan", 'tuan_id' => $_smarty_tpl->tpl_vars['item']->value['tuan_id'], 'city_id' => $_smarty_tpl->tpl_vars['this']->value->request['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
“<{$item.title|cutstr:20:'**'}>”<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/tuan", 'tuan_id' => $_smarty_tpl->tpl_vars['item']->value['tuan_id'], 'city_id' => $_smarty_tpl->tpl_vars['this']->value->request['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</a></p>
           </li>
           <?php 
    }
    function content_55d7ea40439d22_44021695($_smarty_tpl)
    {
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
					<li>
                                             <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'company_id' => $_smarty_tpl->tpl_vars['item']->value['sign_company_id']));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'company_id' => $_smarty_tpl->tpl_vars['item']->value['sign_company_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

						<a class="help-left-image" href="<{link ctl='company' arg0=$item.company_id}>"><img src="<{$pager.img}>/<{$item.logo}>" width="110" height="50" /></a>
						<div class="help-con">
							<a href="<{link ctl='company' arg0=$item.company_id}>"><{$item.name|cutstr:20:""}></a>
                                                        <{calldata mdl="tenders/tenders" status=1 sign_company_id=$item.company_id  order="sign_time:desc" limit="1"}>
							<p><{$areaList[$item.area_id].area_name}>-<{$item.home_name|cutstr:14}></p>
							<p><{$item.name|cutstr:16}></p>
                                                        <{/calldata}>  
						</div>
                                                             
						<div class="clear"></div>
                                             <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'company_id' => $_smarty_tpl->tpl_vars['item']->value['sign_company_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
     
					</li>
                                    
                                    <?php 
    }
    function content_55d80cfcd3dc87_47643257($_smarty_tpl)
    {
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_modifier_format')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.format.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<link rel="stylesheet" type="text/css" href="/themes/default/static/style/mallstyle.css"/>
<link rel="stylesheet" type="text/css" href="/themes/default/static/style/base.css"/>
<!-- 主题部分开始 -->
<div class="index_b_bg hauto">   
    <div class="w1000 mall_main_t hauto mt10">
        <div class="mall_list_l lt">
            <!-- 左面分类开始   -->
            <div class="mall_main_t_l lt bgwhite"><?php 
        echo smarty_function_widget(array('id' => "shop/catenav", 'tpl' => "mall/block/catenav.html"), $_smarty_tpl);
        ?>
</div>
            <!-- //左面分类结束   -->           
            <!-- 左面热卖开始 -->
            <div class="mall_list_paihang hauto bgwhite">
                <h2>热卖排行<i></i></h2>
                <ul>
                <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "product/product", 'order' => "hot", 'limit' => "5"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "product/product", 'order' => "hot", 'limit' => "5"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                         <p>
                            <a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>"><img src="<{$pager.img}>/<{$item.photo}>_thumb.jpg" width="65" height="45"/></a>
                            <a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" class="product" title="<{$item.title}>"><{$item.title}></a>
                            <span class="cl block h10"></span>
                            <span>市场价&nbsp;:&nbsp;<del>¥<{$item.market_price}></del> </span>
                            <span>现价&nbsp;:&nbsp;<i>¥<{$item.price}></i></span>
                            <span class="h5"></span>
                        </p>
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "product/product", 'order' => "hot", 'limit' => "5"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
                                
                </ul>
            </div>
            <!-- //左面热卖结束 -->
        </div>  
        <!-- //左面结束 -->  
        <!-- 右面开始   -->  
        <div class="mall_list_r lt ml10">            
            <div class="mall_list_r_b bgwhite mt15">
            <style type="text/css">.mall_list_r_b_title a.on{background:#E63337;color:#FFF;}</style>
            <div class="mall_list_r_b_title">
                <h2 class="h10"></h2>
                <p><label>分类:</label>
                    <?php 
        $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['v']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['cate_list']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
            $_smarty_tpl->tpl_vars['v']->_loop = true;
            ?>
                    <?php 
            if (empty($_smarty_tpl->tpl_vars['v']->value['parent_id'])) {
                ?>
                    <a href="<?php 
                echo smarty_function_link(array('ctl' => 'mall/product:shop', 'arg0' => $_smarty_tpl->tpl_vars['v']->value['cat_id']), $_smarty_tpl);
                ?>
" <?php 
                if ($_smarty_tpl->tpl_vars['v']->value['cat_id'] == $_smarty_tpl->tpl_vars['pager']->value['cat_id']) {
                    ?>
class="on"<?php 
                }
                ?>
><?php 
                echo $_smarty_tpl->tpl_vars['v']->value['title'];
                ?>
</a>
                    <?php 
            }
            ?>
                    <?php 
        }
        ?>
                </p>
            </div>


                <div class="mall_list_shunxu">
                	<span class="span92 rt">共<i><?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['count'];
        ?>
个</i>商铺</span>
                    <ul class="ul2 rt">
                        <li class="li0"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'mall/product', 'arg0' => $_smarty_tpl->tpl_vars['pager']->value['cat_id']), $_smarty_tpl);
        ?>
"><span></span><i class="i1">商品</i></a></li>
                        <li class="li1"><span></span><i class="i1 red">商铺</i></li>
                    </ul>
                    
                </div>
                <!--商铺展示开始-->
                <div class="shangpu changeshangpu_2">
                    <ul>
                        <?php 
        $_smarty_tpl->tpl_vars['shop'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['shop']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['items']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['shop']->key => $_smarty_tpl->tpl_vars['shop']->value) {
            $_smarty_tpl->tpl_vars['shop']->_loop = true;
            ?>
                        <li>
                            <div class="shangpu_all hauto">
                                <div class="shangpu_l lt">
                                    <a href="<?php 
            echo smarty_function_link(array('ctl' => 'mall/shop', 'arg0' => $_smarty_tpl->tpl_vars['shop']->value['shop_id']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['shop']->value['logo'];
            ?>
" width="140" height="60"/></a>
                                    <p>所在地区:<?php 
            echo $_smarty_tpl->tpl_vars['shop']->value['city_name'];
            ?>
 - <?php 
            echo $_smarty_tpl->tpl_vars['shop']->value['area_name'];
            ?>
</p>
                                    <p>入驻时间:<?php 
            echo smarty_modifier_format($_smarty_tpl->tpl_vars['shop']->value['dateline'], "Y-m-d");
            ?>
</p>
                                </div>
                                <div class="shangpu_c lt">
                                    <p><a href="<?php 
            echo smarty_function_link(array('ctl' => 'mall/shop', 'arg0' => $_smarty_tpl->tpl_vars['shop']->value['shop_id']), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['shop']->value['title'];
            ?>
</a><?php 
            if ($_smarty_tpl->tpl_vars['member_list']->value[$_smarty_tpl->tpl_vars['shop']->value['uid']]['verify_name']) {
                ?>
<i class="rt">[已认证]</i><?php 
            }
            ?>
</p>
                                    <p>
                                        <i>评价&nbsp;:&nbsp;</i>
                                        <span><?php 
            if ($_smarty_tpl->tpl_vars['shop']->value['comments']) {
                echo round($_smarty_tpl->tpl_vars['shop']->value['score'] / $_smarty_tpl->tpl_vars['shop']->value['comments'], 2);
            } else {
                ?>
3.0<?php 
            }
            ?>
</span>
                                        <span><b score="score" data-score="<?php 
            if ($_smarty_tpl->tpl_vars['shop']->value['comments']) {
                echo round($_smarty_tpl->tpl_vars['shop']->value['score'] / $_smarty_tpl->tpl_vars['shop']->value['comments'], 2);
            } else {
                ?>
3<?php 
            }
            ?>
"></b></span>
                                    </p>
                                    <p>浏览&nbsp;:&nbsp;<i><?php 
            echo $_smarty_tpl->tpl_vars['shop']->value['views'];
            ?>
</i></p>
                                    <p>共有商品&nbsp;:&nbsp;<?php 
            echo $_smarty_tpl->tpl_vars['shop']->value['products'];
            ?>
件</p>
                                    <p class="join_in_shop"><a href="<?php 
            echo smarty_function_link(array('ctl' => 'mall/shop', 'arg0' => $_smarty_tpl->tpl_vars['shop']->value['shop_id']), $_smarty_tpl);
            ?>
">进入店铺</a></p>
                                </div>
                                <div class="shangpu_r lt">
                                    <ul>
                                        <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => 'product/product', 'shop_id' => $_smarty_tpl->tpl_vars['shop']->value['shop_id'], 'order' => "hot", 'limit' => "2"));
            $_block_repeat = true;
            echo smarty_block_calldata(array('mdl' => 'product/product', 'shop_id' => $_smarty_tpl->tpl_vars['shop']->value['shop_id'], 'order' => "hot", 'limit' => "2"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

                                        <li>
                                            <a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" target="_blank" title="<{$item.title}>"><img src="<{$pager.img}>/<{$item.photo}>_thumb.jpg" width="100" height="75"/></a>
                                            <p><a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" target="_blank" title="<{$item.title}>"><{$item.title}></a></p>
                                            <p>抢购价&nbsp;:&nbsp;<i>¥<{$item.price}></i></p>
                                        </li>
                                        <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_calldata(array('mdl' => 'product/product', 'shop_id' => $_smarty_tpl->tpl_vars['shop']->value['shop_id'], 'order' => "hot", 'limit' => "2"), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

                                    </ul>
                                </div>
                                <div class="cl"></div>
                                <div class="h20"></div>
                            </div>
                        </li>
                        <?php 
        }
        ?>
                    </ul>
                </div>
                <div class="h20"></div>
                <div class="page"><?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];
        ?>
</div>
                <!--商铺展示结束-->
            </div>
        </div>
        <!-- //右面结束 -->
    </div>           
    <div class="h30"></div>             
</div>
<!-- //主题部分结束 -->
<script type="text/javascript">
(function(K, $){
    $('b[score]').each(function(){$(this).raty({numberMax:5,readOnly: true,hints: ["差","还行","好","很好","非常好"],path:"<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['res'];
        ?>
/script/raty/img/",score: function() {return $(this).attr('data-score');}})});
})(window.KT, window.jQuery);
</script>
<?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_55d7f19bb697d1_99805245($_smarty_tpl)
    {
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_modifier_icon')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.icon.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<link rel="stylesheet" type="text/css" href="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/style/mallstyle.css?20140109"/> 
<link rel="stylesheet" type="text/css" href="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/style/base.css?20140109"/> 
<link rel="stylesheet" type="text/css" href="/themes/cheerful_green/static/style/mallstyle.css"/>
<link rel="stylesheet" type="text/css" href="/themes/cheerful_green/static/style/base.css"/>
<!-- 主题部分开始 -->
<div class="index_b_bg hauto">   
    <div class="w1000 mall_main_t hauto mt10">
        <div class="mall_list_l lt">
            <!-- 左面分类开始   -->
            <div class="mall_main_t_l lt bgwhite"><?php 
        echo smarty_function_widget(array('id' => "shop/catenav", 'tpl' => "mall/block/catenav.html"), $_smarty_tpl);
        ?>
</div>
            <!-- //左面分类结束   -->
           
            <!-- 左面热卖开始 -->
            <div class="mall_list_paihang hauto bgwhite">
                <h2>热卖排行<i></i></h2>
                <ul>
                <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "product/product", 'city' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "hot", 'limit' => "5"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "product/product", 'city' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "hot", 'limit' => "5"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                         <p>
                            <a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>"><img src="<{$pager.img}>/<{$item.photo}>_thumb.jpg" width="65" height="45"/></a>
                            <a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" class="product" title="<{$item.title}>"><{$item.title}></a>
                            <span class="cl block h10"></span>
                            <span>市场价&nbsp;:&nbsp;<del>¥<{$item.market_price}></del> </span>
                            <span>现价&nbsp;:&nbsp;<i>¥<{$item.price}></i></span>
                            <span class="h5"></span>
                        </p>
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "product/product", 'city' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "hot", 'limit' => "5"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
                                
                </ul>
            </div>
            <!-- //左面热卖结束 -->
        </div>  
        <!-- //左面结束 -->  
        <!-- 右面开始   -->  
        <div class="mall_list_r lt ml10">
            <div class="mall_list_r_b bgwhite">
                <!--商品展示开始-->
				<?php 
        echo smarty_function_widget(array('id' => "product/filter", 'cat_id' => $_smarty_tpl->tpl_vars['pager']->value['cat_id'], 'brand_id' => $_smarty_tpl->tpl_vars['pager']->value['brand_id'], 'attr_values' => $_smarty_tpl->tpl_vars['pager']->value['attr_values'], 'order' => $_smarty_tpl->tpl_vars['pager']->value['order'], 'tpl' => "mall/product/filter.html"), $_smarty_tpl);
        ?>

                <div class="mall_list_shunxu">
                    <span class="span91 lt">排序&nbsp;:&nbsp;</span>
                    <ul class="ul1 lt">
                        <li class="li0">
							<?php 
        if (empty($_smarty_tpl->tpl_vars['pager']->value['order'])) {
            ?>
							<i class="i1 red">默认</i>
							<?php 
        } else {
            ?>
<i class="i1 red">
							<a href="<?php 
            echo smarty_function_link(array('ctl' => 'mall/product', 'arg0' => $_smarty_tpl->tpl_vars['pager']->value['cat_id'], 'arg1' => $_smarty_tpl->tpl_vars['pager']->value['brand_id'], 'arg2' => $_smarty_tpl->tpl_vars['pager']->value['attr_ids'], 'arg3' => 0, 'arg4' => 1), $_smarty_tpl);
            ?>
">默认</i><?php 
        }
        ?>
							<span></span>
							</li>
                        <li class="li1">
							<?php 
        if ($_smarty_tpl->tpl_vars['pager']->value['order'] == 1) {
            ?>
							<i class="i1 red">销量</i>
							<?php 
        } else {
            ?>
<i class="i1 red">
							<a href="<?php 
            echo smarty_function_link(array('ctl' => 'mall/product', 'arg0' => $_smarty_tpl->tpl_vars['pager']->value['cat_id'], 'arg1' => $_smarty_tpl->tpl_vars['pager']->value['brand_id'], 'arg2' => $_smarty_tpl->tpl_vars['pager']->value['attr_ids'], 'arg3' => 1, 'arg4' => 1), $_smarty_tpl);
            ?>
">销量</i><?php 
        }
        ?>
	<span></span>
						</li>
                        <li class="li2">
							<?php 
        if ($_smarty_tpl->tpl_vars['pager']->value['order'] == 2) {
            ?>
							<i class="i1 red">价格</i>
							<?php 
        } else {
            ?>
<i class="i1 red">
							<a href="<?php 
            echo smarty_function_link(array('ctl' => 'mall/product', 'arg0' => $_smarty_tpl->tpl_vars['pager']->value['cat_id'], 'arg1' => $_smarty_tpl->tpl_vars['pager']->value['brand_id'], 'arg2' => $_smarty_tpl->tpl_vars['pager']->value['attr_ids'], 'arg3' => 2, 'arg4' => 1), $_smarty_tpl);
            ?>
">价格</i><?php 
        }
        ?>
	<span></span>						
						</li>
                    </ul>
                    <ul class="ul2 lt">
                        <li class="li0"><span></span><i class="i1 red">商品</i></li>
                        <li class="li1"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'mall/product:shop', 'arg0' => $_smarty_tpl->tpl_vars['pager']->value['cat_id']), $_smarty_tpl);
        ?>
"><span></span><i class="i1">商铺</i></a></li>
                    </ul>
                    <span class="span92 lt">共<i><?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['count'];
        ?>
件</i>商品</span>
                </div>
                <div class="mall_list_show hauto bgwhite mall_list_show_1" id="paixu">
                    <div class="mall_basic_jcjc_b mb20 bgwhite">
                        <ul>
                            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['items']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item']->iteration = 0;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['item']->iteration++;
            ?>
                            <li <?php 
            if ($_smarty_tpl->tpl_vars['item']->iteration % 4 == 0) {
                ?>
style="border-right:none;"<?php 
            }
            ?>
>
                                <div class="divhover">
                                    <a href="<?php 
            echo smarty_function_link(array('ctl' => 'mall/product:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['product_id']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['photo'];
            ?>
_thumb.jpg" width="150" height="100" /></a>
                                    <p><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
</p>
                                    <p><del>¥<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['market_price'];
            ?>
</del><b>¥<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['price'];
            ?>
</b></p>
                                    <?php 
            echo smarty_modifier_icon($_smarty_tpl->tpl_vars['item']->value['content'], "product");
            ?>

                                    <p class="p61">
                                        <a href="<?php 
            echo smarty_function_link(array('ctl' => 'mall/shop', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['shop_id']), $_smarty_tpl);
            ?>
" class="a43"><?php 
            echo $_smarty_tpl->tpl_vars['shop_list']->value[$_smarty_tpl->tpl_vars['item']->value['shop_id']]['title'];
            ?>
</a>
                                        <a href="<?php 
            echo smarty_function_link(array('ctl' => 'mall/shop', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['shop_id']), $_smarty_tpl);
            ?>
" class="a44">查看详情</a>
                                    </p>
                                </div>
                            </li>
                            <?php 
        }
        ?>
                        </ul>
                        <div class="h20 cl"></div>
                    </div>
                </div>
                <div class="page"><?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];
        ?>
</div>
                <div class="h20"></div>
                <!-- //商品展示结束 -->
            </div>
        </div>
        <!-- //右面结束 -->
    </div>           
    <div class="h30"></div>             
</div>
<!-- //主题部分结束 -->
<?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_55d7ef1a1f72d5_30959571($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_modifier_cutstr')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
                    <div class="decoration_designer_l lt bgwhite mt10">
                        <div class="decoration_designer_l_l lt">
                            <div class="designer_name lt">
                                <a target="_blank" href="<?php 
        echo smarty_function_link(array('ctl' => 'blog', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['uid']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['realname'];
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['img'];
        ?>
/<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['face'];
        ?>
" width="100" height="100" /></a><br />
                                <p>设计师:<b><a target="_blank" href="<?php 
        echo smarty_function_link(array('ctl' => 'blog', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['uid']), $_smarty_tpl);
        ?>
"  title="<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['realname'];
        ?>
"><?php 
        echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['realname'], 8, '');
        ?>
</a></b></p>
                                <p class="consult pinkbg"><a target="_blank" href="<?php 
        echo smarty_function_link(array('ctl' => 'blog', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['uid']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['realname'];
        ?>
">我要咨询</a></p>
                            </div>
                            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "case/case", 'designer_id' => $_smarty_tpl->tpl_vars['item']->value['uid'], 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "case/case", 'designer_id' => $_smarty_tpl->tpl_vars['item']->value['uid'], 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                            <div class="design_idea lt">
                                <p><font class="black"><b>[设计理念]</b></font>:<{$item.intro|cutstr:25:''}></p>
                                <{foreach $item.ext.photos as $photo}>
                                <p class="case_p lt">
                                    <a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"  title="<{$photo.title}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="120" height="95" /></a>
                                    <span></span>
                                    <span class="text1"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"  title="<{$photo.title}>"><{$photo.title}></a></span>
                                </p>
                                <{if $photo@index>0}><{break}><{/if}>
                                <{/foreach}>
                                <div class="cl"></div>
                                <p class="simple mt10"><{foreach $item.ext.attrs as $k=>$v}><span class="simple_style lt"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"  title="<{$photo.title}>"  target="_blank"><{$v}></a></span><{/foreach}></p>
                            </div>
                            <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "case/case", 'designer_id' => $_smarty_tpl->tpl_vars['item']->value['uid'], 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                        </div>     
                    </div>
                    <?php 
    }
    function content_55d806c4a9f940_09305206($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!--          主题部分开始       -->
<div class="index_b_bg hauto">
    <!--         你所在的位置开始             -->
    <div class="w1000 mt15 bgwhite ask_list_weizhi">
        <span class="span11 icobg block_lt"></span>
        <span class="block_lt">您当前所在的位置:</span>
        <a title="<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'index'), $_smarty_tpl);
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a>
        <span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'ask'), $_smarty_tpl);
        ?>
" class="block_lt">问答</a>
        <span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'ask:items'), $_smarty_tpl);
        ?>
" class="block_lt">问答列表</a>
        <span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'ask:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['ask_id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['title'];
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['title'];
        ?>
</a>
    </div>
    <div class="cl"></div>
    <!--        你所在的位置结束      -->
    <!--        位置结束下开始       -->
    <div class="ask_detail_main w1000 mt15 hauto">
        <!--        位置结束左面下开始       -->
        <div class="ask_detail_main_l hauto mt5 lt">
            <div class="ask_detail_main_l_t bgwhite hauto">
                <div class="ask_detail_main_l_t_son hauto ">
                    <p class="p10">
                        <span class="block_lt icobg span18"></span>
                        <span class="block_lt span19"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['title'];
        ?>
</span>
                    </p>
                    <div class="cl"></div>
                    <p class="p11 mt10">
                        <span class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['member_list']->value[$_smarty_tpl->tpl_vars['detail']->value['uid']]['uname'];
        ?>
&nbsp;|&nbsp;分类:<?php 
        echo $_smarty_tpl->tpl_vars['cate_list']->value[$_smarty_tpl->tpl_vars['detail']->value['cat_id']]['title'];
        ?>
&nbsp;|&nbsp;浏览<font class="f12"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['views'];
        ?>
</font>次</span>
                        <span class="rt"><?php 
        echo date('Y-m-d', $_smarty_tpl->tpl_vars['detail']->value['dateline']);
        ?>
</span>
                    </p>
                    <div class="cl"></div>
                    <?php 
        if (!empty($_smarty_tpl->tpl_vars['detail']->value['intro'])) {
            ?>
                    <p class="p14 mt10 f14">
                        <?php 
            echo $_smarty_tpl->tpl_vars['detail']->value['intro'];
            ?>
 
                    </p>
                    <?php 
        }
        ?>
                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['supply']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['index'] = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['index']++;
            ?>
                    <div  class="weicana">
                        <p class="p20 mt20">
                            <span class="block"><font>补充<?php 
            echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['index'] + 1;
            ?>
</font></span>
                        </p>
                        <p class="p14 mt10 f14">
                            <?php 
            echo $_smarty_tpl->tpl_vars['item']->value['contents'];
            ?>
 
                        </p>
                    </div>
                    <?php 
        }
        ?>

                    <?php 
        if ($_smarty_tpl->tpl_vars['detail']->value['uid'] == $_smarty_tpl->tpl_vars['MEMBER']->value['uid'] && empty($_smarty_tpl->tpl_vars['detail']->value['answer_id'])) {
            ?>
                    <p class="p12 mt20" >
                        <span class="rt span21"><a  class='show_hide' rel='ask_supply' href="javascript:void(0);">我要补充</a></span>
                    </p>
                    <?php 
        }
        ?>
                    <script>
                        $(document).ready(function(e) {
                            $(".show_hide").click(function() {
                                $("#" + $(this).attr('rel')).show(300);
                            });
                        });
                    </script>
                    <div id='ask_supply' class="weicana none">
                        <p class="p20 mt20">
                            <span class="block"><font>补充我的问题</font></span>
                        </p>
                        <form  mini-form="ask"  method="post"  action="<?php 
        echo smarty_function_link(array('ctl' => 'ask:supply', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['ask_id']), $_smarty_tpl);
        ?>
">
                            <textarea  name="content"></textarea>
                            <span class="block rt mt15 mr10">
                                <input type="submit" value=" 我要补充 " />
                            </span>
                        </form>

                    </div>
                </div>
            </div>
            <div class="ask_detail_main_l_t bgwhite hauto mt20">
                <div class="ask_detail_main_l_t_son hauto">
                    <?php 
        if ($_smarty_tpl->tpl_vars['detail']->value['answer_id']) {
            ?>
                    <div class="caina ">
                        <!--当问题被采纳的时候会显示出这样的页面-->
                        <p class="p13">
                            <span class="block_lt span22 icobg"></span>
                            <span class="block_lt mt15"><font class="f16 black ftw">网友采纳</font></span>
                            <span class="rt mt15"><font class="f12"><?php 
            echo date('Y-m-d', $_smarty_tpl->tpl_vars['answer']->value['dateline']);
            ?>
</font></span>
                        </p>
                        <div class="cl"></div>
                        <p class="p14 mt10 f14">
                            <?php 
            echo $_smarty_tpl->tpl_vars['answer']->value['contents'];
            ?>

                        </p>
                        <p class="p15 mt20">
                            <span class="block_lt"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['member_list']->value[$_smarty_tpl->tpl_vars['answer']->value['uid']]['face_80'];
            ?>
" width="29" height="29" /></span>
                            <span class="block_lt ml20">
                                <?php 
            echo $_smarty_tpl->tpl_vars['member_list']->value[$_smarty_tpl->tpl_vars['answer']->value['uid']]['uname'];
            ?>

                            </span>  
                        </p>
                        <!-- 当问题被采纳的时候会显示出这样的页面--->
                    </div>
                    <div class="cl"></div>
                    <!--当问题未被采纳的时候会显示出这样的页面-->
                    <?php 
        }
        ?>
   
                     <?php 
        if (!$_smarty_tpl->tpl_vars['detail']->value['answer_id']) {
            ?>
                    <div class="weicana">
                        <p class="p20 mt20">
                            <span class="block"><font>我来帮他解答</font></span>
                        </p>
                        <form  mini-form="ask"  method="post" action="<?php 
            echo smarty_function_link(array('ctl' => 'ask:answer', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['ask_id']), $_smarty_tpl);
            ?>
">
                            <textarea name='contents'></textarea>
                            <span class="block rt mt15 mr10">
                                <input type="submit" value=" 我要回答 " />
                            </span>
                        </form>

                    </div>
                     <?php 
        }
        ?>
                    <!--当问题未被采纳的时候会显示出这样的页面-->
                    <div class="cl"></div>
                    <p class="p16 mt20"><font>其他热门问题</font></p>
                    <ul class="simple_question">
                        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "ask/ask", 'order' => "views:desc", 'item' => 'item', 'limit' => "5"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "ask/ask", 'order' => "views:desc", 'item' => 'item', 'limit' => "5"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                        <li><a title="<{$item.title}>" href="<{link ctl='ask:detail' arg0=$item.ask_id}>"><{$item.title}></a><span class="rt"><{date('Y-m-d',$item.dateline)}></span></li>
                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "ask/ask", 'order' => "views:desc", 'item' => 'item', 'limit' => "5"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                    </ul>

                </div>
            </div>
            <div class="ask_detail_main_l_t bgwhite hauto mt20">
                <div class="ask_detail_main_l_t_son hauto">
                    <p class="p18">
                        <span class="block_lt span19">其他<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['pager']->value['count']) === null || $tmp === '' ? '0' : $tmp;
        ?>
条回答</span>
                    </p>
                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['answers']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>

                    <div class=" mt10">
                        <span class="block_lt">
                            <img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['member_list']->value[$_smarty_tpl->tpl_vars['item']->value['uid']]['face_80'];
            ?>
" width="29" height="29">
                            <?php 
            echo $_smarty_tpl->tpl_vars['member_list']->value[$_smarty_tpl->tpl_vars['item']->value['uid']]['uname'];
            ?>

                        </span>
                        <span class="rt"><font class="f12"><?php 
            echo date('Y-m-d', $_smarty_tpl->tpl_vars['item']->value['dateline']);
            ?>
</font>   <?php 
            if ($_smarty_tpl->tpl_vars['detail']->value['uid'] == $_smarty_tpl->tpl_vars['MEMBER']->value['uid'] && empty($_smarty_tpl->tpl_vars['detail']->value['answer_id'])) {
                ?>
<a mini-act='最佳答案' href="<?php 
                echo smarty_function_link(array('ctl' => 'ask:yes', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['answer_id']), $_smarty_tpl);
                ?>
">设为最佳答案</a><?php 
            }
            ?>
</span>       
                    </div>

                    <div class="cl"></div>
                    <div style="width:700px; padding: 20px;">
                        <?php 
            echo $_smarty_tpl->tpl_vars['item']->value['contents'];
            ?>

                    </div>

                    <div class="cl"></div>

                    <?php 
        }
        ?>


                </div>
            </div>
        </div>
        <!--        位置结束左面下结束       -->

        <!--        位置结束右面下开始       -->
        <div class="ask_detail_main_r hauto mt5 lt ml20">

            <div class="ask_search_r lt mb20">
                <p>
                    <span class="block_lt wenhao icobg"></span>
                    <span class="block_lt">
                        <font class="f20 ftw blackb">让每个疑问都有</font><br />
                        <font class="f24 ftw red"><i>解答!</i></font>
                    </span>
                </p>
                <div class="cl"></div>
                <a href="<?php 
        echo smarty_function_link(array('ctl' => 'ask:items', 'arg0' => 0, 'arg1' => 2), $_smarty_tpl);
        ?>
" class="a3 a5">我要回答</a>
                <a href="<?php 
        echo smarty_function_link(array('ctl' => 'ask:make'), $_smarty_tpl);
        ?>
" class="a4 a5">我要提问</a>
            </div>
            <?php 
        echo $_smarty_tpl->getSubTemplate('block/ask_right.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

        </div>
    </div>
    <div class="cl h20"></div>
</div>


<?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
  <?php 
    }
    function content_55d7ea2b90c7c8_56588164($_smarty_tpl)
    {
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        ?>
<!--<div class="footer_b w1000 mt10">
    <p>
        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <a target="_blank" title="<{$item.title}>" href="<{link ctl='about' arg0=$item.page}>">
        <font style="font-size:13pt;"><{$item.title}></font></a>
        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
    
    </p>    
    <p> Copyright © 2014 <a href="<?php 
        echo smarty_function_link(array('ctl' => 'index'), $_smarty_tpl);
        ?>
" target="_blank">亿家网</a>, All rights reserved. ICP备案:<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['icp'];
        ?>
 技术支持:<a href="http://www.ejiawang.cc" target="_blank">www.ejiawang.cc</a></p>
    <ul class="w400 mt30 mb30">
        <li><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/wj.jpg" width="50" height="50" /><br />网警110</li>
        <li><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/gs.jpg" width="50" height="50" /><br /><?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        ?>
工商</li>
        <li><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/xh.jpg" width="50" height="50" /><br />网络协会</li>
        <li><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/hb.jpg" width="50" height="50" /><br />ICP备</li>
    </ul>
</div>-->

<div id="footer">
	<div class="footer">
		<div class="lt footer-logo">
			<img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/images/footer-logo.png" width="265" height="155" />
		</div>
		<div class="rt copy">
			<ul>
                             <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

       <li><a target="_blank" title="<{$item.title}>" href="<{link ctl='about' arg0=$item.page}>">
				<{$item.title}></a></li>
                             <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

				<div class="cl"></div>
			</ul>
                    <p style="color:#666">Copyright © 2014 亿家网, All rights reserved. ICP备案:鄂ICP备14004834号-1 </p>
			<p style="color:#666">技术支持:www.ejiawang.cc 
                            <!--<a mini-load='申请免费量房' href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:yuyue2', 'arg0' => '1', 'http' => 'empty'), $_smarty_tpl);
        ?>
" >免费预约</a>-->
                        
                        </p>
			<img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/images/icon.png" />
		</div>
		<div class="cl"></div>
	</div>
</div>



<script type="text/javascript"  src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['res'];
        ?>
/script/jquery.kinMaxShow.js"></script>
<script type="text/javascript">
(function(K, $){
$("[kinBox]").each(function(){
    var params = $.parseJSON($(this).attr("kinBox") || "{}") || {};
    if(!$(this).attr("id")){$(this).attr("id") = K.GGUID();}
    $("#"+$(this).attr('id')).kinMaxShow($.extend({intervalTime:4}, params));
});
})(window.KT, window.jQuery);
</script>
<div style="display:none;"><?php 
        ob_start();
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['tongji'];
        $_tmp1 = ob_get_clean();
        echo $_tmp1;
        ?>
</div><?php 
    }
    function content_55d7ebc25a5291_16704652($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
 <?php 
        echo $_smarty_tpl->getSubTemplate("block/newhead.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
    
<!-- header 完 -->
<div class="kouhao" style="margin-top: 0px">
	<p><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/images/kouhao.jpg"></p>
</div>
<div id="bidding">
	<div class="bi-main" style="padding-top: 0px">
		<div class="bi-left">
			<img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/images/baojia2.jpg" />
			<!-- <p class="bi-title">免费发布招标!选择优质服务!</p>
			<ul>
				<li><img src="images/kou.png"><span><p>营业执照认证</p><p>办公场地实地认证</p><p>工程质量保障金-24小时先行赔付计划</p></span></li>
				<li><img src="images/design.png"><span><p>专业设计师免费测量全房尺寸,合理规划空间</p><p>免费出3套设计方案对比,直至满意为止</p><p>亿家网设计联盟专业点评,规避隐患</p></span></li>
				<li><img src="images/moneys.png"><span><p>精准需求,业主预算内报价</p><p>三家公司同时报价PK,有效挤掉报价水分</p><p>亿家网工程部帮助审核报价</p></span></li>
				<li><img src="images/se.png"><span><p>在线工地管理系统,实时监管 </p><p>百万工程质量保障金,随时候命</p><p>第三方监理多节点免费验收服务</p></span></li>
				<div class="clear"></div>
			</ul> -->
		</div>
		<div class="bi-right">
			<form  method="post" action="<?php 
        echo smarty_function_link(array('ctl' => 'tenders:save', 'http' => 'empty'), $_smarty_tpl);
        ?>
" class="bi-form">
				<!-- 获取城市来源-->
                                           <input type="hidden" value="<?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        ?>
" name="data[cityName]" />
                                           <!-- 判断短信类型 1 为 免费量房、免费设计和报价-->
                                           <input type="hidden" value="1" name="data[leiyuang]" />
                            <input type="hidden" id='tenders_type_id' name='data[type_id]' value="1" />
				<p class="tit"><b>我要招标</b><span>目前已帮助<font>23789</font> 户业主</span></p>
				<ul>
					<ol><label>我的称呼:</label><input type="text"id="input-name6" class="bi-input" name="data[name]" /></ol>
					<ol><label>联系电话:</label><input type="text"id="input-mobile6" class="bi-input" name="data[mobile]" /></ol>
					<ol><label>招标类型:</label>
						<div id="divselect1" class="bi-selected">
                                                    <select name="data[type_id]" style="width:96px;height:30px" >
                                                       <option value="0">请选择</option>           
                                                  <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['type']];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                                                       <option  value="<?php 
            echo $_smarty_tpl->tpl_vars['key']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</option>
                                                   <?php 
        }
        ?>
                                                     </select>
						<!--	<cite>请选择</cite>
							<ul>
								<li><a href="javascript:;" selectid="家庭装修">家庭装修</a></li>
								<li><a href="javascript:;" selectid="办公装修">办公装修</a></li>
								<li><a href="javascript:;" selectid="酒店装修">酒店装修</a></li>
								<li><a href="javascript:;" selectid="酒吧KTV">酒吧KTV</a></li>
								<li><a href="javascript:;" selectid="店铺装修">店铺装修</a></li>
								<li><a href="javascript:;" selectid="旧房改造">旧房改造</a></li>
							</ul>-->
						</div>
						
					</ol>
					<ol><label>装修预算:</label>
						<div id="divselect2" class="bi-selected">
							<select name="data[budget_id]"  style="width:96px;height:30px">
                                                          <option value="0">请选择</option>                      
                                                  <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['budget']];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                                                          <option <?php 
            if ($_smarty_tpl->tpl_vars['detail']->value['budget_id'] == $_smarty_tpl->tpl_vars['key']->value) {
                ?>
 selected="selected" <?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['key']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</option>
                                                 <?php 
        }
        ?>
                                                        </select>
						</div>
						
					</ol>
					<ol><label>装修面积:</label><input type="text" class="bi-input" name="data[area]" /></ol>
					<ol><label>小区名称:</label><input type="text" class="bi-input" name="data[home_name]" /></ol>
					<ol><label>所在地址:</label>
						<div id="divselect3" class="bi-selected">
                                                    <select name="data[city_id]" style="width:96px;height:30px">
                                                       <?php 
        echo smarty_function_widget(array('id' => "data/city", 'value' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_smarty_tpl);
        ?>

                                                    </select>
							
						</div>
						
					</ol>
					<ol><label>所在城区:</label>
						<div id="divselect4" class="bi-selected">
							<select name="data[area_id]" style="width:96px;height:30px">
                                                           <?php 
        echo smarty_function_widget(array('id' => "data/area", 'value' => 0, 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_smarty_tpl);
        ?>

                                                        </select> 
						</div>
						
					</ol>
					<div class="clear"></div>
				</ul>
				<div class="bi-textarea">
					<label>备注信息:</label><textarea name="data[demand]" class="bi-area"></textarea>
					<div class="clear"></div>
				</div>
				<div class="bi-submit">
					<input type="submit" id="submit-list6"value="免费发布招标" />
					<p>或拨打<span><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['phone'];
        ?>
</span></p>
				</div>
				<div class="bi-bottom-con">
					*为了你的利益及我们的口碑,你的隐私将被严格保密。
				</div>
				<div class="bi-scroll">
					<div id="Marquee">
						<div class="bi-con">
							 Alan说:用亿家网搞装修是要比自己搞轻松很多… 
						</div>
						<div class="bi-con">
							江城阿婆说:亿家网的模式确实给我们业主带来方便.
						</div>
						<div class="bi-con">
							21332说:第一次体验装修网,服务很贴心
						</div>
                                               <div class="bi-con">
							小时候说:感谢亿家网给我推荐的公司,很满意
						</div>
                                                <div class="bi-con">
							小欣欣说:亿家网的保障服务的确解了我的后顾之忧
						</div>
					</div>
				</div>
			</form>
			<div class="clear"></div>
			
		</div>
		<div class="clear"></div>
	</div>
	<!-- <div class="bi-free">
		<div class="bi-free-1200">
			<div class="bi-free-left">
				<img src="images/free1.jpg" />
			</div>
		 <div class="bi-free-right">
			 <div id="Marquee">
					<div class="bi-con">
						亿家网装修平台是最好、最值得信任、最让人省心的专业装修招标网站!!! 
					</div>
					<div class="bi-con">
						业主黄先生说:亿家网帮我我放心业主黄先生说:亿家网帮我我放心
					</div>
					<div class="bi-con">
						业主赵女士说:亿家网上的服务很满意,下次会介绍朋友也来申请
					</div>
				</div> 
			</div>
		</div>
	</div> -->
	<!-- 业主最新发布招标 -->
	<div class="zhao">
		<div class="new-title">
			业主最新发布招标
			<a href="">我要发布招标<i class="fa fa-angle-double-right"></i></a>
		</div>
		<div class="zhao-con">
			<ul class="zhao-con-tit">
				<li>发布时间</li>
				<li>业主</li>
				<li>面积</li>
				<li>标情况</li>
				<li>预算</li>
			</ul>
			<div class="scrollbox">
				<ul id="toplist">
                                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "tenders/tenders", 'limit' => "30", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'limit' => "30", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

					<li>
						<a href="<{link ctl='tenders:detail' arg0=$item.id}>" target="_blank"><{$item.dateline|format:'m-d'}></a>
						<a href="<{link ctl='tenders:detail' arg0=$item.id}>" target="_blank"><{$item.name|cutstr:3:'**'}></a>
						<a href="<{link ctl='tenders:detail' arg0=$item.id}>" target="_blank"><{$item.area}>㎡</a>
						<a target='_blank' title="<{$item.title}>" href="<{link ctl='tenders:detail' arg0=$item.id}>" class="red"><{$item.title}></a>
						<a href="<{link ctl='tenders:detail' arg0=$item.id}>" target="_blank"><{$item.budget_title}></a>
						<div class="clear"></div>
					</li>
                                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'limit' => "30", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					
					
				</ul>
			</div>
		</div>
	</div>
	<!-- 公司推荐-->
	<div class="company-brand">
		<ul class="brand-ol">
			<ol class="cur">推荐装修公司</ol>
			<ol>品牌保障公司</ol>
			<ol>口碑装修公司</ol>
			<ol>签单排行公司</ol>
		</ul>
		<ul class="brand-con" style="display:block">
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "orderby:DESC", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "orderby:DESC", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

			<li>
				<img alt="<{$item.name}>" src="<{$pager.img}>/<{$item.logo}>" width="150" height="70" />
				<div class="brand-wz">
					<div class="brand-title"><{$item.sort_name}></div>
					<p>设计方案<span><{$item.case_num}></span>套</p>
					<a mini-load='申请免费量房' href="<{link ctl='gs:yuyue2'  arg0=$item.company_id http='empty'}>" >免费设计</a>
				</div>
			</li>
                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "orderby:DESC", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

			
			
		
			<div class="clear"></div>
		</ul>
		<ul class="brand-con">
			 <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "security:DESC", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "security:DESC", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

			<li>
				<img alt="<{$item.name}>" src="<{$pager.img}>/<{$item.logo}>" width="150" height="70" />
				<div class="brand-wz">
					<div class="brand-title"><{$item.sort_name}></div>
					<p>设计方案<span><{$item.case_num}></span>套</p>
					<a mini-load='申请免费量房' href="<{link ctl='gs:yuyue2'  arg0=$item.company_id http='empty'}>" >免费设计</a>
				</div>
			</li>
                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "security:DESC", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

			<div class="clear"></div>
		</ul>
		<ul class="brand-con">
			 <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "scores:DESC", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "scores:DESC", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

			<li>
				<img alt="<{$item.name}>" src="<{$pager.img}>/<{$item.logo}>" width="150" height="70" />
				<div class="brand-wz">
					<div class="brand-title"><{$item.sort_name}></div>
					<p>设计方案<span><{$item.case_num}></span>套</p>
					<a mini-load='申请免费量房' href="<{link ctl='gs:yuyue2'  arg0=$item.company_id http='empty'}>" >免费设计</a>
				</div>
			</li>
                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "scores:DESC", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

			<div class="clear"></div>
		</ul>
		<ul class="brand-con">
			 <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "tenders_num:DESC", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "tenders_num:DESC", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

			<li>
				<img alt="<{$item.name}>" src="<{$pager.img}>/<{$item.logo}>" width="150" height="70" />
				<div class="brand-wz">
					<div class="brand-title"><{$item.sort_name}></div>
					<p>设计方案<span><{$item.case_num}></span>套</p>
					<a mini-load='申请免费量房' href="<{link ctl='gs:yuyue2'  arg0=$item.company_id http='empty'}>" >免费设计</a>
				</div>
			</li>
                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "tenders_num:DESC", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

			<div class="clear"></div>
		</ul>
	</div>
</div>
<div id="footer">
	<div class="footer">
		<div class="left footer-logo">
			<img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/images/footer-logo.png" width="265" height="155" />
		</div>
		<div class="right copy">
			<ul>
		           <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                  <li> <a target="_blank" title="<{$item.title}>" href="<{link ctl='about' arg0=$item.page}>">
				      <{$item.title}></a></li>
                           <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

				<div class="clear"></div>
			</ul>
			<p>Copyright © 2014 亿家网, All rights reserved. ICP备案:鄂ICP备14004834号-1 </p>
			<p>技术支持:www.ejiawang.cc</p>
			<img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/images/icon.png" />
		</div>
		<div class="clear"></div>
	</div>
</div>
<script type="text/javascript">
$(function(){ 
	show('.brand-ol ol','.brand-con','mouseover');
	$.divselect("#divselect1","#type");
	$.divselect("#divselect2","#money");
	$.divselect("#divselect3","#address");
	$.divselect("#divselect4","#district");
	var scrtime;
	$(".scrollbox").hover(function(){
		clearInterval(scrtime);
	},function(){
		scrtime = setInterval(function(){
			var $ul = $("#toplist");
			var liHeight = $ul.find("li:last").height();
			$ul.animate({marginTop : -liHeight + "px"},1000,function(){
			
			$ul.find("li:first").appendTo($ul)
			$ul.find("li:first").hide();
			$ul.css({marginTop:0});
			$ul.find("li:last").fadeIn(1000);
			});
		},1000);
	}).trigger("mouseleave");
})


// $(function(){ 
// 	show('.brand-ol ol','.brand-con','mouseover');
// 	$.divselect("#divselect1","#type");
// 	$.divselect("#divselect2","#money");
// 	$.divselect("#divselect3","#address");
// 	$.divselect("#divselect4","#district");
// 	var scrtime;
// 	$(".scrollbox").hover(function(){
// 		clearInterval(scrtime);
// 	},function(){
// 		scrtime = setInterval(function(){
// 			var $ul = $("#toplist");
// 			var liHeight = $ul.find("li:last").height();
// 			$ul.animate({marginTop : liHeight + "px"},1000,function(){
			
// 			$ul.find("li:last").prependTo($ul)
// 			$ul.find("li:first").hide();
// 			$ul.css({marginTop:0});
// 			$ul.find("li:first").fadeIn(1000);
// 			});
// 		},2000);
// 	}).trigger("mouseleave");
// })


</script>
<script>
$(function(){
	var $this = $(".bi-scroll");
	var scrollTimer;
	$this.hover(function(){
		clearInterval(scrollTimer);
	},function(){
		scrollTimer = setInterval(function(){
			scrollNews( $this );
		}, 2000 );
	}).trigger("mouseout");
});
function scrollNews(obj){
	var $self = obj.find("#Marquee:first");
	var lineHeight = $self.find("div:first").height();
	$self.animate({ "margin-top" : -lineHeight +"px" },600 , function(){
		$self.css({"margin-top":"0px"}).find("div:first").appendTo($self);
	})
} 
</script>
<script>
               $(document).ready(function(){
                    $("#submit-list6").click(function(){                    
                       if($("#input-name6").val()==""){
                         alert("请填入您的姓名");
                         return false;
                         }
                         if($("#input-mobile6").val()==""){
                         alert("请填入您的电话");
                         return false;
                         }
                          var reg = /^1[3|4|5|8|7][0-9]\d{8}$/;
                           if(!reg.test($.trim( $("#input-mobile6").val() )))
                           {
                            alert("手机号码格式不对,请输入11位正确号码!");
                            return false;
                           }
                        });
               })
        </script>
<div style="display:none;"><?php 
        ob_start();
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['tongji'];
        $_tmp1 = ob_get_clean();
        echo $_tmp1;
        ?>
</div>
</body>
</html><?php 
    }
    function content_55d7ea34197664_05908306($_smarty_tpl)
    {
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
            <div class="line1">
            </div>
            <div class="footer_b w1000 mt30">
                <p>
 <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

 <a target="_blank" title="<{$item.title}>" href="<{link ctl='about' arg0=$item.page}>"><{$item.title}></a>
        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
                </p>
                  <p> Copyright © 2014 <a href="http://www.ejiawang.cc" target="_blank">亿家网</a>, All rights reserved. ICP备案:<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['icp'];
        ?>
 <a href="http://www.ejiawang.cc" target="_blank">装修平台</a>技术支持:<a href="http://www.ejiawang.cc" target="_blank">www.ejiawang.cc</a></p>
    <ul class="w400 mt30 mb30">
        <li><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/wj.jpg" width="50" height="50" /><br />网警110
        </li>
        <li><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/gs.jpg" width="50" height="50" /><br /><?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        ?>
工商
        </li>
        <li><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/xh.jpg" width="50" height="50" /><br />网络协会
        </li>
        <li><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/hb.jpg" width="50" height="50" /><br />ICP备
        </li>
    </ul>
            </div>
        </div> 
        
        <div style="display:none;"><?php 
        ob_start();
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['tongji'];
        $_tmp1 = ob_get_clean();
        echo $_tmp1;
        ?>
</div>
    </body>

</html><?php 
    }
    function content_55d7f594cf30a1_32757521($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        if (!is_callable('smarty_modifier_cutstr')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<script type="text/javascript"  src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/cheerful_green/static/style/Marquee.js"></script>
<script type="text/javascript">
$(function(){
	//一次横向滚动一个
	$('#marquee5').kxbdSuperMarquee({
		isMarquee:true,
		isEqual:false,
		scrollDelay:25,
		controlBtn:{left:'#goL',right:'#goR'},
		direction:'up'
		
	});
})
        </script>
            <!--         主题部分开始           -->
            <div class="index_b_bg hauto">
            	<!--         你所在的位置开始             -->
                <div class="w1000 bgwhite ask_list_weizhi">
                    <span class="span11 icobg block_lt"></span>
                    <span class="block_lt">您当前所在的位置:</span>
                    <a title="<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="\" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a>
                    <span class="block_lt">></span>
                    <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:tuan'), $_smarty_tpl);
        ?>
" title="团装小区" class="block_lt">团装小区</a>
                    <span class="block_lt">></span>
                    <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:tuanDetail', 'arg0' => $_smarty_tpl->tpl_vars['tuan']->value['tuan_id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['tuan']->value['title'];
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['tuan']->value['title'];
        ?>
</a>
                </div>
                <div class="cl"></div>
               <!--        你所在的位置结束      -->
             
               <div class="tuanzhuang_detail w1000 mt20 hauto">
                 <!--主题左面开始-->
                 	<div class="tuanzhaung_detail_l lt">
                    	<!--左面上部开始-->
                        	<div class="tuanzhuang_detail_l_t">
                            	<div class="tuanzhuang_detail_qianyue">
                                	<p>已报名<i><?php 
        echo $_smarty_tpl->tpl_vars['tuan']->value['sign_num'];
        ?>
</i>户</p>
                                    <p>已签约<i><?php 
        echo $_smarty_tpl->tpl_vars['tuan']->value['qy_num'];
        ?>
</i>户</p>
                                    <p>已施工<i><?php 
        echo $_smarty_tpl->tpl_vars['tuan']->value['sg_num'];
        ?>
</i>户</p>
                                </div>
                                <div class="tuanzhuang_detail_free">
                                	<div class="tuanzhuang_detail_free_home">
                                    	<h2>免费量房</h2>
                                        <p>现场清楚了解需求</p>
                                        <p>给客户以专业建议</p>
                                    </div>
                                    <div class="tuanzhuang_detail_free_home">
                                    	<h2>免费设计方案</h2>
                                        <p>免费获取最规范、</p>
                                        <p>最实用的设计方案</p>
                                    </div>
                                    <div class="tuanzhuang_detail_free_home">
                                    	<h2>免费预算</h2>
                                        <p>精准装修预算报价</p>
                                        <p>装修费用更省30%</p>
                                    </div>
                                </div>
                            </div>
                            <div class="cl"></div>
                        <!--左面上部结束-->
                        <!--左面中部开始-->
                        	<div class="tuanzhuang_detail_l_c">
                            	<div class="tuanzhuang_l_c_l lt">
                                    <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:tuanDetail', 'arg0' => $_smarty_tpl->tpl_vars['tuan']->value['tuan_id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['tuan']->value['title'];
        ?>
">
                                        <img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['img'];
        ?>
/<?php 
        echo $_smarty_tpl->tpl_vars['home']->value['face_pic'];
        ?>
" width="350" height="245"/>
                                    </a>
                                </div>
                                <div class="tuanzhuang_l_c_r rt">
                                    <h2><a target="_blank" title="<?php 
        echo $_smarty_tpl->tpl_vars['home']->value['name'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['home']->value['id']), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['home']->value['name'];
        ?>
</a></h2>
                                    <p><a target="_blank" title="<?php 
        echo $_smarty_tpl->tpl_vars['home']->value['name'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['home']->value['id']), $_smarty_tpl);
        ?>
">[查看该小区图集]</a></p>
                                    <p>团装立省&nbsp;:&nbsp;<i>¥<?php 
        echo $_smarty_tpl->tpl_vars['tuan']->value['jieyue'];
        ?>
</i></p>
                                    <p class="h20"></p>
                                    <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:tuanSign', 'arg0' => $_smarty_tpl->tpl_vars['tuan']->value['tuan_id']), $_smarty_tpl);
        ?>
" mini-load="我要参团" class="now_cantuan">立即参团</a>
                                </div>
                            </div>
                        <!--左面中部开始-->
                        <!--左面户型开始-->
                           <div class="tuanzhuang_detail_huxing hauto">
                        	<div class="tuanzhuang_detail_huxing_title">
                            	<p>户型</p>
                               <!-- <p>套餐</p>
                                <p>团装价</p>-->
                            </div>
                            
                            <div class="tuanzhuang_detail_huxing_b">
                                  <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['huxing']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
   
                            	<div class="tuanzhuang_detail_huxing_l" >
                                   <a href="<?php 
            echo smarty_function_link(array('ctl' => 'home:tuanSign', 'arg0' => $_smarty_tpl->tpl_vars['tuan']->value['tuan_id']), $_smarty_tpl);
            ?>
" mini-load="我要参团"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['pic'];
            ?>
" width="210" height="147" /></a>
                                    <p><a href="<?php 
            echo smarty_function_link(array('ctl' => 'home:tuanSign', 'arg0' => $_smarty_tpl->tpl_vars['tuan']->value['tuan_id']), $_smarty_tpl);
            ?>
" mini-load="我要参团"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
</a></p>
                                </div>
                               <!-- <div class="tuanzhuang_detail_huxing_r">
                                    
                                    <?php 
            $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['p']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['package']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['p']->key => $_smarty_tpl->tpl_vars['p']->value) {
                $_smarty_tpl->tpl_vars['p']->_loop = true;
                ?>
                                    <?php 
                if ($_smarty_tpl->tpl_vars['p']->value['huxing_id'] == $_smarty_tpl->tpl_vars['item']->value['id']) {
                    ?>
                                	<div class="tuanzhaung_detail_huxing_r_t">
                                    	<p><?php 
                    echo $_smarty_tpl->tpl_vars['p']->value['price'];
                    ?>
套餐</p>
                                        <p>团装总造价:<b>¥<?php 
                    echo $_smarty_tpl->tpl_vars['p']->value['total_price'];
                    ?>
</b>元</p>
                                    </div>
                                    <?php 
                }
                ?>
                                    <?php 
            }
            ?>
                                   
                                </div>-->
                                <?php 
        }
        ?>
                                <div class="cl"></div>
                            </div>
                            
                         
                        </div>
                        <!--左面户型结束-->
                        <!--团装说明开始-->
                        <div class="tuanzhuang_shuoming_all">
                        	<h2>团装优惠</h2>
                        	<div class="tuanzhaung_shuoming">
                                    <div class="tuanzhaung_youhui"style="float:left">
                                        <ul>
                                            <h3> 亿家网“当代卡梅尔小镇”团装活动参加企业:</h3>
                                            <li> 武汉市得易空间装饰工程有限公司  </li>
                                            <li> 武汉市鲁公大宅装饰工程有限公司 </li>                     
                                            <li> 武汉市XXXXXXXXXXXXXXXXXXXX</li>                                                                                
                                            <li>  武汉市XXXXXXXXXXXXXXXXXXXX </li> 
                                            <li> 武汉市XXXXXXXXXXXXXXXXXXXX</li>                                                                                
                                            <li>  武汉市XXXXXXXXXXXXXXXXXXXX </li> 
                                        </ul>
                                    </div>
                                    <div class="tuanzhaung_youhui" style="float:right;margin-left:0px">
                                        <ul>
                                            <h3>团装活动细节:</h3>
                                            <li> 1:团装时间1月20至2月20日截至,过期无效。 </li>
                                            <li> 2:凡报名参加团购业主签单金额:
                                                <p>&nbsp;&nbsp;&nbsp;3万以上(半包)享受最终报价后立减1000元现金</p>                                                      
                                                <p>&nbsp;&nbsp;&nbsp;8万以上(半包)享受最终报价后立减2000元现金</p>
                                                <p>&nbsp;&nbsp;&nbsp;5万以上(全包)享受最终报价后立减1000元现金</p>
                                                <p>&nbsp;&nbsp;&nbsp;10万以上(全包)享受最终报价后立减2000元现金</p>
                                                
                                            </li>                     
                                                                                                                       
                                           
                                        </ul>
                                    </div>
                                    
                            </div>
                        </div>
                        <!--团装说明结束-->
                    </div>
                 <!--主题左面结束-->
                 <!--主题右面开始-->
                 <div class="tuanzhaung_detail_r rt" style="width:380px">
                     <div class="tuanzhuang_detail_r_t" style="height:240px">
                           <!-- <h2><a title='<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['name'];
        ?>
' target="_blank" href="<?php 
        echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id']), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a></h2>-->
                            <a href="<?php 
        echo smarty_function_link(array('ctl' => 'index'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/cheerful_green/static/images/tuan_logo.jpg" width="300" height="100" /></a>
                            <p><b>联系电话&nbsp;:</b>&nbsp;<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['phone'];
        ?>
</p>
                            <!--<p><a title='<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['name'];
        ?>
' target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['qq'];
        ?>
&amp;site=qq&amp;menu=yes"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/qqjt.png" /></a></p>-->
                           <!-- <p><b>公司地址&nbsp;:&nbsp;</b><?php 
        echo $_smarty_tpl->tpl_vars['company']->value['addr'];
        ?>
</p>-->
                           <p>省钱、省事、省心、更多团装活动请</p>
                           <P> <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:tuanSign', 'arg0' => $_smarty_tpl->tpl_vars['tuan']->value['tuan_id']), $_smarty_tpl);
        ?>
" mini-load="我要参团" class="now_cantuan">立即参团</a></p>
                            <p class="h10"></p>
                        </div>
                     <h2>最新享受免费服务的业主:</h2>
                        <div id="marquee5" class="tuanzhaung_detail_r_b" style="width:380px;height:300px;margin-right: 5px;margin-top: 10px;padding-top:10px;overflow: hidden; font-size: 13px;">
                        	
                     
                            <ul>
                              
                                 <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/sign", 'city_id' => $_smarty_tpl->tpl_vars['this']->value->request['city_id']));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/sign", 'city_id' => $_smarty_tpl->tpl_vars['this']->value->request['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                         <li>
                      <p><a target="_blank" title="<{$item.title}>" href="<{link ctl='home:tuanDetail' arg0=$item.tuan_id}>" ><{$item.mobile|cutstr:8:'**'}>报名了
                    <{calldata mdl="home/tuan" tuan_id=$item.tuan_id city_id=$this->request['city_id']}>“<{$item.title|cutstr:30:'**'}>”<{/calldata}></a></p>
                        </li>
                                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/sign", 'city_id' => $_smarty_tpl->tpl_vars['this']->value->request['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                                
                               <!-- <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['signs']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                            	<li>
                                	<span><?php 
            echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['cantact'], 3, '**');
            ?>
</span>
                                    <span><?php 
            echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['mobile'], 5, '**');
            ?>
</span>
                                    <span><?php 
            echo date('m/d', $_smarty_tpl->tpl_vars['item']->value['dateline']);
            ?>
</span>
                                </li>
                                <?php 
        }
        ?>
-->
                            </ul>
                        </div>
                      <h2>装修知识</h2>
                      <div class="decoration_class_zhuangxiu">
                          <ul class="bodr_b bgwhite">
                            <?php 
        echo smarty_function_widget(array('id' => 'article/newitems', 'limit' => 8), $_smarty_tpl);
        ?>

                            <p class="mt10"></p>
                        </ul>
                     </div>
                      <h2>装修日记</h2>
                      <div class="decoration_class_t_l_r_b bgwhite" style="width: 400px;height:200px" >
                            <div class="decoration_class_diary_l  bgwhite" style="float:left">
                        <ul style="margin-top:2px">
                              <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                              
                             <li style="width:190px;padding-left:1px">
                                 <div><font style ="font-size:13px"><{$index+1}>.</font><a target="_blank" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>" title="<{$item.title}>" ><{$item.title|cutstr:22:""}></a></div>
                              </li>
                              <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                            <p class="mt10"></p>
                        </ul>
                            </div>
                            <div class="decoration_class_diary_r" style="float:right;padding-top: px;" >
                                 <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                <a target="_blank" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>" title="<{$item.title}>" > <img src="<{$pager.img}>/<{$item.face_pic}>" width="190" height="190" /></a>
                                 <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                                </div>
                        </div>      
                        <script>
                             (function(K, $) {
                     $(".decoration_class_diary_r a").each(function(a){
                          var index = $(this).index();
                           if (a == 0) {
                             $(this).show();  
                           }
                           else {
                        $(this).hide();
                                }
                     });           
                             
            $(".decoration_class_diary_l ul li").mouseover(function() {
                //$(this).css('color','#00AD28');
                var index = $(this).index();
                $(".decoration_class_diary_r a").each(function(a) {
                    if (a == index) {                 
                        $(this).show();       
                    } else {
                     
                        $(this).hide();
                    }
                });
            });
        })(window.KT, window.jQuery);
				 	
				 </script>    
                     
                     
                     
                    </div>
                 <!--主题右面结束-->
                  <div class="cl h20"></div>
            
               
               </div>    
               
            </div>
<?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
   <?php 
    }
    function content_55d7f7aa849239_84819556($_smarty_tpl)
    {
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        if (!is_callable('smarty_block_KT')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.KT.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<link rel="stylesheet" type="text/css" href="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/style/mallstyle.css?20140109"/> 
<link rel="stylesheet" type="text/css" href="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/style/base.css?20140109"/> 
<link rel="stylesheet" type="text/css" href="/themes/cheerful/static/style/mallstyle.css"/>
<link rel="stylesheet" type="text/css" href="/themes/cheerful/static/style/base.css"/>
<!----------头部和导航公共部分------------>  
<!-- 主题部分开始 -->
<div class="index_b_bg hauto">
	<!-- 上面部分开始 -->
	<div class="w1000 mall_main_t hauto mt10">
		<!-- 左面开始   -->
		<div class="mall_main_t_l lt bgwhite"><?php 
        echo smarty_function_widget(array('id' => "shop/catenav", 'tpl' => "mall/block/catenav.html"), $_smarty_tpl);
        ?>
</div>
		<!-- 左面结束   -->
		<!-- 右面开始  -->
		<div class="mall_main_t_r lt hauto ml10">
			<div class="mall_main_t_r_t hauto">
				<!--右面上方的banner开始-->
				<div class="mall_main_r_banner lt">
					<div class="mall_main_r_banner_1 none" id="mall_main_r_banner_1" kinBox='{"height":230}'><?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "商城首页头部轮转广告", 'limit' => 5), $_smarty_tpl);
        ?>
</div>
				</div>
				<!--右面上方的banner结束-->
				<!-- 右面上方右面开始-->
				<div class="mall_sale lt hauto ml10 bgwhite">
					<div class="mall_sale_t bodr_b">
						<ul>
							<li><a class="black">优惠券</a><b class="sanjiao">◆</b></li>
							<li><a class="black">商城公告</a><b class="sanjiao">◆</b></li>
						</ul>
						<a href="<?php 
        echo smarty_function_link(array('ctl' => 'mall/coupon'), $_smarty_tpl);
        ?>
" class="a42" target="_blank">更多>></a>
					</div>
					<div class="mall_sale_b hauto mall_sale_b_1 none">
						<ul>
							<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "shop/coupon", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "hot", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "shop/coupon", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "hot", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

							<li>
								<a href="<{link ctl='mall/coupon:detail' arg0=$item.coupon_id}>" title="<{$item.title}>" target="_blank"><{$item.ext.shop.name}><i><{$item.money}>元优惠券</i></a>
							</li>
							<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "shop/coupon", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "hot", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

						</ul>
					</div>
					<div class="mall_sale_b_b hauto mall_sale_b_2 none">
						<ul>
							<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "shop/news", 'ext' => false, 'limit' => "7"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "shop/news", 'ext' => false, 'limit' => "7"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

							<li><a href="<{link ctl='mall/news:detail' arg0=$item.news_id}>"><{$item.title}></a></li>
							<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "shop/news", 'ext' => false, 'limit' => "7"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

						</ul>
						<div class="h10"></div>
					</div>
				</div>
				<!-- 右面上方右面结束-->
			</div>
			<!-- 右面下方开始-->
			<div class="mall_main_t_r_b hauto mt15 bgwhite">
				<div class="mall_main_t_r_b_all hauto">
					<div class="mall_main_t_r_b_ul bodr_b">
						<ul>
							<li><a class="red">限时抢购</a><b class="sanjiao">◆</b></li>
							<li><a class="red">热卖推荐</a><b class="sanjiao">◆</b></li>
							<li><a class="red">新品上架</a><b class="sanjiao">◆</b></li>
							<li><a class="red">今日特价</a><b class="sanjiao">◆</b></li>
						</ul>
					</div>
					<div class="mall_main_t_product hauto mall_main_t_1 none">
						<ul>
							<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "product/product", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'sale_type' => 2, 'order' => "hot", 'limit' => "4"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "product/product", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'sale_type' => 2, 'order' => "hot", 'limit' => "4"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

							<li>
								<a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>" target="_blank"><img src="<{$pager.img}>/<{$item.photo}>_thumb.jpg" width="165" height="110" /></a>
								<p></p>
								<p class="text"><span></span><font remaintime="<{strtotime($item.sale_time)}>"></font></p>
								<i>【限时抢购】<a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" target="_blank"><{$item.title}></a></i>
								<i>抢购价&nbsp;:&nbsp;<b>¥<{$item.price}></b></i>
							</li>
							<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "product/product", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'sale_type' => 2, 'order' => "hot", 'limit' => "4"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

						</ul>
					</div>
					<div class="mall_main_t_product hauto mall_main_t_2 none">
						<ul>
							<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "product/product", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'sale_remai' => 1, 'order' => "hot", 'limit' => "4"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "product/product", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'sale_remai' => 1, 'order' => "hot", 'limit' => "4"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

							<li>
								<a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>" target="_blank"><img src="<{$pager.img}>/<{$item.photo}>_thumb.jpg" width="165" height="110" /></a>
								<p></p>
								<i>【热卖推荐】<a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" target="_blank"><{$item.title}></a></i>
								<i>抢购价&nbsp;:&nbsp;<b>¥<{$item.price}></b></i>
							</li>
							<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "product/product", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'sale_remai' => 1, 'order' => "hot", 'limit' => "4"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

						</ul>
					</div>
					<div class="mall_main_t_product hauto mall_main_t_3 none">
						<ul>
							<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "product/product", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "4"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "product/product", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "4"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

							<li>
								<a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>" target="_blank"><img src="<{$pager.img}>/<{$item.photo}>_thumb.jpg" width="165" height="110" /></a>
								<p></p>
								<i>【新品上架】<a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" target="_blank"><{$item.title}></a></i>
								<i>抢购价&nbsp;:&nbsp;<b>¥<{$item.price}></b></i>
							</li>
							<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "product/product", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "4"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

						</ul>
					</div>
					<div class="mall_main_t_product hauto mall_main_t_4 none">
						<ul>
							<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "product/product", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'sale_youhui' => 1, 'order' => "hot", 'limit' => "4"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "product/product", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'sale_youhui' => 1, 'order' => "hot", 'limit' => "4"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

							<li>
								<a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>" target="_blank"><img src="<{$pager.img}>/<{$item.photo}>_thumb.jpg" width="165" height="110" /></a>
								<p></p>
								<i>【今日特价】<a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" target="_blank"><{$item.title}></a></i>
								<i>抢购价&nbsp;:&nbsp;<b>¥<{$item.price}></b></i>
							</li>
							<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "product/product", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'sale_youhui' => 1, 'order' => "hot", 'limit' => "4"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

						</ul>
					</div>
				</div>
			</div>
			<!-- 右面下方结束-->            
		</div>
		<!-- 右面结束  -->
	</div>   
	<!-- 上面部分结束  -->
	<!-- 热门品牌开始  -->
	<div class="w1000 hauto mt10 mall_hot_pinpai">
		<h2><span>热门品牌</span></h2>
		<div class="hot_show w1000 bgwhite hauto">
			<ul>
				<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "推荐商家格子铺", 'limit' => 14));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "推荐商家格子铺", 'limit' => 14), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

				<li>
					<p><a href="<{link ctl='mall/shop' arg0=$item.shop_id}>" title="<{$item.name}>" target="_blank"><img src="<{$pager.img}>/<{$item.logo}>" width="105" height="45" /></a></p>
					<p><a href="<{link ctl='mall/shop' arg0=$item.shop_id}>" title="<{$item.name}>" target="_blank"><{$item.name}></a></p>
				</li>
				<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "推荐商家格子铺", 'limit' => 14), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
                         
			</ul>
		</div>
	</div>
	<!-- 热门品牌结束 -->
	<!-- 基础建材开始 -->
	<div class="mt15 mall_basic_jcjc w1000">
	<!-- 公共的标题    -->
		 <div class="mall_title w1000 hauto">
			<h2 class="org">建材基础</h2>
			<div class="mall_title_r rt">
				<ul>
					<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => 'shop/cate', 'parent_id' => 1, 'limit' => 5));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => 'shop/cate', 'parent_id' => 1, 'limit' => 5), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

					<li><a href="<{link ctl='mall/product' arg0=$item.cat_id}>"><{$item.title}></a></li>
					<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => 'shop/cate', 'parent_id' => 1, 'limit' => 5), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

				</ul>
			   <p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'mall/product', 'arg0' => 1), $_smarty_tpl);
        ?>
" target="_blank">更多>></a></p>
			</div>
		 </div>
		 <div class="cl"></div>
		<!-- 公共的标题    -->
		 <div class="mall_basic_jcjc_b w1000 hauto bgwhite">
			<p style="width:230px;height:364px;overflow:hidden;margin-top:18px;"><?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "商城首页基础建材左侧图片广告", 'limit' => "1"), $_smarty_tpl);
        ?>
</p>
			<ul>
				<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "product/product", 'cat_id' => 1, 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "product/product", 'cat_id' => 1, 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

				<li<{if $iteration mod 4 eq 0}> style="border-right:none;"<{/if}>>
					<div class="divhover">
						<a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>" target="_blank"><img src="<{$pager.img}>/<{$item.photo}>_thumb.jpg" width="150" height="100" /></a>
						<p><a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>" target="_blank" class="it_title"><{$item.title}></a></p>
						<p><del>¥<{$item.market_price}></del><b>¥<{$item.price}></b></p>
						<span class="xinpin"></span>
						<p class="p61">
							<a href="<{link ctl='mall/shop' arg0=$item.shop_id}>" class="a43"><{$item.ext.shop.name}></a>
							<a href="<{link ctl='mall/shop' arg0=$item.shop_id}>" class="a44">查看详情</a>
						</p>
					</div>
				</li>
				<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "product/product", 'cat_id' => 1, 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

			</ul>
			<div class="cl"></div>
		 </div>              
	  </div>
	<!-- //基础建材结束 -->
	<!-- 广告开始 -->
	<div class="mt15 w1000"><?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "商城首页基础建材下方通栏广告", 'limit' => "3"), $_smarty_tpl);
        ?>
</div>
	<!-- //广告结束 -->
	<!-- 家具开始 -->
	<div class="mt15 mall_basic_jcjc w1000">
		<!-- 公共的标题    -->
		<div class="mall_title w1000 hauto">
			<h2 class="blue">家具</h2>
			<div class="mall_title_r rt">
				<ul>
					<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => 'shop/cate', 'parent_id' => 2, 'limit' => 5));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => 'shop/cate', 'parent_id' => 2, 'limit' => 5), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

					<li><a href="<{link ctl='mall/product' arg0=$item.cat_id}>"><{$item.title}></a></li>
					<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => 'shop/cate', 'parent_id' => 2, 'limit' => 5), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

				</ul>
				<p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'mall/product', 'arg0' => 2), $_smarty_tpl);
        ?>
" target="_blank">更多>></a></p>
			</div>
		</div>
		<div class="cl"></div>
		<!-- //公共的标题 -->
		<div class="mall_basic_jcjc_b w1000 hauto bgwhite">
			<p style="width:230px;height:364px;overflow:hidden;margin-top:18px;"><?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "商城首页家具左侧图片广告", 'limit' => "1"), $_smarty_tpl);
        ?>
</p>
			<ul>
				<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "product/product", 'cat_id' => 2, 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "product/product", 'cat_id' => 2, 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

				<li<{if $iteration mod 4 eq 0}> style="border-right:none;"<{/if}>>
					<div class="divhover">
						<a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>" target="_blank"><img src="<{$pager.img}>/<{$item.photo}>_thumb.jpg" width="150" height="100" /></a>
						<p><a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>" target="_blank" class="it_title"><{$item.title}></a></p>
						<p><del>¥<{$item.market_price}></del><b>¥<{$item.price}></b></p>
						<span class="xinpin"></span>
						<p class="p61">
							<a href="<{link ctl='mall/shop' arg0=$item.shop_id}>" class="a43"><{$item.ext.shop.title|cutstr:10:''}></a>
							<a href="<{link ctl='mall/shop' arg0=$item.shop_id}>" class="a44">查看详情</a>
						</p>
					</div>
				</li>
				<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "product/product", 'cat_id' => 2, 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

			</ul>
			<div class="cl"></div>
		</div>              
	</div>
	<!-- //家具结束 -->
	<!-- 软装配饰开始-->
	<div class="mt15 mall_basic_jcjc w1000">
		<!-- 公共的标题 -->
		<div class="mall_title w1000 hauto">
			<h2 class="green1">软装配饰</h2>
			<div class="mall_title_r rt">
				<ul>
					<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => 'shop/cate', 'parent_id' => 7, 'limit' => 5));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => 'shop/cate', 'parent_id' => 7, 'limit' => 5), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

					<li><a href="<{link ctl='mall/product' arg0=$item.cat_id}>"><{$item.title}></a></li>
					<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => 'shop/cate', 'parent_id' => 7, 'limit' => 5), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

				</ul>
				<p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'mall/product', 'arg0' => 7), $_smarty_tpl);
        ?>
" target="_blank">更多>></a></p>
			</div>
		</div>
		<div class="cl"></div>
		<!-- //公共的标题 -->
		<div class="mall_basic_jcjc_b w1000 hauto bgwhite">
			<p style="width:230px;height:364px;overflow:hidden;margin-top:18px;"><?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "商城首页软装配饰左侧图片广告", 'limit' => "1"), $_smarty_tpl);
        ?>
</p>
			<ul>
				<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "product/product", 'cat_id' => 7, 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "product/product", 'cat_id' => 7, 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

				<li<{if $iteration mod 4 eq 0}> style="border-right:none;"<{/if}>>
					<div class="divhover">
						<a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>" target="_blank"><img src="<{$pager.img}>/<{$item.photo}>_thumb.jpg" width="150" height="100" /></a>
						<p><a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>" target="_blank" class="it_title"><{$item.title}></a></p>
						<p><del>¥<{$item.market_price}></del><b>¥<{$item.price}></b></p>
						<span class="xinpin"></span>
						<p class="p61">
							<a href="<{link ctl='mall/shop' arg0=$item.shop_id}>" class="a43"><{$item.ext.shop.title|cutstr:10:''}></a>
							<a href="<{link ctl='mall/shop' arg0=$item.shop_id}>" class="a44">查看详情</a>
						</p>
					</div>
				</li>
				<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "product/product", 'cat_id' => 7, 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

			</ul>
			<div class="cl"></div>
		</div>              
	</div>
	<!-- //软装配饰结束 -->
	<!-- 广告开始 -->
	<div class="mt15 w1000"><?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "商城首页软装配饰下方通栏广告", 'limit' => "3"), $_smarty_tpl);
        ?>
</div>
	<!-- //广告结束 -->
	<!--  家用电器开始 -->
	<div class="mt15 mall_basic_jcjc w1000">
		<!-- 公共的标题 -->
		<div class="mall_title w1000 hauto">
			<h2 class="black">家用电器</h2>
			<div class="mall_title_r rt">
				<ul>
					<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => 'shop/cate', 'parent_id' => 8, 'limit' => 5));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => 'shop/cate', 'parent_id' => 8, 'limit' => 5), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

					<li><a href="<{link ctl='mall/product' arg0=$item.cat_id}>"><{$item.title}></a></li>
					<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => 'shop/cate', 'parent_id' => 8, 'limit' => 5), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

				</ul>
				<p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'mall/product', 'arg0' => 8), $_smarty_tpl);
        ?>
" target="_blank">更多>></a></p>
			</div>
		</div>
		<div class="cl"></div>
		<!-- //公共的标题    -->
		<div class="mall_basic_jcjc_b w1000 hauto bgwhite">
			<p style="width:230px;height:364px;overflow:hidden;margin-top:18px;"><?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "商城首页家用电器左侧图片广告", 'limit' => "1"), $_smarty_tpl);
        ?>
</p>
			<ul>
				<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "product/product", 'cat_id' => 8, 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "product/product", 'cat_id' => 8, 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

				<li<{if $iteration mod 4 eq 0}> style="border-right:none;"<{/if}>>
					<div class="divhover">
						<a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>" target="_blank"><img src="<{$pager.img}>/<{$item.photo}>_thumb.jpg" width="150" height="100" /></a>
						<p><a href="<{link ctl='mall/product:detail' arg0=$item.product_id}>" title="<{$item.title}>" target="_blank"  class="it_title"><{$item.title}></a></p>
						<p><del>¥<{$item.market_price}></del><b>¥<{$item.price}></b></p>
						<span class="xinpin"></span>
						<p class="p61">
							<a href="<{link ctl='mall/shop' arg0=$item.shop_id}>" class="a43"><{$item.ext.shop.title|cutstr:10:''}></a>
							<a href="<{link ctl='mall/shop' arg0=$item.shop_id}>" class="a44">查看详情</a>
						</p>
					</div>
				</li>
				<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "product/product", 'cat_id' => 8, 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

			</ul>
			<div class="cl"></div>
		</div>
	</div>
	<!-- //家用电器结束 -->
	<div class="h30"></div>
</div>
<!-- //主题部分结束 -->
<?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<script>
$(document).ready(function(){
$(function(){
    var dateTime = new Date();
    var difference = dateTime.getTime() - <?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['dateline'];
        ?>
*1000;	
    setInterval(function(){
      $("[remaintime]").each(function(){
        var obj = $(this);
        var endTime = new Date(parseInt(obj.attr('remaintime')) * 1000);
        var nowTime = new Date();
        var nMS=endTime.getTime() - nowTime.getTime() + difference;
        var myD=Math.floor(nMS/(1000 * 60 * 60 * 24));
        var myH=Math.floor(nMS/(1000*60*60)) % 24;
        var myM=Math.floor(nMS/(1000*60)) % 60;
        var myS=Math.floor(nMS/1000) % 60;
        var myMS=Math.floor(nMS/100) % 10;
        if(myD>= 0){
			var str = myD+"天"+myH+"小时"+myM+"分"+myS+"."+myMS+"秒";
        }else{
			var str = "已结束!";	
		}
		obj.html(str);
      });
    }, 100);
});

$(".mall_sale_t ul li").mouseover(function() {
	var index = $(this).index();
	$(".mall_sale_t ul li").each(function(a) {
		var nn = a + 1
		if (a == index) {
			$(this).addClass("current24");
			$(this).find(".sanjiao").show();
			$(this).find(".black").css('color','#666666');
			$(".mall_sale_b_" + nn).show();
		} else {
			$(this).removeClass("current24");
			$(this).find(".sanjiao").hide();
			$(this).find(".black").css('color','');
			$(".mall_sale_b_" + nn).hide();
		}
	});
});
$(".mall_sale_t ul li").eq(0).mouseover();
$(".mall_main_t_r_b_ul ul li").mouseover(function() {
	var index = $(this).index();
    $("")
	$(".mall_main_t_r_b_ul ul li").each(function(a) {
		var nnn = a + 1
		if (a == index) {
			$(this).addClass("current25");
			 $(this).find(".sanjiao").show();
			$(this).find(".red").css('color','#00AD28');
		    $(this).find(".sanjiao").css('color','#00AD28');
			$(".mall_main_t_" + nnn).show();
		} else {
			$(this).removeClass("current25");
			  $(this).find(".sanjiao").hide();
			$(this).find(".red").css('color','');
			$(".mall_main_t_" + nnn).hide();
		}
	});
});
$(".mall_main_t_r_b_ul ul li").eq(0).mouseover();


 /*

$(".mall_main_t_r_b_ul ul li").eq(0).mouseover();	
$(".mall_basic_jcjc_b ul li>divhover").mouseover(function(){
    $(this).css('border','1px solid #FF7F00');
    $(this).find(".p61").show();	
}).mouseout(function(){
    $(this).css('border','');
    $(this).find(".p61").hide();	
});	
*/
});
</script>
<?php 
    }
    function content_55d7ea316fe478_72792862($_smarty_tpl)
    {
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!----------头部和导航公共部分------------> 
<div class="index_b_bg hauto">
    <div class="w1000 hauto bgwhite mt20 effect_show bodr_b mb20">
        <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['attr_values']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['index'] = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['index']++;
            ?>
        <div class="case_attr hauto">
            <span class="bigbg span<?php 
            echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['index'] + 1;
            ?>
 lt"></span>
            <span class="huxing2 block lt f14"><b><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
:</b></span>
            <a href="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['link'];
            ?>
" class="block_lt  <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['checked'] == true) {
                ?>
 case_attr_hover<?php 
            }
            ?>
">不限 </a>
            
            <?php 
            $_smarty_tpl->tpl_vars['item2'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['item2']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['item']->value['values'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['item2']->key => $_smarty_tpl->tpl_vars['item2']->value) {
                $_smarty_tpl->tpl_vars['item2']->_loop = true;
                ?>
            <a href="<?php 
                echo $_smarty_tpl->tpl_vars['item2']->value['link'];
                ?>
" class="block_lt <?php 
                if ($_smarty_tpl->tpl_vars['item2']->value['checked'] == true) {
                    ?>
case_attr_hover<?php 
                }
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item2']->value['title'];
                ?>
</a>
            <?php 
            }
            ?>
        </div>
       <?php 
        }
        ?>
    </div>
    <div class="w980 bgwhite hot_house bodr_b mb20">
        <b class="f14">热门楼盘:</b>
        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/main", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "pv_num:DESC", 'limit' => "10"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/main", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "pv_num:DESC", 'limit' => "10"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <a target="_blank" title="<{$item.name}>" href="<{link ctl='home:detail' arg0=$item.id}>"><{$item.name}></a>   
        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/main", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "pv_num:DESC", 'limit' => "10"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

    </div>
    <!--      楼盘区域      -->
    <div class="today_comd w1000 hauto">
        <div class="case_attr_order lt">
            <ul>
                
                <li><a href="<?php 
        echo $_smarty_tpl->tpl_vars['order_url']->value['today'];
        ?>
" class="<?php 
        if ($_smarty_tpl->tpl_vars['url_data']->value['order'] == 0) {
            ?>
case_attr_order_hover<?php 
        } else {
            ?>
case_attr_order_a<?php 
        }
        ?>
">今日推荐</a></li>
                <li><a href="<?php 
        echo $_smarty_tpl->tpl_vars['order_url']->value['like'];
        ?>
" class="<?php 
        if ($_smarty_tpl->tpl_vars['url_data']->value['order'] == 2) {
            ?>
case_attr_order_hover<?php 
        } else {
            ?>
case_attr_order_a<?php 
        }
        ?>
">最受欢迎</a></li>
                <li><a href="<?php 
        echo $_smarty_tpl->tpl_vars['order_url']->value['pv'];
        ?>
" class="<?php 
        if ($_smarty_tpl->tpl_vars['url_data']->value['order'] == 1) {
            ?>
case_attr_order_hover<?php 
        } else {
            ?>
case_attr_order_a<?php 
        }
        ?>
">最人气排行</a></li>
            </ul>
        </div>
        <div class="today_comd_r rt">                	
            <div class="page">
             
            </div>

        </div>

                
    </div>  
    <div class="cl"></div>
    <!--      热门推荐    -->  
    <div class="w1000 hauto mt5 effect_show_all">
        <div class="effect_show_all1 lt">
            <ul>
                
                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['case']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                <li>
                    <div class="effect_show_img ">
                        <p class="lt mt5"><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['photo'];
            ?>
_thumb.jpg" width="200" height="170" _width="150px"/></a></p>
                        <p class="lt small_img mt5" style="width: 104px; height: 180px;_width:80px;">
                            <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['lastphotos']) {
                ?>
   
                            <?php 
                $_smarty_tpl->tpl_vars['item2'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['item2']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['item']->value['lastphotos'];
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['index'] = -1;
                foreach ($_from as $_smarty_tpl->tpl_vars['item2']->key => $_smarty_tpl->tpl_vars['item2']->value) {
                    $_smarty_tpl->tpl_vars['item2']->_loop = true;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['index']++;
                    ?>
                            <?php 
                    if ($_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['index'] == 1 || $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['index'] == 2) {
                        ?>
                            <a target="_blank" title="<?php 
                        echo $_smarty_tpl->tpl_vars['item']->value['title'];
                        ?>
" href="<?php 
                        echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
                        ?>
"><img src="<?php 
                        echo $_smarty_tpl->tpl_vars['pager']->value['img'];
                        ?>
/<?php 
                        echo $_smarty_tpl->tpl_vars['photos']->value[$_smarty_tpl->tpl_vars['item2']->value]['photo'];
                        ?>
_thumb.jpg" width="104" height="81" _width="80"/></a>
                            
                            <?php 
                        if ($_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['index'] == 0) {
                        }
                        ?>
                            
                            <?php 
                    }
                    ?>
                            <?php 
                }
                ?>
                            <?php 
            }
            ?>
                            
                        </p>

                        <p class="mt5">&nbsp;&nbsp;<b class="red">[案例]</b><span><b>&nbsp;<a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
</a></b></span></p>
                        <p>
                            <span class="block lt mt10 ml10">
                                <?php 
            if (!empty($_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']])) {
                ?>
<a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['name'];
                ?>
" href="<?php 
                echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
                ?>
"><img width="30" height="30" src="<?php 
                echo $_smarty_tpl->tpl_vars['pager']->value['img'];
                ?>
/<?php 
                echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['square_logo'];
                ?>
" /></a><?php 
            }
            ?>
                            </span>
                            <span class="block lt mt15 ml10">
                                <b><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['name'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['sort_name'];
            ?>
</a></b>
                            
                            </span>
                            
                            <span class="block lt mt15 ml10 span4"></span>
                            <span class="block lt mt15 ml5"><b><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['likes'];
            ?>
喜欢</b></span>
                            <span class="block lt mt15 ml10 span5"></span>
                            <span class="block lt mt15 ml5"><b><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['views'];
            ?>
浏览</b></span>

                        </p>

                    </div> 

                </li>
                
                <?php 
        }
        ?>
              

               
            </ul>
        </div>




    </div>   
    <!--       产品展示  --> 
    <div class="w1000 hauto mt20 next_page mb10">
        <div class="today_comd_r rt">
            <div class="page">
                 <?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];
        ?>

            </div>
            
        </div>             
    </div>
	
</div>
<?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_55d7ef19a7bae7_44902847($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_block_KT')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.KT.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


            <!----------头部和导航公共部分------------>  
            <!-- 主题部分开始  -->
             <div class="index_b_bg hauto">
             	<!--  聚合区域开始 -->
                <div class="home_all w1000 hauto mt10">
                    <div class="home_all_l lt hauto bgwhite decoration_company"  style="min-height: 230px;">
                        <div class="home_all_l_t hauto bodr_b_x">
                            <p>
                                <span class="block icobg lt span10"></span>
                                <span class="block lt">区域</span>
                            </p>
                            <div class="cl"></div>
                                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['area_list']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['area']['index'] = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['area']['index']++;
            ?>
                                <?php 
            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['area']['index'] < 8) {
                ?>
                                <a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
                echo $_smarty_tpl->tpl_vars['item']->value['area_name'];
                ?>
装修公司" href="<?php 
                echo smarty_function_link(array('ctl' => 'gs:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['area_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['area_name'];
                ?>
</a>
                                <?php 
            }
            ?>
                                <?php 
        }
        ?>
                                <a target="_blank" href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:items'), $_smarty_tpl);
        ?>
">更多>></a>
                            
                        </div>
                         <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['attr_values']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['one']['index'] = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['one']['index']++;
            ?>
                            <?php 
            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['one']['index'] < 1) {
                ?>
                            <div class="home_all_l_t hauto mb20 mt20">
                                <p>
                                    <span class="block icobg lt span11"></span>
                                    <span class="block lt"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
</span>
                                </p>
                                <div class="cl"></div>
                                <?php 
                $_smarty_tpl->tpl_vars['it2'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['it2']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['item']->value['values'];
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['two']['index'] = -1;
                foreach ($_from as $_smarty_tpl->tpl_vars['it2']->key => $_smarty_tpl->tpl_vars['it2']->value) {
                    $_smarty_tpl->tpl_vars['it2']->_loop = true;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['two']['index']++;
                    ?>
                                <?php 
                    if ($_smarty_tpl->getVariable('smarty')->value['foreach']['two']['index'] < 8) {
                        ?>
                                <a target="_blank" title="<?php 
                        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
                        echo $_smarty_tpl->tpl_vars['it2']->value['title'];
                        ?>
装修公司" href="<?php 
                        echo $_smarty_tpl->tpl_vars['it2']->value['link'];
                        ?>
"><?php 
                        echo $_smarty_tpl->tpl_vars['it2']->value['title'];
                        ?>
</a>
                                <?php 
                    }
                    ?>
                                <?php 
                }
                ?>
                                <a target="_blank" href="<?php 
                echo smarty_function_link(array('ctl' => 'gs:items'), $_smarty_tpl);
                ?>
">更多>></a>
                            </div>
                            <?php 
            }
            ?>
                        <?php 
        }
        ?>
                    </div>
                    <div class="home_all_c lt ml10 mr10" style="width: 740px;">
                         <div id="home_all_c" kinBox='{"height":230}'><?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "找装修公司聚合页轮播广告", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>
</div>
                        
                    </div>
                    <div class="decoration_all_r lt hauto bgwhite">
                           <?php 
        echo $_smarty_tpl->getSubTemplate("block/tenders.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
  
                        
                    </div>   
                </div>
                <!--  聚合区域结束 -->
              
                    <!---------品牌装修公司开始--------->
    <div class="company_charts w1000 hauto mt25" >
        <h2><a href="<?php 
        echo smarty_function_link(array('ctl' => 'gs'), $_smarty_tpl);
        ?>
" class="block_lt">品牌装修公司</a><a href="<?php 
        echo smarty_function_link(array('ctl' => 'passport:signup'), $_smarty_tpl);
        ?>
" class="block rt a28">我要入驻>></a></h2>
    </div>
    <div class="company_charts_show w1000 hauto bgwhite mt10">	
        <div class="company_charts_show_l lt">
            <ul>
                <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('id' => "1", 'name' => "品牌装修公司", 'limit' => "20", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_KT(array('id' => "1", 'name' => "品牌装修公司", 'limit' => "20", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                <li class="aa<{$item.company_id}>"><a  target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><img src="<{$pager.img}>/<{$item.logo}>" width="150" height="75"></a></li>
                <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('id' => "1", 'name' => "品牌装修公司", 'limit' => "20", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

            </ul>  
            
             <script type="text/javascript">
     (function(K, $) {
            $(".company_charts_show_l li").each(function(a){                                 
                      var att=$(this).attr("class");  
                      $(this).nextAll("."+att).hide();                                         
            })
     })(window.KT, window.jQuery);
            </script>
        </div>
        <div class="company_charts_show_r lt">
            <div class="newest_qdb">
                <ul><li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:items'), $_smarty_tpl);
        ?>
" class="red">最新签单榜</a></li><li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:items'), $_smarty_tpl);
        ?>
"" class="red">最新加入</a></li></ul>
            </div>
            <div class="news_qdb_b none news_qdb_0 mt30">
                <ul>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "tenders_num:desc", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "tenders_num:desc", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                        <div class="news_qdb_sum none">
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="aa"><{($index+1)}></a>
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="bb"><{$item.name}></a>
                        </div>
                        <div class="news_qdb_all none">
                            <div class="news_qdb_details mt5">
                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><img src="<{$pager.img}>/<{$item.logo}>" width="110" height="55" /></a>
                                <span><font class="black">签单数</font>&nbsp;<font class="red"><{$item.tenders_num}></font></span>
                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="mfyu">免费预约</a>
                            </div>
                            <{calldata mdl="company/dianping" company_id=$item.company_id order="new" limit="1"}>
                            <p><font class="red">[最新评价]</font><{$item.content|cutstr:50}><font class="rt"><a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"  class="black">更多</a></font></p>
                            <{/calldata}>
                        </div>
                        <div class="cl"></div>
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "tenders_num:desc", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
                          
                </ul>
            </div>
            <div class="news_qdb_b none news_qdb_1 mt30">
                <ul>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                        <div class="news_qdb_sum none"><a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"  class="aa"><{($index+1)}></a><a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="bb"><{$item.name}></a></div>
                        <div class="news_qdb_all none">
                            <div class="news_qdb_details mt5">
                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" ><img src="<{$pager.img}>/<{$item.logo}>" width="110" height="55" /></a>
                                <span><font class="black">口碑值</font>&nbsp;<font class="red"><{round($item.scores/10, 1)}></font></span>
                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="mfyu">免费预约</a>
                            </div>
                            <{calldata mdl="company/dianping" company_id=$item.company_id order="new" limit="1"}>
                            <p><font class="red">[最新评价]</font><{$item.content|cutstr:50}><font class="rt"><a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="black">更多</a></font></p>
                            <{/calldata}>
                        </div>
                        <div class="cl"></div>
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
                              
                </ul>
            </div>
        </div>
    </div>
    <!---------品牌装修公司结束--------->
                
                
               <!------设计师开始------->
                         <div class="recommend_designer w1000 hauto mt25">
                             <h2><a href="<?php 
        echo smarty_function_link(array('ctl' => 'designer'), $_smarty_tpl);
        ?>
">推荐设计师</a></h2>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页推荐设计师", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "2"));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页推荐设计师", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "2"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <div class="decoration_designer_l lt bgwhite mt10">
                        <div class="decoration_designer_l_l lt">
                            <div class="designer_name lt">
                                <a target="_blank" href="<{link ctl='blog' arg0=$item.uid}>" title="<{$item.realname}>"><img src="<{$pager.img}>/<{$item.face}>" width="100" height="100" /></a><br />
                                <p>设计师:<b><a target="_blank" href="<{link ctl='blog' arg0=$item.uid}>"  title="<{$item.realname}>"><{$item.realname|cutstr:8:''}></a></b></p>
                                <p class="consult pinkbg"><a target="_blank" href="<{link ctl='blog' arg0=$item.uid}>" title="<{$item.realname}>">我要咨询</a></p>
                            </div>
                            <{calldata mdl="case/case" designer_id=$item.uid limit="1"}>
                            <div class="design_idea lt">
                                <p><font class="black"><b>[设计理念]</b></font>:<{$item.intro|cutstr:25:''}></p>
                                <{foreach $item.ext.photos as $photo}>
                                <p class="case_p lt">
                                    <a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"  title="<{$photo.title}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="120" height="95" /></a>
                                    <span></span>
                                    <span class="text1"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"  title="<{$photo.title}>"><{$photo.title}></a></span>
                                </p>
                                <{if $photo@index>0}><{break}><{/if}>
                                <{/foreach}>
                                <div class="cl"></div>
                                <p class="simple mt10"><{foreach $item.ext.attrs as $k=>$v}><span class="simple_style lt"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"  title="<{$photo.title}>"  target="_blank"><{$v}></a></span><{/foreach}></p>
                            </div>
                            <{/calldata}>
                        </div>     
                    </div>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页推荐设计师", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "2"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                    <div class="ads2 lt mt10">
                        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/ads2.png" width="139" height="232" /></a>
                    </div> 
                </div>
                <div class="designer mt10 w1000 hauto bgwhite">                  
                    <div class="wraper lt mb30">
                        <ul class="gundong_img lt" >
                            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "designer/designer", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "orderby:desc", 'limit' => "20"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "designer/designer", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "orderby:desc", 'limit' => "20"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                            <li>
                                  <a target="_blank" href="<{link ctl='blog' arg0=$item.uid}>" title="<{$item.realname}>"><img src="<{$pager.img}>/<{$item.face}>" width="100" height="100" /></a><br />
                                  <a target="_blank" href="<{link ctl='blog' arg0=$item.uid}>" title="<{$item.realname}>" class="red"><b><{$item.realname}></b></a>
                            </li>
                            <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "designer/designer", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "orderby:desc", 'limit' => "20"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                        </ul>                  
                   </div>
                </div>
                <!------设计师结束------->    
                <!------设计师结束------->
                <!--最新优惠信息开始-->
                <div class="new_favorable_info w1000 hauto mt20">
                	<div class="new_favorable_info_title w1000">
                        <h2 class="lt"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:youhui'), $_smarty_tpl);
        ?>
">最新优惠信息</a></h2>
                         <span class="rt"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:youhui'), $_smarty_tpl);
        ?>
">更多>></a></span>
                    </div>
                    <div class="cl"></div>
                    <div class="new_favorable_info_b w1000 bgwhite mt10 hauto">
                    	<ul>
                          <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/youhui", 'order' => "youhui_id:desc", 'limit' => "4", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/youhui", 'order' => "youhui_id:desc", 'limit' => "4", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                        	<li>
                                <a target="_blank" title="<{$item.title}>" href="<{link ctl='gs:detail' arg0=$item.youhui_id}>"><img src="<{$pager.img}>/<{$item.face_pic}>" width="210" height="210" /></a><br />
                                <a target="_blank" title="<{$item.title}>" href="<{link ctl='gs:detail' arg0=$item.youhui_id}>"><{$item.title|cutstr:30:''}></a>
                            </li>
                          <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/youhui", 'order' => "youhui_id:desc", 'limit' => "4", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                        </ul>
                    </div>
                	
                     
                </div>
                 <!--最新优惠信息结束-->
				<div class="h30"></div>           
    <script>
		$(document).ready(function(){
			$(".qyrz ul li:last").css('border-right','none')
			
			
			$(".hot_decoration_company_show_l ul li:eq(1)").css('border-right','none')
			$(".hot_decoration_company_show_l ul li:eq(2)").css('border-bottom','none')
			$(".hot_decoration_company_show_l ul li:eq(3)").css('border-right','none').css('border-bottom','none')
			$(".hot_decoration_company_show_l ul li:eq(4)").css('border-bottom','none')
			$(".hot_decoration_company_show_l ul li:eq(5)").css('border-right','none')
			$(".hot_decoration_company_show_l ul li:eq(6)").css('border-bottom','none')
			$(".hot_decoration_company_show_l ul li:eq(7)").css('border-right','none').css('border-bottom','none')
			$(".hot_decoration_company_show_l ul li:eq(8)").css('border-bottom','none')
			$(".hot_decoration_company_show_l ul li:eq(9)").css('border-right','none').css('border-bottom','none')
			/*热门装修公司左面*/
			
			/*签单榜*/
			  $(".news_qdb_1 ul li").mouseover(function() {
                    var index = $(this).index();
                    $(".news_qdb_1 ul li").each(function(a) {
                        if (a == index) {
                            $(this).find(".news_qdb_all").show();
                            $(this).find(".news_qdb_sum").hide();
                        } else {
                            $(this).find(".news_qdb_all").hide();
                            $(this).find(".news_qdb_sum").show();
                        }

                    });

                });

                $(".news_qdb_1 ul li").eq(0).mouseover();
				
                $(".news_qdb_0 ul li").mouseover(function() {
                    var index = $(this).index();
                    $(".news_qdb_0 ul li").each(function(a) {
                        if (a == index) {
                            $(this).find(".news_qdb_all").show();
                            $(this).find(".news_qdb_sum").hide();
                        } else {
                            $(this).find(".news_qdb_all").hide();
                            $(this).find(".news_qdb_sum").show();
                        }
                    });
                });

                $(".news_qdb_0 ul li").eq(0).mouseover();
			
			 $(".newest_qdb li").mouseover(function() {
                    var index = $(this).index();
                    $(".newest_qdb li").each(function(a) {
                        if (a == index) {
                            $(this).css('background', '#e1e1e1');
                            $(".news_qdb_" + a).show();
                        } else {
                            $(this).css('background', '');
                            $(".news_qdb_" + a).hide();
                        }
                    });
                });
                $(".newest_qdb li").eq(0).mouseover(); 
		});
		
	</script>
    <?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
      <?php 
    }
    function content_55d7eaa56a4152_31988282($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        if (!is_callable('smarty_modifier_format')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.format.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!----------头部和导航公共部分------------> 
<!-- 位置区域  -->

<div class="w1000 hauto effect_datial_title mt10 bodr_b">
    <span>  <a title="<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="/"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a>&nbsp;>&nbsp;</span>
    <span><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" title="案例图库" >案例图库</a>&nbsp;>&nbsp;</span>
    <a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['title'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['case_id']), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['title'];
        ?>
</a>
</div>
<!-- 商家区域  -->
<div class="sj_js w1000 mt10 hauto">
    <?php 
        if (!empty($_smarty_tpl->tpl_vars['company']->value)) {
            ?>
    <div class="sj_logo lt">
        <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['name'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id']), $_smarty_tpl);
            ?>
"><img width="25" height="25" src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['square_logo'];
            ?>
" /></a>
        <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['name'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id']), $_smarty_tpl);
            ?>
"><b ><?php 
            echo $_smarty_tpl->tpl_vars['company']->value['name'];
            ?>
</b></a>
    </div>
    <?php 
        }
        ?>
    <div class="like_design rt">
       
        <span class="span6 lt redbg"><a  target="_blank" href="/tenders.html" >免费申请设计</a></span>
       
        <span class="lt span7"></span>
        <span class="lt span8"><a mini-act="喜欢" href="<?php 
        echo smarty_function_link(array('ctl' => 'case:like', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['case_id']), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['likes'];
        ?>
人喜欢</a></span>
        <span class="lt span9"></span>
        <span class="lt span8"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['views'];
        ?>
次浏览</span>          
    </div>
 
</div>



<div class="index_b_bg hauto">
    <div class="w1000 hauto effect_datial_p">
        <!-- 案例区域  -->
        <div class="w1000 hauto mt25  effect_datial_main">

            <div class="img_box">

                <div class="img_con">
                    <div class="img_big">
                        <div class="img_big_dis">
                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tbody><tr>
                                        <td valign="middle">
                                            <img original="" id="bigpic"  src="">

                                        </td>
                                    </tr>
                                </tbody></table>

                            <div class="img_load"></div>
                            <div class="nph_photo_prev"><a id="photoPrev" class="nph_btn_pphoto" target="_self" hidefocus="true" href="javascript:void(0)"></a></div>
                            <div class="nph_photo_next"><a id="photoNext" class="nph_btn_nphoto" target="_self" hidefocus="true" href="javascript:void(0)"></a></div>
                        </div>
                    </div>
                    <div class="img_small">
                        <?php 
        if (!empty($_smarty_tpl->tpl_vars['up_detail']->value)) {
            ?>
                        <div class="other_img">
                            <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['up_detail']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['up_detail']->value['case_id']), $_smarty_tpl);
            ?>
">
                                <img  src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['up_detail']->value['photo'];
            ?>
" height="75" width="100">
                                <p>上一图集</p>
                            </a>
                        </div>
                        <?php 
        }
        ?>
                        <div class="img_list">
                            <div class="img_prev"><a hidefocus="true" href="javascript:void(0)">向上滚动</a></div>
                            <div class="img_scroll" id="small_pic_list">
                                <ul style="top: 0px;">

                                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['photos']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                                    <li>
                                        <a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="javascript:void(0);">
                                            <img alt="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" original="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['photo'];
            ?>
"  src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['photo'];
            ?>
_thumb.jpg" height="75" width="100"></a>
                                    </li>
                                    <?php 
        }
        ?>

                                </ul>
                            </div>
                            <div class="img_next"><a hidefocus="true" href="javascript:void(0)">向下滚动</a></div>
                        </div>

                        <?php 
        if (!empty($_smarty_tpl->tpl_vars['next_detail']->value)) {
            ?>
                        <div class="other_img">
                            <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['next_detail']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['next_detail']->value['case_id']), $_smarty_tpl);
            ?>
">
                                <img  src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['next_detail']->value['photo'];
            ?>
" height="75" width="100">
                                <p>下一图集</p>
                            </a>
                        </div>
                        <?php 
        }
        ?>

                    </div>
                </div>

                <div class="tag_tit">
                    <span id='case_intro'><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['intro'];
        ?>
</span>    
                      
                </div>
                <div class="h10"></div>
            </div>
            <script>

                $(function(e) {
                    var LiNum = $(".img_scroll ul li").length;
                    var LiHeight = 83;
                    var maxNum = LiNum - 4;
                    var anNum = 0;//定义起始位置
                    var yangshi = 0;
                    var fengedian = 3;
                    var times = 5000;
                    var anObj = null; //动画的 OBJ

                    var isAn = false;// 是否开启自动播放  此开关为后面使用

                    //改变样式的状态和大图的SRC 属性已经透明的渐变
                    function changeClass() {
                        $(".img_scroll ul  li ").each(function(a) {
                            if (a == yangshi) {
                                $(this).addClass("now");
                                $(".img_load").show();
                                $("#bigpic").attr("src", $(this).find('img').attr('original')).stop().fadeTo(0, 0.2).stop().fadeTo(2000, 1);
                                document.getElementById("bigpic").onload = function() {
                                    $(".img_load").hide();
                                };
                            }
                            else
                                $(this).removeClass("now");
                        })
                    }

                    //根据全局的yangshi所在的值进行动画的轮播
                    function step() {
                        var localNum;
                        if (yangshi == (LiNum - 1)) {
                            $("#case_end_div").show(300);
                        } else {
                            localNum = yangshi + 1;
                            $(".img_scroll ul  li ").eq(localNum).click();
                        }
                    }
                    //动画的执行者 清楚历史的时间动画 执行行的动画开始
                    function anAction() {
                        if (isAn) {
                            if (anObj !== null) {
                                clearTimeout(anObj);
                                anObj = null;
                            }
                            anObj = setTimeout(step, times);
                        }
                    }

                    //向下点击
                    $(".img_next").click(function(e) {
                        e.preventDefault();
                        //滚动

                        if (anNum < maxNum) {
                            anNum++;
                            $(".img_scroll ul ").stop().animate({marginTop: -(LiHeight) * anNum});
                        }
                        //加样式
                        if (yangshi < (LiNum - 1)) {
                            yangshi++;
                            changeClass();
                        } else {
                            $("#case_end_div").show(300);
                        }
                        anAction();
                    });
                    //向上点击
                    $(".img_prev").click(function(e) {
                        e.preventDefault();
                        //滚动
                        if (anNum > 0) {
                            anNum--;
                            $(".img_scroll ul ").stop().animate({marginTop: -(LiHeight) * anNum});
                        }
                        //加样式
                        if (yangshi > 0) {
                            yangshi--;
                            changeClass();
                        }
                        anAction();

                    });

                    $("#photoNext").click(function(e) {
                        $(".img_next").click();
                    });

                    $("#photoPrev").click(function(e) {
                        $(".img_prev").click();
                    });

                    //图片触发的效果
                    $(".img_scroll ul li ").click(function(e) {
                        e.preventDefault();
                        yangshi = $(this).index();
                        changeClass();
                        anNum = yangshi;
                        if (yangshi >= 0 && yangshi < (LiNum - fengedian)) {
                            $(".img_scroll ul ").stop().animate({marginTop: -(LiHeight) * anNum});
                        }
                        anAction();
                    }).mouseover(function() {//鼠标放上来的时候清空时间动画
                        if (anObj !== null) {
                            clearTimeout(anObj);
                            anObj = null;
                        }
                    }).mouseout(function() {//鼠标离开开始新的时间动画
                        anAction();
                    });

                    $(".img_scroll ul  li ").eq(0).click();//选择开始的位置为LI的第fengedian个样式为ON 开始动画


                    $(".mfsqsg_b").click(function() {
                        $(".mfsqsj").hide();
                    });

                    $("#case_end_div_close").click(function() {
                        $("#case_end_div").hide(300);
                    });

                    $(".again_look").click(function() {
                        $("#case_end_div").hide(300);
                        $(".img_scroll ul  li ").eq(0).click();//选择开始的位置为LI的第fengedian个样式为ON 开始动画
                    });

                });




            </script>



        </div>
        <div class="cl"></div>


        <!-- 弹出层区域start  -->
        <div id='case_end_div' class="case_end_div none">
            <div  class=" w1000" style="height: 650px;">
                <div id="case_end_div_close" class="cha1 rt">X</div>
                <div class="tcc_t w900 mt20 bgwhite hauto">
                    <div class="t_ico lt"></div>
                    <?php 
        if (!empty($_smarty_tpl->tpl_vars['up_detail']->value)) {
            ?>
                
                    <div class="pic_show lt">
                        <div class="pre_img lt">
                            <p class="p4 lt"><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['up_detail']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['up_detail']->value['case_id']), $_smarty_tpl);
            ?>
">上<br />一<br />个<br />案<br />例</a></p>
                            <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['up_detail']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['up_detail']->value['case_id']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['up_detail']->value['photo'];
            ?>
" width="120" height="95"/></a> 
                        </div>
                        <div class="cl"></div>
                    </div>
                    <?php 
        }
        ?>

                    <div class="img_finish lt">
                        <h2>本图集已浏览完毕</h2>
                        <div class="again_look"><a href="javascript:void(0);">重新浏览</a></div>
                        <div class="cl"></div>
                    </div>
                    <div class="tcc_line lt"></div>
                    <div class="w_like lt">
                        <a mini-act="喜欢" href="<?php 
        echo smarty_function_link(array('ctl' => 'case:like', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['case_id']), $_smarty_tpl);
        ?>
">喜欢这套图集</a>
                    </div>
                    <?php 
        if (!empty($_smarty_tpl->tpl_vars['next_detail']->value)) {
            ?>
                    <div class="pic_show lt mb20">
                        <div class="pre_img lt">
                            <p class="p4 lt"> <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['next_detail']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['next_detail']->value['case_id']), $_smarty_tpl);
            ?>
">下<br />一<br />个<br />案<br />例</a></p>
                            <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['next_detail']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['next_detail']->value['case_id']), $_smarty_tpl);
            ?>
">

                                <img  src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['next_detail']->value['photo'];
            ?>
" width="120" height="95"/></a> 
                        </div>
                        <div class="cl"></div>
                    </div>

                    <?php 
        }
        ?>

                    <div class="n_ico lt"></div>


                </div>
                <div class="cl"></div>
                <div class="w900 hauto mt20">
                    <div class="case_command lt hauto mb30">
                        <div style="width: 460px;">
                            <div id="case_command" kinBox='{"height":380}'>  <?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "案例查看完后的弹出层广告位", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>
 </div>
                        </div>
                    </div>
                    <div class="case_command_r rt ml15 bgwhite hauto mb30">
                        <h2>热门推荐</h2>
                        <ul>
                            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "case/case", 'order' => "views:desc", 'limit' => "4"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "case/case", 'order' => "views:desc", 'limit' => "4"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                            <li>
                                <a target="_blank" title="<{$item.title}>" href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$item.photo}>" width="150" height="120" /></a><br />
                                <a target="_blank" title="<{$item.title}>" href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$item.title|cutstr:20:'..'}></a>
                            </li>
                            <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "case/case", 'order' => "views:desc", 'limit' => "4"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                        </ul>
                    </div>
                </div>

            </div>
        </div>
        <!-- 弹出层区域end  -->

        <!-- 评论区域  -->
        <div class="w1000 hauto bgwhite mt10">
            <div class="w900 hauto mt20 pinglun">
                <h2>共<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['pager']->value['count']) === null || $tmp === '' ? '0' : $tmp;
        ?>
条评论</h2>
                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['items']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                <div class="pl_contant mt10 hauto">
                    <a href="javascript:void(0);"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['userList']->value[$_smarty_tpl->tpl_vars['item']->value['uid']]['face_80'];
            ?>
" width="40" height="40" /></a>
                     <div class="pl_contant_b lt" style=" margin-left: 10px; width: 800px;" >
                        <p>
                            <span class="red"><?php 
            echo $_smarty_tpl->tpl_vars['userList']->value[$_smarty_tpl->tpl_vars['item']->value['uid']]['uname'];
            ?>
</span><span style="margin-left: 10px;">时间:<?php 
            echo smarty_modifier_format($_smarty_tpl->tpl_vars['item']->value['dateline']);
            ?>
</span><span style="margin-left: 10px;">来自:<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['create_ip'];
            ?>
</span>
                        </p>
                        <div><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['content'];
            ?>
</div>
                    </div>
                </div>
                <?php 
        }
        ?>
                <div class=" mt10 hauto"> 
                    <div class="page">
                    <?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];
        ?>

                    </div>
                </div>
                <form id='comment_form'>
                <div class=" w900 hauto mt10">
                   
                    <textarea style="width: 895px;" rows="5" name="content" ></textarea>
                    
                </div>
                <div class="fbpl rt mt20 mb30">
                    

                        <input type="submit" mini-submit='#comment_form' action="<?php 
        echo smarty_function_link(array('ctl' => 'case:comment', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['case_id']), $_smarty_tpl);
        ?>
" name="fbpl" value="发表评论" class="baocunpl"/>
               
                </div>
                </form>
            </div>
        </div>
    </div>
    <!-- 猜你喜欢区域  -->
    <div class="h30"></div>

    <?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
          <?php 
    }
    function content_55d7ef19d0fd37_61568030($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
                    <li>
                        <div class="news_qdb_sum none"><a target="_blank" title="<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['name'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
        ?>
"  class="aa"><?php 
        echo $_smarty_tpl->tpl_vars['index']->value + 1;
        ?>
</a><a target="_blank" title="<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['name'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
        ?>
" class="bb"><?php 
        echo $_smarty_tpl->tpl_vars['item']->value['name'];
        ?>
</a></div>
                        <div class="news_qdb_all none">
                            <div class="news_qdb_details mt5">
                                <a target="_blank" title="<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['name'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
        ?>
" ><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['img'];
        ?>
/<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['logo'];
        ?>
" width="110" height="55" /></a>
                                <span><font class="black">口碑值</font>&nbsp;<font class="red"><?php 
        echo round($_smarty_tpl->tpl_vars['item']->value['scores'] / 10, 1);
        ?>
</font></span>
                                <a target="_blank" title="<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['name'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
        ?>
" class="mfyu">免费预约</a>
                            </div>
                            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/dianping", 'company_id' => $_smarty_tpl->tpl_vars['item']->value['company_id'], 'order' => "new", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/dianping", 'company_id' => $_smarty_tpl->tpl_vars['item']->value['company_id'], 'order' => "new", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                            <p><font class="red">[最新评价]</font><{$item.content|cutstr:50}><font class="rt"><a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="black">更多</a></font></p>
                            <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/dianping", 'company_id' => $_smarty_tpl->tpl_vars['item']->value['company_id'], 'order' => "new", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                        </div>
                        <div class="cl"></div>
                    </li>
                    <?php 
    }
    function content_55d7ea2d7d3a51_83037181($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        if (!is_callable('smarty_block_KT')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.KT.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        ?>

    <?php 
        echo $_smarty_tpl->getSubTemplate("block/newhead.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
  
  
<div id="content">
	<div class="banner">
		<div class="left text">
			<h2>装修四大困惑</h2>
			<ul class="move">
				<ol class="cur">找装修公司</ol>
				<ol>看设计方案</ol>
				<ol>审方案报价</ol>
				<ol>管施工质量</ol>
				<div class="clear"></div>
			</ul>
			<div class="text-row" style="display:block;">
				<div class="row-list">
					<form name="form1" method="post" id="form1" target="_blank"  action="<?php 
        echo smarty_function_link(array('ctl' => 'tenders:save', 'http' => 'empty'), $_smarty_tpl);
        ?>
">
                                           <!-- 获取城市来源-->
                                           <input type="hidden" value="<?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        ?>
" name="data[cityName]" />
                                           <!-- 判断短信类型 1 为 免费量房、免费设计和报价-->
                                           <input type="hidden" value="1" name="data[leiyuang]" />
                                            <input type="hidden" id='tenders_type_id' name='data[type_id]' value="1" />
						<div class="float-list">
							<label>招标类型:</label>
							<div id="divselect1" class="selected" >
                                                            <select name="data[type_id]" style="width:107px;height:30px">
                                                <option value="0">请选择</option>
                                                <option value="1">家庭装修</option>
                                                <option value="2">办公装修</option>
                                                <option value="3">酒店装修</option>
                                                <option value="4">酒吧KTV</option>
                                                <option value="5">商铺装修</option>
                                                <option value="42">旧房改造</option>
                                            	</select>
								
							</div>
							
						</div>
						<div class="float-list">
							<label>装修预算:</label>
							<div id="divselect2" class="selected">
			                                     <select name="data[budget_id]" style="width:107px;height:30px">
                                                               <option value="0">请选择</option>                   
                                                               <option value="6">3万以下</option>
                                                               <option value="7">3-8万</option>
                                                               <option value="8">8-15万</option>
                                                               <option value="9">15-30万</option>
                                                              <option value="10">30-50万</option>
                                                               <option value="14">50万以上</option>
                                                           </select>
							</div>
							
						</div>
						<div class="float-list">
							<label>我的称呼:</label><input type="text"name='data[name]' id="input-name1"class="input-list"  value=""   />
						</div>
						<div class="float-list">
							<label>联系电话:</label><input type="text"name="data[mobile]" id="input-mobile1" class="input-list"  value="" />
						</div>
						<div class="clear hgt18"></div>
						<div class="row-bottom">
                                                     <!--onclick="alert('你好');return false"-->
							<input type="submit" id="submit-list1"  class="submit-list" value="立即申请" />
							<p>免费获得3家正规<br />装修公司不同的设计和报价</p>
							<div class="clear"></div>
						</div>
						<div class="clear hgt18"></div>
					</form>
				</div>
			</div>
			<div class="text-row">
				<div class="row-list">
					<form name="from2"  method="post"  action="<?php 
        echo smarty_function_link(array('ctl' => 'tenders:save', 'http' => 'empty'), $_smarty_tpl);
        ?>
">
						<!-- 获取城市来源-->
                                           <input type="hidden" value="<?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        ?>
" name="data[cityName]" />
                                           <!-- 判断短信类型 1 为 免费量房、免费设计和报价-->
                                           <input type="hidden" value="1" name="data[leiyuang]" />
                                            <input type="hidden" id='tenders_type_id' name='data[type_id]' value="1" />
						<div class="text-show">
							<p>即刻登记,三家正规公司设计方案免费送上门</p>
							<p>三家装修公司免费上门量房</p>
							<p>3天内出设计方案,供您自由选择</p>
						</div>
						<div class="float-list">
							<label>我的称呼:</label><input type="text"id="input-name2" class="input-list"  value="" name="data[name]" />
						</div>
						<div class="float-list">
							<label>联系电话:</label><input type="text" id="input-mobile2" class="input-list"  value="" name="data[mobile]" />
						</div>
						<div class="clear"></div>
						<div class="row-bottom">
							<input type="submit" class="submit-list"id="submit-list2" value="立即申请" />
							<p>设计费全免<br />无需支付任何费用</p>
							<div class="clear"></div>
						</div>
					</form>
				</div>
			</div>
			<div class="text-row">
				<div class="row-list">
					<form name="from3"  method="post"   action="<?php 
        echo smarty_function_link(array('ctl' => 'tenders:save', 'http' => 'empty'), $_smarty_tpl);
        ?>
">
						<!-- 获取城市来源-->
                                           <input type="hidden" value="<?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        ?>
" name="data[cityName]" />
                                           <!-- 判断短信类型 1 为 免费量房、免费设计和报价-->
                                           <input type="hidden" value="1" name="data[leiyuang]" />
                                            <input type="hidden" id='tenders_type_id' name='data[type_id]' value="1" />
						<div class="text-show">
							<p>报价吃不准,水分有木有? </p>
							<p>将您的方案报价发给我们,专业团队帮您审核 </p>
							<p>拒绝虚假,拒绝水分!</p>
						</div>
						<div class="float-list">
							<label>我的称呼:</label><input type="text"id="input-name3" class="input-list"  value="" name="data[name]" />
						</div>
						<div class="float-list">
							<label>联系电话:</label><input type="text" id="input-mobile3" class="input-list"  value="" name="data[mobile]" />
						</div>
						<div class="clear"></div>
						<div class="row-bottom">
							<input type="submit" id="submit-list3" class="submit-list" value="立即申请" />
							<p> <br />亿家网专家帮您审核</p>
							<div class="clear"></div>
						</div>
					</form>
				</div>
			</div>
			<div class="text-row">
				<div class="row-list">
					<form name="from4"  method="post"   action="<?php 
        echo smarty_function_link(array('ctl' => 'tenders:save', 'http' => 'empty'), $_smarty_tpl);
        ?>
">
						<!-- 获取城市来源-->
                                           <input type="hidden" value="<?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        ?>
" name="data[cityName]" />
                                           <!-- 判断短信类型 1 为 免费量房、免费设计和报价-->
                                           <input type="hidden" value="1" name="data[leiyuang]" />
                                            <input type="hidden" id='tenders_type_id' name='data[type_id]' value="1" />
						<div class="text-show">
							<p>没空管装修,看不出施工质量?</p>
							<p>亿家网装修质量保障服务</p>
							<p>装修过程全程免费跟踪、监理</p>
						</div>
						<div class="float-list">
							<label>我的称呼:</label><input type="text"id="input-name4" class="input-list"  value="" name="data[name]" />
						</div>
						<div class="float-list">
							<label>联系电话:</label><input type="text" id="input-mobile4" class="input-list"  value="" name="data[mobile]" />
						</div>
						<div class="clear"></div>
						<div class="row-bottom">
							<input type="submit"id="submit-list4"class="submit-list" value="立即申请" />
							<p> <br />亿家网装修质量保障服务</p>
							<div class="clear"></div>
						</div>
					</form>
				</div>
			</div>
			<div class="text-bottom-text">		已累计帮助<span>23789</span>位业主解决“装修”难题。
			</div>
		</div>
            
		<div class="left roll">
			<div class="comiis_wrapad" id="slideContainer">
				<div id="frameHlicAe" class="frame cl">
					<div class="temp"></div>
					<div class="block">
						<div  id="style2_shu_menu" class="cl" kinBox='{"height":360}'>
                                                 
							<ul class="slideshow" id="slidesImgs">
                                                            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "adv/item", 'adv_id' => "29", 'limit' => "3"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "adv/item", 'adv_id' => "29", 'limit' => "3"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

								<li>
                                                                    <a href="<{$item.link}>">
                                                                            <img src="<{$pager.img}>/<{$item.thumb}>" width="580" height="360" alt="<{$item.title}>" /></a>
								</li>
								<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "adv/item", 'adv_id' => "29", 'limit' => "3"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

							</ul>
						</div>
						<div class="slidebar" id="slideBar">
							<ul>
								<li class="on">1</li>
								<li>2</li>
								<li>3</li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="right icon">
			<div class="icon-top">
				<p>
					已为
					<span>2</span>
					<span>3</span>
					<span>7</span>
					<span>8</span>
					<span>9</span>
					位</p>
				<p>
					业主解决“装修”难题
				</p>
			</div>
			<ul>
				<li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
"><i class="fa fa-bar-chart"></i><p>免费测量</p></a></li>
				<li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
"><i class="fa fa-lastfm"></i><p>免费设计</p></a></li>
				<li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'zb'), $_smarty_tpl);
        ?>
"><i class="fa fa-dollar"></i><p>免费报价</p></a></li>
				<li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
"><i class="fa fa-unlink"></i><p>第三方监理</p></a></li>
				<li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
"><i class="fa fa-compress"></i><p>先行赔付</p></a></li>
				<li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
"><i class="fa fa-ticket"></i><p>免费验房</p></a></li>
				<div class="clear"></div>
			</ul>
		</div>
		<div class="clear"></div>
	</div>
	<div class="host-new">
		<div class="host-new-con">
			<div class="left host">
				<ul class="m-ovn">
					<ol class="cur">装修日记</ol>
					<ol>装修攻略</ol>
					<ol>小区团装</ol>
					<ol class="no-image">在建工地</ol>
					<div class="clear"></div>
				<!--<a href="<?php 
        echo smarty_function_link(array('ctl' => 'content'), $_smarty_tpl);
        ?>
">请选择类型<i class="fa fa-angle-double-right"></i></a>-->
				</ul>
				<div class="text-host" style="display:block">
                                     
					
					<!--<div class="host-list">
                                             <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "4"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "4"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                             <{if $index==0}>
						<div class="host-list-image">
							<a href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>" title="<{$item.title}>"><img src="<{$pager.img}>/<{$item.face_pic}>" width="200px" height="140px"/></a>
						</div>
                                            
						<ul>   
                                                     
							<li><a class="one" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>"><i>1.</i><{$item.title}></a></li>
                                                    <{else}>    
							<li><a href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>"><i>2.</i><{$item.title}></a></li>
							
                                                 <{/if}>       
						</ul>
                                             <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "4"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</div>-->
                                   
                                  
					<div class="host-list">
                                              <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "5"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "5"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                              
                                             <{if $index==0}>
						<div class="host-list-image">
                                                    <a href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>" target="_blank" title="<{$item.title}>"><img src="<{$pager.img}>/<{$item.face_pic}>" width="200px" height="140px"/></a>
						</div>
                                            
						<ul>   
                                                     
							<li><a class="one" target="_blank" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>"><i>1.</i><{$item.title|cutstr:24:""}></a></li>
                                                    <{else}>    
							<li><a target="_blank" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>"><i><{$index+1}></i><{$item.title|cutstr:24:""}></a></li>
							
                                                 <{/if}>       
						</ul>
                                           <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "5"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</div>
                                     <div class="host-list">
                                              <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "10"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "10"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                              
                                             <{if $index==5}>
						<div class="host-list-image">
							<a  target="_blank" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>" title="<{$item.title}>"><img src="<{$pager.img}>/<{$item.face_pic}>" width="200px" height="140px"/></a>
						</div>
                                            
						<ul>   
                                                     
							<li><a  target="_blank" class="one" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>"><i>1.</i><{$item.title|cutstr:24:""}></a></li>
                                                    <{else if $index>5&&$index<10}>    
							<li><a target="_blank" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>"><i><{$index-4}></i><{$item.title|cutstr:24:""}></a></li>
							
                                                 <{/if}>       
						</ul>
                                           <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "10"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</div>
                                      <div class="host-list">
                                              <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "15"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "15"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                              
                                             <{if $index==10}>
						<div class="host-list-image">
							<a  target="_blank" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>" title="<{$item.title}>"><img src="<{$pager.img}>/<{$item.face_pic}>" width="200px" height="140px"/></a>
						</div>
                                            
						<ul>   
                                                     
							<li><a  target="_blank" class="one" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>"><i>1.</i><{$item.title|cutstr:24:""}></a></li>
                                                    <{else if $index>10&&$index<15}>    
							<li><a  target="_blank" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>"><i><{$index-9}></i><{$item.title|cutstr:24:""}></a></li>
							
                                                 <{/if}>       
						</ul>
                                           <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "15"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</div>
                                         <div class="host-list">
                                              <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "20"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "20"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                              
                                             <{if $index==15}>
						<div class="host-list-image">
							<a target="_blank" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>" title="<{$item.title}>"><img src="<{$pager.img}>/<{$item.face_pic}>" width="200px" height="140px"/></a>
						</div>
                                            
						<ul>   
                                                     
							<li><a target="_blank" class="one" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>"><i>1.</i><{$item.title|cutstr:24:""}></a></li>
                                                    <{else if $index>15&&$index<20}>    
							<li><a target="_blank" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>"><i><{$index-14}></i><{$item.title|cutstr:24:""}></a></li>
							
                                                 <{/if}>       
						</ul>
                                           <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "20"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</div>
                                           
			
                                    
					<div class="clear"></div>
				</div>
				<div class="text-host">
					<div class="host-list-two">
						<h2>装修知识</h2>
						<ul>
                                                     <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "article/view", 'cat_id' => 10, 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "article/view", 'cat_id' => 10, 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                                      <{if $index ==0}>
							<li><a target="_blank" class="one" href="<{link ctl='content:detail' arg0=$item.article_id}>"><i>1.</i><{$item.title|cutstr:22:""}><span><{date('m-d',$item.dateline)}></span></a></li>
                                                        <{else}>
							<li><a target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>"><i><{$index+1}></i><{$item.title|cutstr:22:""}><span><{date('m-d',$item.dateline)}></span></a></li>
							<{/if}>
                                                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "article/view", 'cat_id' => 10, 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

						</ul>
					</div>
					<div class="host-list-two">
						<h2>装修风水</h2>
						<ul>
							<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "article/view", 'cat_id' => 15, 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "article/view", 'cat_id' => 15, 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                                      <{if $index ==0}>
							<li><a  target="_blank" class="one" href="<{link ctl='content:detail' arg0=$item.article_id}>"><i>1.</i><{$item.title|cutstr:22:""}><span><{date('m-d',$item.dateline)}></span></a></li>
                                                        <{else}>
							<li><a target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>"><i><{$index+1}></i><{$item.title|cutstr:22:""}><span><{date('m-d',$item.dateline)}></span></a></li>
							<{/if}>
                                                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "article/view", 'cat_id' => 15, 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

						</ul>
					</div>
					<div class="host-list-two">
						<h2>家居百科</h2>
						<ul>
					            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "article/view", 'cat_id' => 60, 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "article/view", 'cat_id' => 60, 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                                         <{if $index ==0}>
							    <li><a  target="_blank" class="one" href="<{link ctl='content:detail' arg0=$item.article_id}>"><i>1.</i><{$item.title|cutstr:22:""}><span><{date('m-d',$item.dateline)}></span></a></li>
                                                        <{else}>
							   <li><a  target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>"><i><{$index+1}></i><{$item.title|cutstr:22:""}><span><{date('m-d',$item.dateline)}></span></a></li>
							<{/if}>
                                                   <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "article/view", 'cat_id' => 60, 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

						</ul>
					</div>
					<div class="clear"></div>
				</div>
				<div class="text-host">
                                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/tuan", 'order' => "dateline:desc", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "3"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/tuan", 'order' => "dateline:desc", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "3"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

					<div class="host-list-two">
						<div class="host-list-two-image">
                                                    
							<a href="<{link ctl='home:tuanDetail' arg0=$item.tuan_id}>" target="_blank" title="<{$item.title}>">
                                                             <{calldata mdl="home/main"  id=$item.home_id  limit="1" }> 
                                                            <img src="<{$pager.img}>/<{$item.face_pic}>" width="263" height="180"  />
                                                            
                                                        </a>
						</div>
                                            <{calldata mdl="home/tuan"  home_id=$item.id  limit="1" }>
						<div class="host-title">                                                                      
							 <{$item.title|cutstr:22:""}>              
						</div>
						<div class="host-dis">
							报名立减<span><{$item.jieyue}></span>元
                                                        <a target="_blank" title="<{$item.title}>" href="<{link ctl='home:tuanDetail' arg0=$item.tuan_id}>"><input type="button" class="host-input" value="我要报名" />
                                                        </a></div>
                                            <{/calldata}>
                                             <{/calldata}>
					</div>
                                    
                                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/tuan", 'order' => "dateline:desc", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "3"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					
					<div class="clear"></div>
				</div>
				<div class="text-host">
					<div class="host-list">
						<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/site", 'limit' => "5"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/site", 'limit' => "5"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
                                       
                                             <{if $index==0}>
						<div class="host-list-image">
							<a  target="_blank" href="<{link ctl='site:detail' arg0=$item.site_id}>" title="<{$item.title}>"><img src="<{$pager.img}>/<{$item.face_pic}>" width="200px" height="140px"/></a>
						</div>
                                            
						<ul>   
                                                     
							<li><a  target="_blank" class="one" href="<{link ctl='site:detail' arg0=$item.site_id}>"><i>1.</i><{$item.title|cutstr:24:""}></a></li>
                                                    <{else}>    
							<li><a  target="_blank" href="<{link ctl='site:detail' arg0=$item.site_id}>"><i><{$index+1}></i><{$item.title|cutstr:24:""}></a></li>
							
                                                 <{/if}>       
						</ul>
                                           <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/site", 'limit' => "5"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</div>
					<div class="host-list">
						<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/site", 'limit' => "10"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/site", 'limit' => "10"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
                                       
                                             <{if $index==5}>
						<div class="host-list-image">
							<a target="_blank" href="<{link ctl='site:detail' arg0=$item.site_id}>" title="<{$item.title}>"><img src="<{$pager.img}>/<{$item.face_pic}>" width="200px" height="140px"/></a>
						</div>
                                            
						<ul>   
                                                     
							<li><a target="_blank" class="one" href="<{link ctl='site:detail' arg0=$item.site_id}>"><i>1.</i><{$item.title|cutstr:24:""}></a></li>
                                                    <{else if $index>5&&$index<10}>    
							<li><a target="_blank" href="<{link ctl='site:detail' arg0=$item.site_id}>"><i><{$index-4}></i><{$item.title|cutstr:24:""}></a></li>
							
                                                 <{/if}>       
						</ul>
                                           <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/site", 'limit' => "10"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</div>
					<div class="host-list">
						<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/site", 'limit' => "15"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/site", 'limit' => "15"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
                                       
                                             <{if $index==10}>
						<div class="host-list-image">
							<a target="_blank" href="<{link ctl='site:detail' arg0=$item.site_id}>" title="<{$item.title}>"><img src="<{$pager.img}>/<{$item.face_pic}>" width="200px" height="140px"/></a>
						</div>
                                            
						<ul>   
                                                     
							<li><a  target="_blank" class="one" href="<{link ctl='site:detail' arg0=$item.site_id}>"><i>1.</i><{$item.title|cutstr:24:""}></a></li>
                                                    <{else if $index>10&&$index<15}>      
							<li><a target="_blank"  href="<{link ctl='site:detail' arg0=$item.site_id}>"><i><{$index-9}></i><{$item.title|cutstr:24:""}></a></li>
							
                                                 <{/if}>       
						</ul>
                                           <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/site", 'limit' => "15"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</div>
					<div class="host-list">
						<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/site", 'limit' => "20"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/site", 'limit' => "20"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
                                       
                                             <{if $index==15}>
						<div class="host-list-image">
							<a target="_blank" href="<{link ctl='site:detail' arg0=$item.site_id}>" title="<{$item.title}>"><img src="<{$pager.img}>/<{$item.face_pic}>" width="200px" height="140px"/></a>
						</div>
                                            
						<ul>   
                                                     
							<li><a  target="_blank" class="one" href="<{link ctl='site:detail' arg0=$item.site_id}>"><i>1.</i><{$item.title|cutstr:24:""}></a></li>
                                                     <{else if $index>15&&$index<20}>     
							<li><a  target="_blank" href="<{link ctl='site:detail' arg0=$item.site_id}>"><i><{$index-14}></i><{$item.title|cutstr:24:""}></a></li>
							
                                                 <{/if}>       
						</ul>
                                           <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/site", 'limit' => "20"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</div>
					<div class="clear"></div>
				</div>
			</div>
			<div class="right new">
				<div class="new-title">
					最新订单
					<a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
">我要申请<i class="fa fa-angle-double-right"></i></a>
				</div>
				<div class="new-con">
					<ul>
						<ol>日期</ol>
						<ol>业主</ol>
						<ol>面积</ol>
						<ol>预算</ol>
						<div class="clear"></div>
					</ul>
					<div class="scroll-down">
						<div class="heigt">
                                                     <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "tenders/tenders", 'order' => "new", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "20"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'order' => "new", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "20"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

							<a target="_blank" title="<{$item.title}>" href="<{link ctl='tenders:detail' arg0=$item.id}>">
								<ul>
                                                                 
									<li><{$item.dateline|format:"m月d日"}></li>
									<li><{$item.name|default:'--'}></li>
									<li><{$item.area|default:'--'}>㎡</li>
									<li><{$item.budget_title}></li>
									<div class="clear"></div>
								</ul>
                                                           
							</a>
                                                       <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'order' => "new", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "20"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
  
							
						</div>
					</div>
				</div>
			</div>
			<div class="clear"></div>
		</div>
	</div>
	<div class="brand-help">
		<div class="new-title">
			品牌装饰公司
			<a href="<?php 
        echo smarty_function_link(array('ctl' => 'passport:signup'), $_smarty_tpl);
        ?>
">我要入驻<i class="fa fa-angle-double-right"></i></a>
		</div>
		<div class="left brand">
			<ul>
				 <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('id' => "1", 'name' => "品牌装修公司", 'limit' => "20", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_KT(array('id' => "1", 'name' => "品牌装修公司", 'limit' => "20", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                <li class="aa<{$item.company_id}>" ><a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><img src="<{$pager.img}>/<{$item.logo}>" width="150" height="75"></a></li>
                <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('id' => "1", 'name' => "品牌装修公司", 'limit' => "20", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

				<div class="clear"></div>
			</ul>
		</div>
      <script type="text/javascript">
                $(document).ready(function(){
                     $(".brand li").each(function(a){                                 
                      var att=$(this).attr("class");  
                      $(this).nextAll("."+att).hide();                                         
            });
                })
   
            </script>      
            
            
            
		<div class="right help">
			<ul class="h-ovn">
				<ol class="cur">帮我找公司</ol>
				<ol>业主最新签约</ol>
				<div class="clear"></div>
			</ul>
			<div class="text-help" style="display:block;">
				<div class="help-title">装修三部曲,保障带回家</div>
				<ul class="help-icon">
					<li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
"><i class="fa fa-ioxhost"></i><p>发招标</p></a></li>
					<li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
"><i class="fa fa-btc"></i><p>比方案/报价</p></a></li>
					<li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
"><i class="fa fa-th-list"></i><p>享保障</p></a></li>
					<div class="clear"></div>
				</ul>
				<div class="help-form">
					<form name="form5"  onsubmit="return check_form(this)" action="<?php 
        echo smarty_function_link(array('ctl' => 'tenders:save', 'http' => 'empty'), $_smarty_tpl);
        ?>
" method="post">
						<!-- 获取城市来源-->
                                           <input type="hidden" value="<?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        ?>
" name="data[cityName]" />
                                           <!-- 判断短信类型 1 为 免费量房、免费设计和报价-->
                                           <input type="hidden" value="1" name="data[leiyuang]" />
                                           
                                            <input type="hidden" id='tenders_type_id' name='data[type_id]' value="1" />
					<div class="help-form-list">
						<label>装修类型:</label>
				            <div id="divselect3" class="help-select">
                                                <select name="data[type_id]" style="width:150px;height:30px"> 
                                               <option value="0">请选择</option>
                                                <option value="1">家庭装修</option>
                                                <option value="2">办公装修</option>
                                                <option value="3">酒店装修</option>
                                                <option value="4">酒吧KTV</option>
                                                <option value="5">商铺装修</option>
                                                <option value="42">旧房改造</option>
                                            	</select>
					    </div>
						
					</div>
					<div class="help-form-list">
						<label>装修预算:</label>
					   <div id="divselect4" class="help-select">
						<select name="data[budget_id]" style="width:150px;height:30px">
                                                <option value="0">请选择</option>                    
                                                <option value="6">3万以下</option>
                                                <option value="7">3-8万</option>
                                                <option value="8">8-15万</option>
                                                <option value="9">15-30万</option>
                                                <option value="10">30-50万</option>
                                                <option value="14">50万以上</option>
                                                </select>
						</div>
						
					</div>
					<div class="help-form-list">
						<label>您的称呼:</label><input type="text" id="input-name5"class="help-input" value="" name="data[name]" />
					</div>
					<div class="help-form-list">
						<label>您的电话:</label><input type="text" id="input-mobile5" class="help-input"  value="" name="data[mobile]" />
					</div>
					<div class="help-form-submit">
						<input type="submit" id="submit-list5" class="help-submit" value="立即申请" />
						<p>3家公司方案免费送<br />上门</p>
						<div class="clear"></div>
					</div>
					</form>
				</div>
			</div>
			<div class="text-help">
				<ul class="help-image-con">
                                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "tenders/tenders", 'group_by' => "sign_company_id", 'status' => '1', 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "sign_time:desc", 'limit' => "4"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'group_by' => "sign_company_id", 'status' => '1', 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "sign_time:desc", 'limit' => "4"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

					<li>
                                             <{calldata mdl="company/company"  company_id=$item.sign_company_id }>
						<a class="help-left-image" href="<{link ctl='company' arg0=$item.company_id}>"><img src="<{$pager.img}>/<{$item.logo}>" width="110" height="50" /></a>
						<div class="help-con">
							<a href="<{link ctl='company' arg0=$item.company_id}>"><{$item.name|cutstr:20:""}></a>
                                                        <{calldata mdl="tenders/tenders" status=1 sign_company_id=$item.company_id  order="sign_time:desc" limit="1"}>
							<p><{$areaList[$item.area_id].area_name}>-<{$item.home_name|cutstr:14}></p>
							<p><{$item.name|cutstr:16}></p>
                                                        <{/calldata}>  
						</div>
                                                             
						<div class="clear"></div>
                                             <{/calldata}>     
					</li>
                                    
                                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'group_by' => "sign_company_id", 'status' => '1', 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "sign_time:desc", 'limit' => "4"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
 
					
					
					
				</ul>
			</div>
		</div>
		<div class="clear"></div>
	</div>
	<div class="case-rows">
		<div class="case-rows-con">
			<div class="left case">
				<div class="new-title">
					<ul class="case-type">
						<ol class="cur">风格</ol>
						<ol>空间</ol>
						<ol>别墅</ol>
						<ol>小户型</ol>
						<ol>公装</ol>
						<div class="clear"></div>
					</ul>
					<a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
">更多<i class="fa fa-angle-double-right"></i></a>
				</div>
				<div class="text-case" style="display:block;">
					<ul>
						<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:风格", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:风格", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

						<li style="left:2.5px; top:0;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$item.thumb}>" width="215" height="290" /><span><{$item.title}></span></a></li>
						  <{foreach $item.ext.photos as $photo}>                     
                                                  <{if $photo@iteration ==2||$photo@iteration ==3}>
                                                         <{if $photo@iteration ==2}>
                                                <li style="left:222.5px; top:0;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="145" /><span><{$photo.title}></span></a></li>
                                                        <{else if $photo@iteration ==3}>
						<li style="left:222.5px; top:150px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="140" /><span><{$photo.title}></span></a></li>
                                                         <{/if}>                                                                       
                                              <{else if $photo@iteration ==4}>
						<li style="left:442.5px; top:0px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>" width="215" height="290" /><span><{$photo.title}></span></a></li>
                                                <{else if $photo@iteration ==5||$photo@iteration ==6}>                       
                                                         <{if $photo@iteration ==5}>
						<li style="left:662.5px; top:0px;"><a  target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="125" /><span><{$photo.title}></span></a></li>
                                                 <{else if $photo@iteration ==6}>
						<li style="left:662.5px; top:130px;"><a  target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="160" /><span><{$photo.title}></span></a></li>
						                                           
                                                <{/if}> 
                                                
                                                <{/if}>
                                                <{/foreach}>
                                                <div class="clear"></div>  
                                                <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:风格", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</ul>
				</div>
				<div class="text-case">
					<ul>
						<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:空间", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:空间", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

						<li style="left:2.5px; top:0;overflow:hidden;width:215px;height:290px"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img style="position:relative;top:-50px;left:-50px"src="<{$pager.img}>/<{$item.thumb}>"  /><span><{$item.title}></span></a></li>
						  <{foreach $item.ext.photos as $photo}>                     
                                                  <{if $photo@iteration ==2||$photo@iteration ==3}>
                                                         <{if $photo@iteration ==2}>
                                                <li style="left:222.5px; top:0;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="145" /><span><{$photo.title}></span></a></li>
                                                        <{else if $photo@iteration ==3}>
						<li style="left:222.5px; top:150px;"><a target="_blank"  href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="140" /><span><{$photo.title}></span></a></li>
                                                         <{/if}>                                                                       
                                              <{else if $photo@iteration ==4}>
						<li style="left:442.5px; top:0px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>" width="215" height="290" /><span><{$photo.title}></span></a></li>
                                                <{else if $photo@iteration ==5||$photo@iteration ==6}>                       
                                                         <{if $photo@iteration ==5}>
						<li style="left:662.5px; top:0px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="125" /><span><{$photo.title}></span></a></li>
                                                 <{else if $photo@iteration ==6}>
						<li style="left:662.5px; top:130px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="160" /><span><{$photo.title}></span></a></li>
						                                           
                                                <{/if}> 
                                                
                                                <{/if}>
                                                <{/foreach}>
                                                <div class="clear"></div>  
                                                <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:空间", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</ul>
				</div>
				<div class="text-case">
					<ul>
                                            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:别墅", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:别墅", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

						<li style="left:2.5px; top:0;"><a target="_blank"href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$item.thumb}>" width="215" height="290" /><span><{$item.title}></span></a></li>
						  <{foreach $item.ext.photos as $photo}>                     
                                                  <{if $photo@iteration ==2||$photo@iteration ==3}>
                                                         <{if $photo@iteration ==2}>
                                                <li style="left:222.5px; top:0;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="145" /><span><{$photo.title}></span></a></li>
                                                        <{else if $photo@iteration ==3}>
						<li style="left:222.5px; top:150px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="140" /><span><{$photo.title}></span></a></li>
                                                         <{/if}>                                                                       
                                              <{else if $photo@iteration ==4}>
						<li style="left:442.5px; top:0px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>" width="215" height="290" /><span><{$photo.title}></span></a></li>
                                                <{else if $photo@iteration ==5||$photo@iteration ==6}>                       
                                                         <{if $photo@iteration ==5}>
						<li style="left:662.5px; top:0px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="125" /><span><{$photo.title}></span></a></li>
                                                 <{else if $photo@iteration ==6}>
						<li style="left:662.5px; top:130px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="160" /><span><{$photo.title}></span></a></li>
						                                           
                                                <{/if}> 
                                                
                                                <{/if}>
                                                <{/foreach}>
                                                <div class="clear"></div>  
                                                <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:别墅", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</ul>
				</div>
				<div class="text-case">
					<ul>
						<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:小户型", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:小户型", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

						<li style="left:2.5px; top:0;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$item.thumb}>" width="215" height="290" /><span><{$item.title}></span></a></li>
						  <{foreach $item.ext.photos as $photo}>                     
                                                  <{if $photo@iteration ==2||$photo@iteration ==3}>
                                                         <{if $photo@iteration ==2}>
                                                <li style="left:222.5px; top:0;"><a  target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="145" /><span><{$photo.title}></span></a></li>
                                                        <{else if $photo@iteration ==3}>
						<li style="left:222.5px; top:150px;"><a  target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="140" /><span><{$photo.title}></span></a></li>
                                                         <{/if}>                                                                       
                                              <{else if $photo@iteration ==4}>
						<li style="left:442.5px; top:0px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>" width="215" height="290" /><span><{$photo.title}></span></a></li>
                                                <{else if $photo@iteration ==5||$photo@iteration ==6}>                       
                                                         <{if $photo@iteration ==5}>
						<li style="left:662.5px; top:0px;"><a  target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="125" /><span><{$photo.title}></span></a></li>
                                                 <{else if $photo@iteration ==6}>
						<li style="left:662.5px; top:130px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="160" /><span><{$photo.title}></span></a></li>
						                                           
                                                <{/if}> 
                                                
                                                <{/if}>
                                                <{/foreach}>
                                                <div class="clear"></div>  
                                                <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:小户型", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</ul>
				</div>
				<div class="text-case">
					<ul><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:公装", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:公装", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

						<li style="left:2.5px; top:0;"><a target="_blank"  href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$item.thumb}>" width="215" height="290" /><span><{$item.title}></span></a></li>
						  <{foreach $item.ext.photos as $photo}>                     
                                                  <{if $photo@iteration ==2||$photo@iteration ==3}>
                                                         <{if $photo@iteration ==2}>
                                                <li style="left:222.5px; top:0;"><a  target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="145" /><span><{$photo.title}></span></a></li>
                                                        <{else if $photo@iteration ==3}>
						<li style="left:222.5px; top:150px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="140" /><span><{$photo.title}></span></a></li>
                                                         <{/if}>                                                                       
                                              <{else if $photo@iteration ==4}>
						<li style="left:442.5px; top:0px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>" width="215" height="290" /><span><{$photo.title}></span></a></li>
                                                <{else if $photo@iteration ==5||$photo@iteration ==6}>                       
                                                         <{if $photo@iteration ==5}>
						<li style="left:662.5px; top:0px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="125" /><span><{$photo.title}></span></a></li>
                                                 <{else if $photo@iteration ==6}>
						<li style="left:662.5px; top:130px;"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>" /><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="215" height="160" /><span><{$photo.title}></span></a></li>
						                                           
                                                <{/if}> 
                                                
                                                <{/if}>
                                                <{/foreach}>
                                                <div class="clear"></div>  
                                                <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:公装", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					</ul>
				</div>
			</div>
			<div class="right rows">
				<div class="new-title">
					热门小区
					<a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:items'), $_smarty_tpl);
        ?>
">更多<i class="fa fa-angle-double-right"></i></a>
				</div>
				<div class="rows-host">
                                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/main", 'order' => "jf:desc", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/main", 'order' => "jf:desc", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                  <{if $item.jf<(__TIME|format:"y-m-d")}>
                                    <a target="_blank" title="<{$item.name}>" href="<{link ctl='home:detail' arg0=$item.id}>">
                                        <img src="<{$pager.img}>/<{$item.face_pic}>" width="260" height="210" /></a>
					<div class="rows-host-text">
						<a target="_blank" title="<{$item.name}>" href="<{link ctl='home:detail' arg0=$item.id}>"><{$item.name}></a>
						<p>设计方案:<span><{$item.case_num|default:'--'}></span>套</p>
                                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='home:detail' arg0=$item.id}>"><input type="submit" class="rows-submit" value="前往了解" /></a>
					</div>
                                <{/if}>
                                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/main", 'order' => "jf:desc", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

				</div>
			</div>
			<div class="clear"></div>
		</div>
	</div>
	<div class="figure">
		<div class="left boss">
			<div class="left ceo">
				<div class="boss-title">
					<ul>
						<ol class="cur">企业CEO专访</ol>
						<ol>装企设计总监专访</ol>
						<div class="clear"></div>
					</ul>
				</div>
				
				<div class="boss-con" style="display:block;">
					<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "article/view", 'limit' => "1", 'article_id' => "155"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "article/view", 'limit' => "1", 'article_id' => "155"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                           <a target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>" title="<{$item.title}>">
                                           <img src="<{$pager.img}>/<{$item.thumb}>" width="145" height="145" /></a>
                                        <div class="boss-enter"><a target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>" title="<{$item.title}>">
                                                专访企业:巨嘉装饰集团</a></div>
					   <div class="boss-name"><a target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>" title="<{$item.title}>">
                                                   企业CEO:付总</a></div>
					   <p>个人简介:<{$item.desc|cutstr:100:'...'}></p>
					<div class="clear"></div>
					<div class="ask-con">
						<p class="ask">亿家网:请问付总对目前装修行业发展前景状况和未来发展趋势的看法?</p>
						<p class="answer">付总:随着中国的发展,城乡一体化的改造,行业发展前景是非常乐观的,因为国内需求量较大。</p>
						<p class="ask">亿家网:针对目前装修行业之间混战及恶意竞争的现状有什么好的建议?</p>
						<p class="answer">付总:随着时代的变革,跨界经营慢慢在抢占装修市场,装修行业应以合作、整合、联盟、共赢的趋势发展,突出产品自身优势,做最具性价比的产品。</p>
					</div>
                                         <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "article/view", 'limit' => "1", 'article_id' => "155"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

				</div>
                            <div class="boss-con">
                                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "article/view", 'limit' => "1", 'article_id' => "156"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "article/view", 'limit' => "1", 'article_id' => "156"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                           <a target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>" title="<{$item.title}>">
                                           <img src="<{$pager.img}>/<{$item.thumb}>" width="145" height="145" /></a>
                                        <div class="boss-enter"><a target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>" title="<{$item.title}>">
                                                专访企业:鲁公大宅装饰有限公司</a></div>
					   <div class="boss-name"><a target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>" title="<{$item.title}>">
                                                   企业总监:孙海松</a></div>
					   <p>个人简介:<{$item.desc|cutstr:100:'...'}></p>
					<div class="clear"></div>
					<div class="ask-con">
						<p class="ask">亿家网:请问—孙总监,您认为目前在装修行业里,设计师扮演的是一个什么样的角色?</p>
						<p class="answer">孙总监:其实设计师是一个很重要的角色。除了参谋以外,还是一个重要的参与者,能给业主提供专业的参考指导。</p>
						<p class="ask">亿家网:请问—总监,如何阐述设计师在装修工程里面的重要性?</p>
						<p class="answer">孙总监:可以这样说,装修如果没有设计师,那其它工作都没法做。设计师要把业主的要求,装修风格,材料、使用功能都安排好了,施工队才能施工。就好比,一条新闻如果没有记者先写好了,那广播电视是无法播出一样。</p>
					</div>
                                         <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "article/view", 'limit' => "1", 'article_id' => "156"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

				</div>
			</div>
			<div class="right news">
				<div class="news-title">
					最新资讯
					<a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => '68'), $_smarty_tpl);
        ?>
">更多<i class="fa fa-angle-double-right"></i></a>
				</div>
				<ul> <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "article/view", 'limit' => "10", 'cat_id' => "68", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "article/view", 'limit' => "10", 'cat_id' => "68", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

					
					<li><a target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>" title="<{$item.title}>"><{$item.title}><span><{date('Y-m-d',$item.dateline)}></span></a></li><?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "article/view", 'limit' => "10", 'cat_id' => "68", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

				</ul>
			</div>
			<div class="clear"></div>
		</div>
		<div class="right staff">
			<div class="staff-title">
				<ul>
					<ol class="cur">设计师排行</ol>
					<ol>预算小工具</ol>
					<div class="clear"></div>
				</ul>
			</div>
			<div class="staff-list" style="display:block;">
				<ul class="staff-user">
                                     <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "designer/designer", 'limit' => "5", 'order' => "case_num:desc", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "designer/designer", 'limit' => "5", 'order' => "case_num:desc", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

					<li>
						<a target="_blank" href="<{link ctl='blog' arg0=$item.uid}>" title="<{$item.uname}>">
							<img src="<{$pager.img}>/<{$item.face}>" width="50" height="50" />
							<p class="staff-name">设计师姓名:<{$item.uname}></p>
							<p>案例数:<span><{$item.case_num}></span></p>
							<p>毕业院校:<{$item.school|cutstr:16:''}></p>
						</a>
					</li>
                                     <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "designer/designer", 'limit' => "5", 'order' => "case_num:desc", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

					
					
				</ul>
			</div>
			<div class="staff-list">
				<div class="unit-list">
					<a href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'main'), $_smarty_tpl);
        ?>
"><i class="fa fa-magic"></i><p>涂料计算器</p></a>
					<a href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'diban'), $_smarty_tpl);
        ?>
"><i class="fa fa-th"></i><p>地板计算器</p></a>
					<a href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'bizhi'), $_smarty_tpl);
        ?>
"><i class="fa fa-image"></i><p>壁纸计算器</p></a>
					<a href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'qiangzhuan'), $_smarty_tpl);
        ?>
"><i class="fa fa-road"></i><p>墙砖预算器</p></a>
					<a href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'chuanlian'), $_smarty_tpl);
        ?>
"><i class="fa fa-external-link"></i><p>窗帘计算器</p></a>
					<a href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'dizhuan'), $_smarty_tpl);
        ?>
"><i class="fa fa-inbox"></i><p>地砖计算器</p></a>
					<div class="clear"></div>
				</div>
			</div>
		</div>
		<div class="clear"></div>
	</div>
	<div class="link">
		<div class="link-con">
			<div class="new-title">
				友情连接
				<!--<a href="">申请友链<i class="fa fa-angle-double-right"></i></a>-->
			</div>
			<ul>
				<?php 
        echo smarty_function_widget(array('id' => "links/news", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_smarty_tpl);
        ?>

				
				<div class="clear"></div>
			</ul>
		</div>
	</div>
</div>
<div id="footer">
	<div class="footer">
		<div class="left footer-logo">
			<img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/images/footer-logo.png" width="265" height="155" />
		</div>
		<div class="right copy">
			<ul>
                             <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

       <li><a target="_blank" title="<{$item.title}>" href="<{link ctl='about' arg0=$item.page}>">
				<{$item.title}></a></li>
                             <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => 'article/view', 'from' => 'about', 'order' => 'article_id:ASC', 'limit' => 10), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

				<div class="clear"></div>
			</ul>
			<p>Copyright © 2014 亿家网, All rights reserved. ICP备案:鄂ICP备14004834号-1 </p>
			<p>技术支持:www.ejiawang.cc 
                            <!--<a mini-load='申请免费量房' href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:yuyue2', 'arg0' => '1', 'http' => 'empty'), $_smarty_tpl);
        ?>
" >免费预约</a>-->
                        
                        </p>
			<img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/images/icon.png" />
		</div>
		<div class="clear"></div>
	</div>
</div>
<script type="text/javascript"> 
$(function(){ 
	$.divselect("#divselect","#dist");
	$.divselect("#divselect1","#type");
	$.divselect("#divselect2","#money");
	$.divselect("#divselect3","#type1");
	$.divselect("#divselect4","#money1");
	show('.text ul ol','.text .text-row','mouseover');
	show('.host ul ol','.host .text-host','mouseover');
	show('.help ul ol','.help .text-help','mouseover');
	show('.case-type ol','.case .text-case','mouseover');
	show('.boss-title ol','.boss-con','mouseover');
	show('.staff-title ol','.staff-list','mouseover');
	SlideShow(3000);
	var scrtime;
	$(".scroll-down").hover(function(){
		clearInterval(scrtime);
	},function(){
		scrtime = setInterval(function(){
			var $ul = $(".scroll-down .heigt");
			var liHeight = $ul.find("a:last").height();
			$ul.animate({marginTop : -liHeight + "px"},1000,function(){
			
			$ul.find("a:first").appendTo($ul)
			$ul.find("a:first").hide();
			$ul.css({marginTop:0});
			$ul.find("a:last").fadeIn(1000);
			});
		},1000);
	}).trigger("mouseleave");
     
}); 
</script>

 <script>
               $(document).ready(function(){
                    $("#submit-list1").click(function(){                    
                       if($("#input-name1").val()==""){
                         alert("请填入您的姓名");
                         return false;
                         }
                         if($("#input-mobile1").val()==""){
                         alert("请填入您的电话");
                         return false;
                         }
                          var reg = /^1[3|4|5|8|7][0-9]\d{8}$/;
                           if(!reg.test($.trim( $("#input-mobile1").val() )))
                           {
                            alert("手机号码格式不对,请输入11位正确号码!");
                            return false;
                           }
                        });
                    $("#submit-list2").click(function(){                    
                       if($("#input-name2").val()==""){
                         alert("请填入您的姓名");
                         return false;
                         }
                         if($("#input-mobile2").val()==""){
                         alert("请填入您的电话");
                         return false;
                         }
                          var reg = /^1[3|4|5|8|7][0-9]\d{8}$/;
                           if(!reg.test($.trim( $("#input-mobile2").val() )))
                           {
                            alert("手机号码格式不对,请输入11位正确号码!");
                            return false;
                           }
                        });
                    $("#submit-list3").click(function(){                    
                       if($("#input-name3").val()==""){
                         alert("请填入您的姓名");
                         return false;
                         }
                         if($("#input-mobile3").val()==""){
                         alert("请填入您的电话");
                         return false;
                         }
                          var reg = /^1[3|4|5|8|7][0-9]\d{8}$/;
                           if(!reg.test($.trim( $("#input-mobile3").val() )))
                           {
                            alert("手机号码格式不对,请输入11位正确号码!");
                            return false;
                           }
                        }); 
                    $("#submit-list4").click(function(){                    
                       if($("#input-name4").val()==""){
                         alert("请填入您的姓名");
                         return false;
                         }
                         if($("#input-mobile4").val()==""){
                         alert("请填入您的电话");
                         return false;
                         }
                          var reg = /^1[3|4|5|8|7][0-9]\d{8}$/;
                           if(!reg.test($.trim( $("#input-mobile4").val() )))
                           {
                            alert("手机号码格式不对,请输入11位正确号码!");
                            return false;
                           }
                        });
                    $("#submit-list5").click(function(){                    
                       if($("#input-name5").val()==""){
                         alert("请填入您的姓名");
                         return false;
                         }
                         if($("#input-mobile5").val()==""){
                         alert("请填入您的电话");
                         return false;
                         }
                          var reg = /^1[3|4|5|8|7][0-9]\d{8}$/;
                           if(!reg.test($.trim( $("#input-mobile5").val() )))
                           {
                            alert("手机号码格式不对,请输入11位正确号码!");
                            return false;
                           }
                        });   
                        
              }) 
    
            </script>



<div style="display:none;"><?php 
        ob_start();
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['tongji'];
        $_tmp1 = ob_get_clean();
        echo $_tmp1;
        ?>
</div>
</body>
</html><?php 
    }
    function content_55d7ebac917312_66946461($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
<p class="mt20 ml20">
    <span class="lt f22">日记分享</span>
    <span class="rt mt10"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:diary'), $_smarty_tpl);
        ?>
" class="f12 black">更多>></a></span>
</p>
<div class="cl"></div>
<div class="rijifenxaing_l_ul">
    <ul>
        <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['data']->value['cfg_status'];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['index'] = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['index']++;
            ?>
        <?php 
            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['index'] < 6) {
                ?>
        <li> <a target="_blank" href="<?php 
                echo smarty_function_link(array('ctl' => 'content:diary', 'arg0' => $_smarty_tpl->tpl_vars['key']->value), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value;
                ?>
</a></li>
        <?php 
            }
            ?>
        <?php 
        }
        ?>
  
    </ul>
</div>
<div class="cl"></div>
<div class="rijifenxiang_content hauto mt10">
    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "diary/diary", 'order' => "pv_num:desc", 'limit' => "3"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "pv_num:desc", 'limit' => "3"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
 
    <a title="<{$item.title}>"  target="_blank" style="float: left; margin-right: 10px;" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>"><img src="<{$pager.img}>/<{$item.face_pic}>" width="140" height="85"/></a>
    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "pv_num:desc", 'limit' => "3"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

    <div class="cl"></div>
    <p class="h10 bodr_b"></p>
    <div class="rijifenxiang_content_ul hauto">
        <ul>
            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "5"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "5"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
 
            <li><font>[<{$data.cfg_status[$item.status]}>]</font><a target="_blank" title="<{$item.title}>" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>"><{$item.title}></a></li>
            <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "5"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
    
        </ul>
    </div>
</div>
<div class="cl"></div>
<div class="h10"></div><?php 
    }
    function content_55d7f76db5a725_33242680($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_modifier_cutstr')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!--         主题部分开始           -->
<script type="text/javascript"  src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/cheerful_green/static/style/Marquee.js"></script>
<script type="text/javascript">
$(function(){
	//一次横向滚动一个
	$('#marquee4').kxbdSuperMarquee({
		isMarquee:true,
		isEqual:false,
		scrollDelay:25,
		controlBtn:{left:'#goL',right:'#goR'},
		direction:'up'
		
	});
})
        </script>
<div class="index_b_bg hauto">
    <!--         你所在的位置开始             -->
    <div class="w1000 bgwhite ask_list_weizhi">
        <span class="span11 icobg block_lt"></span>
        <span class="block_lt">您当前所在的位置:</span>
          <a title="<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="\" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a>
        <span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:tuan'), $_smarty_tpl);
        ?>
" title="团装小区" class="block_lt">团装小区</a>
  
    </div>
    <div class="cl"></div>
    <!--        你所在的位置结束      -->
    <!--搜索开始-->
    <div class="w1000 tuanzhuang_search">
        <div class="tuangzhuang_search_l lt">
            <form method="get" action="<?php 
        echo smarty_function_link(array('ctl' => 'home:tuan'), $_smarty_tpl);
        ?>
">
                <input type="text" name="s" id='data_keyword' class="tuanzhuang_seach_area" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['pager']->value['s']) === null || $tmp === '' ? '请输入您要查询的小区名称' : $tmp;
        ?>
"/>
                <input type="submit"  class="tuanzhuang_sub" value="搜索"/>
            </form>
            <script>
                $(document).ready(function() {
                    $("#data_keyword").focus(function() {
                        if ($(this).val() == '请输入您要查询的小区名称') {
                            $(this).val('');
                        }
                    }).focusout(function() {
                        if ($(this).val() == '') {
                            $(this).val('请输入您要查询的小区名称');
                        }
                    });
                });
            </script>

        </div>
        <div class="tuanzhaung_search_r rt">
            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['hots']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item']->iteration = 0;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['item']->iteration++;
            ?>
            <p><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:tuanDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['tuan_id']), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
</a> &nbsp; 立省¥<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['jieyue'];
            ?>
元 &nbsp;   <i><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['sign_num'];
            ?>
</i>人已参团</p>
            <?php 
        }
        ?>
        </div>
    </div>
    <!--搜索结束-->
    <!--团装活动开始-->  
    <div class="tuanzhuang_acitivity w1000">
        <div class="tuanzhuang_title">
            <h2>团装活动</h2>
            
        </div>
        <div class="cl"></div>
        <div class="tuanzhuang_b" style="float:left">
            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['items']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item']->iteration = 0;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['item']->iteration++;
            ?>
            <div class="tuanzhuang_show">
    <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:tuanDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['tuan_id']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['home_list']->value[$_smarty_tpl->tpl_vars['item']->value['home_id']]['face_pic'];
            ?>
" width="260" height="165" /></a>
    <div class="tuanzhuang_time" style="width:260px;top:152px;display: none">
        <span></span>
        <p class="jq_endtime" value='<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['end_time'];
            ?>
'>剩余时间倒计时</p>
    </div>
    <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:tuanDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['tuan_id']), $_smarty_tpl);
            ?>
" class="tuanzhuang_name"><?php 
            echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 25, '');
            ?>
</a>
    <div class="tuanzhuang_join">
        
        <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:tuanDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['tuan_id']), $_smarty_tpl);
            ?>
" class="now_cantuan">立即参团</a> 
         <p>
            立省<i><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['jieyue'];
            ?>
</i>
        </p>
    </div>
    <div class="cl"></div>
    <!--<p class="rt mr10"><i><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['sign_num'];
            ?>
</i>人已经参团</p>-->
</div>
              <?php 
            if ($_smarty_tpl->tpl_vars['item']->iteration > 5) {
                break 1;
            }
            ?>
            <?php 
        }
        ?>
             <div class="page" style="clear: both"><?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];
        ?>
</div>
        </div>
        <div class=""style="width:279px;height:800px;margin-right: 5px;margin-top: 10px;overflow: hidden; font-size: 13px;float:left;">
             <div class="bgwhite" style="height:200px">
                           <!-- <h2><a title='<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['name'];
        ?>
' target="_blank" href="<?php 
        echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id']), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a></h2>-->
                            <a href="<?php 
        echo smarty_function_link(array('ctl' => 'index'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/cheerful_green/static/images/tuan_logo.jpg" width="250" height="100" /></a>
                            <p><b>联系电话&nbsp;:</b>&nbsp;<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['phone'];
        ?>
</p>
                            <!--<p><a title='<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['name'];
        ?>
' target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['qq'];
        ?>
&amp;site=qq&amp;menu=yes"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/qqjt.png" /></a></p>-->
                           <!-- <p><b>公司地址&nbsp;:&nbsp;</b><?php 
        echo $_smarty_tpl->tpl_vars['company']->value['addr'];
        ?>
</p>-->
                           <p>省钱、省事、省心、更多团装活动请</p>
                           <P> <a href=""  class="now_cantuan">立即参团</a></p>
                            <p class="h10"></p>
                        </div>
              <span><h2>参加团装户主</h2></span>
        <div id="marquee4" class="bgwhite"style="width:279px;height:275px;margin-right: 5px;margin-top: 10px;padding-top:10px;overflow: hidden; font-size: 13px;float:left;">        
            <ul>
           <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/sign", 'city_id' => $_smarty_tpl->tpl_vars['this']->value->request['city_id']));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/sign", 'city_id' => $_smarty_tpl->tpl_vars['this']->value->request['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

            <li>
              <p><a target="_blank" title="<{$item.title}>" href="<{link ctl='home:tuanDetail' arg0=$item.tuan_id}>" ><{$item.mobile|cutstr:4:'**'}>报名了
                    <{calldata mdl="home/tuan" tuan_id=$item.tuan_id city_id=$this->request['city_id']}>“<{$item.title|cutstr:20:'**'}>”<{/calldata}></a></p>
           </li>
           <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/sign", 'city_id' => $_smarty_tpl->tpl_vars['this']->value->request['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

            </ul>
            
        </div>
            
       
        </div>
        
        
    </div>
    <script>
        $(document).ready(function() {
            $(".tuanzhuang_show").mouseover(function() {
                $(this).find(".tuanzhuang_time").addClass("currentred");
                 $(this).find(".tuanzhuang_time").show();
            })
                    .mouseout(function() {
                        $(this).find(".tuanzhuang_time").removeClass("currentred");
                         $(this).find(".tuanzhuang_time").hide();
                    });

            var dateTime = new Date();
            var difference = dateTime.getTime();
            setInterval(function() {
                $(".jq_endtime").each(function() {
                    var obj = $(this);
                    var endTime = new Date(parseInt(obj.attr('value')) * 1000);
                    var nowTime = new Date();
                    var nMS = endTime.getTime() - nowTime.getTime() + difference;
                    var myD = Math.floor(nMS / (1000 * 60 * 60 * 24));
                    var myH = Math.floor(nMS / (1000 * 60 * 60)) % 24;
                    var myM = Math.floor(nMS / (1000 * 60)) % 60;
                    var myS = Math.floor(nMS / 1000) % 60;
                    if (myD >= 0) {
                        if(myS % 3 == 0){
                           // obj.parent().parent().find(".tuanzhuang_time").addClass("currentred");
                        }else{
                            obj.parent().parent().find(".tuanzhuang_time").removeClass("currentred");
                        }
                        var str = myD + "天" + myH + "小时" + myM + "分" + myS + "秒";
                    } else {
                        var str = "已结束!";
                    }
                    obj.html(str);
                });
            }, 1000);
        });
    </script>   
    <!--团装活动结束-->       
    <div class="cl h20"></div>
</div>


<?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
  <?php 
    }
    function content_55d7ea33cb90d5_12228590($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_modifier_cutstr')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        echo $_smarty_tpl->getSubTemplate('company/header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!--优惠信息更多详情页导航结束  -->

<!-- 详情页的公共部分 -->
<!-- 主题部分开始 -->
<div class="index_b_bg hauto">
    <!--  主页banner开始        -->
    <div class="w1000 shop_index hauto mt10">
        <!--轮播开始-->
        <div class="banner lt">
            <!--kinMaxShow-->
            <div class="shop_banner none">
                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['banners']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                <div>
                    <a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" target="_blank" href="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['link'];
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['pic'];
            ?>
" width="720" height="250" /></a>
                </div>
                <?php 
        }
        if (!$_smarty_tpl->tpl_vars['item']->_loop) {
            ?>
                 <div>
                    <a href="#"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
            ?>
/default/static/pic/baaner1.png" width="720" height="250" /></a>
                </div>
                <?php 
        }
        ?>
            </div>
            <!--kinMaxShow-->
        </div>
        <script src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['res'];
        ?>
/script/jquery.kinMaxShow.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(function() {
                $(".shop_banner").kinMaxShow({
                    height: 250,
                    easing: 'linear',
                    intervalTime: 2,
                    button: {
                        normal: {right: '15%'}
                    }
                });
            });
        </script>
        <!--轮播结束-->
        <!--轮播右面开始-->
        <div class="banner_r lt ml20 hauto">
            <div class="banner_r_t hauto greenbg">
                <p class="f18 mt5">公司指数</p>
                <p class="mt5">
                    <span>图库案例:<font><?php 
        echo $_smarty_tpl->tpl_vars['company']->value['case_num'];
        ?>
</font></span>
                </p>
                <p>
                    <span>在建工地:<font><?php 
        echo $_smarty_tpl->tpl_vars['company']->value['site_num'];
        ?>
</font></span><span>企业新闻:<font class="f12"><?php 
        echo $_smarty_tpl->tpl_vars['news_num']->value;
        ?>
</font></span>
                </p>
                <p>
                    <span>设计师:<font><?php 
        echo $_smarty_tpl->tpl_vars['designer_num']->value;
        ?>
</font></span><span>业主评价:<font><?php 
        echo $_smarty_tpl->tpl_vars['company']->value['score_num'];
        ?>
</font></span>
                </p>
            </div>
            <div class="banner_r_c hauto bluebg mt7">
                <p class="mt5"></p>
                <p class="p49 lt"style="line-height:50px;"><font class="f18 ftw" style="font-size:15px">联系方式</font><font class="f44"style="">{</font></p>
                <p class="p50 lt" >
                    <font>手机:<?php 
        echo $_smarty_tpl->tpl_vars['company_member']->value['mobile'];
        ?>
</font><br />
                    <font>电话:<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['tel'];
        ?>
</font>
                    <span class="span37 block_lt mr5" style="width:100px">
                    <a  style="float:left" title="<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['name'];
        ?>
" target="_blank"  href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['qq'];
        ?>
&amp;site=qq&amp;menu=yes"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/qq.png" /></a>
                    <a  style="float:left" target="_blank" title="<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['name'];
        ?>
" href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['kfqq'];
        ?>
&amp;site=qq&amp;menu=yes" class="block_lt white">网站客服</a></span>
                </p>
                <div class="cl"></div>
                <p class="mt10"></p>
            </div>
            <div class="banner_r_b hauto orgbgg mt7">
                <p class="ml20">
                    <a mini-load="免费预约" href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:yuyue', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id'], 'http' => 'empty'), $_smarty_tpl);
        ?>
" class="ftw white f18" style="font-size:15px">免费预约:</a>
                    <font style=" font-size:20px; color:#FF0000; font-weight:bold"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['phone'];
        ?>
</font>
                </p>
            </div>

        </div>
        <!--轮播右面结束-->
    </div>
    <!--  主页banner结束        -->
    <!--简介评价优惠信息资讯开始-->
    <div class="w1000 hauto mt20 shop_index_new">
        <!--左面开始-->
        <div class="shop_index_new_l lt hauto">
            <h2>简介</h2>
            <div class="shop_index_new_l_b hauto mt10 bgwhite">
                <p class="p51 mb20">
                    &nbsp;&nbsp;&nbsp;&nbsp; <?php 
        echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['companyex']->value['txt'], 200, '..');
        ?>
 <a title="<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['name'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'company:about', 'arg0' => $_smarty_tpl->tpl_vars['company_id']->value), $_smarty_tpl);
        ?>
" class="red">查看详情>></a>
                </p>
            </div>
        </div>
        <!--左面结束-->
        <!--中间开始-->
        
     
        <div class="shop_index_new_l lt hauto ml20" style="width:630px">
            <h2>最新招标</h2>
            
           
            <table style="font-size:15px;cellpadding:10px;width:630px;margin-top:10px" class="bgwhite" >
                
                <tr style="background-color:#f8f8f8">
                <td>业主</td>
                <td>小区</td>
                <td>面积</td>
                <td>预算</td>
              
                </tr>
            <div class="cl" ></div>
           
                    
                <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "tenders/tenders", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "7"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "7"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                <tr>                  
                    <td><{$item.name|cutstr:10:'**'}></td>          
                    <td><{$item.area}>㎡</td>
                    <td><a target='_blank' title="<{$item.title}>" href="<{link ctl='tenders:detail' arg0=$item.id}>" class=""style=" color:#666;font-size:14px"><{$item.title}></a></td>
                      <{calldata mdl="tenders/setting"  setting_id=$item.budget_id limit="1"}>
                      <td><{$item.name}></td>
                      <{/calldata}>                  
                </tr>
                    <div class="cl"></div>             
               <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "7"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
         
       
            </table>
           
            </div>


        <!--中间结束-->
        <!--右面开始-->
       <!-- <div class="shop_index_new_r lt hauto ml20">
            <div class="shop_index_new_r_title">
                <ul>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'company:youhui', 'arg0' => $_smarty_tpl->tpl_vars['company_id']->value), $_smarty_tpl);
        ?>
" class="current9">优惠信息</a></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'company:news', 'arg0' => $_smarty_tpl->tpl_vars['company_id']->value), $_smarty_tpl);
        ?>
" class="current9">公司资讯</a></li>
                </ul>
            </div>
            <div class="cl"></div>
            <div class="shop_index_new_r_b hauto bgwhite mt10"> 
                <div class="shop_index_new_0 none">
                    <?php 
        if (!empty($_smarty_tpl->tpl_vars['youhui']->value)) {
            ?>
                    <p class="mt20 ml20 mr5 p53">
                        <a target='_blank' title='<?php 
            echo $_smarty_tpl->tpl_vars['youhui']->value['title'];
            ?>
' href="<?php 
            echo smarty_function_link(array('ctl' => 'gs:detail', 'arg0' => $_smarty_tpl->tpl_vars['youhui']->value['youhui_id']), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['youhui']->value['title'];
            ?>
</a>
                       
                    </p>
                    <div class="shop_index_new_r_b_r ml20 mt10">
                        <a target='_blank' title='<?php 
            echo $_smarty_tpl->tpl_vars['youhui']->value['title'];
            ?>
' href="<?php 
            echo smarty_function_link(array('ctl' => 'gs:detail', 'arg0' => $_smarty_tpl->tpl_vars['youhui']->value['youhui_id']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['youhui']->value['face_pic'];
            ?>
" width="130" height="90" /></a>
                        <p class="lt">
                            <font>距离结束:</font><br />
                            <font>还有</font><font class="red"><?php 
            echo $_smarty_tpl->tpl_vars['youhui']->value['end'];
            ?>
</font><font>天</font><br />
                            <span class="block span37 orgbgg mt15 mb10"><a target='_blank' title='<?php 
            echo $_smarty_tpl->tpl_vars['youhui']->value['title'];
            ?>
' href="<?php 
            echo smarty_function_link(array('ctl' => 'gs:detail', 'arg0' => $_smarty_tpl->tpl_vars['youhui']->value['youhui_id']), $_smarty_tpl);
            ?>
">去看看</a></span>
                        </p>
                    </div>
                    <?php 
        }
        ?>
                </div>
                <div class="shop_index_new_1 none">
                    <ul>
                       <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['news']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                        <li>
                            <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company:newsDetail', 'arg0' => $_smarty_tpl->tpl_vars['company_id']->value, 'arg1' => $_smarty_tpl->tpl_vars['item']->value['news_id']), $_smarty_tpl);
            ?>
"  class="org">[<?php 
            echo date('m-d', $_smarty_tpl->tpl_vars['item']->value['dateline']);
            ?>
]</a><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company:newsDetail', 'arg0' => $_smarty_tpl->tpl_vars['company_id']->value, 'arg1' => $_smarty_tpl->tpl_vars['item']->value['news_id']), $_smarty_tpl);
            ?>
" class="black"><?php 
            echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 26, '..');
            ?>
</a>
                        </li>
                       <?php 
        }
        ?>
                    </ul>
                </div>
            </div>
        </div>-->
        <!--右面结束-->  
    </div>
    <!--简介评价优惠信息资讯结束-->
    <!--案例展示设计师开始-->
    <div class="shop_index_case hauto mt20 w1000">
        <!--左面开始-->
        <div class="shop_index_case_l lt hauto">
            <h2>
                <span class="lt">案例展示</span>
                <span class="rt"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'company:xiaoguotu', 'arg0' => $_smarty_tpl->tpl_vars['company_id']->value), $_smarty_tpl);
        ?>
">更多>></a></span>
            </h2>
            <div class="cl"></div>
            <div class="shop_index_case_l_b bgwhite mt10 hauto">
                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['cases']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                <div class="shop_index_case_l_b_l lt">
                    <div class="shop_index_case_b_l_t">
                        <p class="p54">
                            <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['photo'];
            ?>
_thumb.jpg" width="210" height="170" /></a>
                        </p>
                        <p class="p55">
                            <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['lastphotos']) {
                ?>
   
                            <?php 
                $_smarty_tpl->tpl_vars['item2'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['item2']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['item']->value['lastphotos'];
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['index'] = -1;
                foreach ($_from as $_smarty_tpl->tpl_vars['item2']->key => $_smarty_tpl->tpl_vars['item2']->value) {
                    $_smarty_tpl->tpl_vars['item2']->_loop = true;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['index']++;
                    ?>
                            <?php 
                    if ($_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['index'] < 2) {
                        ?>
                            <a target="_blank" title="<?php 
                        echo $_smarty_tpl->tpl_vars['item']->value['title'];
                        ?>
" href="<?php 
                        echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
                        ?>
"><img src="<?php 
                        echo $_smarty_tpl->tpl_vars['pager']->value['img'];
                        ?>
/<?php 
                        echo $_smarty_tpl->tpl_vars['photos']->value[$_smarty_tpl->tpl_vars['item2']->value]['photo'];
                        ?>
_thumb.jpg" width="105" height="85" /></a>
                            
                   
                            <?php 
                    }
                    ?>
                            <?php 
                }
                ?>
                            <?php 
            }
            ?>
                        </p>
                    </div>
                    <div class="cl"></div>
                    <div class="shop_index_case_b_l_b">
                        <p class="p56"><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
"><?php 
            echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 24, '..');
            ?>
</a></p>
                        <p class="p57">
                            <span class="rt mr20">
                                <font>by</font>
                                <a target="_blank" title='<?php 
            echo $_smarty_tpl->tpl_vars['designers']->value[$_smarty_tpl->tpl_vars['item']->value['designer_id']]['realname'];
            ?>
' href="<?php 
            echo smarty_function_link(array('ctl' => 'blog', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['designer_id']), $_smarty_tpl);
            ?>
" class="red"><?php 
            echo $_smarty_tpl->tpl_vars['designers']->value[$_smarty_tpl->tpl_vars['item']->value['designer_id']]['realname'];
            ?>
</a>
                               
                            </span>
                        </p>
                    </div>
                    <div class="cl"></div>
                    <?php 
            if (!empty($_smarty_tpl->tpl_vars['designers']->value[$_smarty_tpl->tpl_vars['item']->value['designer_id']])) {
                ?>
                    <div class="designer_show none">
                        <div class="designer_show_l lt">
                            <a target="_blank" title='<?php 
                echo $_smarty_tpl->tpl_vars['designers']->value[$_smarty_tpl->tpl_vars['item']->value['designer_id']]['realname'];
                ?>
'  href="<?php 
                echo smarty_function_link(array('ctl' => 'blog', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['designer_id']), $_smarty_tpl);
                ?>
"><img src="<?php 
                echo $_smarty_tpl->tpl_vars['pager']->value['img'];
                ?>
/<?php 
                echo $_smarty_tpl->tpl_vars['designers']->value[$_smarty_tpl->tpl_vars['item']->value['designer_id']]['face_80'];
                ?>
" width="65" height="65" /></a>

                        </div>
                        <div class="designer_show_r lt">
                            <p>
                                <a target="_blank" title='<?php 
                echo $_smarty_tpl->tpl_vars['designers']->value[$_smarty_tpl->tpl_vars['item']->value['designer_id']]['realname'];
                ?>
' href="<?php 
                echo smarty_function_link(array('ctl' => 'blog', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['designer_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['designers']->value[$_smarty_tpl->tpl_vars['item']->value['designer_id']]['realname'];
                ?>
</a>毕业于<?php 
                echo $_smarty_tpl->tpl_vars['designers']->value[$_smarty_tpl->tpl_vars['item']->value['designer_id']]['school'];
                ?>
、作品(<?php 
                echo $_smarty_tpl->tpl_vars['designers']->value[$_smarty_tpl->tpl_vars['item']->value['designer_id']]['case_num'];
                ?>
)
                            </p>
                            
                        </div>
                    </div>
                    <?php 
            }
            ?>
                </div>
              
                <?php 
        }
        ?>
          

            </div>

        </div>
        <!--左面结束-->
        <!--右面开始-->
        <div class="shop_index_case_r lt hauto ml20">
            <h2>
                <span class="lt">设计师</span>
                <span class="rt"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'company:team', 'arg0' => $_smarty_tpl->tpl_vars['company_id']->value), $_smarty_tpl);
        ?>
">更多>></a></span>
            </h2>
            <div class="cl"></div>
            <div class="shop_index_designer bgwhite hauto mt10">
                <div class="h20"></div>
                <ul>
                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['teams']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                    <li>

                       <a target="_blank" title='<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['realname'];
            ?>
'  href="<?php 
            echo smarty_function_link(array('ctl' => 'blog', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['uid']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['face_80'];
            ?>
" width="100" height="100" /></a>
                        <p class="lt ml20">
                            <span class="block mb15"></span>
                            <font>设计师&nbsp;:&nbsp;</font><a target="_blank" title='<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['realname'];
            ?>
'  href="<?php 
            echo smarty_function_link(array('ctl' => 'blog', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['uid']), $_smarty_tpl);
            ?>
" class="red f14 ftw"><?php 
            echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['realname'], 5, '..');
            ?>
</a>
                            <span class="block span44 mt20 redbg"><a mini-load="预约设计" href="<?php 
            echo smarty_function_link(array('ctl' => 'designer:yuyue', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['uid'], 'http' => 'empty'), $_smarty_tpl);
            ?>
">我要咨询</a></span>
                        </p>
                    </li>
                  <?php 
        }
        ?>
                    
                </ul>
                <div class="shop_index_free_design bluebg">
                    <a mini-load="免费设计" href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:yuyue', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id'], 'http' => 'empty'), $_smarty_tpl);
        ?>
">免费设计</a>
                </div>
            </div>
        </div>
        <!--右面结束-->   
    </div>
    <!--案例展示设计师结束-->
    <div class="cl"></div>
    <!--在建工地开始-->
    <div class="w1000 shop_zjgd hauto mt20">
        <h2>
            <span class="lt">在建工地</span>
            <span class="rt"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'company:site', 'arg0' => $_smarty_tpl->tpl_vars['company_id']->value), $_smarty_tpl);
        ?>
">更多>></a></span>
        </h2>
        <div class="cl"></div>
        <div class="shop_zjgd w1000 bgwhite hauto mt10">
              <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['sites']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
            <div class="shop_zjgd_show lt ml10">
                <div class="shop_zjgd_show_t mt20 ml10">
                   <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['face_pic'];
            ?>
" width="220" height="155" /></a>
                    <p class="p46 greenbg none">
                        <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
">我要参观</a>
                    </p>
                </div>
                <p class="p47"><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
"><?php 
            echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 30, '');
            ?>
</a></p>
                <p class="p48 rt">
                    <span class="block_lt ftw black f14">进度&nbsp;:&nbsp;</span>
                  
                    <a target="_blank" class="block_lt orgbgg" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['site_status']->value[$_smarty_tpl->tpl_vars['item']->value['status']];
            ?>
</a>
                </p>

            </div>
            <?php 
        }
        ?>
        </div>
    </div>
    <!--在建工地结束-->
    <div class="h30"></div>      

</div>
<script>
    $(document).ready(function() {
        $(".shop_index_new_r_title ul li").mouseover(function() {
            var index = $(this).index();
            $(".shop_index_new_r_title ul li").each(function(a) {
                var nn = a
                if (a == index) {
                    $(this).find(".current9").css('color', '#666666');
                    $(".shop_index_new_" + nn).show();
                } else {
                    $(this).find(".current9").css('color', '');
                    $(".shop_index_new_" + nn).hide();
                }
            });
        });
        $(".shop_index_new_r_title ul li").eq(0).mouseover();

        $(".shop_index_case_l_b_l").mouseover(function() {
            $(this).find(".designer_show").show();
        }).mouseout(function() {
            $(this).find(".designer_show").hide();

        });/*设计师*/

        $(".shop_index_designer ul li").mouseover(function() {
            var index = $(this).index();
            $(".shop_index_designer ul li").each(function(a) {
                if (a == index) {
                    $(this).css('background', '#EAEAEA');

                } else {

                    $(this).css('background', '')

                }
            });
        }).mouseout(function() {
            $(this).css('background', 'none');

        });

        /*在建工地*/

        $(".shop_zjgd_show").mouseover(function() {
            $(this).css('border', '1px solid red').css('width', '238px');
            $(this).find(".p46").show();

        }).mouseout(function() {
            $(this).css('border', '').css('width', '240px');
            $(this).find(".p46").hide();
        });



    });
</script>
<!-- 主题部分结束 -->  

<?php 
        echo $_smarty_tpl->getSubTemplate('company/foot.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_55d80481933a10_50004533($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        if (!is_callable('smarty_block_KT')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.KT.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<div class="cl"></div>
<?php 
        echo $_smarty_tpl->getSubTemplate("index/topheader.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<div class="index_b_bg hauto">     
    
    		<!--团装活动开始-->  
                	<div class="tuanzhuang_acitivity w1000">
                    	<div class="tuanzhuang_title">
                        	<h2>团装活动</h2>
                            <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:tuan'), $_smarty_tpl);
        ?>
">更多>></a>
                        </div>
                        <div class="cl"></div>
                        <div class="tuanzhuang_b w1000">
                        	
                          <?php 
        echo smarty_function_widget(array('id' => 'home/index', 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => 4), $_smarty_tpl);
        ?>
          
                        </div>
                    </div>
                    
                <!--团装活动结束-->  
    
    <!-------最新招标,最新签约start------>
    <div class="newest w1000 mt25 hauto">
        <!--最新签约开始-->
        <div class="newest_l lt hauto">
            <h2><a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
">最新签约</a></h2>
            <div class="news_l_b hauto bgwhite mt10">
                <ul>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "tenders/tenders", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "hot", 'limit' => "4"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "hot", 'limit' => "4"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li<{if $last}> class="bottom-none"<{/if}>>
                        <p>
                            <span class="block_lt"><b><a href="<{link ctl='company' arg0=$item.ext.company.company_id}>" target="_blank" title='<{$item.ext.company.name}>'  class="black"><{$item.ext.company.sort_name}></a></b></span>
                            <span class="block rt span37 orgbgg"><a title="<{$item.title}>" href="<{link ctl='tenders:detail' arg0=$item.id}>" target="_blank" class="f14 white"><b>新签约</b></a></span>
                        </p>
                        <p class="cl"></p><p class="mt5"></p>
                        <p>
                            <span class="block_lt span38"><b><a href="<{link ctl='home:detail' arg0=$item.ext.home.id}>" target="_blank" class="black8"><{$item.home_name}></a></b></span>
                            <span class="block rt span37"><a title="<{$item.title}>" href="<{link ctl='tenders:detail' arg0=$item.id}>" target="_blank" class="black8"><{$item.name}></a></span>
                        </p>
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "hot", 'limit' => "4"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </ul>
            </div>   
        </div>
        <!--最新签约结束-->
        <!--最新招标订单开始-->
        <div class="news_c hauto lt ml10 mr10">
            <h2><a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
" class="block_lt a22">最新招标订单</a><a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
" class="block rt red f12 mt10">我要申请>></a></h2>
            <div class="cl"></div>
            <div class="news_c_ul hauto bgwhite mt10">
                <div class="news_ul_l lt hauto">
                    <div class="news_ul_l lt hauto">
                        <div class="news_ul_l_span hauto">
                            <p class="lt p52"><span>日期</span><span>业主</span> <span>户型</span><span>预算</span></p>
                            <p class="lt p52"><span>日期</span><span>业主</span> <span>户型</span><span>预算</span></p>
                        </div>
                        <div class="cl"></div>
                        <ul>
                            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "tenders/tenders", 'order' => "new", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "12"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'order' => "new", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "12"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                            <li <{if $index > 9}> style="border-bottom:none;"<{/if}>>
                                <a target="_blank" title="<{$item.title}>" href="<{link ctl='tenders:detail' arg0=$item.id}>"><b><{$item.dateline|format:"m月d日"}></b></a>
                                <a target="_blank" title="<{$item.title}>" href="<{link ctl='tenders:detail' arg0=$item.id}>"><{$item.name|default:'--'}></a>
                                <a target="_blank" title="<{$item.title}>" href="<{link ctl='tenders:detail' arg0=$item.id}>" style="overflow: hidden;" ><{$item.house_type_title|default:'--'}></a>
                                <a target="_blank" title="<{$item.title}>" href="<{link ctl='tenders:detail' arg0=$item.id}>" class="a23"><{$item.budget_title}></a>
                            </li>
                            <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'order' => "new", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "12"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
  
                            <div class="cl"></div>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!--最新招标订单结束-->
        <!--最新优惠开始-->
        <div class="news_r lt hauto">
            <h2>
                <a href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:youhui'), $_smarty_tpl);
        ?>
" class="block_lt a22">最新优惠</a><a href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:youhui'), $_smarty_tpl);
        ?>
" class="block rt f12 black8 mt10">更多>></a></h2>
            <div class="cl"></div>
            <div class="news_r_b bgwhite hauto mt10">
                <ul>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/youhui", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "12"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/youhui", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "12"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                        <{if $item.status=='process'}>
                        <a target="_blank" title='<{$item.title}>' href="<{link ctl='gs:detail' arg0=$item.youhui_id}>" class="block_lt a24 red_bg">进行中</a>
                        <{elseif $item.status == 'wait'}>
                        <a  target="_blank" title='<{$item.title}>' href="<{link ctl='gs:detail' arg0=$item.youhui_id}>" class="block_lt a24 graybgg">未开始</a>
                        <{else}>
                        <a target="_blank" title='<{$item.title}>' href="<{link ctl='gs:detail' arg0=$item.youhui_id}>" class="block_lt a24 graybgg">已结束</a>
                        <{/if}>
                        <a target="_blank" title='<{$item.title}>' href="<{link ctl='gs:detail' arg0=$item.youhui_id}>" class="block_lt a25 black8" ><{$item.title|cutstr:25:''}></a>
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/youhui", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "12"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </ul>
            </div>
        </div>
        <!--最新优惠结束-->
    </div>
    <!-------最新招标,最新签约end------->
    <!--找我家设计方案start-->
    <div class="search_home w1000 hauto mt15">
        <p>
            <span class="block_lt"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'home'), $_smarty_tpl);
        ?>
" class="a26">找我家设计方案</a></span>
            <span class="block_lt span39"><font>足不出户,在线参观邻居的装修效果,找到您的装修灵感。</font></span>
            <span class="block rt"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'home'), $_smarty_tpl);
        ?>
" class="block_lt black8 ml15 mt10">更多>></a></span>
        </p>
        <div class="cl"></div>
        <div class="seach_home_b w1000 bgwhite mt10">
            <ul>
                <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/main", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "12"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/main", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "12"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                <li>
                    <a target="_blank" title="<{$item.name}>" href="<{link ctl='home:detail' arg0=$item.id}>"><img src="<{$pager.img}>/<{$item.face_pic}>" width="145" height="100"></a><br>
                    <a target="_blank" title="<{$item.name}>" href="<{link ctl='home:detail' arg0=$item.id}>" class="ftw f14 black"><{$item.name}></a><br>
                    <a target="_blank" title="<{$item.name}>" href="<{link ctl='home:detail' arg0=$item.id}>" class="f14 black8">设计方案:</a>&nbsp;&nbsp;<font class="red f14"><{$item.case_num|default:'--'}>套</font>
                    <p class="mt20"></p>
                </li>
                <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/main", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "12"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

            </ul>
        </div>                
    </div>
    <!--找我家设计方案end-->        
    <!-- 品牌装修公司开始 -->
    <div class="company_charts w1000 hauto mt15" >
        <h2><a href="<?php 
        echo smarty_function_link(array('ctl' => 'gs'), $_smarty_tpl);
        ?>
" class="block_lt">品牌装修公司</a><a href="<?php 
        echo smarty_function_link(array('ctl' => 'passport:signup'), $_smarty_tpl);
        ?>
" class="block rt a28">我要入驻>></a></h2>
    </div>
    <div class="company_charts_show w1000 hauto bgwhite mt10">	
        <div class="company_charts_show_l lt">
            <ul>
                <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('id' => "1", 'name' => "品牌装修公司", 'limit' => "16", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_KT(array('id' => "1", 'name' => "品牌装修公司", 'limit' => "16", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                <li><a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><img src="<{$pager.img}>/<{$item.logo}>" width="150" height="75"></a></li>
                <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('id' => "1", 'name' => "品牌装修公司", 'limit' => "16", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

            </ul>  
        </div>
        <div class="company_charts_show_r lt">
            <div class="newest_qdb">
                <ul><li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:items'), $_smarty_tpl);
        ?>
" class="red">最新签单榜</a></li><li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:items'), $_smarty_tpl);
        ?>
"" class="red">最新加入</a></li></ul>
            </div>
            <div class="news_qdb_b none news_qdb_0 mt30">
                <ul>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "tenders_num:desc", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "tenders_num:desc", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                        <div class="news_qdb_sum none">
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="aa"><{($index+1)}></a>
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="bb"><{$item.name}></a>
                        </div>
                        <div class="news_qdb_all none">
                            <div class="news_qdb_details mt5">
                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><img src="<{$pager.img}>/<{$item.logo}>" width="110" height="55" /></a>
                                <span><font class="black">签单数</font>&nbsp;<font class="red"><{$item.tenders_num}></font></span>
                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="mfyu">免费预约</a>
                            </div>
                            <{calldata mdl="company/dianping" company_id=$item.company_id order="new" limit="1"}>
                            <p><font class="red">[最新评价]</font><{$item.content|cutstr:50}><font class="rt"><a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"  class="black">更多</a></font></p>
                            <{/calldata}>
                        </div>
                        <div class="cl"></div>
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "tenders_num:desc", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
                          
                </ul>
            </div>
            <div class="news_qdb_b none news_qdb_1 mt30">
                <ul>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                        <div class="news_qdb_sum none"><a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"  class="aa"><{($index+1)}></a><a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="bb"><{$item.name}></a></div>
                        <div class="news_qdb_all none">
                            <div class="news_qdb_details mt5">
                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" ><img src="<{$pager.img}>/<{$item.logo}>" width="110" height="55" /></a>
                                <span><font class="black">口碑值</font>&nbsp;<font class="red"><{round($item.scores/10, 1)}></font></span>
                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="mfyu">免费预约</a>
                            </div>
                            <{calldata mdl="company/dianping" company_id=$item.company_id order="new" limit="1"}>
                            <p><font class="red">[最新评价]</font><{$item.content|cutstr:50}><font class="rt"><a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="black">更多</a></font></p>
                            <{/calldata}>
                        </div>
                        <div class="cl"></div>
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
                              
                </ul>
            </div>
        </div>
    </div>
    <!-- 品牌装修公司结束 -->
    <!-- 装修案例开始 -->
    <div class="decoration_case hauto mt15">
        <div class="decoration_case_title w1000 " >
            <h2 class="lt"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
">装修案例</a></h2><span class="rt mt10"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
">更多>></a></span>
        </div>
        <div class="cl"></div>
        <div class="decoration_case_b w1000 hauto bgwhite mt10">
            <div class="decoration_case_b_l lt bodr">
                <ul>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="dcotion_case_bg" ></a><p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="red">风格</a><br /><font>Style</font></p></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="dcotion_case_bg"></a><p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="red">空间</a><br /><font>Space</font></p></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="dcotion_case_bg "></a><p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="red">别墅</a><br /><font>Ulila</font></p></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="dcotion_case_bg"></a><p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="red">小户型</a><br /><font>Small</font></p></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="dcotion_case_bg"></a><p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="red">公装</a><br /><font>Publicloaded</font></p></li>
                </ul>
            </div>
            <div class="decoration_case_b_all_1">
                <div class="decoration_case_b_r lt hauto bgwhite">
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:风格", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:风格", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <div class="decoration_case_b_r_l lt hauto">
                        <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$item.thumb}>" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$item.title}></a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <{foreach $item.ext.photos as $photo}>
                            <li>
                                <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$photo.title}></a></p>
                            </li>
                            <{if $photo@iteration > 5}><{break}><{/if}>
                            <{/foreach}>
                        </ul>
                    </div>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:风格", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </div>
            </div>
            <div class="decoration_case_b_all_2">
                <div class="decoration_case_b_r lt hauto bgwhite">
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:空间", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:空间", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <div class="decoration_case_b_r_l lt hauto">
                        <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$item.thumb}>" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$item.title}></a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <{foreach $item.ext.photos as $photo}>
                            <li>
                                <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$photo.title}></a></p>
                            </li>
                            <{if $photo@iteration > 5}><{break}><{/if}>
                            <{/foreach}>
                        </ul>
                    </div>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:空间", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </div>
            </div>
            <div class="decoration_case_b_all_3">
                <div class="decoration_case_b_r lt hauto bgwhite">
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:别墅", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:别墅", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <div class="decoration_case_b_r_l lt hauto">
                        <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$item.thumb}>" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$item.title}></a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <{foreach $item.ext.photos as $photo}>
                            <li>
                                <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$photo.title}></a></p>
                            </li>
                            <{if $photo@iteration > 5}><{break}><{/if}>
                            <{/foreach}>
                        </ul>
                    </div>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:别墅", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </div>
            </div>
            <div class="decoration_case_b_all_4">
                <div class="decoration_case_b_r lt hauto bgwhite">
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:小户型", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:小户型", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <div class="decoration_case_b_r_l lt hauto">
                        <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$item.thumb}>" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$item.title}></a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <{foreach $item.ext.photos as $photo}>
                            <li>
                                <a title="<{$item.title}>" target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a title="<{$item.title}>" target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$photo.title}></a></p>
                            </li>
                            <{if $photo@iteration > 5}><{break}><{/if}>
                            <{/foreach}>
                        </ul>
                    </div>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:小户型", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </div>
            </div>
            <div class="decoration_case_b_all_5">
                <div class="decoration_case_b_r lt hauto bgwhite">
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:公装", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:公装", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <div class="decoration_case_b_r_l lt hauto">
                        <a title="<{$item.title}>" target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$item.thumb}>" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a title="<{$item.title}>" target="_blank"  href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$item.title}></a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <{foreach $item.ext.photos as $photo}>
                            <li>
                                <a title="<{$item.title}>" target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$photo.title}></a></p>
                            </li>
                            <{if $photo@iteration > 5}><{break}><{/if}>
                            <{/foreach}>
                        </ul>
                    </div>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:公装", 'limit' => "1", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        (function(K, $) {
            $(".decoration_case_b_l ul li").mouseover(function() {
                var index = $(this).index();
                $(".decoration_case_b_l ul li").each(function(a) {
                    if (a == index) {
                        $(this).addClass("dcotion_case_bgon");
                        $(this).find(".red").css('color', '#E53236');
                        $(this).find(".dcotion_case_bg").stop().animate({backgroundPositionX: '-225px'}, 100);
                    } else {
                        $(this).removeClass("dcotion_case_bgon");
                        $(this).find(".red").css('color', '');
                        $(this).find(".dcotion_case_bg").stop().animate({backgroundPositionX: '-179px'}, 100)
                    }
                });
            });
        })(window.KT, window.jQuery);
    </script>
    <!--------------装修案例结束-------------------->
    <!-- 团购活动开始 -->
    <div class="w1000 tuan_acitivity hauto mt15">
        <h2>
            <a href="<?php 
        echo smarty_function_link(array('ctl' => 'activity'), $_smarty_tpl);
        ?>
" class="block_lt">团购活动</a>
            <a href="<?php 
        echo smarty_function_link(array('ctl' => 'activity'), $_smarty_tpl);
        ?>
" class="block rt a29 mt10">更多>></a>
        </h2>
        <div class="cl"></div>
        <div class="w1000 tuan_acitivity1 hauto mt10 bgwhite mt10">
            <div class="tuan_acitivity1_l lt hauto bodr_r">
                <ul>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "activity/main", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "6"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "activity/main", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "6"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                        <h2><{$item.title}></h2>
                        <p>活动时间:<{strtotime($item.bg_time)|format:"m月d日"}>-<{strtotime($item.end_time)|format:"m月d日"}></p>
                        <p>地址:<{$item.addr|cutstr:20}></p>
                        <p class="mb20"></p>
                        <p>
                            <a target="_blank" href="<{link ctl='activity:detail' arg0=$item.id}>" class="a30 block_lt red_bg mr10">免费报名</a>
                            <span class="block_lt mb10"><font class="red f12 ftw"><{$item.sign_num}>人</font><font class="f12 black ftw">已报名</font></span>
                        </p>
                        <p class="cl"></p>                                   
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "activity/main", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "new", 'limit' => "6"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </ul>
                <div class="cl"></div>
                <p class="h10"></p>
            </div>
            <div class="tuan_acitivity1_r lt hauto mb20">
                <?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "首页团购活动右侧广告位", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>

            </div>                    
        </div>              
    </div>
    <script>
        $(document).ready(function() {
            $(".tuan_acitivity1_l ul li").mouseover(function() {
                var index = $(this).index();
                $(".tuan_acitivity1_l ul li").each(function(a) {
                    if (a == index) {
                        $(this).css('background', '#EAEAEA');

                    } else {

                        $(this).css('background', '')

                    }
                });
            }).mouseout(function() {
                $(this).css('background', 'none');

            });
        });
    </script>
    <!-- 团购活动结束 -->
    <!---------建材商城start----------->
    <div class="materials_mall w1000 hauto mt15">
        <h2><a href="<?php 
        echo smarty_function_link(array('ctl' => 'mall/index'), $_smarty_tpl);
        ?>
" class="block_lt">建材商城</a><a href="<?php 
        echo smarty_function_link(array('ctl' => 'mall/index'), $_smarty_tpl);
        ?>
" class="block rt a31 mt10">更多>></a></h2>
        <div class="cl"></div>
        <div class="materials_mall_all w1000 hauto bgwhite mt10">
            <div class="materials_mall_all_l lt hauto">
                <div class="materials_mall_all_l_t hauto">
                    <div style="width: 350px; float: left; "><div  id="mall_ad_1" kinBox='{"height":200}'><?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "首页材料商城左侧广告位", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>
</div></div>
                    <ul class="materials_mall_all_l_t_ul">
                        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "shop/coupon", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "7"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "shop/coupon", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "7"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                        <li>
                            <a href="<{link ctl='mall/shop' arg0=$item.shop_id}>" title="<{$item.ext.shop.name}>" target="_blank" class="red ftw">[<{$item.ext.shop.name}>]</a>
                            <a href="<{link ctl='mall/coupon:detail' arg0=$item.coupon_id}>" title="<{$item.title}>" target="_blank" class="black8"><{$item.title}></a>
                            <a href="<{link ctl='mall/coupon:detail' arg0=$item.coupon_id}>" target="_blank" class="a32 icobg"></a>
                        </li>
                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "shop/coupon", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "7"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                    </ul>
                </div>

                <div class="materials_mall_all_l_b hauto">
                    <ul>
                        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页建材商城推荐商家", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页建材商城推荐商家", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                        <li><a href="<{link ctl='mall/shop' arg0=$item.shop_id}>" title="<{$item.title}>" target="_blank"><img src="<{$pager.img}>/<{$item.logo}>" width="145" height="70"/></a></li>
                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页建材商城推荐商家", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                    </ul>
                </div>
            </div>
            <div class="materials_mall_all_r lt hauto mt10">
				<div style="width: 250px; float: left;"><div id="mall_id_2" kinBox='{"height":360}'><?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "首页材料商城右侧轮播广告", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>
</div></div>
            </div> 
        </div>
    </div> 
    <!---------建材商城end----------->
    <script>
        $(document).ready(function() {
            $(".materials_mall_all_l_b ul li").eq(3).css('border-right', 'none');
            $(".materials_mall_all_l_b ul li").eq(4).css('border-bottom', 'none');
            $(".materials_mall_all_l_b ul li").eq(5).css('border-bottom', 'none');
            $(".materials_mall_all_l_b ul li").eq(6).css('border-bottom', 'none');
            $(".materials_mall_all_l_b ul li").eq(7).css('border-right', 'none').css('border-bottom', 'none');
        });
    </script>

    <!------设计师开始------->
    <div class="recommend_designer w1000 hauto mt15">
        <h2><a href="<?php 
        echo smarty_function_link(array('ctl' => 'designer'), $_smarty_tpl);
        ?>
">推荐设计师</a></h2>
        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页推荐设计师", 'limit' => "2", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页推荐设计师", 'limit' => "2", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <div class="decoration_designer_l lt bgwhite mt10">
            <div class="decoration_designer_l_l lt">
                <div class="designer_name lt">
                    <a target="_blank" href="<{link ctl='blog' arg0=$item.uid}>" title="<{$item.realname}>"><img src="<{$pager.img}>/<{$item.face}>" width="100" height="100" /></a><br />
                    <p>设计师:<b><a target="_blank" href="<{link ctl='blog' arg0=$item.uid}>"  title="<{$item.realname}>"><{$item.realname|cutstr:8:''}></a></b></p>
                    <p class="consult pinkbg"><a target="_blank" href="<{link ctl='blog' arg0=$item.uid}>" title="<{$item.realname}>">我要咨询</a></p>
                </div>
                <{calldata mdl="case/case" designer_id=$item.uid limit="1"}>
                <div class="design_idea lt">
                    <p><font class="black"><b>[设计理念]</b></font>:<{$item.intro|cutstr:25:''}></p>
                    <{foreach $item.ext.photos as $photo}>
                    <p class="case_p lt">
                        <a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"  title="<{$photo.title}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="120" height="95" /></a>
                        <span></span>
                        <span class="text1"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"  title="<{$photo.title}>"><{$photo.title}></a></span>
                    </p>
                    <{if $photo@index>0}><{break}><{/if}>
                    <{/foreach}>
                    <div class="cl"></div>
                    <p class="simple"><{foreach $item.ext.attrs as $k=>$v}><span class="simple_style lt"><a target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"  title="<{$photo.title}>"  target="_blank"><{$v}></a></span><{/foreach}></p>
                </div>
                <{/calldata}>
            </div>     
        </div>
        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页推荐设计师", 'limit' => "2", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

        <div class="ads2 lt mt10">
            <a href="<?php 
        echo smarty_function_link(array('ctl' => 'passport:signup'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/ads7.png" width="140" height="230" /></a>
        </div> 
    </div>
    <div class="designer mt10 w1000 hauto bgwhite">                  
        <div class="wraper lt mb30">
            <ul class="gundong_img lt" >
                <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "designer/designer", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "orderby:desc", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "designer/designer", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "orderby:desc", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                <li>
                    <a target="_blank" href="<{link ctl='blog' arg0=$item.uid}>" title="<{$item.realname}>"><img src="<{$pager.img}>/<{$item.face}>" width="100" height="100" /></a><br />
                    <a target="_blank" href="<{link ctl='blog' arg0=$item.uid}>" title="<{$item.realname}>" class="red"><b><{$item.realname}></b></a>
                </li>
                <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "designer/designer", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "orderby:desc", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

            </ul>                  
        </div>
    </div>
    <!------设计师结束------->    
    <!------设计师结束------->     

    <!------装修课堂开始--------->
    <div class="decoration_class w1000 hauto mt15">
        <h2><a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:items'), $_smarty_tpl);
        ?>
" class="block_lt">装修课堂</a><a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:items'), $_smarty_tpl);
        ?>
" class="block rt a31 mt10">更多>></a></h2>
        <div class="cl"></div>
        <div class="w1000 hauto bgwhite mt10">
            <div class="decoration_class_t hauto w1000">
                <div class="decoration_class_t_l hauto bodr_r lt">
                    <div class="decoration_class_t_l_l lt" style="width: 300px;">

                        <div id="mall_id_3" kinBox='{"height":340}'><?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "首页最下面装修学堂轮播广告位", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>
</div>
                    </div>
                    <div class="decoration_class_t_l_r lt">
                        <p class="f18 p35">
                              <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "article/view", 'from' => 'article', 'order' => "views:desc", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "article/view", 'from' => 'article', 'order' => "views:desc", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                              <a target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>" title="<{$item.title}>" ><{$item.title}></a>
                              <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "article/view", 'from' => 'article', 'order' => "views:desc", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                        </p>
                        <ul class="bodr_b">
                            <?php 
        echo smarty_function_widget(array('id' => 'article/newitems', 'limit' => 2), $_smarty_tpl);
        ?>

                            <p class="mt10"></p>
                        </ul>
                        <ul class="mt15 bodr_b">
                            <?php 
        echo smarty_function_widget(array('id' => 'diary/right', 'limit' => 4, 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_smarty_tpl);
        ?>

                            <p class="mt10"></p>
                        </ul>
                        <ul class="mt15">
                            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "ask/ask", 'answer_id' => '>:0', 'order' => "ask_id:desc", 'limit' => "5"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "ask/ask", 'answer_id' => '>:0', 'order' => "ask_id:desc", 'limit' => "5"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
 
                            <li>
                                <a href="<{link ctl='ask'}>" class="f14 red">装修问答</a><font class="f14">&nbsp;|&nbsp;</font>
                               <a target='_blank' title="<{$item.title}>" href="<{link ctl='ask:detail' arg0=$item.ask_id}>"  class="f14 black8"><{$item.title}></a>
                            </li>
                            <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "ask/ask", 'answer_id' => '>:0', 'order' => "ask_id:desc", 'limit' => "5"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
                                   
                            <p class="mt10"></p>                                        
                        </ul>
                    </div>
                </div>
                <div class="decoration_class_t_r hauto lt">
                    <div class="decoration_class_t_r_img hauto">
                        <ul>
                            <li>
                                <a target="_blank" title="涂料计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'main'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/tljsq.png" width="56" height="56"/></a><br/>
                                 <a target="_blank" title="涂料计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'main'), $_smarty_tpl);
        ?>
">涂料计算器</a>
                            </li>
                            <li>
                                <a target="_blank" title="地板计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'diban'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/dbjsq.png" width="56" height="56"/></a><br/>
                                <a target="_blank" title="地板计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'diban'), $_smarty_tpl);
        ?>
">地板计算器</a>
                            </li>
                            <li>
                                <a target="_blank" title="壁纸计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'bizhi'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/tpjsq.png" width="56" height="56"/></a><br/>
                               <a target="_blank" title="壁纸计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'bizhi'), $_smarty_tpl);
        ?>
">壁纸计算器</a>
                            </li>
                            <li>
                                <a target="_blank" title="墙砖预算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'qiangzhuan'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/dbjsq.png" width="56" height="56"/></a><br/>
                                <a target="_blank" title="墙砖预算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'qiangzhuan'), $_smarty_tpl);
        ?>
">墙砖预算器</a>
                            </li>
                            <li>
                                <a target="_blank" title="窗帘计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'chuanlian'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/tljsq1.png" width="56" height="56"/></a><br/>
                                <a target="_blank" title="窗帘计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'chuanlian'), $_smarty_tpl);
        ?>
">窗帘计算器</a>
                            </li>
                            <li>
                                <a target="_blank" title="地砖计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'dizhuan'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/dbjsq2.png" width="56" height="56"/></a><br/>
                               <a target="_blank" title="地砖计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'dizhuan'), $_smarty_tpl);
        ?>
">地砖计算器</a>
                            </li>
                        </ul>

                    </div>

                    <p class="bodr_b"></p>
                    <div class="decoration_class_t_r_img1">
                        <?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "首页最下面装修学堂右侧小图广告", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "1"), $_smarty_tpl);
        ?>

                    </div>
                </div>

            </div>
            <div class="cl"></div>
            <div class="decoration_class_b hauto w1000 mt5">
                <h2 class="ml10 bodr_b">
                    <a href="<?php 
        echo smarty_function_link(array('ctl' => 'content'), $_smarty_tpl);
        ?>
" class="block_lt">猜您喜欢</a>
                    <span class="block rt">

                        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'content'), $_smarty_tpl);
        ?>
" class="mr10">更多>></a>
                    </span>
                </h2>
                <div class="cl"></div>
                <ul class="lt ml10 mt10 ul1">
                     <?php 
        echo smarty_function_widget(array('id' => 'article/randitems', 'limit' => 3), $_smarty_tpl);
        ?>
                   
                </ul>
                <div class="cl"></div>
                <div class="mt20"></div>                        
            </div>
        </div>

    </div>
    <!------装修课堂结束--------->
    <!-------- 友情链接------------>
    <div class="friends_link w1000 hauto mt20 mb20">
        <h2><a href="<?php 
        echo smarty_function_link(array('ctl' => 'about:link'), $_smarty_tpl);
        ?>
" target="_blank">友情链接</a></h2>
        <div class="w1000 friend_link_show bgwhite hauto mt10"><p><?php 
        echo smarty_function_widget(array('id' => "links", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_smarty_tpl);
        ?>
</p></div>
    </div>
    <!-------- //友情链接------------>
</div>
<script type="text/javascript">
    (function(K, $) {
        $(".company_charts_show_l_t ul li").mouseover(function() {
            var index = $(this).index();
            $(".company_charts_show_l_t ul li").each(function(a) {
                var q = a + 1
                if (a == index) {
                    $(".company_chats_" + q).show();
                    $(this).css('background', '');
                } else {
                    $(".company_chats_" + q).hide();
                    $(this).css('background', '#F2F2F2');
                }
            });
        });
        $(".company_charts_show_l_t ul li").eq(0).mouseover();
        $(".news_qdb_1 ul li").mouseover(function() {
            var index = $(this).index();
            $(".news_qdb_1 ul li").each(function(a) {
                if (a == index) {
                    $(this).find(".news_qdb_all").show();
                    $(this).find(".news_qdb_sum").hide();
                } else {
                    $(this).find(".news_qdb_all").hide();
                    $(this).find(".news_qdb_sum").show();
                }

            });

        });

        $(".news_qdb_1 ul li").eq(0).mouseover();

        $(".news_qdb_0 ul li").mouseover(function() {
            var index = $(this).index();
            $(".news_qdb_0 ul li").each(function(a) {
                if (a == index) {
                    $(this).find(".news_qdb_all").show();
                    $(this).find(".news_qdb_sum").hide();
                } else {
                    $(this).find(".news_qdb_all").hide();
                    $(this).find(".news_qdb_sum").show();
                }
            });
        });

        $(".news_qdb_0 ul li").eq(0).mouseover();
        $(".newest_qdb li").mouseover(function() {
            var index = $(this).index();
            $(".newest_qdb li").each(function(a) {
                if (a == index) {
                    $(this).css('background', '#FFF');
                    $(this).find(".red").css('color', '#F00').css('font-size', '16px');
                    $(this).css('border-bottom', '');
                    $(this).css('border-left', '');
					$(this).css('border-right', '');
                    $(".news_qdb_" + a).show();
                } else {
                    $(this).css('background', '');
                    $(this).find(".red").css('color', '#888888').css('font-size', '');
                    $(this).css('border-bottom', '1px solid #EAEAEA');
                    $(this).css('border-left', '1px solid #EAEAEA');
					$(this).css('border-right', '1px solid #EAEAEA');
                    $(".news_qdb_" + a).hide();
                }
            });
        });
        $(".newest_qdb li").eq(0).mouseover();
        $(".materrial_mall_show_l ul li:eq(4)").css('border-right', 'none');
        $(".materrial_mall_show_l ul li:eq(9)").css('border-right', 'none');
        $(".materrial_mall_show_l ul li:eq(14)").css('border-right', 'none').css('border-bottom', 'none');
        $(".materrial_mall_show_l ul li:eq(10)").css('border-bottom', 'none');
        $(".materrial_mall_show_l ul li:eq(11)").css('border-bottom', 'none');
        $(".materrial_mall_show_l ul li:eq(12)").css('border-bottom', 'none');
        $(".materrial_mall_show_l ul li:eq(13)").css('border-bottom', 'none');
        $(".decoration_case_b_l ul li").mouseover(function() {
            var index = $(this).index();
            $(".decoration_case_b_l ul li").each(function(a) {
                var nn = a + 1
                if (a == index) {

                    $(".decoration_case_b_all_" + nn).show();
                } else {
                    $(this).find("a").removeClass("currentt");
                    $(".decoration_case_b_all_" + nn).hide();
                }

            });
        });
        $(".decoration_case_b_l ul li").eq(0).mouseover();



        $(".news_ul_l ul li").mouseover(function() {
            var index = $(this).index();
            $(".news_ul_l ul li").each(function(a) {
                if (a == index) {
                    $(this).css('background', '#EAEAEA');

                } else {

                    $(this).css('background', '')

                }
            });
        }).mouseout(function() {
            $(this).css('background', 'none');

        });

        $(".news_ul_r ul li").mouseover(function() {
            var index = $(this).index();
            $(".news_ul_r ul li").each(function(a) {
                if (a == index) {
                    $(this).css('background', '#EAEAEA');

                } else {

                    $(this).css('background', '')

                }
            });
        }).mouseout(function() {
            $(this).css('background', 'none');

        });


        $(".decoration_case_b_r_l").mouseover(function() {
            $(this).find(".p1").show();
            $(this).find(".text").show();

        }).mouseout(function() {
            $(this).find(".p1").hide();
            $(this).find(".text").hide();
        });


        $(".decoration_case_b_r_r ul li").mouseover(function() {
            $(this).find(".p1").show();
            $(this).find(".text").show();

        }).mouseout(function() {
            $(this).find(".p1").hide();
            $(this).find(".text").hide();
        });
    })(window.KT, window.jQuery);



</script>
<?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_55d7ecfe53efa0_84983890($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_block_KT')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.KT.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
<?php 
        echo $_smarty_tpl->getSubTemplate("block/header_city.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>



</div>
    <!--logo结束-->
    <div class="cl"></div>
    <!--主题开始-->
    <div class="index_b_bg hauto">
    <!--城市切换开始-->
    	<div class="change_city_main_style hauto w1000">
        	<div class="change_city_main_style_t">
            	<span>亿家网猜您可能在<?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        ?>
,</span>
                <a title="<?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="<?php 
        echo $_smarty_tpl->tpl_vars['allcity']->value[$_smarty_tpl->tpl_vars['request']->value['city_id']]['siteurl'];
        ?>
" class="goincity">点击进入<?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        ?>
站</a>
                <ul>
				 <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'gs'), $_smarty_tpl);
        ?>
">装修公司 </a></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
">免费设计</a></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'zb'), $_smarty_tpl);
        ?>
">免费报价</a></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
">装修效果图</a></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'ask'), $_smarty_tpl);
        ?>
">装修问答</a></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'content'), $_smarty_tpl);
        ?>
">学装修</a></li>
                   
                </ul>
                 <div class="cl"></div>
            </div>
           
            <div class="chanage_city_main_style_b hauto">
            	<div class="jianyuecity hauto" style="width:1195px">
                    <span>热门城市</span>           
                    <ul>
                       <?php 
        $_smarty_tpl->tpl_vars['item3'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item3']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['allcity']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item3']->iteration = 0;
        foreach ($_from as $_smarty_tpl->tpl_vars['item3']->key => $_smarty_tpl->tpl_vars['item3']->value) {
            $_smarty_tpl->tpl_vars['item3']->_loop = true;
            $_smarty_tpl->tpl_vars['item3']->iteration++;
            ?>
                          <?php 
            if ($_smarty_tpl->tpl_vars['item3']->value['audit'] == 1) {
                ?>
                            
                       <li><a href="<?php 
                echo $_smarty_tpl->tpl_vars['item3']->value['siteurl'];
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item3']->value['city_name'];
                ?>
</a></li>
                        <?php 
            }
            ?>
                        <?php 
            if ($_smarty_tpl->tpl_vars['item3']->iteration > 10) {
                break 1;
            }
            ?>
                        <?php 
        }
        ?>
                    </ul>                         
                    <!--<span class="kaitongcity">共开通了<?php 
        echo count($_smarty_tpl->tpl_vars['allcity']->value);
        ?>
个城市</span>--><br>
    
                    <div class="cl"></div>
                     <?php 
        $_smarty_tpl->tpl_vars['item1'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item1']->_loop = false;
        $_smarty_tpl->tpl_vars['key1'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['allprovinces']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item1']->key => $_smarty_tpl->tpl_vars['item1']->value) {
            $_smarty_tpl->tpl_vars['item1']->_loop = true;
            $_smarty_tpl->tpl_vars['key1']->value = $_smarty_tpl->tpl_vars['item1']->key;
            ?>
 
                     
                     <div class="cl"></div>
                         <span><?php 
            echo $_smarty_tpl->tpl_vars['item1']->value['name'];
            ?>
</span> 
                          <ul>
                        <?php 
            $_smarty_tpl->tpl_vars['item2'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['item2']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['allcity']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['item2']->key => $_smarty_tpl->tpl_vars['item2']->value) {
                $_smarty_tpl->tpl_vars['item2']->_loop = true;
                ?>
 
                         <?php 
                if ($_smarty_tpl->tpl_vars['item2']->value['audit'] == 1 && $_smarty_tpl->tpl_vars['item2']->value['provinces_id'] == $_smarty_tpl->tpl_vars['item1']->value['id']) {
                    ?>
 
                       <li><a href="<?php 
                    echo $_smarty_tpl->tpl_vars['item2']->value['siteurl'];
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['item2']->value['city_name'];
                    ?>
</a></li>
                       <?php 
                }
                ?>
                        <?php 
            }
            ?>
                    </ul>  
                      
                    <?php 
        }
        ?>
                    
                       
                </div>
                
                <div class="cl"></div>
                <div class="all_city">
                    <p style="color:white">所有开通城市</p>
                  <!-- <a href="###"><span style="background:url(<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jianyue.png) no-repeat left center;">显示全部城市</span></a>-->
                </div>
            </div>
        	
        </div>
    <!--城市切换结束-->

<script>
$(document).ready(function(){
/*var $category = $('.jianyuecity ul li:gt(13):not(:last)');     	    //  获得索引值大于5的品牌集合对象(除最后一条)	
		$category.hide();							    //  隐藏上面获取到的jQuery对象。
		var $toggleBtn = $('div.all_city > a');             //  获取"显示全部品牌"按钮
		$toggleBtn.click(function(){
		       if($('.all_city a span').text()== '精简城市'){
					$category.hide();                   		 //  隐藏$category
					$('.all_city a span').css("background","url(<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jianyue.png) no-repeat left center").text("显示全部城市");   
                //改变背景图片和文本
					$('.jianyuecity ul li').removeClass("orange");			// 去掉高亮样式
			  }else{
					$category.show();                   		 //  显示$category
					$('.all_city a span')
						.css("background","url(<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/all_fenlei.png) no-repeat left center")    
						.text("精简城市");                  //改变背景图片和文本
					$('.jianyuecity ul li').filter(":contains('武汉'),:contains('深圳'),:contains('广州'),:contains('上海')").addClass("orange");	
                    //添加高亮样式
			  }
			return false;					      	//超链接不跳转
		});	*/
	
	
 $(".decoration_case_b_l ul li").mouseover(function() {
                            var index = $(this).index();
                            $(".decoration_case_b_l ul li").each(function(a) {
                                var nn = a + 1
                                if (a == index) {
                                   
                                    $(".decoration_case_b_all_" + nn).show();
                                } else {
                                    $(this).find("a").removeClass("currentt");
                                    $(".decoration_case_b_all_" + nn).hide();
                                }

                            });
                        });
                        $(".decoration_case_b_l ul li").eq(0).mouseover();
								
               		
                $(".decoration_case_b_r_l").mouseover(function(){
                        $(this).find(".p1").show();
                        $(this).find(".text").show();
                        
                        }).mouseout(function(){
                            $(this).find(".p1").hide();
                            $(this).find(".text").hide();
                            });
                            
                            
                        $(".decoration_case_b_r_r ul li").mouseover(function(){
                        $(this).find(".p1").show();
                        $(this).find(".text").show();
                        
                        }).mouseout(function(){
                            $(this).find(".p1").hide();
                            $(this).find(".text").hide();
                    });	
					
					   $(".changecity_yzpj ul li .changecity_yzpj_content").mouseover(function(){
						   $(this).siblings(".span91").css('color','#00AD28');
					   }).mouseout(function(){
						     $(this).siblings(".span91").css('color','')
						   });
                

});
</script>
<div class="change_city_free_tenders w1000 mt20">
      		<div class="change_city_free_teders_l lt">
            	<p>
                	<strong>免费发布招标</strong>
                    <i>Free Publishing Tenders</i>
               </p>
            </div>
            <div class="change_city_free_tenders_c lt">
            	<span class="fabuzb_0 jxz"></span>
                <p>申请免费量房<br />已有<i>23789</i>人申请</p>
            </div>
             <div class="change_city_free_tenders_c lt">
            	<span class="fabuzb_1 jxz"></span>
                <p>申请免费户型设计<br />已有<i>23789</i>人申请</p>
            </div>
             <div class="change_city_free_tenders_c lt">
            	<span class="fabuzb_2 jxz"></span>
                <p>申请免费装修预算<br />已有<i>23789</i>人申请</p>
            </div>
            <div class="change_city_tenders_r lt">
            	
                	<div class="changecity_free_sq">
                    <iframe id="miniframe" name="miniframe" style="display:none;"></iframe>
                    <form action="<?php 
        echo smarty_function_link(array('ctl' => 'tenders:save', 'http' => true), $_smarty_tpl);
        ?>
" mini-form="tenders" method="post" >
                    	<input type="text" name="data[mobile]" id='data_mobile' class="free_sq" value="请输入您的联系电话"/>
                        <input type="submit" name="sq" class="mfsq_but" value="" />
                     </form>
                     <p>已有<b>23789</b>人申请</p>
                    </div>
                <script>
                    $(document).ready(function(){
                        $("#data_mobile").focus(function(){
                            if($(this).val() == '请输入您的联系电话'){
                                $(this).val('');
                            }
                        }).focusout(function(){
                             if($(this).val() == ''){
                                $(this).val('请输入您的联系电话');
                            }
                        });
                    });
                </script>
                
            </div>
      </div>
    
        <!--------------装修案例开始-------------------->
    <div class="decoration_case hauto mt25">
        <div class="decoration_case_title w1000 " >
            <h2 class="lt"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
">亿家装修案例</a></h2><span class="rt mt10"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
">更多>></a></span>
        </div>
        <div class="cl"></div>
        <div class="decoration_case_b w1000 hauto bgwhite mt10">
            <div class="decoration_case_b_l lt bodr">
                <ul>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="dcotion_case_bg" ></a><p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="red">风格</a><br /><font>Style</font></p></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="dcotion_case_bg"></a><p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="red">空间</a><br /><font>Space</font></p></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="dcotion_case_bg "></a><p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="red">别墅</a><br /><font>Ulila</font></p></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="dcotion_case_bg"></a><p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="red">小户型</a><br /><font>Small</font></p></li>
                    <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="dcotion_case_bg"></a><p><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
" class="red">公装</a><br /><font>Publicloaded</font></p></li>
                </ul>
            </div>
            <div class="decoration_case_b_all_1">
                <div class="decoration_case_b_r lt hauto bgwhite">
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:风格", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:风格", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <div class="decoration_case_b_r_l lt hauto">
                        <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$item.thumb}>" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$item.title}></a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <{foreach $item.ext.photos as $photo}>
                            <li>
                                <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$photo.title}></a></p>
                            </li>
                            <{if $photo@iteration > 7}><{break}><{/if}>
                            <{/foreach}>
                        </ul>
                    </div>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:风格", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </div>
            </div>
            <div class="decoration_case_b_all_2">
                <div class="decoration_case_b_r lt hauto bgwhite">
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:空间", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:空间", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <div class="decoration_case_b_r_l lt hauto">
                        <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$item.thumb}>" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$item.title}></a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <{foreach $item.ext.photos as $photo}>
                            <li>
                                <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$photo.title}></a></p>
                            </li>
                            <{if $photo@iteration > 7}><{break}><{/if}>
                            <{/foreach}>
                        </ul>
                    </div>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:空间", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </div>
            </div>
            <div class="decoration_case_b_all_3">
                <div class="decoration_case_b_r lt hauto bgwhite">
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:别墅", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:别墅", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <div class="decoration_case_b_r_l lt hauto">
                        <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$item.thumb}>" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$item.title}></a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <{foreach $item.ext.photos as $photo}>
                            <li>
                                <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$photo.title}></a></p>
                            </li>
                            <{if $photo@iteration > 7}><{break}><{/if}>
                            <{/foreach}>
                        </ul>
                    </div>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:别墅", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </div>
            </div>
            <div class="decoration_case_b_all_4">
                <div class="decoration_case_b_r lt hauto bgwhite">
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:小户型", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:小户型", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <div class="decoration_case_b_r_l lt hauto">
                        <a href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$item.thumb}>" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$item.title}></a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <{foreach $item.ext.photos as $photo}>
                            <li>
                                <a title="<{$item.title}>" target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a title="<{$item.title}>" target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$photo.title}></a></p>
                            </li>
                            <{if $photo@iteration > 7}><{break}><{/if}>
                            <{/foreach}>
                        </ul>
                    </div>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:小户型", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </div>
            </div>
            <div class="decoration_case_b_all_5">
                <div class="decoration_case_b_r lt hauto bgwhite">
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('KT', array('name' => "首页装修案例:公装", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_KT(array('name' => "首页装修案例:公装", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <div class="decoration_case_b_r_l lt hauto">
                        <a title="<{$item.title}>" target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$item.thumb}>" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a title="<{$item.title}>" target="_blank"  href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$item.title}></a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <{foreach $item.ext.photos as $photo}>
                            <li>
                                <a title="<{$item.title}>" target="_blank" href="<{link ctl='case:detail' arg0=$item.case_id}>"><img src="<{$pager.img}>/<{$photo.photo}>_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a href="<{link ctl='case:detail' arg0=$item.case_id}>"><{$photo.title}></a></p>
                            </li>
                            <{if $photo@iteration > 7}><{break}><{/if}>
                            <{/foreach}>
                        </ul>
                    </div>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_KT(array('name' => "首页装修案例:公装", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        (function(K, $) {
            $(".decoration_case_b_l ul li").mouseover(function() {
                var index = $(this).index();
                $(".decoration_case_b_l ul li").each(function(a) {
                    if (a == index) {
                        $(this).addClass("dcotion_case_bgon");
                        $(this).find(".red").css('color', '#00AD28');
						if($.browser.msie){
                        	$(this).find(".dcotion_case_bg").css('backgroundPositionX','-225px');}
							else{$(this).find(".dcotion_case_bg").stop().animate({backgroundPositionX: '-225px'}, 100);}
                    } else {
                        $(this).removeClass("dcotion_case_bgon");
                        $(this).find(".red").css('color', '');
                        if($.browser.msie){
                        	$(this).find(".dcotion_case_bg").css('backgroundPositionX','-179px');}
							else{$(this).find(".dcotion_case_bg").stop().animate({backgroundPositionX: '-179px'}, 100);}
                    }
                });
            });
        })(window.KT, window.jQuery);
    </script>
    <!--------------装修案例结束-------------------->
    
    
   <div class="cl"></div>

	<div class="decoration_class w1000 hauto mt15">
        <h2><a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:items'), $_smarty_tpl);
        ?>
" class="block_lt">亿家装修课堂</a><a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:items'), $_smarty_tpl);
        ?>
" class="block rt a31 mt10">更多>></a></h2>
        <div class="cl"></div>
        <div class="w1000 hauto bgwhite mt10">
            <div class="decoration_class_t hauto w1000">
                <div class="decoration_class_t_l hauto bodr_r lt" style="width:750px">
                    <div class="decoration_class_t_l_l lt" style="width: 299px;height:auto;border-right:1px solid #D5D5D5;padding-bottom: 8px;">
						<div class="decoration_ketang_img">
                                                    <ul style="margin:3px;">
                            	<!--<li>
                                	<a href="/ask.html"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/cheerful_green/static/images/cjwt.jpg" width="140" height="90"/></a>
                                    <div class="decoration_ketang_opacity none">
                                        <p></p>
                                        <p class="text">常见问题</p>
                                    </div>
                                </li>-->
                              	<li style="width:290px">
                                	<a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:items'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/cheerful_green/static/images/zxzs.jpg" width="290" height="90"/></a>
                                     <div class="decoration_ketang_opacity none" style="text-align:center;">
                                        <p></p>
                                        <p class="text">建材常识</p>
                                    </div>
                                </li>
                            </ul>
                        </div>
                      <script>
					  	$(".decoration_ketang_img ul li").mouseover(function(){
							$(this).find(".decoration_ketang_opacity").show();
						}).mouseout(function(){
							$(this).find(".decoration_ketang_opacity").hide();
						});
					  </script>
                      	<div class="decoration_ketang_jiancai_b" style="height:auto">
                        	<h3>建材常识</h3>
                            <ul>
                            
                              <!-- <li><a href="###">实木复合地板选购全攻略</a></li> -->
							  <?php 
        echo smarty_function_widget(array('id' => 'article/randitems', 'limit' => 10), $_smarty_tpl);
        ?>
                               
                            </ul>
                        </div>
                    </div>
                    <div class="decoration_class_t_l_r lt" style="width:400px;height:430px">
                       
                        <p class="f18 p35">
                              <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "article/view", 'from' => 'article', 'order' => "views:desc", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "article/view", 'from' => 'article', 'order' => "views:desc", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                              <a target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>" title="<{$item.title}>" ><{$item.title|cutstr:40:""}></a>
                              <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "article/view", 'from' => 'article', 'order' => "views:desc", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                        </p>
                        <ul class="bodr_b">
                            <?php 
        echo smarty_function_widget(array('id' => 'article/newitems', 'limit' => 6), $_smarty_tpl);
        ?>

                            <p class="mt10"></p>
                        </ul>
                    
                       <div class="decoration_class_t_r_ask" style="width:400px;height:230px" >
                         
                         <div style="width:400px;height:22px;padding:3px 0;font-size:14pt;font-weight: bold"> 
                    <p>装修问答</p>
                         </div>
                        
                        <ul class="mt15" style="width:420px;height:230px;border-bottom:1px solid #D5D5D5;margin:5px 5px;list-style: decimal">
                            
                            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "ask/ask", 'answer_id' => '>:0', 'order' => "ask_id:desc", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "ask/ask", 'answer_id' => '>:0', 'order' => "ask_id:desc", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
 
                         
                            <li style="padding-left:2px;">
                              <a href="<{link ctl='ask'}>" class="f14 red"><font style="color:#00AD28">装修问答</font></a><font class="f14">&nbsp;|&nbsp;</font>
                               <a target='_blank' title="<{$item.title}>" href="<{link ctl='ask:detail' arg0=$item.ask_id}>"  class="f14 black8"><{$item.title}></a>
                            </li>
                            <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "ask/ask", 'answer_id' => '>:0', 'order' => "ask_id:desc", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
                                   
                            <p class="mt10"></p>                                        
                        </ul>
                    </div>
            
                    </div>
                    
                </div>
                <div class="decoration_class_t_r hauto lt" style="width:440px">
                      <div style="width:400px;height:32px;padding-top:3px;font-size:15pt;font-weight: bold"> 
                            <p>装修日记</p>
                        </div>
                        
                        <div class="decoration_class_t_l_r_b" >
                            <div class="decoration_class_diary_l" style="float:left;padding-left:30px;width:185px">
                        <ul style="margin-top:2px">
                              <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                              
                             <li style="width:170px;padding-left:1px">
                                 <div><font style ="font-size:13px"><{$index+1}>.</font><a target="_blank" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>" title="<{$item.title}>" ><{$item.title|cutstr:16:""}></a></div>
                              </li>
                              <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                            <p class="mt10"></p>
                        </ul>
                            </div>
                            <div class="decoration_class_diary_r" style="float:left;padding-top: 8px;" >
                                 <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "8"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                                <a target="_blank" href="<{link ctl='content:diaryDetail' arg0=$item.diary_id}>" title="<{$item.title}>" > <img src="<{$pager.img}>/<{$item.face_pic}>" width="190" height="190" /></a>
                                 <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "diary/diary", 'order' => "diary_id:desc", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                                </div>
                        </div> 
                    
                       <script>
                             (function(K, $) {
                     $(".decoration_class_diary_r a").each(function(a){
                          var index = $(this).index();
                           if (a == 0) {
                             $(this).show();  
                           }
                           else {
                        $(this).hide();
                                }
                     });           
                             
            $(".decoration_class_diary_l ul li").mouseover(function() {
                //$(this).css('color','#00AD28');
                var index = $(this).index();
                $(".decoration_class_diary_r a").each(function(a) {
                    if (a == index) {                 
                        $(this).show();       
                    } else {
                     
                        $(this).hide();
                    }
                });
            });
        })(window.KT, window.jQuery);
                  </script> 
                   
                     <div class="decoration_class_t_r_img hauto" style="width:350px">
                        <ul>
                            <li style="width:110px;padding:3px;">
                                <a target="_blank" title="涂料计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'main'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/tljsq.png" width="56" height="56"/></a><br/>
                                 <a target="_blank" title="涂料计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'main'), $_smarty_tpl);
        ?>
">涂料计算器</a>
                            </li>
                            <li style="width:110px;padding:3px;">
                                <a target="_blank" title="地板计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'diban'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/dbjsq.png" width="56" height="56"/></a><br/>
                                <a target="_blank" title="地板计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'diban'), $_smarty_tpl);
        ?>
">地板计算器</a>
                            </li>
                            <li style="width:110px;padding:3px;">
                                <a target="_blank" title="壁纸计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'bizhi'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/tpjsq.png" width="56" height="56"/></a><br/>
                               <a target="_blank" title="壁纸计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'bizhi'), $_smarty_tpl);
        ?>
">壁纸计算器</a>
                            </li>
                            <li style="width:110px;padding:3px;">
                                <a target="_blank" title="墙砖预算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'qiangzhuan'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/dbjsq.png" width="56" height="56"/></a><br/>
                                <a target="_blank" title="墙砖预算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'qiangzhuan'), $_smarty_tpl);
        ?>
">墙砖预算器</a>
                            </li>
                            <li style="width:110px;padding:3px;">
                                <a target="_blank" title="窗帘计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'chuanlian'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/tljsq1.png" width="56" height="56"/></a><br/>
                                <a target="_blank" title="窗帘计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'chuanlian'), $_smarty_tpl);
        ?>
">窗帘计算器</a>
                            </li>
                            <li style="width:110px;padding:3px;">
                                <a target="_blank" title="地砖计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'dizhuan'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/pic/dbjsq2.png" width="56" height="56"/></a><br/>
                               <a target="_blank" title="地砖计算器" href="<?php 
        echo smarty_function_link(array('ctl' => 'tools:items', 'arg0' => 'dizhuan'), $_smarty_tpl);
        ?>
">地砖计算器</a>
                            </li>
                        </ul>
                     </div>
                    
                   
                    <!--<p class="bodr_b"></p>-->
                    <div class="decoration_class_t_r_img1">
                        <?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "首页最下面装修学堂右侧小图广告", 'limit' => "1"), $_smarty_tpl);
        ?>

                    </div>
                </div>

            </div>
            <div class="cl"></div>
            
        </div>

    </div>
    

<div class="friends_link w1000 hauto mt30 mb20">
        <h3>亿家装修网友情链接</a></h3>
        <div class="w1000 friend_link_show bgwhite hauto mt10"><p><a href="http://www.ejiawang.cc" target="_blank">装修平台</a><a href="http://wh.ejiawang.cc/" target="_blank">武汉装修招标</a><a href="http://wh.ejiawang.cc" target="_blank">武汉装修网</a><a href="http://www.51zxgs.com" target="_blank">成都龙发装饰</a><a href="http://www.1688bm.com" target="_blank">家居o2o</a><a href="http://www.qingbaosh.com/" target="_blank">上海装修网</a><a href="http://dz.25nc.com/" target="_blank">达州装修网</a><a href="http://www.lovesthome.com" target="_blank">昆明装修公司</a><a href="http://www.bzzss.com" target="_blank">成都家装</a><a href="http://www.ynfjw.com" target="_blank">昆明装饰公司</a><a href="http://www.daguanjia5r.com" target="_blank">天津别墅装修</a><a href="http://www.fyzxw.cn" target="_blank">阜阳装修网</a><a href="http://www.ace0898.com" target="_blank">海口装修</a><a href="http://www.sxmantanghong.com" target="_blank">满堂红装饰</a><a href="http://www.baietu.com/" target="_blank">成都家装公司</a><a href="http://www.shlpzs.com" target="_blank">仿大理石</a><a href="http://www.fangshui168.com" target="_blank">防水涂料</a><a href="http://wuhan.11467.com/" target="_blank">武汉企业网</a><a href="http://www.shjazs.com/" target="_blank">上海家装</a><a href="http://www.chaojideng.com/" target="_blank">灯饰</a><a href="http://www.18722089329.com" target="_blank">天津装修公司</a><a href="http://www.jintzs.com" target="_blank">长沙装修公司</a><a href="http://weinan.focus.cn/" target="_blank">渭南房产网</a><a href="http://www.adtogroup.cn" target="_blank">门式脚手架</a><a href="http://www.pdcc.com.cn/" target="_blank">创意办公室装修</a><a href="http://www.sczshz.com" target="_blank">杭州别墅装修</a><a href="http://www.chinamaco.cn/" target="_blank">郑州美巢装饰</a><a href="http://www.jianzhu-moban.com" target="_blank">建筑模板</a><a href="http://www.czdder.com" target="_blank">常州装潢公司</a><a href="http://www.moerd.com/" target="_blank">窗帘</a><a href="http://www.bjzs.cc/" target="_blank">沈阳装修公司哪家好</a><a href="http://www.dyzgzs.com" target="_blank">东营装修价格</a><a href="http://www.024xinshijia.com" target="_blank">沈阳装修公司</a><a href="http://www.glgzw.com" target="_blank">桂林装修网</a></p></div>
    </div>

      <div class="h30"></div>
    </div>
     <!--主题结束-->

<?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<?php 
    }
    function content_55d7ea2b2a3ca9_32279956($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


<!----------头部和导航公共部分------------> 
<!--         主题部分开始           -->
<div class="index_b_bg hauto">
    <!--         你所在的位置开始             -->
    <div class="w1000 bgwhite ask_list_weizhi">
        <span class="span11 icobg block_lt"></span>
        <span class="block_lt">您当前所在的位置:</span>
        <a title="<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="\" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a>
        <span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'gs'), $_smarty_tpl);
        ?>
" title="找装修公司" class="block_lt">找装修公司</a>
        <?php 
        if ($_smarty_tpl->tpl_vars['area_id']->value) {
            ?>
        <span class="block_lt">></span>
        <a href="<?php 
            echo smarty_function_link(array('ctl' => 'gs:items', 'arg0' => $_smarty_tpl->tpl_vars['area_id']->value), $_smarty_tpl);
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['area_list']->value[$_smarty_tpl->tpl_vars['area_id']->value]['area_name'];
            ?>
装修公司" class="block_lt "><?php 
            echo $_smarty_tpl->tpl_vars['area_list']->value[$_smarty_tpl->tpl_vars['area_id']->value]['area_name'];
            ?>
装修公司</a>
        <?php 
        }
        ?>
    </div>
    <div class="cl"></div>
    <!--        你所在的位置结束      -->
    <!--        引导开始             -->
    <div class="w1000 dirary_list hauto bgwhite mt20">
        <div class="dirary_list_t hauto">
            <p class="h30 bodr_b ftw f16">
                <font >装修公司好不好多方面考核,</font>
                <font class="red">保障体系、用户真诚评价让您选择放心!</font>

            </p>
            <div class="home_list_area hauto bodr_b_x mt10 mb10">
                <span>区域&nbsp;:&nbsp;</span>
                <a  href="<?php 
        echo $_smarty_tpl->tpl_vars['area_url']->value;
        ?>
" <?php 
        if (empty($_smarty_tpl->tpl_vars['url_data']->value['area_id'])) {
            ?>
class="a1"<?php 
        }
        ?>
>不限</a>
                <?php 
        $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['v']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['area_list']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
            $_smarty_tpl->tpl_vars['v']->_loop = true;
            ?>
                <a  title="<?php 
            echo $_smarty_tpl->tpl_vars['v']->value['area_name'];
            ?>
装修公司" href="<?php 
            echo $_smarty_tpl->tpl_vars['v']->value['link'];
            ?>
" <?php 
            if ($_smarty_tpl->tpl_vars['v']->value['checked']) {
                ?>
class="a1"<?php 
            }
            ?>
><?php 
            echo $_smarty_tpl->tpl_vars['v']->value['area_name'];
            ?>
</a>
                <?php 
        }
        ?>
            </div>

            <?php 
        $_smarty_tpl->tpl_vars['company'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['company']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['attr_values']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['company']->key => $_smarty_tpl->tpl_vars['company']->value) {
            $_smarty_tpl->tpl_vars['company']->_loop = true;
            ?>
            <div class="home_list_area hauto bodr_b_x mt10 mb10">
                <span><?php 
            echo $_smarty_tpl->tpl_vars['company']->value['title'];
            ?>
&nbsp;:&nbsp;</span>
                <a  title="<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['title'];
            ?>
装修公司" href="<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['link'];
            ?>
"  <?php 
            if ($_smarty_tpl->tpl_vars['company']->value['checked']) {
                ?>
class="a1"<?php 
            }
            ?>
>不限</a>
                <?php 
            $_smarty_tpl->tpl_vars['it2'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['it2']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['company']->value['values'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['it2']->key => $_smarty_tpl->tpl_vars['it2']->value) {
                $_smarty_tpl->tpl_vars['it2']->_loop = true;
                ?>
                <a  title="<?php 
                echo $_smarty_tpl->tpl_vars['it2']->value['title'];
                ?>
装修公司" href="<?php 
                echo $_smarty_tpl->tpl_vars['it2']->value['link'];
                ?>
"  <?php 
                if ($_smarty_tpl->tpl_vars['it2']->value['checked']) {
                    ?>
class="a1"<?php 
                }
                ?>
><?php 
                echo $_smarty_tpl->tpl_vars['it2']->value['title'];
                ?>
</a>
                <?php 
            }
            ?>

            </div>
            <?php 
        }
        ?>


        </div>

    </div>
    <!--        引导结束             -->
    <!--        对比公司开始         -->
    <div class="ask_detail_main w1000 mt15 hauto">
        <div>
             <span class="block "><b>总共为您搜索到
                              <?php 
        if ($_smarty_tpl->tpl_vars['gs_name']->value) {
            ?>
<font class="red"><?php 
            echo ($tmp = @$_smarty_tpl->tpl_vars['pager']->value['count']) === null || $tmp === '' ? '0' : $tmp;
            ?>
</font>个<?php 
        }
        ?>
                               <font class="red"><?php 
        if ($_smarty_tpl->tpl_vars['gs_name']->value) {
            ?>
有关“<?php 
            echo $_smarty_tpl->tpl_vars['gs_name']->value;
            ?>
”<?php 
        } else {
            ?>
所有公司<?php 
        }
        ?>
</font>结果</b></span>
        </div>
        <!--        位置结束左面下开始       -->
        <div class="ask_detail_main_l hauto mt5 lt">   
            <?php 
        $_smarty_tpl->tpl_vars['company'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['company']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['companys']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['company']->key => $_smarty_tpl->tpl_vars['company']->value) {
            $_smarty_tpl->tpl_vars['company']->_loop = true;
            ?>
            <div class="decoration_list_l hauto mt5 bgwhite">
                <div class="decoration_list_l_t hauto">
                    <div class="decoration_list_l_t_l lt hauto">
                        <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['name'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['square_logo'];
            ?>
" width="150" height="150" /></a>
                    </div>
                    <div class="decoration_list_l_t_c lt hauto ml15">
                        <p>
                            <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['name'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id']), $_smarty_tpl);
            ?>
" class="block_lt a41"><?php 
            echo $_smarty_tpl->tpl_vars['company']->value['sort_name'];
            ?>
</a>
                            <?php 
            if (!empty($_smarty_tpl->tpl_vars['company']->value['security'])) {
                ?>
                            <span class="span85 acitivity_ico1"></span>
                            <span class="span86 ml5">活动保障金<font class="red">¥<?php 
                echo $_smarty_tpl->tpl_vars['company']->value['security'];
                ?>
</font></span>
                            <?php 
            }
            ?>

                            <span class="span87 acitivity_ico1"></span>

                            <?php 
            if (!empty($_smarty_tpl->tpl_vars['company']->value['orderby'])) {
                ?>
                            <span class="span88 redbg ml5"><a title="推广客户" href="javascript:void(0);">推广</a></span>
                            <?php 
            }
            ?>
                            <?php 
            if ($_smarty_tpl->tpl_vars['company']->value['is_vip']) {
                ?>
                            <span class="span89 orgbgg ml5"><a title="VIP旗舰店" href="javascript:void(0);">旗舰店</a></span>
                            <?php 
            }
            ?>
                        </p>
                        <p class="cl"></p>
                        <p class="p60 graybg mt10">
                            <span class="ftw f16 red ml10">口号</span>
                            <span class="f14 black ml10"><?php 
            echo $_smarty_tpl->tpl_vars['company']->value['slogan'];
            ?>
</span>
                        </p>
                        <p>
                            <b>公司地址:</b><?php 
            echo $_smarty_tpl->tpl_vars['company']->value['addr'];
            ?>

                        </p>
                        <p >
                            业主说:<a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['name'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id']), $_smarty_tpl);
            ?>
" style="color: orange;"><?php 
            echo ($tmp = @$_smarty_tpl->tpl_vars['dianping']->value[$_smarty_tpl->tpl_vars['company']->value['company_id']]['content']) === null || $tmp === '' ? '暂未评价' : $tmp;
            ?>
</a>
                        </p>
                    </div>
                    <div class="decoration_list_l_t_r rt hauto">
                        <h2> <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['name'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id']), $_smarty_tpl);
            ?>
">[进入店铺]</a></h2>
                        <i>信誉:<span><?php 
            echo round($_smarty_tpl->tpl_vars['company']->value['scores'] / 10, 1);
            ?>
</span></i>
                        <a mini-load='申请免费量房' href="<?php 
            echo smarty_function_link(array('ctl' => 'gs:yuyue', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id'], 'http' => 'empty'), $_smarty_tpl);
            ?>
" class="orgbgg">免费预约</a>
                      
                    </div>
                </div>
                <div class="cl"></div>
                <div class="decoration_list_b hauto">
                    <div class="decoration_list_b_ul">
                        <ul>
                            <li rel='<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['company_id'];
            ?>
'><a href="###" rel='<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['company_id'];
            ?>
' class="org">公司介绍</a></li>
                            <li rel='<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['company_id'];
            ?>
'><a href="###" rel='<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['company_id'];
            ?>
' class="org">资质证书</a></li>
                            <li rel='<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['company_id'];
            ?>
'><a href="###" rel='<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['company_id'];
            ?>
' class="org">案例</a></li>
                        </ul>

                        <p>
                            <span  rel='<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['company_id'];
            ?>
' class="span90">展开<img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
            ?>
/default/static/images/zk.png" /></span>
                            <span  rel='<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['company_id'];
            ?>
' class="span91 none">收起<img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
            ?>
/default/static/images/sq.png" /></span>
                        </p>
                    </div>

                    <div style="float:left" id='jq_company_list_content_<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['company_id'];
            ?>
' class="decoration_content none">
                        <div  class="decoration_list_b_b ">
                            <h2><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['company']->value['name'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id']), $_smarty_tpl);
            ?>
" ><?php 
            echo $_smarty_tpl->tpl_vars['company']->value['name'];
            ?>
</a></h2>
                            <div class="ml10 mt10 mb10">
                                <?php 
            echo $_smarty_tpl->tpl_vars['company_ex']->value[$_smarty_tpl->tpl_vars['company']->value['company_id']]['intro'];
            ?>

                            </div>
                        </div>
                        <div class="decoration_list_b_b  none">
                            <ul>
                                <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/pic", 'company_id' => $_smarty_tpl->tpl_vars['company']->value['company_id'], 'order' => "pic_id:desc", 'limit' => "4"));
            $_block_repeat = true;
            echo smarty_block_calldata(array('mdl' => "company/pic", 'company_id' => $_smarty_tpl->tpl_vars['company']->value['company_id'], 'order' => "pic_id:desc", 'limit' => "4"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

                                <li>
                                    <a target="_blank" title="<{$company.name}>" href="<{link ctl='company' arg0=$company.company_id}>" ><img src="<{$pager.img}>/<{$item.pic}>" width="300" /></a>
                                </li>
                                <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_calldata(array('mdl' => "company/pic", 'company_id' => $_smarty_tpl->tpl_vars['company']->value['company_id'], 'order' => "pic_id:desc", 'limit' => "4"), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
 
                            </ul>
                        </div>
                        <div class="decoration_list_b_b  none">
                            <ul>
                                <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "case/case", 'company_id' => $_smarty_tpl->tpl_vars['company']->value['company_id'], 'order' => "case_id:desc", 'limit' => "4"));
            $_block_repeat = true;
            echo smarty_block_calldata(array('mdl' => "case/case", 'company_id' => $_smarty_tpl->tpl_vars['company']->value['company_id'], 'order' => "case_id:desc", 'limit' => "4"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

                                <li>
                                    <a target="_blank" title="<{$item.title}>" href="<{link ctl='case:detail' arg0=$item.case_id}>"><img alt="<{$item.title}>" src="<{$pager.img}>/<{$item.photo}>" width="300" /></a>
                                </li>
                                <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_calldata(array('mdl' => "case/case", 'company_id' => $_smarty_tpl->tpl_vars['company']->value['company_id'], 'order' => "case_id:desc", 'limit' => "4"), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
 

                            </ul>
                        </div>
                    </div>

                </div>
            </div> 
            <?php 
        }
        ?>
            <div class="mt10" style="min-height: 20px;">
                <div class="page">
                    <?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];
        ?>

                </div>
                </div>
<script>
          $(document).ready( function(){
            $(".page").find("em").hide();
           }  )                
                </script>
        </div>




        <!--  当点击任何一个展开、收起的时候都会出现相应的内容分 -->
        <script>
            $(document).ready(function() {
                $(".decoration_list_b_ul ul li").click(function() {
                    var index = $(this).index();
                    $(this).parent().find('li').each(function(a) {
                        if (a == index) {
                            $("#jq_company_list_content_" + $(this).attr('rel')).find(".decoration_list_b_b").eq(a).show();
                            $(this).find(".org").css('color', '#FE8007');
                        } else {
                            $(this).find(".org").css('color', '');
                            $("#jq_company_list_content_" + $(this).find('a').attr('rel')).find(".decoration_list_b_b").eq(a).hide();
                        }
                    });
                    $(this).parent().parent().find(".span90").click();
                    
                });
           
                $(".decoration_list_b_ul .span90").click(function() {
                    $(this).parent().find('.span91').show();
                    $(this).parent().find('.span90').hide();
                    $("#jq_company_list_content_" + $(this).attr('rel')).show();

                });
                $(".decoration_list_b_ul .span91").click(function() {
                    $(this).parent().find('.span91').hide();
                    $(this).parent().find('.span90').show();
                    $("#jq_company_list_content_" + $(this).attr('rel')).hide();
                });/*展开收起*/
                $(".qyrz ul li:last").css('border-right', 'none');
                $(".newest_qdb li").eq(0).mouseover();

            });
        </script>


        <!--        位置结束左面下结束       -->

        <!--        位置结束右面下开始       -->
        <div class="ask_detail_main_r hauto mt5 lt ml20" style="position:fixed;bottom:20px">
            <?php 
        echo $_smarty_tpl->getSubTemplate("block/tenders.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
  
            <div class="cl"></div>
            <div class="ads7 mt15">
                <?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "装修公司列表页右侧广告位", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>

            </div>  



        </div>

        <!--        位置结束右面结束       -->

        <div class="cl"></div>
    </div>


    <?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
  <?php 
    }
    function content_55d7ebac84c0a4_62475700($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!--         主题部分开始           -->
<div class="index_b_bg hauto">
    <!--         装修步骤开始      -->
    <div class="learn_decoration_buzhou hauto">
        <div class="w1000 learn_decoration_buzhou_t hauto">
            <h2>按装修流程学习</h2>
            <div class="learn_decoration_buzhou_t_b hauto bgwhite">
                <!-- 步骤一开始-->
                <div class="learn_decoration_buzhou1 hauto">
                    <div class="ready_jieduan lt">
                        <font>装修前-准备阶段</font>
                    </div>
                    <span class="block_lt span67"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt2.png" /></span>
                    <div class="ready_jieduan_r lt">
                        <div class="ready_jieduan_r_t">
                            <div class="ready_jieduan_r_t1">
                                <span class="block_lt span68 orgbg"><font>收房准备中</font></span>
                                <span class="block_lt span69"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt2.png" /></span>
                                <span class="block_lt span70">
                                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['article_cates']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                                    <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['parent_id'] == 16) {
                ?>
                                    <a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
" href="<?php 
                echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
</a><font>&nbsp;|&nbsp;</font>
                                    <?php 
            }
            ?>
                                    <?php 
        }
        ?>
                                </span>
                            </div>
                            <div class="cl"></div>
                            <div class="ready_jieduan_r_t1 mt10">
                                <span class="block_lt span68 orgbg"><font>装修准备中</font></span>
                                <span class="block_lt span69"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt2.png" /></span>
                                <span class="block_lt span70">
                                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['article_cates']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                                    <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['parent_id'] == 17) {
                ?>
                                    <a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
" href="<?php 
                echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
</a><font>&nbsp;|&nbsp;</font>
                                    <?php 
            }
            ?>
                                    <?php 
        }
        ?>
                                </span>
                            </div>
                            <div class="cl"></div>


                        </div>


                    </div>



                </div>
                <!-- 步骤一结束-->
                <!-- 步骤二开始-->
                <div class="learn_decoration_buzhou2 hauto">
                    <div class="learn_decoration_buzhou2_l lt hauto">
                        <img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt1.png" class="jt1" />
                        <div class="buzhou2_b">
                            <font>装修中-施工阶段</font>
                        </div>
                        <img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt1.png" class="jt1" />
                    </div>
                    <span class="block_lt span71"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt2.png" /></span>
                    <div class="learn_decoration_buzhou2_r lt hauto">
                        <div class="ready_jieduan_r_t1 mt10">
                            <span class="block_lt span68 pinkbgg"><font>拆改/隐蔽工程</font></span>
                            <span class="block_lt span69"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt2.png" /></span>
                            <span class="block_lt span70">
                                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['article_cates']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                                <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['parent_id'] == 18) {
                ?>
                                <a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
" href="<?php 
                echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
</a><font>&nbsp;|&nbsp;</font>
                                <?php 
            }
            ?>
                                <?php 
        }
        ?>
                            </span>
                        </div>
                        <div class="cl"></div>
                        <div class="ready_jieduan_r_t1 mt10">
                            <span class="block_lt span68 pinkbgg"><font>泥瓦工程</font></span>
                            <span class="block_lt span69"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt2.png" /></span>
                            <span class="block_lt span70">
                                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['article_cates']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                                <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['parent_id'] == 19) {
                ?>
                                <a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
" href="<?php 
                echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
</a><font>&nbsp;|&nbsp;</font>
                                <?php 
            }
            ?>
                                <?php 
        }
        ?>

                            </span>
                        </div>
                        <div class="cl"></div>
                        <div class="ready_jieduan_r_t1 mt10">
                            <span class="block_lt span68 pinkbgg"><font>木工工程</font></span>
                            <span class="block_lt span69"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt2.png" /></span>
                            <span class="block_lt span70">
                                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['article_cates']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                                <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['parent_id'] == 20) {
                ?>
                                <a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
" href="<?php 
                echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
</a><font>&nbsp;|&nbsp;</font>
                                <?php 
            }
            ?>
                                <?php 
        }
        ?>
                            </span>
                        </div>
                        <div class="cl"></div>
                        <div class="ready_jieduan_r_t1 mt10">
                            <span class="block_lt span68 pinkbgg"><font>油漆工程</font></span>
                            <span class="block_lt span69"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt2.png" /></span>
                            <span class="block_lt span70">
                                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['article_cates']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                                <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['parent_id'] == 21) {
                ?>
                                <a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
" href="<?php 
                echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
</a><font>&nbsp;|&nbsp;</font>
                                <?php 
            }
            ?>
                                <?php 
        }
        ?>

                            </span>
                        </div>
                        <div class="cl"></div>
                        <div class="ready_jieduan_r_t1 mt10">
                            <span class="block_lt span68 pinkbgg"><font>安装/收尾工程</font></span>
                            <span class="block_lt span69"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt2.png" /></span>
                            <span class="block_lt span70">
                                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['article_cates']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                                <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['parent_id'] == 22) {
                ?>
                                <a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
" href="<?php 
                echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
</a><font>&nbsp;|&nbsp;</font>
                                <?php 
            }
            ?>
                                <?php 
        }
        ?>

                            </span>
                        </div>     
                    </div>



                </div>
                <!-- 步骤二结束-->
                <!-- 步骤三卡开始-->
                <div class="learn_decoration_buzhou3 hauto">
                    <div class="last_jieduan lt">
                        <font>装修后-入住阶段</font>
                    </div>
                    <span class="block_lt span72"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt2.png" /></span>
                    <div class="ready_jieduan_r lt">
                        <div class="ready_jieduan_r_t mt10">
                            <div class="ready_jieduan_r_t1">
                                <span class="block_lt span68 green_l_bg"><font>软装进行中</font></span>
                                <span class="block_lt span69"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt2.png" /></span>
                                <span class="block_lt span70">
                                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['article_cates']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                                    <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['parent_id'] == 24) {
                ?>
                                    <a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
" href="<?php 
                echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
</a><font>&nbsp;|&nbsp;</font>
                                    <?php 
            }
            ?>
                                    <?php 
        }
        ?>
                                </span>
                            </div>
                            <div class="cl"></div>
                            <div class="ready_jieduan_r_t1 mt10">
                                <span class="block_lt span68 green_l_bg"><font>即将入住</font></span>
                                <span class="block_lt span69"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/jt2.png" /></span>
                                <span class="block_lt span70">
                                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['article_cates']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                                    <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['parent_id'] == 25) {
                ?>
                                    <a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
" href="<?php 
                echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
</a><font>&nbsp;|&nbsp;</font>
                                    <?php 
            }
            ?>
                                    <?php 
        }
        ?>
                                </span>
                            </div>
                            <div class="cl"></div>


                        </div>


                    </div>



                </div>
                <!-- 步骤三结束-->
                <div class="cl"></div>
                <div class="h20"></div>


            </div>
        </div>
        <div class="mt30"></div>
    </div>
    <!--         装修步骤结束      -->
    <!--        日记分享、知识经验开始-->
    <div class="w1000 hauto rijifenxiang mt20 bgwhite">
        <!--左面开始-->
        <div class="rijifenxiang_l lt hauto">
            <?php 
        echo smarty_function_widget(array('id' => 'diary/newitems'), $_smarty_tpl);
        ?>


        </div>
        <!--左面结束-->
        <!--右面开始-->
        <div class="rijifenxiang_l lt hauto ml20">
            <p class="mt20 ml20">
                <span class="lt f22">知识经验</span>
                <span class="rt mt10"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:items'), $_smarty_tpl);
        ?>
" class="f12 black">更多>></a></span>
            </p>
            <div class="cl"></div>
            <div class="rijifenxaing_l_ul">
                <ul>                   
                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['article_cates']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                    <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['parent_id'] == 9) {
                ?>
                    <li>    <a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
" href="<?php 
                echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
</a></li>
                    <?php 
            }
            ?>
                    <?php 
        }
        ?>
                </ul>
            </div>
            <div class="cl"></div>
            <div class="rijifenxiang_content hauto mt10">
                <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "article/view", 'from' => 'article', 'order' => "hot", 'limit' => "1"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "article/view", 'from' => 'article', 'order' => "hot", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
 
                <p class="lt ml10">
                <div class="block"><b class="f14"><{$item.title}></b></div>
                <div class="block mt20">
                    <a title="<{$item.title}>" target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>" class="f14 black"><{$item.desc|cutstr:120:'..'}></a>
                </div>

                </p>
                <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "article/view", 'from' => 'article', 'order' => "hot", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
    
                <div class="cl"></div>
                <p class="h10 bodr_b"></p>
                <div class="rijifenxiang_content_ul hauto">
                    <ul>
                        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "article/view", 'from' => 'article', 'order' => "new", 'limit' => "5"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "article/view", 'from' => 'article', 'order' => "new", 'limit' => "5"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
 
                        <li><font>[<{$article_cates[$item.cat_id].title}>]</font><a title="<{$item.title}>" target="_blank" href="<{link ctl='content:detail' arg0=$item.article_id}>"><{$item.title}></a></li>
                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "article/view", 'from' => 'article', 'order' => "new", 'limit' => "5"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
    
                    </ul>
                </div>
            </div>
            <div class="cl"></div>
            <div class="h10"></div>

        </div>
        <!--右面结束-->
    </div>
    <div class="cl"></div>
    <!--        日记分享、知识经验结束-->
    <!--         装修问答开始     -->
    <div class="w1000 decoration_ask hauto mt15">
        <h2>装修问答</h2>
        <div class="decoration_ask_all hauto bgwhite w1000 mt10">
            <div class="decoration_ask_all_t hauto">
                <div class="decoration_ask_all_t_ul hauto">
                    <ul>
                        <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'ask:items', 'arg0' => 0, 'arg1' => 1), $_smarty_tpl);
        ?>
" class="black">已解决问题</a></li>
                        <li><a href="<?php 
        echo smarty_function_link(array('ctl' => 'ask:items', 'arg0' => 0, 'arg1' => 2), $_smarty_tpl);
        ?>
" class="black">待解决问题</a></li>
                    </ul>      
                </div>
                <div class="decoration_ask_b hauto mt15 decoration_ask_b_1 none">
                    <ul>
                        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "ask/ask", 'answer_id' => '>:0', 'order' => "ask_id:desc", 'limit' => "15"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "ask/ask", 'answer_id' => '>:0', 'order' => "ask_id:desc", 'limit' => "15"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
 
                        <li>
                            <span class="block_lt span73 red_bg mt5"><font class="f12 white">已解决</font></span>
                            <span class="block_lt span74" >
                                <a target='_blank' title="<{$item.title}>" href="<{link ctl='ask:detail' arg0=$item.ask_id}>" <{if $index <3}>class="red"<{else}> class="f14 black lt"<{/if}>><{$item.title}></a><span class="f14 rt shuliang">回答<{$item.answer_num}></span>
                            </span>
                        </li>
                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "ask/ask", 'answer_id' => '>:0', 'order' => "ask_id:desc", 'limit' => "15"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                    </ul>

                </div>
                <div class="decoration_ask_b hauto mt15 decoration_ask_b_2 none">
                    <ul>
                        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "ask/ask", 'answer_id' => '0', 'order' => "ask_id:desc", 'limit' => "15"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "ask/ask", 'answer_id' => '0', 'order' => "ask_id:desc", 'limit' => "15"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
 
                        <li>
                            <span class="block_lt span73 graybgg mt5"><font class="f12 white">未解决</font></span>
                            <span class="block_lt span74" >
                                <a target='_blank' title="<{$item.title}>" href="<{link ctl='ask:detail' arg0=$item.ask_id}>" <{if $index <3}>class="red"<{else}> class="f14 black lt"<{/if}>><{$item.title}></a><span class="f14 rt shuliang">回答<{$item.answer_num}></span>
                            </span>
                        </li>
                        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "ask/ask", 'answer_id' => '0', 'order' => "ask_id:desc", 'limit' => "15"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                    </ul>

                </div>
                <div class="h10"></div>


            </div>
        </div>
        <script>
            $(document).ready(function() {
                $(".decoration_ask_b ul li:last").find(".span74").css('border-bottom', 'none');
                $(".decoration_ask_b ul li").mouseover(function() {
                    var index = $(this).index();
                    $(".decoration_ask_b ul li").each(function(a) {
                        if (a == index) {
                            $(this).find(".black").css('color', '#F00');
                            $(this).find(".shuliang").css('color', '#FE8007');

                        } else {
                            $(this).find(".black").css('color', '');
                            $(this).find(".shuliang").css('color', '');

                        }
                        ;

                    });
                });

                $(".decoration_ask_all_t_ul ul li").mouseover(function() {
                    var index = $(this).index();
                    $(".decoration_ask_all_t_ul ul li").each(function(a) {
                        var nn = a + 1
                        if (a == index) {
                            $(this).find(".black").css('color', '#666666');
                            $(".decoration_ask_b_" + nn).show();
                        } else {
                            $(this).find(".black").css('color', '');
                            $(".decoration_ask_b_" + nn).hide();
                        }

                    });
                });
                $(".decoration_ask_all_t_ul ul li").eq(0).mouseover();
            });
        </script>
          <div class="h20"></div>

    </div>
    <!--         装修问答结束     -->

    <?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
           <?php 
    }
    function content_55d7eed24390a9_34785559($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        if (!is_callable('smarty_modifier_cutstr')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!----------头部和导航公共部分------------> 
<div class="index_b_bg hauto">

    <!--  聚合区域 -->
    <div class="home_all w1000 hauto mt10">
        <div class="home_all_l lt bgwhite" style='height: 225px;'>
            <div class="home_all_l_t hauto bodr_b_x">
                <p>
                    <span class="block icobg lt span10"></span>
                    <span class="block lt">区域</span>
                </p>
                <div class="cl"></div>
                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['area_list']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['area']['index'] = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['area']['index']++;
            ?>
                <?php 
            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['area']['index'] < 8) {
                ?>
                <a target="_blank" title="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['area_name'];
                ?>
小区" href="<?php 
                echo smarty_function_link(array('ctl' => 'home:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['area_id']), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['area_name'];
                ?>
</a>
                <?php 
            }
            ?>
                <?php 
        }
        ?>
                <a target="_blank" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:items'), $_smarty_tpl);
        ?>
">更多>></a>


            </div>
            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['attr_values']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['one']['index'] = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['one']['index']++;
            ?>
            <?php 
            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['one']['index'] < 1) {
                ?>
            <div class="home_all_l_t hauto mb20 mt20">
                <p>
                    <span class="block icobg lt span11"></span>
                    <span class="block lt"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['title'];
                ?>
</span>
                </p>
                <div class="cl"></div>
                <?php 
                $_smarty_tpl->tpl_vars['it2'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['it2']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['item']->value['values'];
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['two']['index'] = -1;
                foreach ($_from as $_smarty_tpl->tpl_vars['it2']->key => $_smarty_tpl->tpl_vars['it2']->value) {
                    $_smarty_tpl->tpl_vars['it2']->_loop = true;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['two']['index']++;
                    ?>
                <?php 
                    if ($_smarty_tpl->getVariable('smarty')->value['foreach']['two']['index'] < 8) {
                        ?>
                <a target="_blank" title="<?php 
                        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
                        echo $_smarty_tpl->tpl_vars['it2']->value['title'];
                        ?>
小区" href="<?php 
                        echo $_smarty_tpl->tpl_vars['it2']->value['link'];
                        ?>
"><?php 
                        echo $_smarty_tpl->tpl_vars['it2']->value['title'];
                        ?>
</a>
                <?php 
                    }
                    ?>
                <?php 
                }
                ?>
                <a target="_blank" href="<?php 
                echo smarty_function_link(array('ctl' => 'home:items'), $_smarty_tpl);
                ?>
">更多>></a>
            </div>
            <?php 
            }
            ?>
            <?php 
        }
        ?>
        </div>
        <div class="home_all_c lt ml10 mr10" style="width:740px;">
            <div id="home_ad1" kinBox='{"height":225}'><?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "找我家聚合页广告位", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>
</div>
        </div>
        <div class="home_all_r lt hauto bgwhite">
            <p>
                <font class="ftw black f17">想看哪个</font>
                <font class="ftw red f17">楼盘</font>,
                <font class="ftw black f17">哪个</font><font class="ftw red f17">户型?</font><br />
                <font class="f12">提交信息,试试看</font>
            </p>
            <form mini-form="survey" action="<?php 
        echo smarty_function_link(array('ctl' => 'home:survey', 'http' => true), $_smarty_tpl);
        ?>
" method="post">
                <input type="text" name="data[home_name]"  value="请输入楼盘名称" class="lp_hx bodr lp"/>
                <select name='data[area_id]' class="hx bodr mt10">
                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['area_list']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['area']['index'] = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['area']['index']++;
            ?>
                    <option value="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['area_id'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['area_name'];
            ?>
</option>
                    <?php 
        }
        ?>

                </select>
                <input type="text" name="data[tel]"  value="请输入你的联系电话" class="lp_hx bodr mt10 ph"/>
                <input type="submit"  value="提交调查" class="lp_hxq bodr mt10 redbg dc"/>
            </form>
            <p>
                已有<font class="red">25630</font>人提交
            </p>

        </div>


    </div>
    <div class="cl"></div>
    <!--  小区区域 -->
     		<!--团装活动开始-->  
                	<div class="tuanzhuang_acitivity w1000">
                    	<div class="tuanzhuang_title">
                        	<h2>团装活动</h2>
                            <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:tuan'), $_smarty_tpl);
        ?>
">更多>></a>
                        </div>
                        <div class="cl"></div>
                        <div class="tuanzhuang_b w1000">
                        	
                          <?php 
        echo smarty_function_widget(array('id' => 'home/index', 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => 4), $_smarty_tpl);
        ?>
          
                        </div>
                    </div>
                    
                <!--团装活动结束-->  
    <div class="w1000 xq_area hauto mt20">
        <div class="xq_area_l lt hauto mr10">
            <div class="xq_area_l_t hauto">
                <span class="span12 block lt">小区</span>
                <span class="span13 block rt mt10"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:items'), $_smarty_tpl);
        ?>
">更多>></a></span>
            </div>
            <div class="cl"></div>
            <div class="xq_area_l_b hauto bgwhite mt10 mr10">
                <ul>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/main", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "pv_num:desc", 'limit' => "4"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "home/main", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "pv_num:desc", 'limit' => "4"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                        <a href="<{link ctl='home:detail' arg0=$item.id}>" title='<{$item.name}>'><img src="<{$pager.img}>/<{$item.face_pic}>" width="120" height="100" /></a>
                        <p>
                            <a href="<{link ctl='home:detail' arg0=$item.id}>" title='<{$item.name}>'  class="f16 ftw blackb"><font><{$item.name}></font></a><br />
                            <font class="f12 ftw blackb">均 价:</font><font class="f12 red"><{$item.price}></font><br />   
                            <font class="f12 ftw blackb">开发商:</font><{$item.kf}><br />
                            <font class="f12 ftw blackb">地址:</font><{$item.addr}>
                        </p>
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "home/main", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "pv_num:desc", 'limit' => "4"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </ul>
            </div>
        </div>
        <div class="xq_area_r lt bgwhite bodr">
            <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:maps'), $_smarty_tpl);
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/default/static/images/map.png"  width="210" height="280"/></a>
            <div class="search_map icobg">
                <p>
                    <font>地图找小区</font><br />
                    <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:maps'), $_smarty_tpl);
        ?>
"><u>点击进入>></u></a>
                </p>
            </div>
        </div>

    </div>
    <div class="cl"></div>
    <!--  在建工地区域开始 -->
    <div class="w1000 hauto mt20">
        <!-- 在建工地左面开始-->
        <div class="xq_area_l lt hauto mr10">
            <div class="xq_area_l_t hauto">
                <span class="span12 block lt">在建工地</span>
                <span class="span13 block rt mt10"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'site'), $_smarty_tpl);
        ?>
">更多>></a></span>
            </div>
            <div class="cl"></div>
            <div class="zjgd_area_l_b hauto bgwhite mt10 mr10">
                <ul>
                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['sites']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                    <li>
                        <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['face_pic'];
            ?>
" width="120" height="100" /></a>
                        <div class="zjgd_area_p lt ml10">
                            <p>
                                <font class="f16 ftw blackb"><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
"><?php 
            echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 20, '');
            ?>
</a></font><br />
                                <font class="f12">由</font><a title="<?php 
            echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['name'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
            ?>
"><font class="f12 red"><?php 
            echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['name'];
            ?>
</font></a><font class="f12">提供</font><br />
                                <font class="f12">地址:<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['addr'];
            ?>
</font>
                            </p>
                            <p class="p5 mt10"><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
"  href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
">我要参观</a></p>
                        </div>
                        <div class="cl"></div>
                        <p class="red f12 mt20">参观工地样板房,全程免费专车接送</p>
                    </li>
                    <?php 
        }
        ?>
                </ul>
                <!---这里前端处理的不好有待改进 让程序逻辑复杂化了-->
                <div class="zjgd_xunhuan hauto mt30">
                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['sites']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['index'] = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['index']++;
            ?>
                    <div class="zjgd_xunhuan_l lt mb20 <?php 
            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['index'] > 0) {
                ?>
ml20<?php 
            }
            ?>
">
                        <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
"  href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
" <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['status'] >= 1) {
                ?>
class="current12"<?php 
            }
            ?>
>开工大吉</a>
                        <span class="block_lt span56">—</span>
                        <a <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['status'] >= 2) {
                ?>
class="current12"<?php 
            }
            ?>
 target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
"  href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
">水电改造</a>
                        <span class="block_lt span56">—</span>
                        <a <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['status'] >= 3) {
                ?>
class="current12"<?php 
            }
            ?>
 target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
"  href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
">泥瓦工</a>
                        <span class="block_lt span56">—</span>
                        <a <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['status'] >= 4) {
                ?>
class="current12"<?php 
            }
            ?>
 target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
"  href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
">木工</a>
                        <span class="block_lt span56">—</span>
                        <a <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['status'] >= 5) {
                ?>
class="current12"<?php 
            }
            ?>
 target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
"  href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
">油漆</a>
                        <span class="block_lt span56">—</span>
                        <a <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['status'] >= 6) {
                ?>
class="current12"<?php 
            }
            ?>
 target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
"  href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
">安装</a>
                        <span class="block_lt span56">—</span>
                        <a <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['status'] >= 7) {
                ?>
class="current12"<?php 
            }
            ?>
 target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
"  href="<?php 
            echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
            ?>
">验收</a>
                    </div>
                    <?php 
        }
        ?>
                </div>
            </div>
            <div class="cl"></div>


        </div>
        <!--      在建工地左面结束-->
        <!--      在建工地右面开始-->
        <div class="zjgd_area_r lt hauto">
            <div class="zjgd_area_r_t hauto">
                <ul>
                    <li><a href="###" class="current3">工地最多</a></li>
                    <li><a href="###">最新更新</a></li>
                </ul>
            </div>
            <div class="zjgd_area_r_b bgwhite mt10 zjgd_area_0 none">
                <ul>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "site_num:desc", 'limit' => "6"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "site_num:desc", 'limit' => "6"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                        <div class="zjgd_area_sum none">
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="cc"><{$index+1}></a>
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="dd"><{$item.name|cutstr:20:'..'}>&nbsp;&nbsp;<{$item.site_num}>个</a>
                        </div>
                        <div class="zjgd_area_detail none">
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><img src="<{$pager.img}>/<{$item.logo}>" width="70" height="36"/></a>
                            <p>
                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><{$item.sort_name}></a><br />
                                <font class="red"><{$item.site_num}>个工地</font>
                            </p>
                        </div>    
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "site_num:desc", 'limit' => "6"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                </ul>
            </div>
            <div class="zjgd_area_r_b bgwhite mt10 zjgd_area_1 none">
                <ul>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "site_time:desc", 'limit' => "6"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "site_time:desc", 'limit' => "6"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                        <div class="zjgd_area_sum none">
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="cc"><{$index+1}></a>
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="dd"><{$item.name|cutstr:20:'..'}>&nbsp;&nbsp;<{$item.site_num}>个</a>
                        </div>
                        <div class="zjgd_area_detail none">
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><img src="<{$pager.img}>/<{$item.logo}>" width="70" height="36"/></a>
                            <p>
                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><{$item.sort_name}></a><br />
                                <font class="red"><{$item.site_num}>个工地</font>
                            </p>
                        </div>    
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "site_time:desc", 'limit' => "6"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


                </ul>
            </div>
        </div>
        <!--      在建工地右面结束-->
    </div>
    <!--在建工地区域结束-->
    <div class="cl"></div>
    <!--设计方案区域开始-->
    <div class="design_fangan w1000 hauto mt20">
        <!--设计方案左面开始-->
        <div class="xq_area_l lt hauto mr10">
            <div class="xq_area_l_t hauto">
                <span class="span12 block lt">设计方案</span>
                <span class="span13 block rt mt10"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
        ?>
">更多>></a></span>
            </div>
            <div class="cl"></div>

            <div class="zjgd_area_l_b hauto bgwhite mt10 mr10">
                
                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['cases']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['case']['index'] = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['case']['index']++;
            ?>
                <div class="design_fangan_show hauto">
                    <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:caseDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['home_id'], 'arg1' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['photo'];
            ?>
" width="250" height="150" /></a>
                    <div class="design_fangan_describition lt hauto">
                        <p>
                        <h3 class="lt" style="width: 300px; font-size: 15px;"><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:caseDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['home_id'], 'arg1' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
</a></h3>
                            <span class="rt"><font class="red"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['views'];
            ?>
</font>人看了此方案</span>
                        </p>
                        <div class="cl"></div>
                        <p>
                            <font class="f12 ftw blackb">方案提供者&nbsp;:</font>
                            <font>
                            <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['name'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
            ?>
" class="f12 red ftw">
                                <?php 
            echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['name'];
            ?>

                            </a>
                            </font><font class="org f12">(<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['photos'];
            ?>
张设计图)</font>
                        </p>
                        <p>
                            <font class="f12 ftw blackb">设计思路&nbsp;:</font>
                            <font class="f12">
                                 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value['intro'];
            ?>

                            </font>
                        </p>
                        <p class="mt20">
                            <span class="lt">   
                                <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:caseDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['home_id'], 'arg1' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
" class="f12 ftw blackb">平面布置图&nbsp;&nbsp;|</a>
                                <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:caseDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['home_id'], 'arg1' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
" class="f12 ftw blackb">设计图&nbsp;&nbsp;</a>
                            </span>
                            <span class="rt span14 red_bg"><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
">去看看</a></span>
                        </p>
                        <div class="cl"></div>
                        <div class="fk bluebg"><?php 
            echo $_smarty_tpl->getVariable('smarty')->value['foreach']['case']['index'] + 1;
            ?>
</div>
                    </div>
                </div>
              
                <?php 
        }
        ?>

            </div>

        </div>
        <!--设计方案左面结束-->
        <!--设计方案右面开始-->
        <div class="zjgd_area_r lt hauto">
            <div class="hauto sjfa_area_r_t">
                <ul>
                    <li><a href="###" class="current3">方案最多</a></li>
                    <li><a href="###">最新更新</a></li>
                </ul>
            </div>
            <div class="zjgd_area_r_b bgwhite mt10 sjfa_area_0 none">
                <ul>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "case_num:desc", 'limit' => "9"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "case_num:desc", 'limit' => "9"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                        <div class="zjgd_area_sum none">
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="cc"><{$index+1}></a>
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="dd"><{$item.name|cutstr:20:'..'}>&nbsp;&nbsp;<{$item.case_num}>个</a>
                        </div>
                        <div class="zjgd_area_detail none">
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><img src="<{$pager.img}>/<{$item.logo}>" width="70" height="36"/></a>
                            <p>
                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><{$item.sort_name}></a><br />
                                <font class="red"><{$item.case_num}>个案例</font>
                            </p>
                        </div>    
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "case_num:desc", 'limit' => "9"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


                </ul>
            </div>
            <div class="zjgd_area_r_b bgwhite mt10 sjfa_area_1 none">
                <ul>
                    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "case_time:desc", 'limit' => "9"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "case_time:desc", 'limit' => "9"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

                    <li>
                        <div class="zjgd_area_sum none">
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="cc"><{$index+1}></a>
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>" class="dd"><{$item.name|cutstr:20:'..'}>&nbsp;&nbsp;<{$item.case_num}>个</a>
                        </div>
                        <div class="zjgd_area_detail none">
                            <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><img src="<{$pager.img}>/<{$item.logo}>" width="70" height="36"/></a>
                            <p>
                                <a target="_blank" title="<{$item.name}>" href="<{link ctl='company' arg0=$item.company_id}>"><{$item.sort_name}></a><br />
                                <font class="red"><{$item.case_num}>个案例</font>
                            </p>
                        </div>    
                    </li>
                    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "case_time:desc", 'limit' => "9"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


                </ul>
            </div>
        </div>
        <!--设计方案右面结束-->


    </div>
    <div class="cl"></div>
    <div class="h30"></div>

    <script>
        $(document).ready(function() {
            $(".lp").focus(function() {
                if ($(this).val() == '请输入楼盘名称')
                    $(this).val('');
            }).focusout(function() {
                if ($(this).val() == '')
                    $(this).val('请输入楼盘名称');
            });

            $(".ph").focus(function() {
                if ($(this).val() == '请输入你的联系电话')
                    $(this).val('');
            }).focusout(function() {
                if ($(this).val() == '')
                    $(this).val('请输入你的联系电话');
            });//banner右面表单


            /*在建工地右面的*/
            $(".zjgd_area_r_t ul li").mouseover(function() {
                var index = $(this).index();
                $(".zjgd_area_r_t ul li").each(function(a) {

                    if (a == index) {
                        $(".zjgd_area_" + a).show();
                        $(this).find('a').addClass('current3');
                    } else {
                        $(".zjgd_area_" + a).hide();
                        $(this).find('a').removeClass('current3');
                    }
                });
            });
            $(".zjgd_area_r_t ul li").eq(0).mouseover();





            $(".zjgd_area_1 ul li").mouseover(function() {
                var index = $(this).index();
                $(".zjgd_area_1 ul li").each(function(a) {
                    if (a == index) {
                        $(this).find(".zjgd_area_detail").show();
                        $(this).find(".zjgd_area_sum").hide();
                    } else {
                        $(this).find(".zjgd_area_detail").hide();
                        $(this).find(".zjgd_area_sum").show();
                    }

                });

            });

            $(".zjgd_area_1 ul li").eq(0).mouseover();



            $(".zjgd_area_0 ul li").mouseover(function() {
                var index = $(this).index();
                $(".zjgd_area_0 ul li").each(function(a) {
                    if (a == index) {
                        $(this).find(".zjgd_area_detail").show();
                        $(this).find(".zjgd_area_sum").hide();
                    } else {
                        $(this).find(".zjgd_area_detail").hide();
                        $(this).find(".zjgd_area_sum").show();
                    }

                });

            });

            $(".zjgd_area_0 ul li").eq(0).mouseover();

            $(".zjgd_area_0 ul li:last").css('border-bottom', 'none')
            $(".zjgd_area_1 ul li:last").css('border-bottom', 'none')


            /*在建工地*/

            $(".sjfa_area_r_t ul li").mouseover(function() {
                var index = $(this).index();
                $(".sjfa_area_r_t ul li").each(function(a) {
                    var hh = a
                    if (a == index) {
                        $(".sjfa_area_" + hh).show();
                        $(this).find('a').addClass('current3');
                    } else {
                        $(".sjfa_area_" + hh).hide();
                        $(this).find('a').removeClass('current3');
                    }
                });
            });
            $(".sjfa_area_r_t ul li").eq(0).mouseover();




            $(".sjfa_area_1 ul li").mouseover(function() {
                var index = $(this).index();
                $(".sjfa_area_1 ul li").each(function(a) {
                    if (a == index) {
                        $(this).find(".zjgd_area_detail").show();
                        $(this).find(".zjgd_area_sum").hide();
                    } else {
                        $(this).find(".zjgd_area_detail").hide();
                        $(this).find(".zjgd_area_sum").show();
                    }

                });

            });

            $(".sjfa_area_1 ul li").eq(0).mouseover();



            $(".sjfa_area_0 ul li").mouseover(function() {
                var index = $(this).index();
                $(".sjfa_area_0 ul li").each(function(a) {
                    if (a == index) {
                        $(this).find(".zjgd_area_detail").show();
                        $(this).find(".zjgd_area_sum").hide();
                    } else {
                        $(this).find(".zjgd_area_detail").hide();
                        $(this).find(".zjgd_area_sum").show();
                    }

                });

            });

            $(".sjfa_area_0 ul li").eq(0).mouseover();

            $(".sjfa_area_0 ul li:last").css('border-bottom', 'none')
            $(".sjfa_area_1 ul li:last").css('border-bottom', 'none')



        });
    </script>

    <?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
       <?php 
    }
    function content_55d7ef3f4a8a46_56009228($_smarty_tpl)
    {
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
            <div class="ads4 hauto">
                <?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "问答右侧热心公司上广告位", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>

            </div> 
            <div class="ask_company_phb hauto mt20">
                <h2><a target="_blank" title="热心装修公司排行榜" href="<?php 
        echo smarty_function_link(array('ctl' => 'gs:items'), $_smarty_tpl);
        ?>
">热心装修公司排行榜</a></h2>
                <div class="ask_company_phb_show hauto bgwhite mt10">
                    <div class="ask_company_phb_show1 hauto">
                        <ul>
                            <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "answer_num:desc", 'limit' => "6"));
        $_block_repeat = true;
        echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "answer_num:desc", 'limit' => "6"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
 

                            <li>
                                <div class="ask_show_sum  none">
                                    <span class="no<{$index+1}> block_lt num"></span>
                                    <a target="_blank" href="<{link ctl='company' arg0=$item.company_id}>" title="<{$item.name}>" class="block_lt ml5"><{$item.sort_name}></a>
                                    <span class="rt">回答数&nbsp;<{$item.answer_num}></span>
                                </div>
                                <div class="ask_show_detail none">
                                    <a target="_blank" href="<{link ctl='company' arg0=$item.company_id}>" title="<{$item.name}>"><img width="110" height="55" src="<{$pager.img}>/<{$item.logo}>" /></a>
                                    <p class="lt ml10">
                                        <span class="block_lt mb10"><i><{$index+1}></i></span>
                                        <a target="_blank" href="<{link ctl='company' arg0=$item.company_id}>" title="<{$item.name}>" class="block_lt"><{$item.sort_name}></a><br />
                                        <a class="cl block"></a>
                                        <font class="red">回答数<{$item.answer_num}></font>
                                    </p>

                                </div>
                            </li>
                            <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_calldata(array('mdl' => "company/company", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "answer_num:desc", 'limit' => "6"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

                        </ul>
                    </div>
                </div>
            </div>                    
            <div class="ads4 hauto mt20">
                <?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "问答右侧热心公司下广告位", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>

            </div>  

            <script>
                $(document).ready(function() {
                    $(".ask_main_c_t_ul_son ul li:last").css('border-bottom', 'none').css('margin-bottom', '10px')
                    $(".ask_main_c_t_ul_son1 ul li:last").css('border-bottom', 'none').css('margin-bottom', '10px')
                    $(".ask_company_phb_show1 ul li").mouseover(function() {
                        var index = $(this).index();
                        $(".ask_company_phb_show1 ul li").each(function(a) {
                            if (a == index) {
                                $(this).find(".ask_show_detail").show();
                                $(this).find(".ask_show_sum").hide();
                            } else {
                                $(this).find(".ask_show_detail").hide();
                                $(this).find(".ask_show_sum").show();
                            }

                        });
                    });
                    $(".ask_company_phb_show1 ul li").eq(0).mouseover();
                    $(".ask_company_phb_show1 ul li:last").css('border-bottom', 'none');

                });
            </script>
       <?php 
    }