author)) { if ($user === $p->author || $role === 'admin') { echo '
View
  • '; } } else { echo '
    '; } } } ?>