<?php include_once('header.php'); ?>

<div class="container">
    <div class="card-deck mb-3 text-center">
        <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pb-2 mt-3 mb-3 border-bottom" style="width: 100%;">
            <h1 class="h2">Add New Program</h1>
            <div class="btn-toolbar mb-2 mb-md-0">
                <div class="btn-group mr-2">
                    <a class="btn btn-sm btn-outline-secondary" href="services.php" id="">View Programs</a>
                </div>
            </div>
        </div>

        <div id="error"></div>

        <!-- new vacancy section -->
        <div id="new-vacancy" style="width: 100%">
            <div class="d-flex justify-content-between flex-wrap flex-md-nowrap  pb-2 mb-3 border-bottom" style="width: 100%; text-align: left;">
                <div class="col-md-12 order-md-2">
                    <?php include_once('sql_statements.php');  ?>
                    <form class="needs-validation" id="" method="post" enctype="multipart/form-data">


                        <input type="hidden" name="create_service">
                        <div class="row">

                            <div class="col-md-4 mb-4">
                                <label for="Password">Cover Image(730x500)</label>
                                <input type="file" class="form-control" id="" name="image" required>

                            </div>
                            <div class="col-md-8 mb-3">
                                <label for="Password">Room Name</label>
                                <input type="text" class="form-control" id="" name="title" required>

                            </div>

                        </div>

                        <div class="row">
                            <div class="col-md-12 mb-3">
                                <label for="Password">Program Details</label><br>
                                <textarea class="form-control" name="details" rows="9"></textarea>
                            </div>
                        </div>

                        <button class="btn btn-primary btn-md" type="reset" name="reset" id="reset" style="float: right;">
                            Clear Form
                        </button>
                        <button class="btn btn-primary btn-md" type="submit" name="create_service" id="create_blog" style="float: right; margin-right: 5px;">
                            Save Program
                        </button>

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

        </div>
        <!-- end new user form -->


    </div>

</div>


<!-- Bootstrap core JavaScript
    ================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script>
    window.jQuery || document.write('<script src="../../js/vendor/jquery-slim.min.js"><\/script>')
</script>
<script src="../../js/vendor/popper.min.js"></script>
<script src="../../js/bootstrap.min.js"></script>
<script src="../../js/vendor/holder.min.js"></script>
<script type="text/javascript" src="../../js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="../../js/validation.min.js"></script>
<script src="../../js/tables/jquery.dataTables.js"></script>
<script src="../../js/tables/dataTables.bootstrap4.js"></script>

<!--  summernote JS
        ============================================ -->
<script src="../../js/summernote/summernote-updated.min.js"></script>
<script src="../../js/summernote/summernote-active.js"></script>

</body>

</html>