<?php /* Smarty version Smarty-3.1.8, created on 2014-03-10 10:00:23
         compiled from "E:\phpStudy\WWW\themes\default\index.html" */ ?>
<?php /*%%SmartyHeaderCode:22756531d1cb7b02a54-04895262%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7b1b58a8a5faf95a932ac4f7e30e711e45a35f5d' => 
    array (
      0 => 'E:\\phpStudy\\WWW\\themes\\default\\index.html',
      1 => 1392970909,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '22756531d1cb7b02a54-04895262',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'request' => 0,
    'last' => 0,
    'item' => 0,
    'index' => 0,
    'pager' => 0,
    'photo' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_531d1cb819c7b5_11838514',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_531d1cb819c7b5_11838514')) {function content_531d1cb819c7b5_11838514($_smarty_tpl) {?><?php if (!is_callable('smarty_function_link')) include 'E:\\phpStudy\\WWW\\system\\plugins/smarty\\function.link.php';
if (!is_callable('smarty_function_widget')) include 'E:\\phpStudy\\WWW\\system\\plugins/smarty\\function.widget.php';
if (!is_callable('smarty_block_calldata')) include 'E:\\phpStudy\\WWW\\system\\plugins/smarty\\block.calldata.php';
if (!is_callable('smarty_modifier_format')) include 'E:\\phpStudy\\WWW\\system\\plugins/smarty\\modifier.format.php';
if (!is_callable('smarty_modifier_cutstr')) include 'E:\\phpStudy\\WWW\\system\\plugins/smarty\\modifier.cutstr.php';
if (!is_callable('smarty_block_KT')) include 'E:\\phpStudy\\WWW\\system\\plugins/smarty\\block.KT.php';
?><?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<?php if ($_smarty_tpl->tpl_vars['last']->value){?> class="bottom-none"<?php }?>>
                        <p>
                            <span class="block_lt"><b><a href="<?php echo smarty_function_link(array('ctl'=>'company','arg0'=>$_smarty_tpl->tpl_vars['item']->value['ext']['company']['company_id']),$_smarty_tpl);?>
" target="_blank" title='<?php echo $_smarty_tpl->tpl_vars['item']->value['ext']['company']['name'];?>
'  class="black"><?php echo $_smarty_tpl->tpl_vars['item']->value['ext']['company']['sort_name'];?>
</a></b></span>
                            <span class="block rt span37 orgbgg"><a title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'tenders:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
" 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="<?php echo smarty_function_link(array('ctl'=>'home:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['ext']['home']['id']),$_smarty_tpl);?>
" target="_blank" class="black8"><?php echo $_smarty_tpl->tpl_vars['item']->value['home_name'];?>
</a></b></span>
                            <span class="block rt span37"><a title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'tenders:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
" target="_blank" class="black8"><?php echo $_smarty_tpl->tpl_vars['item']->value['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 <?php if ($_smarty_tpl->tpl_vars['index']->value>9){?> style="border-bottom:none;"<?php }?>>
                                <a target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'tenders:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
"><b><?php echo smarty_modifier_format($_smarty_tpl->tpl_vars['item']->value['dateline'],"m月d日");?>
</b></a>
                                <a target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'tenders:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['item']->value['name'])===null||$tmp==='' ? '--' : $tmp);?>
</a>
                                <a target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'tenders:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
" style="overflow: hidden;" ><?php echo (($tmp = @$_smarty_tpl->tpl_vars['item']->value['house_type_title'])===null||$tmp==='' ? '--' : $tmp);?>
</a>
                                <a target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'tenders:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
" class="a23"><?php echo $_smarty_tpl->tpl_vars['item']->value['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>
                        <?php if ($_smarty_tpl->tpl_vars['item']->value['status']=='process'){?>
                        <a target="_blank" title='<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
' href="<?php echo smarty_function_link(array('ctl'=>'gs:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['youhui_id']),$_smarty_tpl);?>
" class="block_lt a24 red_bg">进行中</a>
                        <?php }elseif($_smarty_tpl->tpl_vars['item']->value['status']=='wait'){?>
                        <a  target="_blank" title='<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
' href="<?php echo smarty_function_link(array('ctl'=>'gs:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['youhui_id']),$_smarty_tpl);?>
" class="block_lt a24 graybgg">未开始</a>
                        <?php }else{ ?>
                        <a target="_blank" title='<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
' href="<?php echo smarty_function_link(array('ctl'=>'gs:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['youhui_id']),$_smarty_tpl);?>
" class="block_lt a24 graybgg">已结束</a>
                        <?php }?>
                        <a target="_blank" title='<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
' href="<?php echo smarty_function_link(array('ctl'=>'gs:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['youhui_id']),$_smarty_tpl);?>
" class="block_lt a25 black8" ><?php echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'],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="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'home:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['face_pic'];?>
" width="145" height="100"></a><br>
                    <a target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'home:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
" class="ftw f14 black"><?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
</a><br>
                    <a target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'home:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
" class="f14 black8">设计方案:</a>&nbsp;&nbsp;<font class="red f14"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['item']->value['case_num'])===null||$tmp==='' ? '--' : $tmp);?>
套</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="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'company','arg0'=>$_smarty_tpl->tpl_vars['item']->value['company_id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['logo'];?>
" width="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="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'company','arg0'=>$_smarty_tpl->tpl_vars['item']->value['company_id']),$_smarty_tpl);?>
" class="aa"><?php echo ($_smarty_tpl->tpl_vars['index']->value+1);?>
</a>
                            <a target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'company','arg0'=>$_smarty_tpl->tpl_vars['item']->value['company_id']),$_smarty_tpl);?>
" class="bb"><?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
</a>
                        </div>
                        <div class="news_qdb_all none">
                            <div class="news_qdb_details mt5">
                                <a target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'company','arg0'=>$_smarty_tpl->tpl_vars['item']->value['company_id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['logo'];?>
" width="110" height="55" /></a>
                                <span><font class="black">签单数</font>&nbsp;<font class="red"><?php echo $_smarty_tpl->tpl_vars['item']->value['tenders_num'];?>
</font></span>
                                <a target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'company','arg0'=>$_smarty_tpl->tpl_vars['item']->value['company_id']),$_smarty_tpl);?>
" class="mfyu">免费预约</a>
                            </div>
                            <?php $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl'=>"company/dianping",'company_id'=>$_smarty_tpl->tpl_vars['item']->value['company_id'],'order'=>"new",'limit'=>"1")); $_block_repeat=true; echo smarty_block_calldata(array('mdl'=>"company/dianping",'company_id'=>$_smarty_tpl->tpl_vars['item']->value['company_id'],'order'=>"new",'limit'=>"1"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

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

                        </div>
                        <div class="cl"></div>
                    </li>
                    <?php $_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="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'company','arg0'=>$_smarty_tpl->tpl_vars['item']->value['company_id']),$_smarty_tpl);?>
"  class="aa"><?php echo ($_smarty_tpl->tpl_vars['index']->value+1);?>
</a><a target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'company','arg0'=>$_smarty_tpl->tpl_vars['item']->value['company_id']),$_smarty_tpl);?>
" class="bb"><?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
</a></div>
                        <div class="news_qdb_all none">
                            <div class="news_qdb_details mt5">
                                <a target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'company','arg0'=>$_smarty_tpl->tpl_vars['item']->value['company_id']),$_smarty_tpl);?>
" ><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['logo'];?>
" width="110" height="55" /></a>
                                <span><font class="black">口碑值</font>&nbsp;<font class="red"><?php echo round($_smarty_tpl->tpl_vars['item']->value['scores']/10,1);?>
</font></span>
                                <a target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'company','arg0'=>$_smarty_tpl->tpl_vars['item']->value['company_id']),$_smarty_tpl);?>
" class="mfyu">免费预约</a>
                            </div>
                            <?php $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl'=>"company/dianping",'company_id'=>$_smarty_tpl->tpl_vars['item']->value['company_id'],'order'=>"new",'limit'=>"1")); $_block_repeat=true; echo smarty_block_calldata(array('mdl'=>"company/dianping",'company_id'=>$_smarty_tpl->tpl_vars['item']->value['company_id'],'order'=>"new",'limit'=>"1"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

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

                        </div>
                        <div class="cl"></div>
                    </li>
                    <?php $_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")); $_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="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['thumb'];?>
" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <?php  $_smarty_tpl->tpl_vars['photo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['photo']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['item']->value['ext']['photos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['photo']->iteration=0;
 $_smarty_tpl->tpl_vars['photo']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['photo']->key => $_smarty_tpl->tpl_vars['photo']->value){
$_smarty_tpl->tpl_vars['photo']->_loop = true;
 $_smarty_tpl->tpl_vars['photo']->iteration++;
 $_smarty_tpl->tpl_vars['photo']->index++;
?>
                            <li>
                                <a href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['photo']->value['photo'];?>
_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['photo']->value['title'];?>
</a></p>
                            </li>
                            <?php if ($_smarty_tpl->tpl_vars['photo']->iteration>5){?><?php break 1?><?php }?>
                            <?php } ?>
                        </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="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['thumb'];?>
" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <?php  $_smarty_tpl->tpl_vars['photo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['photo']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['item']->value['ext']['photos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['photo']->iteration=0;
 $_smarty_tpl->tpl_vars['photo']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['photo']->key => $_smarty_tpl->tpl_vars['photo']->value){
$_smarty_tpl->tpl_vars['photo']->_loop = true;
 $_smarty_tpl->tpl_vars['photo']->iteration++;
 $_smarty_tpl->tpl_vars['photo']->index++;
?>
                            <li>
                                <a href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['photo']->value['photo'];?>
_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['photo']->value['title'];?>
</a></p>
                            </li>
                            <?php if ($_smarty_tpl->tpl_vars['photo']->iteration>5){?><?php break 1?><?php }?>
                            <?php } ?>
                        </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="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['thumb'];?>
" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <?php  $_smarty_tpl->tpl_vars['photo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['photo']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['item']->value['ext']['photos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['photo']->iteration=0;
 $_smarty_tpl->tpl_vars['photo']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['photo']->key => $_smarty_tpl->tpl_vars['photo']->value){
$_smarty_tpl->tpl_vars['photo']->_loop = true;
 $_smarty_tpl->tpl_vars['photo']->iteration++;
 $_smarty_tpl->tpl_vars['photo']->index++;
?>
                            <li>
                                <a href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['photo']->value['photo'];?>
_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['photo']->value['title'];?>
</a></p>
                            </li>
                            <?php if ($_smarty_tpl->tpl_vars['photo']->iteration>5){?><?php break 1?><?php }?>
                            <?php } ?>
                        </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="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['thumb'];?>
" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <?php  $_smarty_tpl->tpl_vars['photo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['photo']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['item']->value['ext']['photos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['photo']->iteration=0;
 $_smarty_tpl->tpl_vars['photo']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['photo']->key => $_smarty_tpl->tpl_vars['photo']->value){
$_smarty_tpl->tpl_vars['photo']->_loop = true;
 $_smarty_tpl->tpl_vars['photo']->iteration++;
 $_smarty_tpl->tpl_vars['photo']->index++;
?>
                            <li>
                                <a title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" target="_blank" href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['photo']->value['photo'];?>
_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" target="_blank" href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['photo']->value['title'];?>
</a></p>
                            </li>
                            <?php if ($_smarty_tpl->tpl_vars['photo']->iteration>5){?><?php break 1?><?php }?>
                            <?php } ?>
                        </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="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" target="_blank" href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['thumb'];?>
" width="240" height="295"/></a>
                        <p class="p1 none"></p>
                        <p class="text none"><a title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" target="_blank"  href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a></p>
                    </div>
                    <div class="decoration_case_b_r_r lt hauto">
                        <ul>
                            <?php  $_smarty_tpl->tpl_vars['photo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['photo']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['item']->value['ext']['photos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['photo']->iteration=0;
 $_smarty_tpl->tpl_vars['photo']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['photo']->key => $_smarty_tpl->tpl_vars['photo']->value){
$_smarty_tpl->tpl_vars['photo']->_loop = true;
 $_smarty_tpl->tpl_vars['photo']->iteration++;
 $_smarty_tpl->tpl_vars['photo']->index++;
?>
                            <li>
                                <a title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" target="_blank" href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['photo']->value['photo'];?>
_thumb.jpg" width="180" height="145"/></a>
                                <p class="p1 none"></p>
                                <p class="text none"><a href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['photo']->value['title'];?>
</a></p>
                            </li>
                            <?php if ($_smarty_tpl->tpl_vars['photo']->iteration>5){?><?php break 1?><?php }?>
                            <?php } ?>
                        </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', '#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><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</h2>
                        <p>活动时间：<?php echo smarty_modifier_format(strtotime($_smarty_tpl->tpl_vars['item']->value['bg_time']),"m月d日");?>
-<?php echo smarty_modifier_format(strtotime($_smarty_tpl->tpl_vars['item']->value['end_time']),"m月d日");?>
</p>
                        <p>地址：<?php echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['addr'],20);?>
</p>
                        <p class="mb20"></p>
                        <p>
                            <a target="_blank" href="<?php echo smarty_function_link(array('ctl'=>'activity:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
" class="a30 block_lt red_bg mr10">免费报名</a>
                            <span class="block_lt mb10"><font class="red f12 ftw"><?php echo $_smarty_tpl->tpl_vars['item']->value['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'=>"首页团购活动右侧广告位",'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'=>"首页材料商城左侧广告位",'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="<?php echo smarty_function_link(array('ctl'=>'mall/shop','arg0'=>$_smarty_tpl->tpl_vars['item']->value['shop_id']),$_smarty_tpl);?>
" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['ext']['shop']['name'];?>
" target="_blank" class="red ftw">[<?php echo $_smarty_tpl->tpl_vars['item']->value['ext']['shop']['name'];?>
]</a>
                            <a href="<?php echo smarty_function_link(array('ctl'=>'mall/coupon:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['coupon_id']),$_smarty_tpl);?>
" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" target="_blank" class="black8"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a>
                            <a href="<?php echo smarty_function_link(array('ctl'=>'mall/coupon:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['coupon_id']),$_smarty_tpl);?>
" 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="<?php echo smarty_function_link(array('ctl'=>'mall/shop','arg0'=>$_smarty_tpl->tpl_vars['item']->value['shop_id']),$_smarty_tpl);?>
" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['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'=>"首页材料商城右侧轮播广告",'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")); $_block_repeat=true; echo smarty_block_KT(array('name'=>"首页推荐设计师",'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="<?php echo smarty_function_link(array('ctl'=>'blog','arg0'=>$_smarty_tpl->tpl_vars['item']->value['uid']),$_smarty_tpl);?>
" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['uname'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['face'];?>
" width="100" height="100" /></a><br />
                    <p>设计师：<b><a target="_blank" href="<?php echo smarty_function_link(array('ctl'=>'blog','arg0'=>$_smarty_tpl->tpl_vars['item']->value['uid']),$_smarty_tpl);?>
"  title="<?php echo $_smarty_tpl->tpl_vars['item']->value['uname'];?>
"><?php echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['uname'],8,'');?>
</a></b></p>
                    <p class="consult pinkbg"><a target="_blank" href="<?php echo smarty_function_link(array('ctl'=>'blog','arg0'=>$_smarty_tpl->tpl_vars['item']->value['uid']),$_smarty_tpl);?>
" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['uname'];?>
">我要咨询</a></p>
                </div>
                <?php $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl'=>"case/case",'designer_id'=>$_smarty_tpl->tpl_vars['item']->value['uid'],'limit'=>"1")); $_block_repeat=true; echo smarty_block_calldata(array('mdl'=>"case/case",'designer_id'=>$_smarty_tpl->tpl_vars['item']->value['uid'],'limit'=>"1"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

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

            </div>     
        </div>
        <?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_KT(array('name'=>"首页推荐设计师",'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'=>'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="<?php echo smarty_function_link(array('ctl'=>'blog','arg0'=>$_smarty_tpl->tpl_vars['item']->value['uid']),$_smarty_tpl);?>
" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['uname'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['face'];?>
" width="100" height="100" /></a><br />
                    <a target="_blank" href="<?php echo smarty_function_link(array('ctl'=>'blog','arg0'=>$_smarty_tpl->tpl_vars['item']->value['uid']),$_smarty_tpl);?>
" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['uname'];?>
" class="red"><b><?php echo $_smarty_tpl->tpl_vars['item']->value['uname'];?>
</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'=>"首页最下面装修学堂轮播广告位",'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="<?php echo smarty_function_link(array('ctl'=>'content:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['article_id']),$_smarty_tpl);?>
" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" ><?php echo $_smarty_tpl->tpl_vars['item']->value['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="<?php echo smarty_function_link(array('ctl'=>'ask'),$_smarty_tpl);?>
" class="f14 red">装修问答</a><font class="f14">&nbsp;|&nbsp;</font>
                               <a target='_blank' title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" href="<?php echo smarty_function_link(array('ctl'=>'ask:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['ask_id']),$_smarty_tpl);?>
"  class="f14 black8"><?php echo $_smarty_tpl->tpl_vars['item']->value['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'=>"首页最下面装修学堂右侧小图广告",'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);?>
<?php }} ?>