function extra_tablenav($which)
    {
        ?>


		<div class="alignleft actions">
			<form method="GET" action="">
				<input type="hidden" value="<?php 
        echo esc_attr($_REQUEST['page']);
        ?>
" name="page"/>
				<select name="g">
					<option value=""><?php 
        _e('All Groups', 'mainwp');
        ?>
</option>
					<?php 
        $groups = MainWP_DB::Instance()->getGroupsForCurrentUser();
        foreach ($groups as $group) {
            echo '<option value="' . $group->id . '" ' . (isset($_REQUEST['g']) && $_REQUEST['g'] == $group->id ? 'selected' : '') . '>' . stripslashes($group->name) . '</option>';
        }
        ?>
				</select>

				<input type="hidden" value="<?php 
        echo $_REQUEST['page'];
        ?>
" name="page"/>
				<select name="status">
					<option value=""><?php 
        _e('All Statuses', 'mainwp');
        ?>
</option>
					<option value="online" <?php 
        echo isset($_REQUEST['status']) && $_REQUEST['status'] == 'online' ? 'selected' : '';
        ?>
>Online</option>
					<option value="offline" <?php 
        echo isset($_REQUEST['status']) && $_REQUEST['status'] == 'offline' ? 'selected' : '';
        ?>
>Offline</option>
					<option value="disconnected" <?php 
        echo isset($_REQUEST['status']) && $_REQUEST['status'] == 'disconnected' ? 'selected' : '';
        ?>
>Disconnected</option>
					<option value="update" <?php 
        echo isset($_REQUEST['status']) && $_REQUEST['status'] == 'update' ? 'selected' : '';
        ?>
>Available update</option>
				</select>
				<input type="submit" value="<?php 
        _e('Display');
        ?>
" class="button" name="">
			</form>
		</div>

		<div class="alignleft actions">
			<form method="GET" action="">
				<input type="hidden" value="<?php 
        echo $_REQUEST['page'];
        ?>
" name="page"/>
				<input type="text" value="<?php 
        echo isset($_REQUEST['s']) ? esc_attr($_REQUEST['s']) : '';
        ?>
"
					autocompletelist="sites" name="s" class="mainwp_autocomplete"/>
				<datalist id="sites">
					<?php 
        if (MainWP_DB::is_result($this->items)) {
            while ($this->items && ($item = @MainWP_DB::fetch_array($this->items))) {
                echo '<option>' . $item['name'] . '</option>';
            }
            MainWP_DB::data_seek($this->items, 0);
        }
        ?>
				</datalist>
				<input type="submit" value="<?php 
        _e('Search Sites');
        ?>
" class="button" name=""/>
			</form>
		</div>
		<?php 
    }