courses as $row): static $counter; $counter++; ?>
  1. '.htmlentities($row['title']).'' ?> <?php echo _AT('resume'); ?>

all_news); }else{ $perpage = 10; } $newscount = count($this->all_news); $num_pages = (ceil($newscount/$perpage));; $start = ($p-1)*$perpage; $end = ($p*$perpage); print_paginator($page, $num_pages, '', 1); for($i=$start;$i<=$end; $i++){ $count = $i; if (isset($this->all_news)) { //echo mb_strimwidth("Hello World", 0, 10, "..."); echo '
'.'

' .''.'click me'; echo $this->all_news[$i]['thumb'].''; echo '

'; /* * post_title) > 8) echo substr($post->post_title, 0, 8) . ' ...'; else echo $post->post_title; ?> */ echo '
'; echo '
    '; if(isset($this->all_news[$i]['thumb'])){ echo '
  • ' . $this->all_news[$i]['link'].'
  • ' ; if($this->all_news[$i]['object']['course_id']){ echo '
  • '.''.$this->all_news[$i]['course'].')'; } //echo ''.AT_DATE('%F %j, %g:%i',$this->all_news[$i]['time']).'
  • '; } echo '
'; echo '
'; echo '
'; } } if($perpage == count($this->all_news)){ ?>