*/
?>

<!-- This file should primarily consist of HTML with a little bit of PHP. -->
<?php 
if (isset($_GET['save'])) {
    echo "<p class='notify'>" . $_GET['save'] . "</p>";
    //echo PLUGIN_PATH;
}
require_once PLUGIN_PATH . 'includes/My-slider-table.php';
$slider = new My_slider();
?>
<h2>Setting images in slider</h2>
<div class="my-block">
	<?php 
$res = $slider->find_all();
//var_dump($res);
?>
	 <table class="wp-list-table widefat fixed striped">
	 	<caption><h3>List sliders.</h3></caption>
	 	<thead>
	 		<tr>
	 			<th>Id</th>
	 			<th>Name</th>
	 			<th>Status</th>
	 			<th>Action</th>
	 		</tr>
	 	</thead>
	 	<tbody>
	 		<?php 
foreach ($res as $result) {