修改detail,不在新页面打开
Showing
4 changed files
with
5 additions
and
6 deletions
1 | [mysql] | 1 | [mysql] |
2 | - | ||
3 | -yohood.username = yohodb | ||
4 | -yohood.password = yohonj_9646_mysql | 2 | +pre_yohood.username = yohodb |
3 | +pre_yohood.password = yohonj_9646_mysql | ||
5 | pre_yohood.writers = 10.170.183.158:5510 | 4 | pre_yohood.writers = 10.170.183.158:5510 |
6 | pre_yohood.readers = 10.170.183.158:5510 | 5 | pre_yohood.readers = 10.170.183.158:5510 |
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | <ul> | 14 | <ul> |
15 | <?php foreach($this->view->news as $val):?> | 15 | <?php foreach($this->view->news as $val):?> |
16 | <li> | 16 | <li> |
17 | - <a class="clearfix" href="<?php echo url('news/detail',array('id' => $val['id']))?>" target="_blank"> | 17 | + <a class="clearfix" href="<?php echo url('news/detail',array('id' => $val['id']))?>"> |
18 | <div class="image-box"> | 18 | <div class="image-box"> |
19 | <img src="<?php echo Lib_Images::getImageUrl($val['thumb'],'source','fragmentimg');?>" alt=""> | 19 | <img src="<?php echo Lib_Images::getImageUrl($val['thumb'],'source','fragmentimg');?>" alt=""> |
20 | </div> | 20 | </div> |
@@ -55,7 +55,7 @@ | @@ -55,7 +55,7 @@ | ||
55 | <ul> | 55 | <ul> |
56 | <?php foreach($this->view->news as $news):?> | 56 | <?php foreach($this->view->news as $news):?> |
57 | <li> | 57 | <li> |
58 | - <a class="clearfix" href="/news/detail/id/<?php echo $news['id'];?>" target="_blank"> | 58 | + <a class="clearfix" href="/news/detail/id/<?php echo $news['id'];?>"> |
59 | <div class="image-box"> | 59 | <div class="image-box"> |
60 | <img src="<?php echo Lib_Images::getImageUrl($news['thumb'], 'source','fragmentimg');?>" alt=""> | 60 | <img src="<?php echo Lib_Images::getImageUrl($news['thumb'], 'source','fragmentimg');?>" alt=""> |
61 | </div> | 61 | </div> |
@@ -21,7 +21,7 @@ else | @@ -21,7 +21,7 @@ else | ||
21 | ?> | 21 | ?> |
22 | <div class="layout-item tiled"> | 22 | <div class="layout-item tiled"> |
23 | <div class="image-box"> | 23 | <div class="image-box"> |
24 | - <a href="<?php echo url('news/detail' ,array('id' => $news['id']))?>" title="<?php echo $news['title'];?>" target="_blank"> | 24 | + <a href="<?php echo url('news/detail' ,array('id' => $news['id']))?>" title="<?php echo $news['title'];?>"> |
25 | <img src="<?php echo $thumb;?>" alt="" style=""> | 25 | <img src="<?php echo $thumb;?>" alt="" style=""> |
26 | <?php if(trim($news['tag']) == '视频'):?> | 26 | <?php if(trim($news['tag']) == '视频'):?> |
27 | <i class="play-icon"></i> | 27 | <i class="play-icon"></i> |
-
Please register or login to post a comment