<?php
require_once("includes/topo.php");
?>
<script src="tinymce/tinymce.min.js"></script>
<script>
    tinymce.init({
        selector: 'textarea',
        plugins: 'autolink lists link image charmap print preview',
        toolbar: 'undo redo | bold italic | alignleft aligncenter alignright | link image'
    });
</script>

<div class="content-body">
    <div class="container-fluid">
        <div class="page-titles">
            <ol class="breadcrumb">
                <a href="empresas.php" class="btn light btn-dark btn-xs">Voltar</a>
            </ol>
        </div>
        <div class="row">
            <div class="col-xl-12">
                <div class="row">
                    <div class="col-xl-12 col-lg-12">
                        <div class="card">
                            <div class="card-header">
                                <h4 class="card-title">Adicionar novo parceiro</h4>

                            </div>
                            <div class="card-body">
                                <div class="basic-form">
                                    <form action="includes/class_empresas.php?empresas=1" method="post" enctype="multipart/form-data">

                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">Razão Social</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="razao_social" class="form-control" value="" Required>

                                            </div>
                                        </div>
                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">Nome fantasia</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="nome_fantasia" class="form-control" value="" Required>

                                            </div>
                                        </div>
                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">CNPJ</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="cnpj" class="form-control" value="" Required>

                                            </div>
                                        </div>
                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">Endereço</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="endereco" class="form-control" value="">

                                            </div>
                                        </div>
                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">Bairro</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="bairro" class="form-control" value="">

                                            </div>
                                        </div>

                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">Número</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="numero" class="form-control" value="">

                                            </div>
                                        </div>
                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">Estado</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="estado" class="form-control" value="">
                                            </div>
                                        </div>

                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">Cidade</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="cidade" class="form-control" value="">

                                            </div>
                                        </div>
                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">País</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="pais" class="form-control" value="">

                                            </div>
                                        </div>
                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">Telefone</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="telefone" class="form-control" value="">

                                            </div>
                                        </div>
                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">Inscrição estadual</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="inscricao_estadual" class="form-control" value="">

                                            </div>
                                        </div>
                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">Inscrição municipal</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="inscricao_municipal" class="form-control" value="">

                                            </div>
                                        </div>

                                        <div class="mb-3 row">
                                            <label class="col-sm-3 col-form-label">Logo</label>
                                            <div class="col-sm-9">
                                                <input class="form-control" name="logo" type="file" id="formFile" Required>
                                            </div>
                                        </div>






                                        <div class="mb-3 row">
                                            <div class="col-sm-10">
                                                <button type="submit" class="btn btn-primary">Criar empresa</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>



                </div>
            </div>
        </div>
    </div>
</div>

<?php require_once("includes/rodape.php");  ?>