<?php
include "../../root.class.php";
$html = new html();
$html->add_styles_page();


?>

<div class="search_form">
    <h1> SEARCH MENUS</h1>
    <?php echo $html->input_html("name", "", "name", "name");
    echo $html->select_html_from_db('restorants', 'record_id', 'name', "company_id = {$_SESSION['company_id']}", "restorant_id", "restorant_id");

    echo $html->submit_btn('submit', 'SEARCH', 'search_menus()'); ?>

</div>

<?php echo $html->html_form_ajax("search_menus", "SELECT", "menu", '', false, ['name', 'restorant_id'], "edit_menu.php"); ?>