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_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_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_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_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 
    }