} if ($pagina->exc_write) { $perms .= "W"; } $perms .= ")"; echo "- " . $pagina->post_title . "{$perms}<br />"; } } else { echo "(no pages)"; } echo "</td><td><a class=\"edit\" href='" . $_SERVER['PHP_SELF'] . "?page=wp-group-restriction/manage_pages&mode=edit&id=" . $result->id . "'>Edit</a></td></tr>"; $i++; } } echo "<tr><td colspan='3'><div style='font-size:1px;border-bottom:1px dashed #999'> </div></td></tr>"; echo "<tr><td>Pages with free access</td><td>"; $paginas = $groups->getGroupFreePages(); if (isset($paginas)) { foreach ($paginas as $pagina) { echo "- " . $pagina->post_title . "<br />"; } } echo "</td><td> </td></tr>"; ?> </table> <?php } ?> </div>