<?php
    $this->load->view('master/front/header-order');
    
?>


    <!-- <section class="package-headline common-padding">
      <div class="container-fluid">
        <div class="row">
          <div class="col-md-12 col-lg-12">
            <h2>Order Page</h2>           
          </div>
        </div>
      </div>
    </section> -->

    <!--Start Project-->
    <section id="start-project" class="common-padding">
        <div class="container">
            <div class="row common-padding">
                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                    <h3 class="text-center">Let's create<i style="color: #1968a5;"> something great</i> together.</h3>
                </div>
            </div>
            <div class="row common-padding">
                <div class="col-xs-12 col-sm-12 col-md-6 offset-md-3 col-lg-6 offset-lg-3">
                <?php if($this->session->flashdata('success')){ ?>
                    <div class="alert alert-success" role="alert">
                    <?php echo $this->session->flashdata('success'); ?>.
                    </div>
                <?php } ?>
                <?php if($this->session->flashdata('error')){ ?>
                    <div class="alert alert-danger" role="alert">
                    <?php echo $this->session->flashdata('error'); ?>.
                    </div>
                <?php } ?>
                    <form action="<?= site_url('Welcome/sendProject') ?>" method="post">

                        <div class="form-group">
                            <label for="name">Your Name</label>
                            <input type="text" name="name" class="form-control" required>
                        </div>
                        <div class="form-group">
                            <label for="email">Email address: </label>
                            <input type="email" name="email" class="form-control" required>
                        </div>
                        <div class="form-group">
                            <label for="phone">Phone: </label>
                            <input type="text" name="phone" class="form-control" required>
                        </div>

                        <div class="form-group">
                            <label for="address">Address: </label>
                            <textarea name="address" class="form-control" required></textarea>
                        </div>
                        <div class="form-group">
                            <label for="company">Company / Organization Name: </label>
                            <input type="text" name="company" class="form-control">
                        </div>
                        <hr>
                        <h4 class="text-center" style="color: #1968a5;">Type of Project</h4>
                        <div class="radio">
                            <label><input type="radio" value="Website" name="project_type">&nbsp;Website</label>
                        </div>
                        <div class="radio">
                            <label><input type="radio" value="eCommerce" name="project_type">&nbsp;eCommerce</label>
                        </div>
                        <div class="radio">
                            <label><input type="radio" value="Software" name="project_type">&nbsp;Software</label>
                        </div>
                        <hr>
                        <div class="form-group">
                            <label for="about project">Describe the project, requirements and objectives.</label>
                            <textarea class="form-control" name="description" rows="5"></textarea>
                        </div>

                        <button type="submit" class="btn btn-default">submit</button>
                    </form>
                </div>
            </div>
        </div>
    </section>

    <!--End Project-->

<?php
    $this->load->view('master/front/footer');
?>