<link rel="stylesheet" href="<?php echo base_url();?>assets/js/validationEngine.jquery.css" type="text/css" />
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/cust_paginition.css" type="text/css" />
<div id="addMagezine">
    <div class="modal-dialog">
        <div class="modal-content">
            <!-- Modal heading -->
            <div class="modal-header">
                <!--  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>-->
                <h3 class="modal-title" align="center">Add New campaign Details</h3>
            </div>
            <!-- // Modal heading END -->
            <!-- Modal body -->
            <div class="modal-body">
                <div class="innerAll">
                    <div class="innerLR">
                        <form class="form-horizontal" role="form" id = "add_magezine" method = "post" action = "" enctype="multipart/form-data">
                            <?php $this->load->view('admin/flashdata_admin'); ?>
                            <div class="form-group mmar">
                                <label  class="col-sm-3 control-label text-center">Name: </label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control validate[required, maxSize[30], custom[onlyLetterNumber]] text-input" placeholder="Campaign Name" maxlength="30" name="campaign_name" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label  class="col-sm-3 control-label text-center">Description: </label>
                                <div class="col-sm-9">
                                    <textarea class="form-control validate[required] text-input"  name="campaign_desc" ></textarea>
                                </div>
                            </div>
                            <div class="form-group mmar">
                                <label  class="col-sm-3 control-label text-center">Location: </label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control validate[required, maxSize[30], custom[onlyLetterNumber]] text-input" placeholder="Campaign Description" maxlength="30" name="campaign_loc" />
                                </div>
                            </div>

                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-4 col-sm-8">
                            <button type="submit" class="btn btn-primary" id ="btnSubmit">Submit</button>
                            <button type="submit" class="btn btn-primary">Cancel</button>
                        </div>
                    </div>
                    </form>
                </div>
            </div>
        </div>
        <!-- // Modal body END -->
    </div>
</div>
</div>
<script src="<?php echo base_url();?>assets/js/main.js" type="text/javascript"></script>
<script src="<?php echo base_url();?>assets/js/jquery.validationEngine-en.js" type="text/javascript"></script>
<script src="<?php echo base_url();?>assets/js/jquery.validationEngine.js" type="text/javascript"></script>


<script>
    $(document).ready(function() {
        $("#add_magezine").validationEngine();
    });
</script>

