예제 #1
0
/**
 * Plugin for Smarty
 * Display widget group
 *
 * @param   array                    $aParams
 * @param   Smarty_Internal_Template $oSmartyTemplate
 *
 * @return  string
 */
function smarty_function_wgroup_show($aParams, $oSmartyTemplate)
{
    if (isset($aParams['name'])) {
        if (!isset($aParams['group'])) {
            $aParams['group'] = $aParams['name'];
        } elseif (!isset($aParams['widget'])) {
            $aParams['widget'] = $aParams['name'];
        }
    }
    if (!isset($aParams['group'])) {
        $sError = 'Parameter "group" does not define in {wgroup_show ...} function';
        if ($oSmartyTemplate->template_resource) {
            $sError .= ' (template: ' . $oSmartyTemplate->template_resource . ')';
        }
        trigger_error($sError, E_USER_WARNING);
        return null;
    }
    $sWidgetGroup = $aParams['group'];
    $aWidgets = E::ModuleViewer()->GetWidgets();
    $sResult = '';
    if (isset($aWidgets[$sWidgetGroup])) {
        if (!function_exists('smarty_function_widget')) {
            F::IncludeFile('function.widget.php');
        }
        foreach ($aWidgets[$sWidgetGroup] as $oWidget) {
            $sResult .= smarty_function_widget(array('object' => $oWidget), $oSmartyTemplate);
        }
    }
    return $sResult;
}
    function content_55d8284d99fb94_63277476($_smarty_tpl)
    {
        if (!is_callable('smarty_function_widget')) {
            include 'F:\\chengshuang\\php\\ejw\\system\\plugins/smarty\\function.widget.php';
        }
        ?>
    <div class="line1"></div>
    <!-- help -->
   <div class="footer hauto mb30">
        <!--<?php 
        echo smarty_function_widget(array('id' => "public/help"), $_smarty_tpl);
        ?>
-->
      <?php 
        echo $_smarty_tpl->getSubTemplate("block/sfooter.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

    </div>
    <!-- //help -->
    <!-- 客服 --> 
    <?php 
        echo smarty_function_widget(array('id' => "public/kefu"), $_smarty_tpl);
        ?>

    <!-- //客服 --> 
</div>
</body>
</html>
<?php 
    }
    function content_55d7ea2b776d64_38582979($_smarty_tpl)
    {
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        ?>
    <div class="line1"></div>
    <!-- help -->
   <div class="footer hauto mb30">
        <!--<?php 
        echo smarty_function_widget(array('id' => "public/help"), $_smarty_tpl);
        ?>
-->
      <?php 
        echo $_smarty_tpl->getSubTemplate("block/sfooter.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

    </div>
    <!-- //help -->
    <!-- 客服 --> 
    <?php 
        echo smarty_function_widget(array('id' => "public/kefu"), $_smarty_tpl);
        ?>

    <!-- //客服 --> 
</div>
</body>
</html>
<?php 
    }
예제 #4
0
/**
 * Plugin for Smarty
 * Display widget group
 *
 * @param   array                    $aParams
 * @param   Smarty_Internal_Template $oSmartyTemplate
 *
 * @return  string
 */
function smarty_function_wgroup_show($aParams, $oSmartyTemplate)
{
    static $aStack = array();
    if (empty($aParams['group']) && empty($aParams['name'])) {
        $sError = 'Parameter "group" does not define in {wgroup_show ...} function';
        if ($oSmartyTemplate->template_resource) {
            $sError .= ' (template: ' . $oSmartyTemplate->template_resource . ')';
        }
        F::SysWarning($sError);
        return null;
    }
    if (empty($aParams['group']) && !empty($aParams['name'])) {
        $aParams['group'] = $aParams['name'];
        unset($aParams['name']);
    }
    $sWidgetGroup = $aParams['group'];
    $aWidgetParams = isset($aParams['params']) ? array_merge($aParams['params'], $aParams) : $aParams;
    if (isset($aStack[$sWidgetGroup])) {
        // wgroup nested in self
        $sError = 'Template function {wgroup group="' . $sWidgetGroup . '" nested in self ';
        if ($oSmartyTemplate->template_resource) {
            $sError .= ' (template: ' . $oSmartyTemplate->template_resource . ')';
        }
        F::SysWarning($sError);
        return null;
    }
    // add group into the stack
    $aStack[$sWidgetGroup] = $aWidgetParams;
    $aWidgets = E::ModuleViewer()->GetWidgets();
    $sResult = '';
    if (isset($aWidgets[$sWidgetGroup])) {
        if (!function_exists('smarty_function_widget')) {
            F::IncludeFile('function.widget.php');
        }
        foreach ($aWidgets[$sWidgetGroup] as $oWidget) {
            $sResult .= smarty_function_widget(array_merge($aWidgetParams, array('widget' => $oWidget)), $oSmartyTemplate);
        }
    }
    // Pop element off the stack
    array_pop($aStack);
    return $sResult;
}
    function content_55d815cc877be5_55605043($_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';
        }
        echo $_smarty_tpl->getSubTemplate("ucenter/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


<div class="base_info"><b>博客资料</b>(<span class="red">*</span>必填项)</div>
<div class="page-data">
    <form  action="<?php 
        echo smarty_function_link(array('ctl' => 'ucenter/designer:index', 'http' => true), $_smarty_tpl);
        ?>
" mini-form="designer" method="post" >
        <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
            <li><a href="#table-info">属性设置</a></li>
            <li><a href="#table-attr">基本信息</a></li>            
        </ul>
        <table width="100%" border="0" cellspacing="0" class="form" id="table-attr" style="display:none;">
    <?php 
        echo smarty_function_widget(array('id' => "attr/form", 'value' => $_smarty_tpl->tpl_vars['attr']->value, 'from' => "zx:designer"), $_smarty_tpl);
        ?>

        <tr><th></th><td><input type="submit" value="保存" class="set_btn" /></td></tr>
</table> 
        <table width="100%" border="0" cellspacing="0" id="table-info" class="form" style="display:block;">
            <tr>
                <th>所属公司:</th>
                <td>
                    <input type="hidden" id="select_company_id" name="data[company_id]" value="<?php 
        echo $_smarty_tpl->tpl_vars['designer']->value['company_id'];
        ?>
" class="input"/>
                    <input type="text" id="select_company_name" value="<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['name'];
        ?>
" class="input"/>
                    <a class="yzmbtn" action="<?php 
        echo smarty_function_link(array('ctl' => 'ucenter/select:company'), $_smarty_tpl);
        ?>
" mini-select="#select_company_id,#select_company_name/N/<?php 
        echo $_smarty_tpl->tpl_vars['designer']->value['city_id'];
        ?>
/选择公司"/>选择公司</a>
                </td>
            </tr>
            <tr>
                <th >城市:</th>
                <td>
                    <label>城市:<select name="data[city_id]" class="w-100"><?php 
        echo smarty_function_widget(array('id' => "data/city", 'value' => $_smarty_tpl->tpl_vars['designer']->value['city_id']), $_smarty_tpl);
        ?>
</select></label>
                    <label>地区:<select name="data[area_id]" class="w-100"><?php 
        echo smarty_function_widget(array('id' => "data/area", 'value' => $_smarty_tpl->tpl_vars['designer']->value['area_id'], 'city_id' => $_smarty_tpl->tpl_vars['designer']->value['city_id']), $_smarty_tpl);
        ?>
</select></label>
                </td>
            </tr>
            <tr><th>毕业院校:</th><td><input type="text" name="data[school]" value="<?php 
        echo $_smarty_tpl->tpl_vars['designer']->value['school'];
        ?>
" class="input w-300"/></td></tr>
            <tr><th>QQ:</th><td><input type="text" name="data[qq]" value="<?php 
        echo $_smarty_tpl->tpl_vars['designer']->value['qq'];
        ?>
" class="input w-300"/></td></tr>
            <tr><th>简介:</th><td><textarea name="data[about]" kindeditor="full" style="width:580px;height:350px;"><?php 
        echo $_smarty_tpl->tpl_vars['designer']->value['about'];
        ?>
</textarea></td></tr>

    
      <tr><th></th><td><input type="submit" value="保存" class="set_btn" /></td></tr>
</table>

    
    

</form>
</div>
<script type="text/javascript" src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['res'];
        ?>
/kindeditor/kindeditor.js"></script>
<script type="text/javascript">
    (function(K, $) {

        var editor = KindEditor.create('textarea[kindeditor]', $.extend({uploadJson: '<?php 
        echo smarty_function_link(array('ctl' => "magic:editorupload", 'http' => true), $_smarty_tpl);
        ?>
'}, window.KindEditor_Simple));




        //切换按钮(基本信息,属性设置)
        $(".page-data .ui-tabs-nav li").click(function(){
            $(".page-data table").css("display","none");
            $(".page-data table").eq($(this).index()).css("display","block");
        })

        

    })(window.KT, window.jQuery);
</script>
<script type="text/javascript">
    (function(K, $) {
        $("div.page-data").tabs();
        $("select[name='data[city_id]']").live('change', function() {
            var city_id = $(this).val();
            if (!city_id) {
                return false;
            }
            var link = "<?php 
        echo smarty_function_link(array('ctl' => 'magic:area', 'arg0' => '#city_id#', 'http' => true), $_smarty_tpl);
        ?>
"
            $.getJSON(link.replace("#city_id#", city_id), function(ret) {
                if (ret.error) {
                    Widget.MsgBox.error(ret.message.join(","));
                } else if (ret.areas.length > 0) {
                    var html = "";
                    for (var i = 0; i < ret.areas.length; i++) {
                        html += '<option value="' + ret.areas[i].area_id + '">' + ret.areas[i].area_name + '</option>';
                    }
                    $("select[name='data[area_id]']").html(html);
                } else {
                    $("select[name='data[area_id]']").html('<option value="">--</option>');
                }
            });
        });
    })(window.KT, window.jQuery);
</script>
<?php 
        echo $_smarty_tpl->getSubTemplate("ucenter/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    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 
    }
예제 #7
0
/**
 * Плагин для Smarty
 * Подключает обработчик блоков шаблона (LS-compatible)
 *
 * @param array                    $aParams
 * @param Smarty_Internal_Template $oSmarty
 *
 * @return string
 */
function smarty_insert_block($aParams, &$oSmarty)
{
    if (!isset($aParams['block'])) {
        trigger_error('Parameter "block" not define in {insert name="block" ...}', E_USER_WARNING);
        return null;
    }
    $aParams['name'] = $aParams['block'];
    if (!function_exists('smarty_function_widget')) {
        F::IncludeFile(Config::Get('path.smarty.plug') . 'function.widget.php');
    }
    return smarty_function_widget($aParams, $oSmarty);
    /*
    $oEngine = Engine::getInstance();
    
    $sWidget = ucfirst(basename($aParams['block']));
    
    $sDelegatedClass = $oEngine->Plugin_GetDelegate('widget', $sWidget);
    if ($sDelegatedClass == $sWidget) {
        // Пробуем получить делегата по старинке, для совместимости с LS
        // * LS-compatible * //
        $sDelegatedClass = $oEngine->Plugin_GetDelegate('block', $sWidget);
    }
    
    // Если делегатов нет, то определаем класс виджета
    if ($sDelegatedClass == $sWidget) {
        // если указан плагин, то ищем там
        if (isset($aParams['params']) && isset($aParams['params']['plugin'])) {
            $sPlugin = $aParams['params']['plugin'];
        } else {
            $sPlugin = '';
        }
        // Проверяем наличие класса виджета штатными средствами
        $sWidgetClass = E::Widget_FileClassExists($sWidget, $sPlugin, true);
    
        if (!$sWidgetClass) {
            if ($sPlugin) {
                // Если класс виджета не найден, то пытаемся по старинке задать класс "LS-блока"
                $sWidgetClass = 'Plugin' . ucfirst($aParams['params']['plugin']) . '_Block' . $sWidget;
            } else {
                // Если класс виджета не найден, то пытаемся по старинке задать класс "LS-блока"
                $sWidgetClass = 'Block' . $sWidget;
            }
            // Проверяем делигирование найденного класса
            $sWidgetClass = E::Plugin_GetDelegate('block', $sWidgetClass);
        }
    
        // Проверяем делигирование найденного класса
        $sWidgetClass = $oEngine->Plugin_GetDelegate('widget', $sWidgetClass);
    } else {
        $sWidgetClass = $sDelegatedClass;
    }
    
    $sTemplate = $oEngine->Plugin_GetDelegate('template', 'widgets/widget.' . $aParams['block'] . '.tpl');
    if (!F::File_Exists($sTemplate)) {
        //$sTemplate = '';
        // * LS-compatible * //
        $sLsTemplate = $oEngine->Plugin_GetDelegate('template', 'blocks/block.' . $aParams['block'] . '.tpl');
        if (F::File_Exists($sLsTemplate)) {
            $sTemplate = $sLsTemplate;
        }
    }
    
    //  * параметры
    $aWidgetParams = array();
    if (isset($aParams['params'])) {
        $aWidgetParams = $aParams['params'];
    }
    
    // * Подключаем необходимый обработчик
    $oWidgetHandler = new $sWidgetClass($aWidgetParams);
    
    // * Запускаем обработчик
    $sResult = $oWidgetHandler->Exec();
    
    // Если обработчик ничего не вернул, то рендерим шаблон
    if (!$sResult && $sTemplate)
        $sResult = $oSmarty->fetch($sTemplate);
    
    return $sResult;
    */
}
    function content_55d7ebc25a5291_16704652($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        ?>
 <?php 
        echo $_smarty_tpl->getSubTemplate("block/newhead.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
    
<!-- header 完 -->
<div class="kouhao" style="margin-top: 0px">
	<p><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/images/kouhao.jpg"></p>
</div>
<div id="bidding">
	<div class="bi-main" style="padding-top: 0px">
		<div class="bi-left">
			<img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
        ?>
/images/baojia2.jpg" />
			<!-- <p class="bi-title">免费发布招标!选择优质服务!</p>
			<ul>
				<li><img src="images/kou.png"><span><p>营业执照认证</p><p>办公场地实地认证</p><p>工程质量保障金-24小时先行赔付计划</p></span></li>
				<li><img src="images/design.png"><span><p>专业设计师免费测量全房尺寸,合理规划空间</p><p>免费出3套设计方案对比,直至满意为止</p><p>亿家网设计联盟专业点评,规避隐患</p></span></li>
				<li><img src="images/moneys.png"><span><p>精准需求,业主预算内报价</p><p>三家公司同时报价PK,有效挤掉报价水分</p><p>亿家网工程部帮助审核报价</p></span></li>
				<li><img src="images/se.png"><span><p>在线工地管理系统,实时监管 </p><p>百万工程质量保障金,随时候命</p><p>第三方监理多节点免费验收服务</p></span></li>
				<div class="clear"></div>
			</ul> -->
		</div>
		<div class="bi-right">
			<form  method="post" action="<?php 
        echo smarty_function_link(array('ctl' => 'tenders:save', 'http' => 'empty'), $_smarty_tpl);
        ?>
" class="bi-form">
				<!-- 获取城市来源-->
                                           <input type="hidden" value="<?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        ?>
" name="data[cityName]" />
                                           <!-- 判断短信类型 1 为 免费量房、免费设计和报价-->
                                           <input type="hidden" value="1" name="data[leiyuang]" />
                            <input type="hidden" id='tenders_type_id' name='data[type_id]' value="1" />
				<p class="tit"><b>我要招标</b><span>目前已帮助<font>23789</font> 户业主</span></p>
				<ul>
					<ol><label>我的称呼:</label><input type="text"id="input-name6" class="bi-input" name="data[name]" /></ol>
					<ol><label>联系电话:</label><input type="text"id="input-mobile6" class="bi-input" name="data[mobile]" /></ol>
					<ol><label>招标类型:</label>
						<div id="divselect1" class="bi-selected">
                                                    <select name="data[type_id]" style="width:96px;height:30px" >
                                                       <option value="0">请选择</option>           
                                                  <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['type']];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                                                       <option  value="<?php 
            echo $_smarty_tpl->tpl_vars['key']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</option>
                                                   <?php 
        }
        ?>
                                                     </select>
						<!--	<cite>请选择</cite>
							<ul>
								<li><a href="javascript:;" selectid="家庭装修">家庭装修</a></li>
								<li><a href="javascript:;" selectid="办公装修">办公装修</a></li>
								<li><a href="javascript:;" selectid="酒店装修">酒店装修</a></li>
								<li><a href="javascript:;" selectid="酒吧KTV">酒吧KTV</a></li>
								<li><a href="javascript:;" selectid="店铺装修">店铺装修</a></li>
								<li><a href="javascript:;" selectid="旧房改造">旧房改造</a></li>
							</ul>-->
						</div>
						
					</ol>
					<ol><label>装修预算:</label>
						<div id="divselect2" class="bi-selected">
							<select name="data[budget_id]"  style="width:96px;height:30px">
                                                          <option value="0">请选择</option>                      
                                                  <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['budget']];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                                                          <option <?php 
            if ($_smarty_tpl->tpl_vars['detail']->value['budget_id'] == $_smarty_tpl->tpl_vars['key']->value) {
                ?>
 selected="selected" <?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['key']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</option>
                                                 <?php 
        }
        ?>
                                                        </select>
						</div>
						
					</ol>
					<ol><label>装修面积:</label><input type="text" class="bi-input" name="data[area]" /></ol>
					<ol><label>小区名称:</label><input type="text" class="bi-input" name="data[home_name]" /></ol>
					<ol><label>所在地址:</label>
						<div id="divselect3" class="bi-selected">
                                                    <select name="data[city_id]" style="width:96px;height:30px">
                                                       <?php 
        echo smarty_function_widget(array('id' => "data/city", 'value' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_smarty_tpl);
        ?>

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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


</script>
<script>
$(function(){
	var $this = $(".bi-scroll");
	var scrollTimer;
	$this.hover(function(){
		clearInterval(scrollTimer);
	},function(){
		scrollTimer = setInterval(function(){
			scrollNews( $this );
		}, 2000 );
	}).trigger("mouseout");
});
function scrollNews(obj){
	var $self = obj.find("#Marquee:first");
	var lineHeight = $self.find("div:first").height();
	$self.animate({ "margin-top" : -lineHeight +"px" },600 , function(){
		$self.css({"margin-top":"0px"}).find("div:first").appendTo($self);
	})
} 
</script>
<script>
               $(document).ready(function(){
                    $("#submit-list6").click(function(){                    
                       if($("#input-name6").val()==""){
                         alert("请填入您的姓名");
                         return false;
                         }
                         if($("#input-mobile6").val()==""){
                         alert("请填入您的电话");
                         return false;
                         }
                          var reg = /^1[3|4|5|8|7][0-9]\d{8}$/;
                           if(!reg.test($.trim( $("#input-mobile6").val() )))
                           {
                            alert("手机号码格式不对,请输入11位正确号码!");
                            return false;
                           }
                        });
               })
        </script>
<div style="display:none;"><?php 
        ob_start();
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['tongji'];
        $_tmp1 = ob_get_clean();
        echo $_tmp1;
        ?>
</div>
</body>
</html><?php 
    }
    function content_55d7f19bcb27b1_97922817($_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';
        }
        ?>
<ul id="mall_cate_nav">
	<?php 
        $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['v']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['data']->value['items'];
        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;
            ?>
	<li>
		<div class="mall_main_l_l">
			<h3><span class="basic_jiancai"></span><span><?php 
            echo $_smarty_tpl->tpl_vars['v']->value['title'];
            ?>
</span><span class="dayu">></span></h3>
			<p class="cl"></p>
		<p>
		<?php 
            $_smarty_tpl->tpl_vars['vv'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['vv']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['v']->value['childrens'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['vv']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['vv']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['vv']->key => $_smarty_tpl->tpl_vars['vv']->value) {
                $_smarty_tpl->tpl_vars['vv']->_loop = true;
                $_smarty_tpl->tpl_vars['vv']->iteration++;
                $_smarty_tpl->tpl_vars['vv']->last = $_smarty_tpl->tpl_vars['vv']->iteration === $_smarty_tpl->tpl_vars['vv']->total;
                ?>
			<?php 
                if ($_smarty_tpl->tpl_vars['vv']->value['parent_id'] == $_smarty_tpl->tpl_vars['v']->value['cat_id']) {
                    ?>
			<a href="<?php 
                    echo smarty_function_link(array('ctl' => 'mall/product', 'arg0' => $_smarty_tpl->tpl_vars['vv']->value['cat_id']), $_smarty_tpl);
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['vv']->value['title'];
                    ?>
</a><?php 
                    if (!$_smarty_tpl->tpl_vars['vv']->last && $_smarty_tpl->tpl_vars['vv']->iteration < 3) {
                        ?>
<i>|</i><?php 
                    }
                    ?>
			<?php 
                }
                if ($_smarty_tpl->tpl_vars['vv']->iteration > 3) {
                    break 1;
                }
            }
            ?>
		</p>
		</div>
		<div class="mall_main_l_r bgwhite none mall_menu_0">
		<h2><?php 
            echo $_smarty_tpl->tpl_vars['v']->value['title'];
            ?>
</h2>
		<p>
		<?php 
            $_smarty_tpl->tpl_vars['vv'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['vv']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['v']->value['childrens'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['vv']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['vv']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['vv']->key => $_smarty_tpl->tpl_vars['vv']->value) {
                $_smarty_tpl->tpl_vars['vv']->_loop = true;
                $_smarty_tpl->tpl_vars['vv']->iteration++;
                $_smarty_tpl->tpl_vars['vv']->last = $_smarty_tpl->tpl_vars['vv']->iteration === $_smarty_tpl->tpl_vars['vv']->total;
                if ($_smarty_tpl->tpl_vars['vv']->value['parent_id'] == $_smarty_tpl->tpl_vars['v']->value['cat_id']) {
                    ?>
<a href="<?php 
                    echo smarty_function_link(array('ctl' => 'mall/product', 'arg0' => $_smarty_tpl->tpl_vars['vv']->value['cat_id']), $_smarty_tpl);
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['vv']->value['title'];
                    ?>
</a><?php 
                    if (!$_smarty_tpl->tpl_vars['vv']->last) {
                        ?>
<i>|</i><?php 
                    }
                }
            }
            ?>
		</p>
		<p class="cl h20 bodr_b"></p>
		<h2>促销活动</h2>
		<ul><?php 
            echo smarty_function_widget(array('id' => "adv", 'name' => "商城首页分类层促销活动", 'limit' => "3"), $_smarty_tpl);
            ?>
<div class="cl"></div></ul>
		<p class="cl h20 bodr_b"></p>
		<div class="mall_shoppers_img">
		<ul>
		<?php 
            $_smarty_tpl->tpl_vars['brand'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['brand']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['v']->value['brannds'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['brand']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['brand']->key => $_smarty_tpl->tpl_vars['brand']->value) {
                $_smarty_tpl->tpl_vars['brand']->_loop = true;
                $_smarty_tpl->tpl_vars['brand']->iteration++;
                ?>
		<?php 
                if ($_smarty_tpl->tpl_vars['brand']->iteration > 3) {
                    break 1;
                }
                ?>
		<li><a href="<?php 
                echo smarty_function_link(array('ctl' => 'mall/product:brand', 'arg0' => $_smarty_tpl->tpl_vars['brand']->value['brand_id']), $_smarty_tpl);
                ?>
"><img src="<?php 
                echo $_smarty_tpl->tpl_vars['pager']->value['img'];
                ?>
/<?php 
                echo $_smarty_tpl->tpl_vars['brand']->value['logo'];
                ?>
" width="100" height="55" /></a></li>
		<?php 
            }
            ?>
		<div class="cl"></div>
		</ul>
		</div>
		<div class="cl"></div>
		</div>
	</li>
	<?php 
        }
        ?>
</ul>
<script type="text/javascript">
(function(K, $){
$("#mall_cate_nav li").mouseover(function(){
    $(this).css('border-left','2px solid #0285BD');
    $(this).css('box-shadow','2px 2px 2px #EEEEEE');
	$(this).css('border-right','');
    $(this).find(".dayu").hide();
    var $lay = $(this).find(".mall_main_l_r");
    $lay.show();
    //var lay_bottom = $lay.offset().top + $lay.height();
    var lay_bottom = $(this).offset().top + $lay.height();
    var nav_bottom = $("#mall_cate_nav").offset().top + $("#mall_cate_nav").height();
    //console.log(lay_bottom, $(this).offset().top, $lay.height(), nav_bottom, $("#mall_cate_nav").offset().top, $("#mall_cate_nav").height());
    if(lay_bottom > nav_bottom){
        //$lay.animate({"marginTop": - $lay.height()}, 1000);
        $lay.animate({"marginTop": nav_bottom - lay_bottom}, 1000);
    }
}).mouseout(function(){
    $(this).css('border-left','');
    $(this).css('box-shadow','');
	$(this).css('border-right','1px solid #D5D5D5');
	$(this).find(".dayu").show();
    $(this).find(".mall_main_l_r").hide();	
});
})(window.KT, window.jQuery);
</script><?php 
    }
    function content_55d7dc6bf31c57_20903834($_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';
        }
        echo $_smarty_tpl->getSubTemplate("admin:common/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<div class="page-title">
    <table width="100%" align="center" cellpadding="0" cellspacing="0" >
      <tr>
        <td width="30" align="right"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['url'];
        ?>
/images/main-h5-ico.gif" alt="" /></td>
        <th><?php 
        echo $_smarty_tpl->tpl_vars['MOD']->value['title'];
        ?>
</th>
        <td align="right"><?php 
        echo smarty_function_link(array('ctl' => "tenders/tenders:index", 'priv' => "hidden", 'class' => "button"), $_smarty_tpl);
        ?>
</td>
        <td width="15"></td>
      </tr>
    </table>
</div>
<div class="page-data"><form action="?tenders/tenders-create.html" mini-form="tenders-form" method="post" >
<table width="100%" border="0" cellspacing="0" class="table-data form">
<tr><th>标题:</th><td><input type="text" name="data[title]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['title']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-300"/></td></tr>
<tr><th class="w-100">城市:</th><td>
<label>城市:<select name="data[city_id]" class="w-100"><?php 
        echo smarty_function_widget(array('id' => "data/city", 'value' => $_smarty_tpl->tpl_vars['detail']->value['city_id']), $_smarty_tpl);
        ?>
</select></label>
<label>地区:<select name="data[area_id]" class="w-100"><?php 
        echo smarty_function_widget(array('id' => "data/area", 'value' => $_smarty_tpl->tpl_vars['detail']->value['area_id'], 'city_id' => $_smarty_tpl->tpl_vars['detail']->value['city_id']), $_smarty_tpl);
        ?>
</select></label>
</td></tr>
<tr>
    <th>所属会员:</th>
    <td>
        <input type="hidden" name="data[uid]" value="0" id="company_member_id" />
        <input type="text" value="" id="company_member_uname" class="input w-300"/>
        <?php 
        echo smarty_function_link(array('ctl' => "member/member:dialog", 'select' => "mini:#company_member_id,#company_member_uname/N/选择用户", 'title' => "选择用户", 'class' => "button"), $_smarty_tpl);
        ?>

    </td>
</tr>
<tr><th>称呼:</th><td><input type="text" name="data[name]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['name']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-300"/></td></tr>
<tr><th><span class="red">*</span>手机:</th><td><input type="text" name="data[mobile]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['mobile']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-300"/></td></tr>
<tr><th>小区:</th>
	<td>
		<input type="hidden" name="data[home_id]" value="0" id="case_home_id"/>
		<input type="text" name="data[home_name]" value="" id="case_home_name" class="input w-300"/>
        <?php 
        echo smarty_function_link(array('ctl' => "home/main:dialog", 'select' => "mini:#case_home_id,#case_home_name/N/选择小区", 'class' => "button"), $_smarty_tpl);
        ?>

	</td>
</tr>

<tr>
    <th>
        招标类型:
    </th>
    <td>
        <select name="data[type_id]" class="select w-100">
            <option value="0">请选择</option>
            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['type']];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                 <option <?php 
            if ($_smarty_tpl->tpl_vars['detail']->value['type_id'] == $_smarty_tpl->tpl_vars['key']->value) {
                ?>
 selected="selected" <?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['key']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</option>
             <?php 
        }
        ?>
        </select>
    </td>
</tr>

<tr>
    <th>
        喜欢风格:
    </th>
    <td>
        <select name="data[style_id]" class="select w-100">
            <option value="0">请选择</option>
            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['style']];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                 <option <?php 
            if ($_smarty_tpl->tpl_vars['detail']->value['style_id'] == $_smarty_tpl->tpl_vars['key']->value) {
                ?>
 selected="selected" <?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['key']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</option>
             <?php 
        }
        ?>
        </select>
    </td>
</tr>
<tr>
    <th>
        预算范围:
    </th>
    <td>
        <select name="data[budget_id]" class="select w-100">
            <option value="0">请选择</option>
            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['budget']];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                 <option <?php 
            if ($_smarty_tpl->tpl_vars['detail']->value['budget_id'] == $_smarty_tpl->tpl_vars['key']->value) {
                ?>
 selected="selected" <?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['key']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</option>
             <?php 
        }
        ?>
        </select>
    </td>
</tr>
<tr>
    <th>
        服务需求:
    </th>
    <td>
        <select name="data[service_id]" class="select w-100">
            <option value="0">请选择</option>
            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['service']];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                 <option <?php 
            if ($_smarty_tpl->tpl_vars['detail']->value['service_id'] == $_smarty_tpl->tpl_vars['key']->value) {
                ?>
 selected="selected" <?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['key']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</option>
             <?php 
        }
        ?>
        </select>
    </td>
</tr>
<tr>
    <th>
        空间户型:
    </th>
    <td>
        <select name="data[house_type_id]" class="select w-100">
            <option value="0">请选择</option>
            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['house_type']];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                 <option <?php 
            if ($_smarty_tpl->tpl_vars['detail']->value['house_type_id'] == $_smarty_tpl->tpl_vars['key']->value) {
                ?>
 selected="selected" <?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['key']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</option>
             <?php 
        }
        ?>
        </select>
    </td>
</tr>
<tr>
    <th>
        装修方式:
    </th>
    <td>
        <select name="data[way_id]" class="select w-100">
            <option value="0">请选择</option>
            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['way']];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                 <option <?php 
            if ($_smarty_tpl->tpl_vars['detail']->value['way_id'] == $_smarty_tpl->tpl_vars['key']->value) {
                ?>
 selected="selected" <?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['key']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</option>
             <?php 
        }
        ?>
        </select>
    </td>
</tr>
<tr><th>地址:</th><td><input type="text" name="data[addr]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['addr']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-300"/></td></tr>
<tr><th>其他需求:</th><td><textarea name="data[demand]" class="textarea"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['demand'];
        ?>
</textarea><br /></td></tr>
<tr><th>客服反馈:</th><td><textarea name="data[feedback]" class="textarea"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['feedback'];
        ?>
</textarea><br /></td></tr>
<tr><th>开始时间:</th><td><input type="text" name="data[start_time]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['start_time']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-100" date="start_time" readonly/></td></tr>
<tr><th>面积:</th><td><input type="text" name="data[area]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['area']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-100"/><span class="tip-comment">㎡</span></td></tr>
<tr><th>看标需要消耗金块:</th><td><input type="text" name="data[gold]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['gold']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-100"/></td></tr>
<tr><th>允许看标企业数:</th><td><input type="text" name="data[num]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['num']) === null || $tmp === '' ? '3' : $tmp;
        ?>
" class="input w-100"/><span class="tip-comment">允许几家公司报价</span></td></tr>

<tr><th>是否审核:</th><td>
<ul class="group-list">
    <li><label><input type="radio" name="data[audit]" value="0" <?php 
        if ($_smarty_tpl->tpl_vars['detail']->value['audit'] == 0) {
            ?>
 checked="checked"<?php 
        }
        ?>
  ck="MOD-6">待审核</label></li>
    <li><label><input type="radio" name="data[audit]" value="1" <?php 
        if ($_smarty_tpl->tpl_vars['detail']->value['audit'] == 1) {
            ?>
 checked="checked"<?php 
        }
        ?>
  ck="MOD-6">已审核</label></li>
    <div class="clear-both"></div>
</ul>

</td></tr>
    <tr><th class="clear-th-bottom"></th><td class="clear-td-bottom" colspan="10"><input type="submit" class="bt-big" value="提交数据" /></td></tr>
</table>
</form></div>
<script type="text/javascript">
(function(K, $){
$("select[name='data[city_id]']").live('change', function(){
	var city_id = $(this).val();
	if(!city_id){return false;}
	$.getJSON("?data/area-city-"+city_id+".html", function(ret){
		if(ret.error){
			Widget.MsgBox.error(ret.message.join(","));
		}else if(ret.areas.length>0){
			var html = "";
			for(var i=0; i<ret.areas.length; i++){
				html += '<option value="'+ret.areas[i].area_id+'">'+ret.areas[i].area_name+'</option>';
			}
			$("select[name='data[area_id]']").html(html);		
		}else{
			$("select[name='data[area_id]']").html('<option value="">--</option>');
		}
	});
});
})(window.KT, window.jQuery);
</script>
<?php 
        echo $_smarty_tpl->getSubTemplate("admin:common/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_55d7ebd5e88692_01068018($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_modifier_format')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.format.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!----------头部和导航公共部分------------> 
<!--         主题部分开始           -->
<div class="index_b_bg hauto">
    <!--         你所在的位置开始             -->
    <div class="w1000 mt15 bgwhite ask_list_weizhi">
        <span class="span11 icobg block_lt"></span>
        <span class="block_lt">您当前所在的位置:</span>
        <a title="<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="\" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a>
        <span class="block_lt">></span>
        <a title="学装修" href="<?php 
        echo smarty_function_link(array('ctl' => 'content'), $_smarty_tpl);
        ?>
" class="block_lt">学装修</a>
        <span class="block_lt">></span>
        <a title="装修学堂" href="<?php 
        echo smarty_function_link(array('ctl' => 'content:items'), $_smarty_tpl);
        ?>
" class="block_lt">装修学堂</a>
        <?php 
        if ($_smarty_tpl->tpl_vars['detai']->value['cat_title']) {
            ?>
        <span class="block_lt">></span>
        <a href="<?php 
            echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['cat_id']), $_smarty_tpl);
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['detai']->value['cat_title'];
            ?>
" class="block_lt"><?php 
            echo $_smarty_tpl->tpl_vars['detai']->value['cat_title'];
            ?>
</a>
        <?php 
        }
        ?>
        <span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['article_id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['title'];
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['title'];
        ?>
</a>
    </div>
    <div class="cl"></div>
    <!--        你所在的位置结束      -->
    <div class="ask_detail_main w1000 mt15 hauto">
        <!--        位置结束左面下开始       -->
        <div class="ask_detail_main_l hauto mt5 lt bgwhite">
            <div class="learn_detail_l_t hauto bgwhite">
                <div class="learn_detail_l_t_content hauto">
                    <h2><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['title'];
        ?>
</h2>
                    <p class="p54">
                        <span class="block_lt span63">
                            <font class="org"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['views'];
        ?>
</font><font>人已浏览</font>
                            <font>时间&nbsp;:&nbsp;</font><font><?php 
        echo smarty_modifier_format($_smarty_tpl->tpl_vars['detail']->value['dateline']);
        ?>
</font> 
                        </span>
                        <span class="block rt span64">
                          <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone"></a><a href="#" class="bds_tsina" data-cmd="tsina"></a><a href="#" class="bds_tqq" data-cmd="tqq"></a><a href="#" class="bds_renren" data-cmd="renren"></a><a href="#" class="bds_t163" data-cmd="t163"></a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdPic":"","bdStyle":"0","bdSize":"16"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","t163"],"viewText":"分享到:","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","t163"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=86835285.js?cdnversion='+~(-new Date()/36e5)];</script>
                        </span>
                    </p>
                    <p class="cl"></p>
                    <p class="p55 bodr mt15 hauto">
                        导语:<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['desc'];
        ?>

                    </p>
                    <div class="fengshui_content mt15 hauto">
                        <div class="content">
                            <?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['content'];
        ?>

                        </div>
                        <p class="cl"></p>
                        <p class="h10 bodr_b"></p>
                        <p>
                            <?php 
        if ($_smarty_tpl->tpl_vars['up_item']->value) {
            ?>
                            <a target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['up_item']->value['article_id']), $_smarty_tpl);
            ?>
"  title="<?php 
            echo $_smarty_tpl->tpl_vars['up_item']->value['title'];
            ?>
" class="red">上一篇:<?php 
            echo $_smarty_tpl->tpl_vars['up_item']->value['title'];
            ?>
</a><br />
                            <?php 
        }
        ?>
                            <?php 
        if ($_smarty_tpl->tpl_vars['next_item']->value) {
            ?>
                             <a target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['next_item']->value['article_id']), $_smarty_tpl);
            ?>
" title='<?php 
            echo $_smarty_tpl->tpl_vars['next_item']->value['title'];
            ?>
' class="red">下一篇:<?php 
            echo $_smarty_tpl->tpl_vars['next_item']->value['title'];
            ?>
</a><br />
                            <?php 
        }
        ?>
                        </p>
                        <p>
                            <b class="f16">相关推荐&nbsp;:&nbsp;</b>
                        </p>
                        <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['contents']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                        <p><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'];
            ?>
' class="black"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
</a></p>
                        <?php 
        }
        ?>
                        <div class="h20"></div>
                    </div>


                </div>
            </div>	




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

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

            </div>
            <div class="today_tuijian hauto">
                <h2 class="mb10 mt10">经典日记</h2>
                <div class="today_tuijian_b hauto bgwhite">
                    <?php 
        echo smarty_function_widget(array('id' => 'diary/right', 'limit' => 10, 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_smarty_tpl);
        ?>

                </div>
            </div>
        </div>
        
    </div>
        <!--  评论开始 -->
       <div class="w1000 hauto bgwhite mt10">
            <div class="w900 hauto mt20 pinglun">
                <h2>共<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['pager']->value['count']) === null || $tmp === '' ? '0' : $tmp;
        ?>
条评论</h2>
                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['items']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                <div class="pl_contant mt10 hauto">
                    <a href="javascript:void(0);"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['userList']->value[$_smarty_tpl->tpl_vars['item']->value['uid']]['face_80'];
            ?>
" width="40" height="40" /></a>
                     <div class="pl_contant_b lt" style=" margin-left: 10px; width: 800px;" >
                        <p>
                            <span class="red"><?php 
            echo $_smarty_tpl->tpl_vars['userList']->value[$_smarty_tpl->tpl_vars['item']->value['uid']]['uname'];
            ?>
</span><span style="margin-left: 10px;">时间:<?php 
            echo smarty_modifier_format($_smarty_tpl->tpl_vars['item']->value['dateline']);
            ?>
</span><span style="margin-left: 10px;">来自:<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['create_ip'];
            ?>
</span>
                        </p>
                        <div><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['content'];
            ?>
</div>
                    </div>
                </div>
                <?php 
        }
        ?>
              
                <form id='comment_form'>
                <div class=" w900 hauto mt10">
                   
                    <textarea  style="width: 895px;"  rows="5" name="content" ></textarea>
                    
                </div>
                <div class="fbpl rt mt20 mb30"> 
                        <input type="submit" mini-submit='#comment_form' action="<?php 
        echo smarty_function_link(array('ctl' => 'content:detailComment', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['article_id']), $_smarty_tpl);
        ?>
" name="fbpl" value="发表评论" class="baocunpl"/>
                </div>
                </form>
            </div>
        </div>
		<div class="cl h20"></div>
    <!--  评论结束 -->     

    <?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
  <?php 
    }
    function content_55d7ea5f295963_71629290($_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';
        }
        ?>
<?php 
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!----------头部和导航公共部分------------>
<!--        主题部分开始                -->
<div class="hauto index_b_bg">
    <!-- 列表风格导航开始 -->
    <div class="w1000 mt20 bgwhite">
        <div class="hauto home_style">
            <div class="seach_xq bodr_b">
                <h2>找到小区,快速得到<font class="red">现成的</font>设计案例!</h2>
            </div>
            <div class="home_list_area hauto bodr_b_x mt10 mb10">
                <span>区域&nbsp;:&nbsp;</span>
                <a  href="<?php 
        echo $_smarty_tpl->tpl_vars['area_url']->value;
        ?>
" <?php 
        if (empty($_smarty_tpl->tpl_vars['url_data']->value['area_id'])) {
            ?>
class="a1"<?php 
        }
        ?>
>不限</a>
                <?php 
        $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['v']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['area_list']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
            $_smarty_tpl->tpl_vars['v']->_loop = true;
            ?>
                <a  title="<?php 
            echo $_smarty_tpl->tpl_vars['v']->value['area_name'];
            ?>
小区列表" href="<?php 
            echo $_smarty_tpl->tpl_vars['v']->value['link'];
            ?>
" <?php 
            if ($_smarty_tpl->tpl_vars['v']->value['checked']) {
                ?>
class="a1"<?php 
            }
            ?>
><?php 
            echo $_smarty_tpl->tpl_vars['v']->value['area_name'];
            ?>
</a>
                <?php 
        }
        ?>
            </div>
            
            <?php 
        $_smarty_tpl->tpl_vars['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');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
            <div class="home_list_area hauto bodr_b_x mt10 mb10">
                <span><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
&nbsp;:&nbsp;</span>
                <a  title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
小区" href="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['link'];
            ?>
"  <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['checked']) {
                ?>
class="a1"<?php 
            }
            ?>
>不限</a>
                <?php 
            $_smarty_tpl->tpl_vars['it2'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['it2']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['item']->value['values'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['it2']->key => $_smarty_tpl->tpl_vars['it2']->value) {
                $_smarty_tpl->tpl_vars['it2']->_loop = true;
                ?>
                <a  title="<?php 
                echo $_smarty_tpl->tpl_vars['it2']->value['title'];
                ?>
小区" href="<?php 
                echo $_smarty_tpl->tpl_vars['it2']->value['link'];
                ?>
"  <?php 
                if ($_smarty_tpl->tpl_vars['it2']->value['checked']) {
                    ?>
class="a1"<?php 
                }
                ?>
><?php 
                echo $_smarty_tpl->tpl_vars['it2']->value['title'];
                ?>
</a>
                <?php 
            }
            ?>
             
            </div>
           <?php 
        }
        ?>
        </div>

    </div>
    <!-- 列表风格导航结束 -->
    <!-- 小区列表开始  -->
    <div class="hauto mt20 w1000">
        <!--  左面开始  -->
        <div class="home_list_show_l lt hauto">
            <div class="bgwhite home-List_all hauto">
                <div class="home_list_show_l_t hauto">
                    <div class="home-List_show_title bodr_b">
                        <span class="block lt"><b>为您找到<font class="red">
                               
                               <font class="red"> <?php 
        if ($_smarty_tpl->tpl_vars['items_name']->value) {
            ?>
有关"<?php 
            echo $_smarty_tpl->tpl_vars['items_name']->value;
            ?>
"<?php 
        } else {
            ?>
所有<?php 
        }
        ?>
</font>小区</b></span>
                        <span class="block rt span15"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:maps'), $_smarty_tpl);
        ?>
">切换到地图模式</a></span>
                    </div>
                    <div class="cl"></div>
             

                </div>
            </div>
            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['homes']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['home']['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']['home']['index']++;
            ?>
           
            <div class="bgwhite home-List_all hauto <?php 
            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['home']['index'] > 0) {
                ?>
mt10<?php 
            }
            ?>
">
                <div class="home_list_show_l_t hauto">

                    <div class="cl"></div>
                    <div class="home_list_show_b hauto mt20">
                        <a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['name'];
            ?>
" target="_blank" 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="180" height="125" /></a>
                        <div class="home_list_show_b_r lt">
                            <p>
                                <span class="f16 ftw blackb lt"><a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['name'];
            ?>
" target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['id']), $_smarty_tpl);
            ?>
" class="f16 ftw blackb a3"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['name'];
            ?>
</a></span>
                                <span class="f12 rt"><font class="red"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['pv_num'];
            ?>
</font>人查看了该楼盘</span>
                            </p>
                            <div class="cl"></div>
                            <p class="mt15">
                                均 价:<font class="red"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['price'];
            ?>
 </font> <br /> 
                                开发商:<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['kf'];
            ?>
<br />
                                最新设计方案由<a target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['last_case_company_id']), $_smarty_tpl);
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['last_case_company_id']]['name'];
            ?>
" class="org ftw"><?php 
            echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['last_case_company_id']]['name'];
            ?>
</a>提供
                            </p>
                            <p class="p6">
                                <a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['name'];
            ?>
" target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['id']), $_smarty_tpl);
            ?>
"><u>小区详情</u></a><a href="<?php 
            echo smarty_function_link(array('ctl' => 'ask'), $_smarty_tpl);
            ?>
"><u>装修问答</u></a>
                                <a href="<?php 
            echo smarty_function_link(array('ctl' => 'content:diary'), $_smarty_tpl);
            ?>
"><u>装修日记</u></a><a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['name'];
            ?>
" target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:photo', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['id'], 'arg1' => 3), $_smarty_tpl);
            ?>
"><u>业主实拍样板间</u></a>
                                <a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['name'];
            ?>
" target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['id']), $_smarty_tpl);
            ?>
" class="a2 ftw a4">查看装修方案>></a>
                            </p>
                            <div class="cl"></div>
                            <p class="h30"></p>
                        </div>

                    </div>

                </div>
            </div>     
            
            <?php 
        }
        ?>
            
             
         <div class="bgwhite home_list_page mt10 hauto">

                <div class="page">
                  <?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];
        ?>

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

        </div>
        <!--  左面结束  -->
        <!--  右面开始  -->
        <div class="home_list_show_r rt hauto" style="position: fixed;bottom:20px">
            <div class="home-List_form hauto bgwhite">

                <div class="home_all_r hauto bgwhite ml5">
                    <p>
                        <font class="ftw black f17">想参加小区</font>
                        <font class="ftw red f17">团购</font>,
                        <font class="ftw black f17">看</font><font class="ftw red f17">样板间</font><br />
                        <font class="f12">提交信息,试试看</font>
                    </p>
                     <form mini-form="survey" action="<?php 
        echo smarty_function_link(array('ctl' => 'home:survey', 'http' => true), $_smarty_tpl);
        ?>
" method="post">
                        <!--城市来源-->
                                           <input type="hidden" value="<?php 
        echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
        ?>
" name="data[cityName]" />
                                           
                        <input type="text" name="data[home_name]"  value="请输入小区名称" class="lp_hx bodr lp"/>
                        <select name='data[area_id]' class="hx bodr mt10">
                            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['area_list']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                            <option value="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['area_id'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['area_name'];
            ?>
</option>
                            <?php 
        }
        ?>

                        </select>
                        <input type="text" name="data[name]"  value="请输入你的姓名" class="lp_hx bodr mt10 na"/>
                        <input type="text" name="data[tel]"  value="请输入你的联系电话" class="lp_hx bodr mt10 ph"/>
                        <input type="submit"  value="提交查询" class="lp_hxq bodr mt10 redbg dc"/>
                    </form>
                    <script>
                          $(document).ready(function() {
                                $(".lp").focus(function() {
                                    if ($(this).val() == '请输入楼盘名称')
                                        $(this).val('');
                                }).focusout(function() {
                                    if ($(this).val() == '')
                                        $(this).val('请输入楼盘名称');
                                }); 
                                $(".na").focus(function() {
                                    if ($(this).val() == '请输入您的姓名')
                                        $(this).val('');
                                }).focusout(function() {
                                    if ($(this).val() == '')
                                        $(this).val('请输入您的姓名');
                                });

                                $(".ph").focus(function() {
                                    if ($(this).val() == '请输入您的联系电话')
                                        $(this).val('');
                                }).focusout(function() {
                                    if ($(this).val() == '')
                                        $(this).val('请输入您的联系电话');
                                });//banner右面表单
                            });
                    </script>
                    <p>
                        已有<font class="red">12563</font>人提交
                    </p>

                </div>
            </div>
            <div class="ads3 hauto mt15">
                 <?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "我搜我家小区列表右侧广告位", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>

            </div>
        </div>

        <!--  右面结束  -->
        <div class="h20 cl"></div>

    </div>
    <!-- 小区列表结束  -->

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

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


                        </div>


                    </div>



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

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

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

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



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


                        </div>


                    </div>



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


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


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

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

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

                    </ul>

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

                    </ul>

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


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

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

                        }
                        ;

                    });
                });

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

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

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

    <?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
           <?php 
    }
    function content_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_55d81833ac3237_29017125($_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';
        }
        echo $_smarty_tpl->getSubTemplate("ucenter/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


<div class="base_info"><b>发布案例</b></div>
<form mini-form="company" action="<?php 
        echo smarty_function_link(array('ctl' => 'ucenter/case:create', 'http' => true), $_smarty_tpl);
        ?>
" method="post">

    <div class="page-data" style=" margin-top: 10px;">
        <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
            <li><a href="#table-info">基本信息</a></li>
            <li><a href="#table-attr">属性信息</a></li>
            <li><a href="#table-seo">SEO信息</a></li>
        </ul>
        <table width="100%" border="0" cellspacing="0" class="form" id="table-info">
            <tr><th><span class="red">*</span>标题:</th><td><input type="text" name="data[title]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['title']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-400"/></td></tr>

            <tr>
                <th>设计师:</th>
                <td>
                    <select name='data[designer_id]' class="input">
                        
                        <option value="0">请选择</option>
                        <?php 
        $_smarty_tpl->tpl_vars['designer'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['designer']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['designers']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['designer']->key => $_smarty_tpl->tpl_vars['designer']->value) {
            $_smarty_tpl->tpl_vars['designer']->_loop = true;
            ?>
                        <option value="<?php 
            echo $_smarty_tpl->tpl_vars['designer']->value['uid'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['designer']->value['realname'];
            ?>
</option>
                         <?php 
        }
        ?>
                    </select>
                </td>    
            </tr>
            <tr><th>小区:</th>
                <td>
                    <input type="hidden" name="data[home_id]" id="select_home_id" value="0" />
                    <input type="text" id="select_home_name" value="0" class="input"/>
                    <a class="yzmbtn" action="<?php 
        echo smarty_function_link(array('ctl' => 'ucenter/select:home'), $_smarty_tpl);
        ?>
" mini-select="#select_home_id,#select_home_name/N/<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['city_id'];
        ?>
/选择小区"/>选择小区</a><br />
                </td>
            </tr>
            <tr>
                <th>户型图:</th>
                <td>
                    <input type="hidden" id="select_huxing_id" value="0" name='data[huxing_id]'/>
                    <input type="text" id="select_huxing_name" value="0" class="input"/>
                    <img src="###" id="select_huxing_photo" class="w-50"/>
                    <a class="yzmbtn" action="<?php 
        echo smarty_function_link(array('ctl' => 'ucenter/select:huxing', 'arg0' => '#home_id#', 'arg1' => '1'), $_smarty_tpl);
        ?>
" id="select_huxing_btn"/>选择户型图</a><br />
                </td>
            </tr>

            <tr><th>设计思路:</th><td><textarea name="data[intro]" class="textarea"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['intro'];
        ?>
</textarea><br /></td></tr>

            <tr><th class="clear-th-bottom"></th><td class="clear-td-bottom" colspan="10"><input type="submit" value="保存" class="set_btn" /></td></tr>
        </table>

        <table width="100%" border="0" cellspacing="0" class="table-data form" id="table-seo" style="display:none;">
            <tr><th>seo_title:</th><td><input type="text" name="data[seo_title]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['seo_title']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-500"/></td></tr>
            <tr><th>seo_keywords:</th><td><input type="text" name="data[seo_keywords]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['seo_keywords']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-500"/></td></tr>
            <tr><th>seo_description:</th><td><textarea name="data[seo_description]" class="textarea"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['seo_description'];
        ?>
</textarea><br /></td></tr>
<tr><th class="clear-th-bottom"></th><td class="clear-td-bottom" colspan="10"><input type="submit" value="保存" class="set_btn" /></td></tr>
</table>  

<table width="100%" border="0" cellspacing="0" class="table-data form" id="table-attr" style="display:none;">
<?php 
        echo smarty_function_widget(array('id' => "attr/form", 'from' => "zx:case"), $_smarty_tpl);
        ?>

<tr><th class="clear-th-bottom"></th><td class="clear-td-bottom" colspan="10"><input type="submit" value="保存" class="set_btn" /></td></tr>
</table> 
    
</form>
</div>
<script type="text/javascript">
    (function(K, $) {
        $("div.page-data").tabs();
        $("#select_huxing_btn").click(function(e) {
            e.stopPropagation();
            e.preventDefault();
            var home_id = $("#select_home_id").val();
            if (!$.isNumeric(home_id) || home_id < 1) {
                Widget.MsgBox.error("请先选择小区");
                return false;
            }
            var link = $(this).attr("action") || $(this).attr("href");
            link = link.replace("#home_id#", home_id);
            Widget.Dialog.Select(link, "N", function(ret) {
                $("#select_huxing_id").val(ret[0]);
                $("#select_huxing_name").val(ret[1].title);
                $("#select_huxing_photo").attr("src", ret[1].photo);
            }, {title: "选择户型图", width: 500});
        });
    })(window.KT, window.jQuery);
</script>
<?php 
        echo $_smarty_tpl->getSubTemplate("ucenter/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_55d7ebe35f7977_30118082($_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';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!--        主题部分开始               -->
<div class="index_b_bg hauto">
    <!--         你所在的位置开始             -->
    <div class="w1000 bgwhite ask_list_weizhi">
        <span class="span11 icobg block_lt"></span>
        <span class="block_lt">您当前所在的位置:</span>
        <a title="<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'index'), $_smarty_tpl);
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a>
        <span class="block_lt">></span>
        <a title="我搜我家" href="<?php 
        echo smarty_function_link(array('ctl' => 'home'), $_smarty_tpl);
        ?>
" class="block_lt">我搜我家</a>
        <span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
楼盘详情" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
楼盘详情</a>
         <span class="block_lt">></span>
         <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:photo', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id'], 'arg1' => $_smarty_tpl->tpl_vars['photo_type']->value), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
的<?php 
        if ($_smarty_tpl->tpl_vars['photo_type']->value == 1) {
            ?>
 户型图<?php 
        }
        if ($_smarty_tpl->tpl_vars['photo_type']->value == 2) {
            ?>
 实景图<?php 
        }
        if ($_smarty_tpl->tpl_vars['photo_type']->value == 3) {
            ?>
 样板间<?php 
        }
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
的<?php 
        if ($_smarty_tpl->tpl_vars['photo_type']->value == 1) {
            ?>
 户型图<?php 
        }
        if ($_smarty_tpl->tpl_vars['photo_type']->value == 2) {
            ?>
 实景图<?php 
        }
        if ($_smarty_tpl->tpl_vars['photo_type']->value == 3) {
            ?>
 样板间<?php 
        }
        ?>
</a>
    </div>
    <div class="cl"></div>
    <!--        你所在的位置结束      -->
    <!--        标题开始     -->
    <div class="home_buildings_title w1000 mt20 hauto mb10">
        <p class="lt p22"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
</a></p>
        <p class="lt ml20">
            <span><a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['pv_num'];
        ?>
</a>人关注</span><br />
            <span>本楼盘qq群:<font class="red"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['qq_qun'];
        ?>
</font></span>
        </p>
    </div>
    <!--        标题结束     -->
    <div class="cl"></div>
    <!--    找我家楼盘页面主题开始-->
    <div class="home_buildings_main w1000 hauto mt10">
        <!--        子页面导航开始     -->
        <div class="w1000 son_menu orgbgg">
            <ul>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
楼盘主页" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
">楼盘主页</a></li>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
设计方案" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:cases', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
">设计方案</a></li>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
楼盘详情" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:info', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
"  >楼盘详情</a></li>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
实景图" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:photo', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id'], 'arg1' => 2), $_smarty_tpl);
        ?>
" <?php 
        if ($_smarty_tpl->tpl_vars['photo_type']->value == 2) {
            ?>
 class="current6"<?php 
        }
        ?>
>实景图</a></li>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
户型图" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:photo', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id'], 'arg1' => 1), $_smarty_tpl);
        ?>
" <?php 
        if ($_smarty_tpl->tpl_vars['photo_type']->value == 1) {
            ?>
 class="current6"<?php 
        }
        ?>
>户型图</a></li>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
样板间" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:photo', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id'], 'arg1' => 3), $_smarty_tpl);
        ?>
" <?php 
        if ($_smarty_tpl->tpl_vars['photo_type']->value == 3) {
            ?>
 class="current6"<?php 
        }
        ?>
>样板间</a></li>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
在建工地" href="<?php 
        echo smarty_function_link(array('ctl' => 'site'), $_smarty_tpl);
        ?>
">在建工地</a></li>
            </ul>
        </div>
        <!--        子页面导航结束     -->
       <div class="home_buildings_main_l hauto lt mt15">
            
            <div class="xdgc_sjt mt20">
                	<p>
                    	<span class="block_lt ftw f16 black"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
的<?php 
        if ($_smarty_tpl->tpl_vars['photo_type']->value == 1) {
            ?>
 户型图<?php 
        }
        if ($_smarty_tpl->tpl_vars['photo_type']->value == 2) {
            ?>
 实景图<?php 
        }
        if ($_smarty_tpl->tpl_vars['photo_type']->value == 3) {
            ?>
 样板间<?php 
        }
        ?>
<font class="red">(<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['pager']->value['count']) === null || $tmp === '' ? '0' : $tmp;
        ?>
)</font></span>
                    
                    </p>
                    <p class="cl"></p>
                    <div class="xdgc_sjt_show hauto bgwhite mt10">
                        <ul>
                            <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['items']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                            <li>
                                <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['pic'];
            ?>
"><img alt="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['pic'];
            ?>
" width="210" height="147" /></a><br />
                                <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['pic'];
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" class="ftw black8"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
</a>
                            </li>
                            <?php 
        }
        ?>
                        </ul>
                    </div>
                    
                    <div><div class="page"><?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];
        ?>
</div></div>
                </div>
           
           
           
       </div>
                           
       
        <!-- 主题左面结束-->
        <!-- 主题右面开始-->
        <div class="home_buildings_main_r hauto lt mt15 ml20">
            <?php 
        echo smarty_function_widget(array('id' => 'home/tuan', 'home_id' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
          
            <div class="ads5 hauto">
                <?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "我搜我家详情页右侧广告位", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>

            
            </div>
            <div class="home_buildings_laest_designfa hauto mt25">
              <?php 
        echo smarty_function_widget(array('id' => "case/casenew", 'limit' => 5), $_smarty_tpl);
        ?>

            </div>
        </div>
        <!-- 主题右面结束-->
		    <div class="cl h20"></div>
    </div>
    <!--    找我家楼盘页面主题结束-->

  


    <?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
     <?php 
    }
    function content_55d7eb769647f1_35116267($_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';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!--        主题部分开始               -->
<div class="index_b_bg hauto">
    <!--         你所在的位置开始             -->
    <div class="w1000 bgwhite ask_list_weizhi">
        <span class="span11 icobg block_lt"></span>
        <span class="block_lt">您当前所在的位置:</span>
        <a title="<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'index'), $_smarty_tpl);
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a>
        <span class="block_lt">></span>
        <a title="我搜我家" href="<?php 
        echo smarty_function_link(array('ctl' => 'home'), $_smarty_tpl);
        ?>
" class="block_lt">我搜我家</a>
        <span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
</a
        ><span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:cases', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
的设计方案</a>
    </div>
    <div class="cl"></div>
    <!--        你所在的位置结束      -->
    <!--        标题开始     -->
    <div class="home_buildings_title w1000 mt20 hauto mb10">
        <p class="lt p22"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
</a></p>
        <p class="lt ml20">
            <span><a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['pv_num'];
        ?>
</a>人关注</span><br />
            <span>本楼盘qq群:<font class="red"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['qq_qun'];
        ?>
</font></span>
        </p>
    </div>
    <!--        标题结束     -->
    <div class="cl"></div>
    <!--    找我家楼盘页面主题开始-->
    <div class="home_buildings_main w1000 hauto mt10">
        <!--        子页面导航开始     -->
        <div class="w1000 son_menu orgbgg">
            <ul>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
楼盘主页" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" >楼盘主页</a></li>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
设计方案" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:cases', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" class="current6">设计方案</a></li>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
楼盘详情" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:info', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
">楼盘详情</a></li>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
实景图" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:photo', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id'], 'arg1' => 2), $_smarty_tpl);
        ?>
">实景图</a></li>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
户型图" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:photo', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id'], 'arg1' => 1), $_smarty_tpl);
        ?>
">户型图</a></li>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
样板间" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:photo', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id'], 'arg1' => 3), $_smarty_tpl);
        ?>
">样板间</a></li>
                <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
在建工地" href="<?php 
        echo smarty_function_link(array('ctl' => 'site'), $_smarty_tpl);
        ?>
">在建工地</a></li>
            </ul>
        </div>
        <!--        子页面导航结束     -->
        <!--     主题左面开始 -->
        <div class="home_buildings_main_l hauto lt mt15">
           
            <div class="cl"></div>
            <div class="yfatzw hauto">
                <h2><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
的装修设计方案<font class="red">(<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['case_num'];
        ?>
)</font></h2>
                       
                     <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['items']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['case']['index'] = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['case']['index']++;
            ?>
                     <div class="wntj_show mt5 hauto bgwhite">
                     
                    <div class="wntj_show1 hauto">
                        <h3><a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:caseDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['home_id'], 'arg1' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
</a></h3>
                       <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:caseDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['home_id'], 'arg1' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['photo'];
            ?>
_thumb.jpg" width="250" height="150" /></a>
                        <div class="wntj_show1_r lt">
                            <p>
                                <span class="lt"><b>喜欢数:</b><font class="f12 red"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['likes'];
            ?>
</font></span>
                                <span class="rt"><font class="f12 red"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['views'];
            ?>
</font>人看了此方案</span>
                            </p>
                            <p class="cl"></p>
                            <p class="p27 orgbgg"><?php 
            echo $_smarty_tpl->getVariable('smarty')->value['foreach']['case']['index'] + 1;
            ?>
</p>
                            <p>
                                <font><b>方案提供者:</b></font>
                                <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['name'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
            ?>
" class="f12 red">
                                <?php 
            echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['name'];
            ?>

                              </a>
                              <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['name'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
            ?>
"  class="org">(<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['photos'];
            ?>
张设计图)</a>
                            </p>
                            <p>
                                <font><b>设计思路:</b></font>
                                <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:caseDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['home_id'], 'arg1' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
" class="black8">  <?php 
            echo $_smarty_tpl->tpl_vars['item']->value['intro'];
            ?>
</a>
                            </p>
                            <p class="mt20"></p>
                            <p>
                                <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:caseDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['home_id'], 'arg1' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
" class="a7">平面布置图&nbsp;&nbsp;|</a>
                                <a target="_blank" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:caseDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['home_id'], 'arg1' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
            ?>
" class="a7">设计图&nbsp;&nbsp;</a>
                                <a mini-load='申请设计' href="<?php 
            echo smarty_function_link(array('ctl' => 'gs:yuyue', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id'], 'http' => 'empty'), $_smarty_tpl);
            ?>
"  class="block rt a8 red_bg">我也要他设计</a>
                            </p>
                        </div>
                    </div>
                         </div>
                     <?php 
        }
        if (!$_smarty_tpl->tpl_vars['item']->_loop) {
            ?>
                        <div class="nofa bgwhite mt20">
                           <h3>暂时没有公司提供该小区方案</h3>
                          <!-- <a href="###" class="orgbgg block">有新方案通知我</a>-->
                        </div>
                     <?php 
        }
        ?>
                    
                     <div><div class="page"><?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];
        ?>
</div></div>
                
                
            </div>
            
           
            
                           
        </div>
        <!-- 主题左面结束-->
        <!-- 主题右面开始-->
        <div class="home_buildings_main_r hauto lt mt15 ml20">
         <?php 
        echo smarty_function_widget(array('id' => 'home/tuan', 'home_id' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
          
            <div class="ads5 hauto">
                <?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "我搜我家详情页右侧广告位", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>

            
            </div>
            <div class="home_buildings_laest_designfa hauto mt25">
              <?php 
        echo smarty_function_widget(array('id' => "case/casenew", 'limit' => 5), $_smarty_tpl);
        ?>

            </div>
        </div>
        <!-- 主题右面结束-->
        <div class="cl h20"></div>

    </div>
    <!--    找我家楼盘页面主题结束-->

    <script>
        $(document).ready(function() {
            $(".son_menu ul li:last").css('background', 'none');
            $(".home_building_small_menu ul li:last").css('background', 'none');
            $(".home_buildings_laest_designfa_show ul li:last").css('border-bottom', 'none');
            $(".home_buildings_laest_designfa_show ul li").mouseover(function() {
                var index = $(this).index();
                $(".home_buildings_laest_designfa_show ul li").each(function(a) {
                    if (a == index) {
                        $(this).css('background', '#EAEAEA');
                        $(this).css('border-bottom', 'none');

                    } else {
                        $(this).css('background', '');
                    }
                });
            }).mouseout(function() {
                $(this).css('background', '');
                $(this).css('border-bottom', '');
            });
           
	
        });
    </script>


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

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

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

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

                                    <p class="p61">
                                        <a href="<?php 
            echo smarty_function_link(array('ctl' => 'mall/shop', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['shop_id']), $_smarty_tpl);
            ?>
" class="a43"><?php 
            echo $_smarty_tpl->tpl_vars['shop_list']->value[$_smarty_tpl->tpl_vars['item']->value['shop_id']]['title'];
            ?>
</a>
                                        <a href="<?php 
            echo smarty_function_link(array('ctl' => 'mall/shop', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['shop_id']), $_smarty_tpl);
            ?>
" class="a44">查看详情</a>
                                    </p>
                                </div>
                            </li>
                            <?php 
        }
        ?>
                        </ul>
                        <div class="h20 cl"></div>
                    </div>
                </div>
                <div class="page"><?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];
        ?>
</div>
                <div class="h20"></div>
                <!-- //商品展示结束 -->
            </div>
        </div>
        <!-- //右面结束 -->
    </div>           
    <div class="h30"></div>             
</div>
<!-- //主题部分结束 -->
<?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_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_55d7eada347fe5_89319233($_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';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!----------头部和导航公共部分------------> 
<!--         主题部分开始           -->
<div class="index_b_bg hauto">
    <!--         你所在的位置开始             -->
    <div class="w1000 mt15 bgwhite ask_list_weizhi">
        <span class="span11 icobg block_lt"></span>
        <span class="block_lt">您当前所在的位置:</span>
        <a title="<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'index'), $_smarty_tpl);
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a>
        <span class="block_lt">></span>
        <a title="我要装修" href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
" class="block_lt">我要装修</a>
        <span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title='<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['title'];
        ?>
' class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['title'];
        ?>
</a>
    </div>
    <div class="cl"></div>
    <!--        你所在的位置结束      -->
    <!--        内容详情开始         -->
    <div class="ask_detail_main w1000 mt15 hauto">
        <!--        位置结束左面下开始       -->
        <div class="ask_detail_main_l hauto mt5 lt bgwhite">
            <div class="decoration_detail_main_l hauto bodr_b">
                <p class="p49">
                    <a  href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title='<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['title'];
        ?>
'  class="block_lt org f16 ftw"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['title'];
        ?>
</a>
                    <span class="block rt">
                        <font class="f14">发布时间&nbsp;:&nbsp;</font>
                        <font class="f14"> <?php 
        echo date('Y-m-d', $_smarty_tpl->tpl_vars['detail']->value['dateline']);
        ?>
</font>
                    </span>
                    <span class="block cl"></span>
                </p>
                <div class="decoration_main_l_tb">
                    <p class="mt10 p48">
                        <span class="block_lt span62"> 
                            <b class="f14">项目类型&nbsp;:&nbsp;</b><font class="f14">  <?php 
        echo $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['house_type']][$_smarty_tpl->tpl_vars['detail']->value['house_type_id']];
        ?>
</font><br />
                            <b class="f14">建筑面积&nbsp;:&nbsp;</b><font class="f14">   <?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['area']) === null || $tmp === '' ? '' : $tmp;
        ?>
㎡</font>
                        </span> 
                        <span class="block rt span61">
                            <font class="f14 white">投标数</font><br />
                            <font class="org f24"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['num2'];
        ?>
</font><font class="black">/</font><font class="black"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['num'];
        ?>
</font>
                        </span>
                    </p>
                    <p class="cl"></p>
                </div>
                <p class="mt15">
                    <b class="f14">所在区域&nbsp;:&nbsp;</b><font class="f14"><?php 
        echo $_smarty_tpl->tpl_vars['cityList']->value[$_smarty_tpl->tpl_vars['detail']->value['city_id']]['city_name'];
        echo $_smarty_tpl->tpl_vars['areaList']->value[$_smarty_tpl->tpl_vars['detail']->value['area_id']]['area_name'];
        ?>
</font>
                </p>
                <p class="mt15">
                    <b class="f14">装修预算&nbsp;:&nbsp;</b><font class="f14 red"> <?php 
        echo $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['budget']][$_smarty_tpl->tpl_vars['detail']->value['budget_id']];
        ?>
</font>
                </p>
                <p class="mt15">
                    <b class="f14">装修时间&nbsp;:&nbsp;</b><font class="f14 red"> <?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['start_time']) === null || $tmp === '' ? '' : $tmp;
        ?>
</font>
                </p>
                <p class="mt15 p50">
                    <b class="f14">装修要求&nbsp;:&nbsp;</b>
                    <font class="f14"> <?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['demand'];
        ?>
</font>
                </p>
                <p class="mt15">
                    <b class="f14">客服沟通&nbsp;:&nbsp;</b>
                    <font class="f14"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['feedback'];
        ?>
</font>
                </p>
                <p class="p51 rt mt30 mb10">
                    <a href="<?php 
        echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
        ?>
" title="赶紧发布招标吧" class="block a39">我要装修</a>
                    <span class="block span63"><b class="f14">赶紧发布招标吧!</b></span>
                </p>

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


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

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

            </div>  
        </div>
    </div>
 <?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
  <?php 
    }
    function content_55d7eea0259f83_67734385($_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';
        }
        ?>
<?php 
        echo $_smarty_tpl->getSubTemplate('mobile:block/header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!--头部开始-->
	<div class="mobile_top">
    	<div class="mobile_top_son">
        	<a href="<?php 
        echo smarty_function_link(array('ctl' => 'index'), $_smarty_tpl);
        ?>
" class="detail-first"><img src="images/back_bg.png" width="10"/></a>
            <div class="detail-second">免费设计/报价</div>
        </div>
    </div>
    <div class="h45"></div>
<!--头部结束-->
<!--主题部分开始-->
	<div class="mobile_main hauto">
    	<div class="mobile_tenders">
        	<form id='tenders_form'>
            	<table>
                	<tr>
                    	<td><i>*</i>&nbsp;&nbsp;您的称呼</td>  
                    </tr>
                    <tr>
                    	<td><input type="text" class="public_text" id="names"  name="data[name]"/></td>
                    </tr>
                    <tr>
                    	<td><i>*</i>&nbsp;&nbsp;您的电话</td>
                    </tr>
                    <tr>
                    	<td><input type="text" class="public_text" id="tel" name="data[mobile]"/></td>
                    </tr>
                     <tr>
                    	<td>房屋面积(&nbsp;㎡&nbsp;)</td>
                    </tr>
                    <tr>
                    	<td><input type="text" class="public_text" name="data[area]"/></td>
                    </tr>
                    <tr>
                    	<td height="120">
                        	<select name='data[city_id]' class="select1">
                            	<?php 
        echo smarty_function_widget(array('id' => "data/city", 'value' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_smarty_tpl);
        ?>

                            </select>
                            <select name='data[area_id]' class="select1 mt10">
                            	<?php 
        echo smarty_function_widget(array('id' => "data/area", 'value' => 0, 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_smarty_tpl);
        ?>

                            </select>
                            <input type="text" name="data[home_name]" class="public_text2 mt10" value="请输入您的小区名称"/>
                        </td>
                    </tr>
                    <script>
						  $(document).ready(function(){
							  $(".public_text2").focus(function(){
								  if($(this).val() == '请输入您的小区名称') $(this).val('');
							  }).focusout(function(){
								  if($(this).val() == '') $(this).val('请输入您的小区名称');
							  });

						  });
   					</script>
                    <tr id='showErr' style="display: none;">
                        <td style="text-align: center;" ><font id="showTxt" style=" color: red; font-size: 14px;"></font></td>
                    </tr>
                    <tr>
                    	<td height="60"><input type="button" id='tender_submit' class="public_text1" value="立刻申请"/></td>
                    </tr>
                    
                </table>
            </form>
        </div>
        <div class="fabu_ok_bg " style="display: none;">
            <div class="fabu_ok">
                <h3>
                    <img src="images/renzhen.png" alt="成功">提交成功
                </h3>
                <p>稍后您的专职装修管家将与您联系,为您讲解装修流程和相关注意事 项,装修过程中遇到的任何问题都可 以咨询您的专职装修管家。服务热线:<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['phone'];
        ?>
</p>
                <input type="button" class="public_text1" id='wozhidao' value="我知道了"/>
            </div>
        </div>
        <div class="h45"></div>
	</div>
<!--主题部分结束-->

<script type="text/javascript">
    var lock = 0;
    (function(K, $) {
        function showmsg(message){
            $("#showErr").show();
            $('#showTxt').html(message);
        }
        $("#tender_submit").click(function(){
            //判断用户名
            var mobiles =document.getElementById("names");
            if( mobiles == "" ){
                alert("请输入你的姓名,方便我们及时联系您!");
                return false;
            }
            //11位手机号判断
            var mobile =document.getElementById("tel");
            var reg = /^1[3|4|5|8|7][0-9]\d{8}$/;
                   if(!reg.test($.trim($('#tel').val())))
                   {
                    alert("手机号码格式不对,请输入11位正确号码!");
                    return false;
                   }

          if (lock == 0) {    
                lock = 1;
                $.post("<?php 
        echo smarty_function_link(array('ctl' => 'tenders:save'), $_smarty_tpl);
        ?>
",$("#tenders_form").serialize(),function(ret){
                        if(ret.error){
                            lock = 0 ;
                            showmsg(ret.message);
                        }else{ 
                            $(".fabu_ok_bg").show();     
                            $(".mobile_tenders").hide();
                        }


                    },'json');
            }
            
        });
        
        $("#wozhidao").click(function(){
            window.location='<?php 
        echo smarty_function_link(array('ctl' => "index"), $_smarty_tpl);
        ?>
';
        });
        
        $("select[name='data[city_id]']").live('change', function() {
            var city_id = $(this).val();
            if (!city_id) {
                return false;
            }


            var link = "<?php 
        echo smarty_function_link(array('ctl' => 'magic:area', 'arg0' => '#city_id#'), $_smarty_tpl);
        ?>
"
            $.getJSON(link.replace("#city_id#", city_id), function(ret) {
                if (ret.error) {
                    alert(ret.message.join(","));
                } else if (ret.areas.length > 0) {
                    var html = "";
                    for (var i = 0; i < ret.areas.length; i++) {
                        html += '<option value="' + ret.areas[i].area_id + '">' + ret.areas[i].area_name + '</option>';
                    }
                    $("select[name='data[area_id]']").html(html);
                } else {
                    $("select[name='data[area_id]']").html('<option value="">--</option>');
                }
            });
        });
    })(window.KT, window.jQuery);
</script>
<?php 
        echo $_smarty_tpl->getSubTemplate('mobile:block/footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


<?php 
    }
    function content_55d7ea6dd6fef1_21029648($_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_YMD')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.YMD.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        echo $_smarty_tpl->getSubTemplate("ucenter/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<script type="text/javascript" src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['res'];
        ?>
/script/widget.YMD.js"></script>
<div class="filter_tabs">
    <a href="<?php 
        echo smarty_function_link(array('ctl' => 'ucenter/member:info'), $_smarty_tpl);
        ?>
" class="tab on">人个资料</a><i></i>
	<a href="<?php 
        echo smarty_function_link(array('ctl' => 'ucenter/member:face'), $_smarty_tpl);
        ?>
" class="tab">修改头像</a><i></i>
	<a href="<?php 
        echo smarty_function_link(array('ctl' => 'ucenter/member:mail'), $_smarty_tpl);
        ?>
" class="tab">修改邮箱</a><i></i>
    <a href="<?php 
        echo smarty_function_link(array('ctl' => 'ucenter/member:passwd'), $_smarty_tpl);
        ?>
" class="tab">修改密码</a><i></i>
</div>
<div class="set_c4">
<form id="account-form">
<table cellspacing="0" cellpadding="0" class="form">
    <tr>
        <th>用户名:</th><td>&nbsp;<?php 
        echo $_smarty_tpl->tpl_vars['MEMBER']->value['uname'];
        ?>
</td>
    </tr>
    <tr>
        <th>邮箱:</th>
        <td><?php 
        echo $_smarty_tpl->tpl_vars['MEMBER']->value['mail'];
        ?>
<span><b>&nbsp;<?php 
        if ($_smarty_tpl->tpl_vars['MEMBER']->value['verify_mail']) {
            ?>
<span style="color: green;">已验证</span><?php 
        } else {
            ?>
<a  href="<?php 
            echo smarty_function_link(array('ctl' => 'ucenter/member:email'), $_smarty_tpl);
            ?>
">立刻收邮件认证</a><?php 
        }
        ?>
</b></span></td>
    </tr>
    <tr>
        <th><span class="red">&nbsp;</span>手机:</th>
        <td>
            <?php 
        if ($_smarty_tpl->tpl_vars['MEMBER']->value['verify_mobile']) {
            echo $_smarty_tpl->tpl_vars['MEMBER']->value['mobile'];
            ?>
 <span style="color: green;">已验证</span><?php 
        } else {
            ?>
            <input type="text" name="account[mobile]" value="<?php 
            echo $_smarty_tpl->tpl_vars['MEMBER']->value['mobile'];
            ?>
" class="input"/> <b>&nbsp;<a href="<?php 
            echo smarty_function_link(array('ctl' => 'ucenter/member:mobile'), $_smarty_tpl);
            ?>
">立刻认证</a></b> <?php 
        }
        ?>
        </td>
    </tr>
    <?php 
        if ($_smarty_tpl->tpl_vars['MEMBER']->value['from'] == 'member') {
            ?>
    <tr>
        <th>类型:</th>
        <td>
            <select name="account[from]">
                
                <?php 
            $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['item']->_loop = false;
            $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
            $_from = $_smarty_tpl->tpl_vars['fromlist']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
                $_smarty_tpl->tpl_vars['item']->_loop = true;
                $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
                ?>
 
                        <?php 
                if ($_smarty_tpl->tpl_vars['key']->value != 'mechanic') {
                    ?>
                        <option value="<?php 
                    echo $_smarty_tpl->tpl_vars['key']->value;
                    ?>
" <?php 
                    if ($_smarty_tpl->tpl_vars['MEMBER']->value['from'] == $_smarty_tpl->tpl_vars['key']->value) {
                        ?>
selected="selected"<?php 
                    }
                    ?>
  ><?php 
                    echo $_smarty_tpl->tpl_vars['item']->value;
                    ?>
</option>
                        <?php 
                }
                ?>
                <?php 
            }
            ?>
            </select>
            业主可以选择更换用户类型!更换后不能变更回来!
        </td>
    </tr>
    <?php 
        }
        ?>
    <tr>
        <th><span class="red">*&nbsp;</span>性别:</td>
        <td>
            <label><input type="radio" name="account[gender]" value="man" <?php 
        if ($_smarty_tpl->tpl_vars['MEMBER']->value['gender'] == 'man') {
            ?>
checked="checked"<?php 
        }
        ?>
/>&nbsp;男&nbsp;</label>
            <label><input type="radio" name="account[gender]" value="womain" <?php 
        if ($_smarty_tpl->tpl_vars['MEMBER']->value['gender'] == 'woman') {
            ?>
checked="checked"<?php 
        }
        ?>
/>&nbsp;女&nbsp;&nbsp;</label>
        </td>
    </tr>
       <tr height="40">
        <th><span class="red">*&nbsp;</span>生日:</th>
        <td><?php 
        echo smarty_function_YMD(array('Y' => $_smarty_tpl->tpl_vars['MEMBER']->value['Y'], 'M' => $_smarty_tpl->tpl_vars['MEMBER']->value['M'], 'D' => $_smarty_tpl->tpl_vars['MEMBER']->value['D'], 'name' => "account", 'class' => "select"), $_smarty_tpl);
        ?>
</td>
    </tr>
    <tr>
        <th><span class="red">*&nbsp;</span>城市:</th>
        <td><select name="account[city_id]" class="select"><option value="0">选择城市</option><?php 
        echo smarty_function_widget(array('id' => "data/city", 'value' => $_smarty_tpl->tpl_vars['MEMBER']->value['city_id']), $_smarty_tpl);
        ?>
</select></td>
    </tr>
    <tr>
    <th></th><td><input action="<?php 
        echo smarty_function_link(array('ctl' => 'ucenter/member:info'), $_smarty_tpl);
        ?>
" mini-submit="#account-form" type="button" value="保存" class="set_btn" /></td>
    </tr>
</table>
</form>
</div>
<?php 
        echo $_smarty_tpl->getSubTemplate("ucenter/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_55d80481933a10_50004533($_smarty_tpl)
    {
        if (!is_callable('smarty_function_link')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
        }
        if (!is_callable('smarty_function_widget')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
        }
        if (!is_callable('smarty_block_calldata')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
        }
        if (!is_callable('smarty_block_KT')) {
            include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.KT.php';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                    } else {

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

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

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

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

                    </ul>
                </div>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                    </div>

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

                    </div>
                </div>

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

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

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

            });

        });

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

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

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

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

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



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

                } else {

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

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

        });

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

                } else {

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

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

        });


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

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


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

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



</script>
<?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_55d7e9745d7c26_66599403($_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';
        }
        echo $_smarty_tpl->getSubTemplate("admin:common/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<div class="page-title">
    <table width="100%" align="center" cellpadding="0" cellspacing="0" >
      <tr>
        <td width="30" align="right"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['url'];
        ?>
/images/main-h5-ico.gif" alt="" /></td>
        <th><?php 
        echo $_smarty_tpl->tpl_vars['MOD']->value['title'];
        ?>
</th>
        <td align="right"><?php 
        echo smarty_function_link(array('ctl' => "company/company", 'priv' => "hidden", 'class' => "button"), $_smarty_tpl);
        ?>
</td>
        <td width="15"></td>
      </tr>
    </table>
</div>
<div class="page-data">
<form action="?company/company-create.html" mini-form="decorate-form" method="post" ENCTYPE="multipart/form-data">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
    <li><a href="#table-info">基本信息</a></li>
    <li><a href="#table-attr">公司属性</a></li>
</ul>
<table width="100%" border="0" cellspacing="0"   id="table-info" class="table-data form">
<tr><th>公司名称:</th><td><input type="text" name="data[name]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['name']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-300"/></td></tr>
<tr>
    <th>所属会员:</th>
    <td>
        <input type="hidden" name="data[uid]" value="0" id="company_member_id" />
        <input type="text" value="" id="company_member_uname" class="input w-300"/>
        <?php 
        echo smarty_function_link(array('ctl' => "member/member:dialog", 'arg0' => "company", 'select' => "mini:#company_member_id,#company_member_uname/N/选择用户", 'title' => "选择用户", 'class' => "button"), $_smarty_tpl);
        ?>

    </td>
</tr>
<tr><th class="w-100">城市:</th><td>
<label>城市:<select name="data[city_id]" class="w-100"><?php 
        echo smarty_function_widget(array('id' => "data/city", 'value' => $_smarty_tpl->tpl_vars['detail']->value['city_id']), $_smarty_tpl);
        ?>
</select></label>
<label>地区:<select name="data[area_id]" class="w-100"><?php 
        echo smarty_function_widget(array('id' => "data/area", 'value' => $_smarty_tpl->tpl_vars['detail']->value['area_id'], 'city_id' => $_smarty_tpl->tpl_vars['detail']->value['city_id']), $_smarty_tpl);
        ?>
</select></label>
</td></tr>
<tr><th>公司简称:</th><td><input type="text" name="data[sort_name]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['sort_name']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-300"/></td></tr>
<tr><th>服务口号:</th><td><input type="text" name="data[slogan]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['slogan']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-300"/></td></tr>
<tr><th>长方形LOGO:</th><td><input type="file" name="data[logo]" class="input w-300" /></td></tr>
<tr><th>正方形LOGO:</th><td><input type="file" name="data[square_logo]" class="input w-300" /></td></tr>
<tr><th>联系人:</th><td><input type="text" name="data[contact]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['contact']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-300"/></td></tr>
<tr><th>电话:</th><td><input type="text" name="data[tel]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['tel']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-300"/></td></tr>
<tr><th>手机:</th><td><input type="text" name="data[mobile]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['mobile']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-300"/></td></tr>
<tr><th>QQ:</th><td><input type="text" name="data[qq]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['qq']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-300"/></td></tr>

<tr><th>地址:</th><td><input type="text" name="data[addr]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['addr']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-300"/></td></tr>
<tr><th>保障金:</th><td><input type="text" name="data[security]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['security']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-100"/></td></tr>
<tr><th>评分:</th><td><input type="text" name="data[scores]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['scores']) === null || $tmp === '' ? '50' : $tmp;
        ?>
" class="input w-100"/></td></tr>
<tr><th>公司介绍:</th><td><textarea name="ex[intro]" kindeditor="full" style="width:500px;height:250px;"><?php 
        echo $_smarty_tpl->tpl_vars['detailex']->value['intro'];
        ?>
</textarea><br /></td></tr>
<tr><th>是否审核</th><td>
<ul class="group-list">
    <li><label><input type="radio" name="data[audit]" value="0" >待审核</label></li>
    <li><label><input type="radio" name="data[audit]" value="1" checked="checked">已审核</label></li>
    <div class="clear-both"></div>
</ul>
</td></tr>
<tr><th>排序:</th><td><input type="text" name="data[orderby]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['orderby']) === null || $tmp === '' ? '' : $tmp;
        ?>
" class="input w-100"/></td></tr>
<tr><th>百度地图:</th>
	<td>
		<label>经度:<input type="text" name="data[lng]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['lng']) === null || $tmp === '' ? '' : $tmp;
        ?>
" id="Bmap_marker_lng" class="input w-100"/></label>
		<label>纬度:<input type="text" name="data[lat]" value="<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['lat']) === null || $tmp === '' ? '' : $tmp;
        ?>
" id="Bmap_marker_lat" class="input w-100"/></label>	
		<span class="tip-comment">使用百度地图经纬度<a map-marker="#Bmap_marker_lng,#Bmap_marker_lat" ><b>拾取工具</b></a></span>
	</td>
</tr>
    <tr><th class="clear-th-bottom"></th><td class="clear-td-bottom" colspan="10"><input type="submit" class="bt-big" value="提交数据" /></td></tr>
</table>
        
<table width="100%" border="0" cellspacing="0" class="table-data form" id="table-attr" style="display:none;">
<?php 
        echo smarty_function_widget(array('id' => "attr/form", 'from' => "zx:company"), $_smarty_tpl);
        ?>

<tr><th class="clear-th-bottom"></th><td class="clear-td-bottom" colspan="10"><input type="submit" class="bt-big" value="提交数据" /></td></tr>
</table>    
</form></div>
<script type="text/javascript" src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['res'];
        ?>
/script/widget.bmap.js"></script>
<script type="text/javascript" src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['res'];
        ?>
/kindeditor/kindeditor.js"></script>
<script type="text/javascript">
(function(K, $){
$("div.page-data").tabs();
var editor = KindEditor.create('textarea[kindeditor]', {uploadJson : '?magic/upload-editor.html', extraFileUploadParams:{OATOKEN:"<?php 
        echo $_smarty_tpl->tpl_vars['OATOKEN']->value;
        ?>
"}});
$("select[name='data[city_id]']").live('change', function(){
	var city_id = $(this).val();
	if(!city_id){return false;}
	$.getJSON("?data/area-city-"+city_id+".html", function(ret){
		if(ret.error){
			Widget.MsgBox.error(ret.message.join(","));
		}else if(ret.areas.length>0){
			var html = "";
			for(var i=0; i<ret.areas.length; i++){
				html += '<option value="'+ret.areas[i].area_id+'">'+ret.areas[i].area_name+'</option>';
			}
			$("select[name='data[area_id]']").html(html);		
		}else{
			$("select[name='data[area_id]']").html('<option value="">--</option>');
		}
	});
});
})(window.KT, window.jQuery);
</script>


<?php 
        echo $_smarty_tpl->getSubTemplate("admin:common/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_55d7ea82cad779_93034760($_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';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


    <!----------头部和导航公共部分------------>  
    <!--        主题部分开始               -->
     <div class="index_b_bg hauto">
     	<!--         你所在的位置开始             -->
       <div class="w1000 bgwhite ask_list_weizhi">
        <span class="span11 icobg block_lt"></span>
        <span class="block_lt">您当前所在的位置:</span>
        <a title="<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'index'), $_smarty_tpl);
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a>
        <span class="block_lt">></span>
        <a title="我搜我家" href="<?php 
        echo smarty_function_link(array('ctl' => 'home'), $_smarty_tpl);
        ?>
" class="block_lt">我搜我家</a>
        <span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
</a>
         <span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:cases', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
的设计方案" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
的设计方案</a>
         <span class="block_lt">></span>
         <a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:caseDetail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id'], 'arg1' => $_smarty_tpl->tpl_vars['case']->value['case_id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['case']->value['title'];
        ?>
" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['case']->value['title'];
        ?>
</a>
    </div>
    <div class="cl"></div>
    <!--        你所在的位置结束      -->
    <!--        标题开始     -->
    <div class="home_buildings_title w1000 mt20 hauto mb10">
        <p class="lt p22"><a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
</a></p>
        <p class="lt ml20">
            <span><a href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['pv_num'];
        ?>
</a>人关注</span><br />
            <span>本楼盘qq群:<font class="red"><?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['qq_qun'];
        ?>
</font></span>
        </p>
    </div>
        <!--        标题结束     -->
        <div class="cl"></div>
        <!--    找我家楼盘页面主题开始-->
        <div class="home_buildings_main w1000 hauto mt10">
        <!--        子页面导航开始     -->
        <div class="w1000 son_menu orgbgg">
                <ul>
                    <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
楼盘主页" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" >楼盘主页</a></li>
                    <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
设计方案" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:cases', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
" class="current6">设计方案</a></li>
                    <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
楼盘详情" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:info', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
">楼盘详情</a></li>
                    <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
实景图" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:photo', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id'], 'arg1' => 2), $_smarty_tpl);
        ?>
">实景图</a></li>
                    <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
户型图" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:photo', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id'], 'arg1' => 1), $_smarty_tpl);
        ?>
">户型图</a></li>
                    <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
样板间" href="<?php 
        echo smarty_function_link(array('ctl' => 'home:photo', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['id'], 'arg1' => 3), $_smarty_tpl);
        ?>
">样板间</a></li>
                    <li><a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
在建工地" href="<?php 
        echo smarty_function_link(array('ctl' => 'site'), $_smarty_tpl);
        ?>
">在建工地</a></li>
                </ul>
        </div>
        <!--        子页面导航结束     -->
        <!--     主题左面开始 -->
        	<div class="home_buildings_main_l hauto lt mt15">
            	<div class="home_buildings_main_l_t bgwhite hauto hauto">
                	<div class="home_design_fa_l lt">
                        <a target="_blank" title="<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['name'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id']), $_smarty_tpl);
        ?>
" class="a9"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['img'];
        ?>
/<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['logo'];
        ?>
" width="135" height="70" /></a>
                        <p>
                            
                        </p>
                    </div>
                    <div class="home_design_fa_c lt hauto">
                    	<h3>设计方案提供者:<a target="_blank" title="<?php 
        echo $_smarty_tpl->tpl_vars['company']->value['name'];
        ?>
" href="<?php 
        echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['company']->value['company_id']), $_smarty_tpl);
        ?>
" ><?php 
        echo $_smarty_tpl->tpl_vars['company']->value['name'];
        ?>
</a></h3>
                        <span class="span28">
                            <b>服务理念:</b> <?php 
        echo $_smarty_tpl->tpl_vars['company']->value['slogan'];
        ?>

                        </span>
                    </div>
                    <div class="home_design_fa_r lt hauto">
                    	<span class="ftw f14 blackb8">喜欢这个风格?找他设计</span>
                        <a href="/tenders.html"  target="_blank" class="a11 block orgbg">免费预约</a>
                    </div>
                    <div class="cl"></div>
                    <span class="block mt20"></span>
                </div>
                <div class="home_building_small_menu">
                	<ul>  
            
                        <li><a href="#pmbzt">平面布置图</a></li>
                        <li><a href="#sjt">设计图</a></li>
                        <li><a href="#sjsl">设计思路</a></li>
                    </ul>
                </div>
                 <div class="home_building_content hauto bgwhite">
                	<div class="home_building_content_b hauto">
                    	<p class="p28">
                        <a href="###sjsl" name="sjsl" class="white"><b>设计思路:</b></a><br />
                            <?php 
        echo $_smarty_tpl->tpl_vars['case']->value['intro'];
        ?>

                        </p>
                    </div>
                </div>
                <div class="home_building_content hauto bgwhite">
                	<div class="home_building_content_b hauto">
                    	<a href="###pmbzt" class="a6 bluebgg mb10" name="pmbzt">平面布置图</a>
                        <a title="<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
平面布置图" href="###"><img alt='<?php 
        echo $_smarty_tpl->tpl_vars['detail']->value['name'];
        ?>
平面布置图' src="<?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['img'];
        ?>
/<?php 
        echo $_smarty_tpl->tpl_vars['case']->value['photo'];
        ?>
" width="690" /></a>
                      
                    </div>
                </div>
               
                <div class="home_building_content hauto bgwhite">
                	<div class="home_building_content_b1 hauto">
                    	<a href="###sjt" class="a6 pinkbg mb10" name="sjt">设计图</a>
                        <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['case_pics']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item']->iteration = 0;
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['item']->iteration++;
            ?>
                        <?php 
            if ($_smarty_tpl->tpl_vars['item']->iteration == 1) {
                ?>
                        <?php 
            } else {
                ?>
                        <a title="<?php 
                echo $_smarty_tpl->tpl_vars['detail']->value['name'];
                ?>
平面布置图" href="###"><img alt='<?php 
                echo $_smarty_tpl->tpl_vars['detail']->value['name'];
                ?>
设计图' src="<?php 
                echo $_smarty_tpl->tpl_vars['pager']->value['img'];
                ?>
/<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['photo'];
                ?>
" width="690"/></a>
                        <?php 
            }
            ?>
                        <?php 
        }
        ?>
                    </div>
                </div>
                
            </div>
        <!-- 主题左面结束-->
        <!-- 主题右面开始-->
        <div class="home_buildings_main_r hauto lt mt15 ml20">
             <?php 
        echo smarty_function_widget(array('id' => 'home/tuan', 'home_id' => $_smarty_tpl->tpl_vars['detail']->value['id']), $_smarty_tpl);
        ?>
          
            <div class="ads5 hauto">
                <?php 
        echo smarty_function_widget(array('id' => "adv", 'name' => "我搜我家详情页右侧广告位", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'limit' => "5"), $_smarty_tpl);
        ?>

            
            </div>
            <div class="home_buildings_laest_designfa hauto mt25">
              <?php 
        echo smarty_function_widget(array('id' => "case/casenew", 'limit' => 5), $_smarty_tpl);
        ?>

            </div>
        </div>
        <!-- 主题右面结束-->
        	
        </div>
        <!--    找我家楼盘页面主题结束-->
       

<script>
	$(document).ready(function(){
	$(".son_menu ul li:last").css('background','none')	;
	$(".home_building_small_menu ul li:last").css('background','none')	;
	$(".home_buildings_laest_designfa_show ul li:last").css('border-bottom','none')	;
	
	
	
	$(".home_buildings_laest_designfa_show ul li").mouseover(function(){
		var index = $(this).index();
		$(".home_buildings_laest_designfa_show ul li").each(function(a){
			if(a == index){
				$(this).css('background','#EAEAEA');
				$(this).css('border-bottom','none');
				
			}else{
         	$(this).css('background','');	
	 		}
		});	
		}).mouseout(function(){
			$(this).css('background','');
			$(this).css('border-bottom','');
		});
		
		
				
			

				  
	});
</script>

    <?php 
        echo $_smarty_tpl->getSubTemplate("block/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
         <?php 
    }
    function content_55d7ed3c773ed6_86571122($_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';
        }
        echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<!--         主题部分开始           -->
<div class="index_b_bg hauto">
    <!--         你所在的位置开始             -->
    <div class="w1000 bgwhite ask_list_weizhi">
        <span class="span11 icobg block_lt"></span>
        <span class="block_lt">您当前所在的位置:</span>
        <a title="<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="\" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a>
        <span class="block_lt">></span>
        <a title="学装修" href="<?php 
        echo smarty_function_link(array('ctl' => 'content'), $_smarty_tpl);
        ?>
" class="block_lt">学装修</a>
        <span class="block_lt">></span>
        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:diary'), $_smarty_tpl);
        ?>
" title="装修日记" class="block_lt">装修日记</a>
    </div>
    <div class="cl"></div>
    <!--        你所在的位置结束      -->
    <!--        引导开始             -->
    <div class="w1000 dirary_list hauto bgwhite mt20">
        <div class="dirary_list_t hauto">
            <p class="h30 bodr_b ftw f14">
                <font >看装修日记选</font>
                <font class="red">最值得信赖</font>
                <font>的装修公司!</font>
            </p>
            <div class="home_list_area hauto bodr_b_x mt10">
                <span class="block_lt span75"><b>装修方式&nbsp;:&nbsp;</b></span>

                <a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:diary', 'arg0' => $_smarty_tpl->tpl_vars['pager']->value['status'], 'arg1' => $_smarty_tpl->tpl_vars['pager']->value['type_id'], 'arg2' => 0, 'arg3' => $_smarty_tpl->tpl_vars['pager']->value['orderby']), $_smarty_tpl);
        ?>
" class="block_lt <?php 
        if (empty($_smarty_tpl->tpl_vars['pager']->value['way_id'])) {
            ?>
a1<?php 
        }
        ?>
">不限</a>

                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['cfg_setting']->value[$_smarty_tpl->tpl_vars['cfg_type']->value['way']];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                <a href="<?php 
            echo smarty_function_link(array('ctl' => 'content:diary', 'arg0' => $_smarty_tpl->tpl_vars['pager']->value['status'], 'arg1' => $_smarty_tpl->tpl_vars['pager']->value['type_id'], 'arg2' => $_smarty_tpl->tpl_vars['key']->value, 'arg3' => $_smarty_tpl->tpl_vars['pager']->value['orderby']), $_smarty_tpl);
            ?>
" class="block_lt  <?php 
            if ($_smarty_tpl->tpl_vars['pager']->value['way_id'] == $_smarty_tpl->tpl_vars['key']->value) {
                ?>
a1<?php 
            }
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</a>

                <?php 
        }
        ?>
                <div class="cl"></div>
                <div class="h10"></div>
            </div>
            <div class="home_list_area hauto bodr_b_x mt10">
                <span class="block_lt span75"><b>房屋户型&nbsp;:&nbsp;</b></span>

                <a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:diary', 'arg0' => $_smarty_tpl->tpl_vars['pager']->value['status'], 'arg1' => 0, 'arg2' => $_smarty_tpl->tpl_vars['pager']->value['way_id'], 'arg3' => $_smarty_tpl->tpl_vars['pager']->value['orderby']), $_smarty_tpl);
        ?>
" class="block_lt <?php 
        if (empty($_smarty_tpl->tpl_vars['pager']->value['type_id'])) {
            ?>
a1<?php 
        }
        ?>
">不限</a>

                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['cfg_setting']->value[$_smarty_tpl->tpl_vars['cfg_type']->value['house_type']];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                <a href="<?php 
            echo smarty_function_link(array('ctl' => 'content:diary', 'arg0' => $_smarty_tpl->tpl_vars['pager']->value['status'], 'arg1' => $_smarty_tpl->tpl_vars['key']->value, 'arg2' => $_smarty_tpl->tpl_vars['pager']->value['way_id'], 'arg3' => $_smarty_tpl->tpl_vars['pager']->value['orderby']), $_smarty_tpl);
            ?>
" class="block_lt  <?php 
            if ($_smarty_tpl->tpl_vars['pager']->value['type_id'] == $_smarty_tpl->tpl_vars['key']->value) {
                ?>
a1<?php 
            }
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</a>

                <?php 
        }
        ?>

                <div class="cl"></div>
                <div class="h10"></div>
            </div>
            <div class="home_list_area hauto bodr_b_x mt10">
                <span class="block_lt span75"><b>施工阶段&nbsp;:&nbsp;</b></span>
                <a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:diary', 'arg0' => 0, 'arg1' => $_smarty_tpl->tpl_vars['pager']->value['type_id'], 'arg2' => $_smarty_tpl->tpl_vars['pager']->value['way_id'], 'arg3' => $_smarty_tpl->tpl_vars['pager']->value['orderby']), $_smarty_tpl);
        ?>
" class="block_lt <?php 
        if (empty($_smarty_tpl->tpl_vars['pager']->value['status'])) {
            ?>
a1<?php 
        }
        ?>
">不限</a>

                <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['cfg_status']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
                <a href="<?php 
            echo smarty_function_link(array('ctl' => 'content:diary', 'arg0' => $_smarty_tpl->tpl_vars['key']->value, 'arg1' => $_smarty_tpl->tpl_vars['pager']->value['type_id'], 'arg2' => $_smarty_tpl->tpl_vars['pager']->value['way_id'], 'arg3' => $_smarty_tpl->tpl_vars['pager']->value['orderby']), $_smarty_tpl);
            ?>
" class="block_lt  <?php 
            if ($_smarty_tpl->tpl_vars['pager']->value['status'] == $_smarty_tpl->tpl_vars['key']->value) {
                ?>
a1<?php 
            }
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</a>

                <?php 
        }
        ?>

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

        </div>

    </div>
    <!--        引导结束             -->
    <div class="ask_detail_main w1000 mt15 hauto">
        <!--        位置结束左面下开始       -->
        <div class="ask_detail_main_l hauto mt5 lt bgwhite">
            <div class="dirary_list_l_title">
                <ul>
                    <li>
                        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:diary', 'arg0' => $_smarty_tpl->tpl_vars['pager']->value['status'], 'arg1' => $_smarty_tpl->tpl_vars['pager']->value['type_id'], 'arg2' => $_smarty_tpl->tpl_vars['pager']->value['way_id'], 'arg3' => 0), $_smarty_tpl);
        ?>
" class="block_lt a40">按照最新发布</a>
                        <span class="block_lt <?php 
        if ($_smarty_tpl->tpl_vars['pager']->value['orderby'] == 0) {
            ?>
span78<?php 
        } else {
            ?>
span77<?php 
        }
        ?>
 acitivity_ico1"> </span>

                    </li>
                    <li>
                        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:diary', 'arg0' => $_smarty_tpl->tpl_vars['pager']->value['status'], 'arg1' => $_smarty_tpl->tpl_vars['pager']->value['type_id'], 'arg2' => $_smarty_tpl->tpl_vars['pager']->value['way_id'], 'arg3' => 1), $_smarty_tpl);
        ?>
" class="block_lt a40">按照阅读最多</a>
                        <span class="block_lt <?php 
        if ($_smarty_tpl->tpl_vars['pager']->value['orderby'] == 1) {
            ?>
span78<?php 
        } else {
            ?>
span77<?php 
        }
        ?>
 acitivity_ico1"></span>
                    </li>
                    <li>
                        <a href="<?php 
        echo smarty_function_link(array('ctl' => 'content:diary', 'arg0' => $_smarty_tpl->tpl_vars['pager']->value['status'], 'arg1' => $_smarty_tpl->tpl_vars['pager']->value['type_id'], 'arg2' => $_smarty_tpl->tpl_vars['pager']->value['way_id'], 'arg3' => 2), $_smarty_tpl);
        ?>
" class="block_lt a40">按照评论最多</a>
                        <span class="block_lt <?php 
        if ($_smarty_tpl->tpl_vars['pager']->value['orderby'] == 2) {
            ?>
span78<?php 
        } else {
            ?>
span77<?php 
        }
        ?>
 acitivity_ico1"></span>

                    </li>
                </ul>
            </div>
            <div class="dirary_list_l_b hauto  dirary_list_l_b_0">
                <ul>
                    
                    <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['items']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                    <li>
                        <a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'content:diaryDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['diary_id']), $_smarty_tpl);
            ?>
"><img alt="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" src="<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value['img'];
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['face_pic'];
            ?>
" width="80" height="60"/></a>
                        <div class="dirary_list_l_b_r lt ml15">
                            <p><a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'content:diaryDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['diary_id']), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
</a></p>
                            <p>
                                <font class="f12">小区:<a target="_blank" title="<?php 
            echo ($tmp = @$_smarty_tpl->tpl_vars['home_list']->value[$_smarty_tpl->tpl_vars['item']->value['home_id']]['name']) === null || $tmp === '' ? '--' : $tmp;
            ?>
" href="<?php 
            echo smarty_function_link(array('ctl' => 'home:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['home_id']), $_smarty_tpl);
            ?>
"><?php 
            echo ($tmp = @$_smarty_tpl->tpl_vars['home_list']->value[$_smarty_tpl->tpl_vars['item']->value['home_id']]['name']) === null || $tmp === '' ? '--' : $tmp;
            ?>
</a>     状态:<?php 
            echo $_smarty_tpl->tpl_vars['cfg_status']->value[$_smarty_tpl->tpl_vars['item']->value['status']];
            ?>
    合同总价:</font>
                                <font class="f12 red">¥<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['total_price'];
            ?>
</font>
                            </p>
                            <p class="p49">
                                <span class="block_lt span79">
                                    <font>开工时间:<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['start_date'];
            ?>
</font><font> 施工:</font>
                                    <a title="<?php 
            echo ($tmp = @$_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['name']) === null || $tmp === '' ? '--' : $tmp;
            ?>
" target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
            ?>
"><?php 
            echo ($tmp = @$_smarty_tpl->tpl_vars['company_list']->value[$_smarty_tpl->tpl_vars['item']->value['company_id']]['name']) === null || $tmp === '' ? '--' : $tmp;
            ?>
</a>
                                </span>
                                <span class="block rt span80">
                                   <a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'content:diaryDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['diary_id']), $_smarty_tpl);
            ?>
">详情</a>
                                </span>

                            </p>
                            <p class="cl"></p>
                            <p class="p50">
                                <span class="block_lt span81">
                                    <b class="org"><?php 
            echo ($tmp = @$_smarty_tpl->tpl_vars['userList']->value[$_smarty_tpl->tpl_vars['item']->value['uid']]['uname']) === null || $tmp === '' ? '游客' : $tmp;
            ?>
</b><font>提供</font>
                                </span>
                                <span class="block rt span82">
                                    <font>日记&nbsp;:&nbsp;</font><font class="red"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['content_num'];
            ?>
篇</font>
                                    <font>阅读&nbsp;:&nbsp;</font><font class="red"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['pv_num'];
            ?>
</font>
                                    <font>评论&nbsp;:&nbsp;</font><font class="red"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['ping_num'];
            ?>
</font>
                                </span>
                            </p>
                        </div>
                    </li>  
                    <?php 
        }
        ?>
                    
                    

                </ul>
                <div class="dirary_list_page hauto">
                    <div class="page">
                        
                            <?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];
        ?>

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




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

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

            </div>
            <div class="today_tuijian hauto">
                <h2 class="mb10 mt10">今日推荐</h2>
                <div class="today_tuijian_b hauto bgwhite">
                   <?php 
        echo smarty_function_widget(array('id' => 'diary/right', 'limit' => 10, 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_smarty_tpl);
        ?>

                </div>
            </div>


        </div>

        <!--        位置结束右面结束       -->
        <div class="cl"></div>

    </div>  
      <div class="h20"></div>       
</div>
<!--             主题部分结束    -->

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


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

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

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

            </div>
            <?php 
        }
        ?>


        </div>

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

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

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

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

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

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

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

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

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

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

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

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




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

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

            });
        </script>


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

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

            </div>  



        </div>

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

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


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

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

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


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

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

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

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

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


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

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

        </div>


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

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

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

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


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

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

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

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


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

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

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

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

            </div>

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

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


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

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


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


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

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

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


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

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





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

                });

            });

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



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

                });

            });

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

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


            /*在建工地*/

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




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

                });

            });

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



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

                });

            });

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

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



        });
    </script>

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

<!--         主题部分开始           -->
<div class="index_b_bg hauto">
    <!--         你所在的位置开始             -->
    <div class="w1000 mt15 bgwhite ask_list_weizhi">
        <span class="span11 icobg block_lt"></span>
        <span class="block_lt">您当前所在的位置:</span>
        <a title="<?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
" href="\" class="block_lt"><?php 
        echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
        ?>
</a>
        <span class="block_lt">></span>
        <a title="学装修" href="<?php 
        echo smarty_function_link(array('ctl' => 'content'), $_smarty_tpl);
        ?>
" class="block_lt">学装修</a>
        <span class="block_lt">></span>
        <a title="装修学堂" href="<?php 
        echo smarty_function_link(array('ctl' => 'content:items'), $_smarty_tpl);
        ?>
" class="block_lt">装修学堂</a>
        <?php 
        if ($_smarty_tpl->tpl_vars['cate_info']->value) {
            ?>
        <span class="block_lt">></span>
        <a href="<?php 
            echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['cate_info']->value['cat_id']), $_smarty_tpl);
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['cate_info']->value['title'];
            ?>
" class="block_lt"><?php 
            echo $_smarty_tpl->tpl_vars['cate_info']->value['title'];
            ?>
</a>
        <?php 
        }
        ?>
    </div>
    <div class="cl"></div>
    <!--        你所在的位置结束      -->
    <div class="ask_detail_main w1000 mt15 hauto">
        <!--        位置结束左面下开始       -->
        <div class="ask_detail_main_l hauto mt5 lt bgwhite">
            <div class="learn_decoration_list_t hauto">
                <div class="learn_decoration_list_t_t">
                    <ul>
                        <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['cates']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                        <li><a href="<?php 
            echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
"  <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['cat_id'] == $_smarty_tpl->tpl_vars['cate_info']->value['cat_id']) {
                ?>
class="current11" style="color: #FFF " <?php 
            }
            ?>
><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
</a></li>
                       <?php 
        }
        ?>
                    </ul>
                </div>
                <div class="cl"></div>
                <div class="learn_decoration_list_t_b mt15 hauto  learn_decoration_list_t_b_0">
                <ul>
                        <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['items']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
                        <li>
                            <p><a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['article_id']), $_smarty_tpl);
            ?>
" class="red ftw"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
</a></p>
                            <p><?php 
            echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['desc'], 180, '..');
            ?>
<a title="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['title'];
            ?>
" target="_blank" href="<?php 
            echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['article_id']), $_smarty_tpl);
            ?>
"  class="org">阅读全文>></a>
                            </p>
                            <p class="p53"><font>发布时间&nbsp;:&nbsp;</font><font><?php 
            echo date('Y-m-d', $_smarty_tpl->tpl_vars['item']->value['dateline']);
            ?>
</font></p>
                        </li>
                       <?php 
        }
        ?>
                    </ul>
                    <div class="learn_decoration_page mt20">
                        <div class="page">
                         
                              <?php 
        echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];
        ?>

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


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

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

            </div>
            <div class="today_tuijian hauto">
                <h2 class="mb10 mt10">经典日记</h2>
                <div class="today_tuijian_b hauto bgwhite">
                    <?php 
        echo smarty_function_widget(array('id' => 'diary/right', 'limit' => 10, 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id']), $_smarty_tpl);
        ?>

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