Sebuahhobi98

resvonsive height column

Jan 20th, 2020
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. <div class="col-sm-6 col-md-6">
  2. <div class="thumbnail">
  3. <?php
  4. if(empty($post_new->userfile)) {echo "<img src='".base_url()."assets/images/no_image_thumb.png' width='400' height='200'>";}
  5. else { echo " <img src='".base_url()."assets/images/berita/".$post_new->userfile.'_thumb'.$post_new->userfile_type."'> ";}
  6. ?>
  7. <div align="right">
  8. <span class="label label-success"><i class="fa fa-tag"></i> <?php echo $post_new->kategori ?></span>
  9. <span class="label label-warning"><i class="fa fa-user"></i> <?php echo $post_new->author ?></span>
  10. <span class="label label-info"><i class="fa fa-clock-o"></i> <?php echo $post_new->time_upload ?></span>
  11. </div>
  12. <div class="caption">
  13. <h4><a href="<?php echo base_url("berita/read/$post_new->judul_seo ") ?>"><?php echo $post_new->judul_berita ?></a></h4>
  14. <?php echo $caption ?>
  15. </div>
  16. <p align="right">
  17. <a href="<?php echo base_url("berita/read/$post_new->judul_seo ") ?>">
  18. <button type="button" class="btn-sm btn-primary">
  19. Selengkapnya <i class="fa fa-arrow-circle-right"></i>
  20. </button>
  21. </a>
  22. </p>
  23. </div>
  24. </div>
Add Comment
Please, Sign In to add comment