<?php include "../../root.class.php";
$html = new html();
$html->add_styles_page();
$db = new db_safeguard();

$name = new input();
$name->class("inputs");
$name->type("text");
$name->placeholder("Name");
$name->name("name");
$name->id("name");
$name->onkeyup("search_equipment()");

?>
<div class="column">
    <div class="banner">
        <div class="row">
            <?php echo $html->selectable_block("add_sample_point.php", "ADD"); ?>
            <div class="search_form">
                <div class="row">
                    <div class="row">
                        <?php $name->add(); ?>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <?php
    $ajax = new js_ajax();
    $ajax->run_on_load();
    $ajax->function_name("search_equipment");
    $ajax->select("product_sample_point");
    $ajax->return_columns(['name']);
    $ajax->redirect("edit_sample_point.php");
    ?>