Guest User

Untitled

a guest
Oct 18th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <?php
  2. class td_module_mx4 extends td_module {
  3. function __construct($post) {
  4. //run the parrent constructor
  5. parent::__construct($post);
  6. }
  7.  
  8. function render() {
  9. ob_start();
  10. ?>
  11.  
  12. <div class="<?php echo $this->get_module_classes();?>">
  13. <div class="td-module-image">
  14. <?php echo $this->get_image('td_218x150');?>
  15. <span class="td-author-date">
  16. <?php echo $this->get_author();?>
  17. </span>
  18. </div>
  19.  
  20. <?php echo $this->get_title(); ?>
  21.  
  22. </div>
  23.  
  24. <?php
  25. return ob_get_clean();
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment