PluginProbe
wpForo Forum / 1.3.1
wpForo Forum v1.3.1
3.1.5 3.1.4 3.1.2 3.1.1 3.1.0 3.0.9 3.0.8 3.0.7 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.2 All 137 releases
wpforo / wpf-themes / classic / profile-activity.php

profile-activity.php in wpForo Forum 1.3.1, at wpf-themes/classic/profile-activity.php

20 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // Exit if accessed directly
3 if( !defined( 'ABSPATH' ) ) exit;
4 ?>
5
6 <div class="wpforo-activity-content wpfbg-7">
7 <?php if(empty($activities)) : ?><p class="wpf-p-error"> <?php wpforo_phrase('No activity found for this member.') ?> </p><?php endif ?>
8 <table width="100%" border="0" cellspacing="0" cellpadding="0">
9 <?php $bg = FALSE; foreach( $activities as $activity ) : ?>
10 <tr<?php echo ( $bg ? ' class="wpfbg-9"' : '' ) ?>>
11 <td class="activity-icon"><i class="fa fa-file-text-o fa-1x wpfcl-2"></i></td>
12 <td class="activity-title"><?php echo ( $activity['is_first_post'] ? '<a href="' . esc_url($wpforo->topic->get_topic_url($activity['topicid'])) . '">' . wpforo_text( $activity['title'], 60, FALSE ) . '</a>' : '<a href="' . esc_url($wpforo->post->get_post_url($activity['postid'])) . '">' . wpforo_text( $activity['body'], 60, FALSE ) . '</a>' ) ?></td>
13 <td class="activity-date"><?php wpforo_date($activity['created']); ?></td>
14 </tr>
15 <?php $bg = ( $bg ? FALSE : TRUE ); endforeach ?>
16 </table>
17 <div class="activity-foot">
18 <?php $wpforo->tpl->pagenavi( $paged, $items_count ); ?>
19 </div>
20 </div>