# patchstack/2.2.3/includes/views/pages/multisite-table.php

Patchstack – WordPress &amp; Plugins Security, version 2.2.3. 33 lines.

- Page: https://pluginprobe.com/plugins/patchstack/2.2.3/code/includes/views/pages/multisite-table.php
- Raw: https://pluginprobe.com/plugins/patchstack/2.2.3/raw/includes/views/pages/multisite-table.php
- Modified: 2023-11-13T09:50:44+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/patchstack/2.2.3/code/includes/views/pages/multisite-table.php#L10-L20`.

```php
<?php

// Do not allow the file to be called directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// Output the form and table.
require_once dirname( __FILE__ ) . '/../../admin/multisite-table.php';
?>
<div class="patchstack-font">
	<?php
		if ( isset( $_GET['success'], $_GET['site'] ) && ctype_digit( $_GET['site'] ) ) {
			$site = get_site( $_GET['site'] );
			echo '<div class="notice notice-success inline" style="margin: 20px 0 0 0;"><p><strong>The database migration has been re-run for the site: ' . esc_url( $site->siteurl ) . '</strong></p></div>';
		}
	?>
	<form method="GET" style="display: table;">
		<div class="wrap">
			<h2>Available Sites</h2>
		</div>
		<input type="hidden" name="page" value="<?php echo esc_attr( $_REQUEST['page'] ); ?>" />
		<?php
			$table = new Patchstack_Network_Sites_Table();
			$table->prepare_items();
			$table->search_box( 'Search', 'search' );
		?>
	</form>
	<?php
		$table->display();
	?>
</div>

```
