<!DOCTYPE html>
<html xmlns:wb="http://open.weibo.com/wb">
<head>
<meta charset="UTF-8" />
<link rel="apple-touch-icon" href="<?php echo $site_url; ?>apple-touch-icon.png">
<link rel="shortcut icon" type="image/x-icon" href="<?php echo $site_url; ?>favicon.ico">
<link rel="icon" type="image/x-icon" href="<?php echo $site_url; ?>favicon.ico">
<link rel="bookmark"href="<?php echo $site_url; ?>favicon.ico"type="image/x-icon" />
<title><?php echo $site_title; ?></title>
<meta name="keywords" content="<?php echo $site_keywords; ?>" />
<meta name="description" content="<?php echo $site_description; ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
<meta name="format-detection" content="telephyejian=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="//cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="<?php echo $site_url; ?>css/bootstrap.min.css">
<link rel="stylesheet" href="<?php echo $site_url; ?>css/yejian.css">
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?5abe8bad32d72cd7db258be5534e6596";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

</head>

<body>
<!--页头开始 叶健制作QQ296490257-->
<?php include $this->_include('header.html'); ?>
<!--页头结束 叶健制作QQ296490257-->
<!--正文开始 叶健制作QQ296490257-->
<div id="main-container" class="container">

<div class="row frontpage">
<!--摄影图文开始 叶健制作QQ296490257-->
    <div class="col-md-8">
        <div class="fp-yejian">
            <div id="carousel-yejian" class="carousel slide">

                <div class="carousel-inner">
                <?php $i = 0;   $return = $this->_listdata("modelid=2 num=7 thumb=1 catid=$catid"); extract($return); if (is_array($return))  foreach ($return as $key=>$c9) { ?>
                                    <div class="item<?php if ($i==0) { ?> active<?php } ?>">
                        <a href="<?php echo $c9['url']; ?>"><img class="fp-yejian-imagen" src="<?php echo image($c9[thumb]); ?>" alt="" /></a>                        <div class="fp-yejian-imagen-footer">
                          <?php echo $c9['title']; ?>                     </div>
                        <div class="fp-yejian-cita-wrapper">
                            <div class="fp-yejian-titulo-pubdate">
                                <p class="titulo"><?php echo $cats[$c9[catid]][catname]; ?></p>
                                <p class="dom"><?php echo date("d", $c9['time']); ?></p>
                                <p class="may"><?php echo date("m", $c9['time']); ?>月 <?php echo date("Y", $c9['time']); ?>年</p>
                            </div>
                            <div class="fp-yejian-cita">
                            <a href="<?php echo $c9['url']; ?>"><?php echo strcut($c9[description],200); ?> </a>                            </div>
                            <div class="clearfix"></div>
                        </div>
                    </div>  
<?php $i++;  } ?>                   
                                    
                                   
                         
                                </div>

                <a class="left carousel-control" href="#carousel-yejian" data-slide="prev">
                    <span class="glyphicon glyphicon-chevron-left"></span>
                </a>
                <a class="right carousel-control" href="#carousel-yejian" data-slide="next">
                    <span class="glyphicon glyphicon-chevron-right"></span>
                </a>
                <ol class="carousel-indicators">
                                    <li data-target="#carousel-yejian" data-slide-to="0" class="active"></li>
                                    <li data-target="#carousel-yejian" data-slide-to="1"></li>
                                    <li data-target="#carousel-yejian" data-slide-to="2"></li>
                                    <li data-target="#carousel-yejian" data-slide-to="3"></li>
                                    <li data-target="#carousel-yejian" data-slide-to="4"></li>
									<li data-target="#carousel-yejian" data-slide-to="5"></li>
									<li data-target="#carousel-yejian" data-slide-to="6"></li>
                                </ol>

            </div>
        </div>
        
    </div>
<!--摄影图文结束 叶健制作QQ296490257-->

    <div class="col-md-4">
        <div class="row">
            <div class="col-md-12">
			<!--情感文章开始 叶健制作QQ296490257-->
                <div class="fp-yejian-articulo">
                    <h4>
                    
                            情感文章
                           
                    </h4>
                    
                    <ul class="list-unstyled pasado">
					<?php $return = $this->_listdata("modelid=1 num=7 c9cms=1 catid=$catid"); extract($return); if (is_array($return))  foreach ($return as $key=>$c9) { ?>
                      <li>
                            <span class="text-muted"><?php echo date("Y-m-d", $c9['time']); ?></span>
                            <a href="<?php echo $c9['url']; ?>">
                                   <?php echo $c9['title']; ?>                           
                            </a>  <small>- <?php echo $c9['zuozhe']; ?></small>
                        </li>
                          <?php } ?>   
                                            </ul>
                </div>
				<!--情感文章结束 叶健制作QQ296490257-->
				<!--情感问答开始 叶健制作QQ296490257-->
               <div class="fp-yejian-cuestion">
                    <h4>
                            情感问答
                    </h4>

                    <ul class="list-unstyled pasado">
                                              <?php $return = $this->_listdata("modelid=6 num=7 catid=$catid"); extract($return); if (is_array($return))  foreach ($return as $key=>$c9) { ?>
                      <li>
                            <span class="text-muted"><?php echo date("Y-m-d", $c9['time']); ?></span>
                            <a href="<?php echo $c9['url']; ?>">
                                   <?php echo $c9['title']; ?>                                                           </a>
                        </li>
                          <?php } ?>  
                                            </ul>
                </div>
               <!--情感问答结束 叶健制作QQ296490257--> 
            </div>
            
        </div>
    </div>
</div>
<!--关于作者开始 叶健制作QQ296490257-->
<div class="fp-yejian-jieshao">
 <?php $this->block(1);?>
</div>
<!--关于作者结束 叶健制作QQ296490257-->
</div>
<!--正文结束 叶健制作QQ296490257-->
<!--页脚开始 叶健制作QQ296490257-->
<?php include $this->_include('footer.html'); ?>

<!--页脚结束 叶健制作QQ296490257-->


</body>

</html>