<link rel="stylesheet" href="<?php echo base_url();?>newadminassets/plugins/css/bootstrap-tagsinput.css">
 <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section class="content-header">
                <h1>
                   Add SEO on Pages
                    <small>Add SEO Information to the Pages</small>
                </h1>
                <ol class="breadcrumb">
                    <li><a href="<?php echo base_url();?>"><i class="fa fa-pencil-square-o"></i>Dashboard</a></li>
                    <li class="active">Add SEO</li>
                </ol>
            </section>
            <!-- Main content -->
            <div class="content">
                <div class="container-fluid">
                    <!-- Basic forms -->
                    <div class="row">
                    <h3 class="panel-heading">SEO Information</h3>
                     <?php if($this->session->flashdata("msg")){echo $this->session->flashdata("msg");}?>
                        
                        <div class="col-md-6">
                          <form action="<?php echo base_url();?>admin/add_seo" method="post" enctype="multipart/form-data">
                            <div class="panel">
                               
                                <div class="panel-body">
                                 
                                 		<div class="row">
                                        <label class="col-md-2 label-on-left">Page Name</label>
                                            <div class="col-md-9">
                                                <div class="form-group label-floating is-empty">
                                                    <label class="control-label"></label>
                                           <select class="form-control" name="page"  required>
                                            <option value="">Select Page</option>
                                            <option value="Home" <?php if($this->uri->segment(3)==1){echo "selected";}?>>Home</option>
                                            <option value="Shop" <?php if($this->uri->segment(3)==2){echo "selected";}?>>Shop</option>
                                <option value="Free Vectors" <?php if($this->uri->segment(3)==3){echo "selected";}?>>Free Vectors</option>
                                            <option value="Cart" <?php if($this->uri->segment(3)==4){echo "selected";}?>>Cart</option>
                                            <option value="About" <?php if($this->uri->segment(3)==5){echo "selected";}?>>About</option>
                                            <option value="Contact" <?php if($this->uri->segment(3)==6){echo "selected";}?>>Contact</option>
                                            </select>
                                                </div>
                                            </div>
                                       
                                        </div>
                                        <div class="row">
                                        
                                            <label class="col-md-2 label-on-left">Meta Title</label>
                                            <div class="col-md-9">
                                                <div class="form-group label-floating is-empty">
                                                    <label class="control-label"></label>
                                                    <input type="text" required name="meta_title" class="form-control">
                                                </div>
                                            </div>
                                        </div>
                                         <div class="row">
                                            <label class="col-md-2 label-on-left">Meta Keywords</label>
                                            <div class="col-md-9">
                                                <div class="form-group label-floating is-empty">
                                                    <label class="control-label"></label>
                                                    <textarea class="form-control" rows="2" name="meta_key"></textarea>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <label class="col-md-2 label-on-left">Meta Description</label>
                                            <div class="col-md-9">
                                                <div class="form-group label-floating is-empty">
                                                    <label class="control-label"></label>
                                                    <textarea class="form-control" rows="5" name="meta_desc"></textarea>
                                                </div>
                                            </div>
                                        </div>
                                        <button type="submit" class="btn btn-primary btn-outline">Add Seo</button>
                                   
                                </div>
                            </div>  </form>
                        </div>
                       <div class="col-md-6">  <div class="panel">
                               
                                <div class="panel-body">
                        	<h4>List All Pages Seo Details</h4>
                            <table class="table tabl-condensed">
                            	<thead><tr><th>S.No.</th><th>Page Name</th><th>Title</th><th>Action</th></tr></thead>
                                <tbody>
                                <?php $i=1;foreach($seo as $age){?>
                                	<tr>
                                    <td><?php echo $i;?></td>
                                    <td><?php echo $age->page;?></td>
                                    <td><?php echo $age->meta_title;?><br/><?php echo $age->meta_key;?></td>
                                    <td><a href="<?php echo base_url().'admin/PageSeo/'.$age->id;?>" class="btn btn-xs btn-warning">Edit</a></td>
                                    </tr>
                                <?php $i++;}?>
                                </tbody>
                            </table>
                            </div></div>
                        </div>
                   
                    </div>
                  
                </div>
            </div>
            <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->
        <!-- Main Footer -->
        <footer class="main-footer">
            <!-- To the right -->
           
            <!-- Default to the left -->
            <strong>Copyright &copy; 2017 <a href="#">Vector Khazana</a>.</strong> All rights reserved.
        </footer>
    </div>
    <!-- ./wrapper -->
    <!-- REQUIRED JS SCRIPTS -->
    <script src="<?php echo base_url();?>newadminassets/plugins/js/jquery-3.1.1.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/bootstrap.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/countUp.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/raphael.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/morris.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/material.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/ripples.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/jquery.validate.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/jquery.inputmask.bundle.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/bootstrap-tagsinput.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/select2.full.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/bootstrap-colorpicker.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/moment.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/jquery.bootstrap-wizard.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/bootstrap-datetimepicker.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/markdown.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/to-markdown.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/bootstrap-markdown.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/jquery.bootstrap-wizard.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/jquery.slimscroll.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/summernote/summernote.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/tinymce/tinymce.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/js/form.js"></script>
    <script src="<?php echo base_url();?>newadminassets/js/app.js"></script>
    <!-- Color Switcher -->
    
    
    <!-- END Skin switcher -->
</body>


<!-- Mirrored from www.upplanet.com/bighero/outlay-demo/inc/forms/basic-form.html by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 08 Oct 2017 05:50:54 GMT -->
</html>
