<?php
    
    include("../include/header.php");
?>


<style>
   
   #testimonials ul li:nth-child(1){
        background-color: #eb6a4e;
    }
    
    #testimonials ul li:nth-child(1) a{
       color: #fff;
    }
    #testimonials ul li:nth-child(1) a:hover{
        background-color: #eb6a4e;
    }

</style>
<script>
    window.onload = function() {
        document.getElementById('testimonials').classList.add("active");
        document.getElementById('testimonials1').classList.add("in");
    };

</script>

<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">
            <div id="hbreadcrumb" class="pull-right">
                <ol class="hbreadcrumb breadcrumb">
                    <li><a href="<?php echo $admin_baseurl . 'dashboard.php';?>">Dashboard</a></li>
                    <li class="active">
                        <span>Testimonials</span>
                    </li>
                </ol>
            </div>
            <h2 class="font-light m-b-xs">
                Add Testimonials
            </h2>

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


<div class="content">
    <div class="hpanel">
        <div class="hpanel">
            <div class="panel-heading hbuilt">
                <div class="panel-tools">
                    <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                    <a class="fullscreen"><i class="fa fa-expand"></i></a>
                </div>
                Add New Testimonials
            </div>
            <div class="panel-body">
                <form class="form-horizontal" action="execute.php" method="post" enctype="multipart/form-data">
                    <div class="form-group">
                        
                        <div class="col-md-6">
                            <label class="control-label">Name</label>
                            <input type="text" name="name" class="form-control" placeholder="Enter name" required>
                        </div>
                        
                        

                        <div class="col-md-6">
                            <label class="control-label">User Photo</label>
                            <input class="form-control" type="file" id="file" name="Preview_photo" multiple="multiple" required accept="image/*" />
                        </div>
                        
                        
                         <div class="col-md-12">
                            <label class="control-label">Testimonials</label>
                             <textarea class="form-control" rows="7" cols="50"  name="comment" required></textarea> 
                        </div>
                        
                        <div class="col-md-12">
                            <br>
                            <div class=" text-right">
                                <button type="reset" class="btn btn-default">Cancel</button>
                                <button type="submit" name="add_new_testimonials" class="btn btn-primary">Submit</button>
                            </div>

                        </div>

                    </div>

                </form>
            </div>

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



<br>
<?php 
    include('../include/footer.php');
?>
