Authored by whb

修改detail,不在新页面打开

[mysql]
yohood.username = yohodb
yohood.password = yohonj_9646_mysql
pre_yohood.username = yohodb
pre_yohood.password = yohonj_9646_mysql
pre_yohood.writers = 10.170.183.158:5510
pre_yohood.readers = 10.170.183.158:5510
... ...
... ... @@ -14,7 +14,7 @@
<ul>
<?php foreach($this->view->news as $val):?>
<li>
<a class="clearfix" href="<?php echo url('news/detail',array('id' => $val['id']))?>" target="_blank">
<a class="clearfix" href="<?php echo url('news/detail',array('id' => $val['id']))?>">
<div class="image-box">
<img src="<?php echo Lib_Images::getImageUrl($val['thumb'],'source','fragmentimg');?>" alt="">
</div>
... ...
... ... @@ -55,7 +55,7 @@
<ul>
<?php foreach($this->view->news as $news):?>
<li>
<a class="clearfix" href="/news/detail/id/<?php echo $news['id'];?>" target="_blank">
<a class="clearfix" href="/news/detail/id/<?php echo $news['id'];?>">
<div class="image-box">
<img src="<?php echo Lib_Images::getImageUrl($news['thumb'], 'source','fragmentimg');?>" alt="">
</div>
... ...
... ... @@ -21,7 +21,7 @@ else
?>
<div class="layout-item tiled">
<div class="image-box">
<a href="<?php echo url('news/detail' ,array('id' => $news['id']))?>" title="<?php echo $news['title'];?>" target="_blank">
<a href="<?php echo url('news/detail' ,array('id' => $news['id']))?>" title="<?php echo $news['title'];?>">
<img src="<?php echo $thumb;?>" alt="" style="">
<?php if(trim($news['tag']) == '视频'):?>
<i class="play-icon"></i>
... ...