# wpforo/1.3.0/wpf-themes/classic/profile-activity.php

wpForo Forum, version 1.3.0. 20 lines.

- Page: https://pluginprobe.com/plugins/wpforo/1.3.0/code/wpf-themes/classic/profile-activity.php
- Raw: https://pluginprobe.com/plugins/wpforo/1.3.0/raw/wpf-themes/classic/profile-activity.php
- Modified: 2017-05-23T20:25:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpforo/1.3.0/code/wpf-themes/classic/profile-activity.php#L10-L20`.

```php
<?php
	// Exit if accessed directly
	if( !defined( 'ABSPATH' ) ) exit;
?>

<div class="wpforo-activity-content wpfbg-7">
	<?php if(empty($activities)) : ?><p class="wpf-p-error"> <?php wpforo_phrase('No activity found for this member.') ?> </p><?php endif ?>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	   <?php $bg = FALSE; foreach( $activities as $activity ) : ?>
		  <tr<?php echo ( $bg ? ' class="wpfbg-9"' : '' ) ?>>
			<td class="activity-icon"><i class="fa fa-file-text-o fa-1x wpfcl-2"></i></td>
			<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>
			<td class="activity-date"><?php wpforo_date($activity['created']); ?></td>
		  </tr>
		<?php $bg = ( $bg ? FALSE : TRUE ); endforeach ?>
   </table>
   <div class="activity-foot">
        <?php $wpforo->tpl->pagenavi( $paged, $items_count ); ?>
    </div>
</div>
```
