
    <!-- Form Examples area start-->
    <div class="form-example-area">
        <div class="container">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <?php
              $success = $this->session->flashdata('success');
               if(isset($success)){  ?>
            <div class="alert alert-success">
              <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
              <?php echo $this->session->flashdata('success');?>
          </div>
          <?php } ?>

          <?php
              $same = $this->session->flashdata('same');
               if(isset($same)){  ?>
            <div class="alert alert-warning">
              <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
              <?php echo $this->session->flashdata('same');?>
          </div>
          <?php } ?>
                    <form action="<?php  echo base_url('admin/Add_marquee/insert'); ?>" method="POST" enctype="multipart/form-data">
                    <div class="form-example-wrap">
                            
                        <div class="cmp-tb-hd">
                            <h2>Add Favicon</h2>
                            <p></p>
                        </div>
                        
                       
                        
                    
                        <div class="form-example-int">
                            <div class="form-group">
                                <label>Marquee Text / Make Any Announcement </label>
                                <div class="nk-int-st">
                                    <?php 
                                            if(isset($data)){
                                                if($data != 0){


                                     ?>
                                    <input type="text" name="text" value="<?php if(isset($data)){echo $data[0]->text;}else{ echo "";} ?>" required="" class="form-control input-sm" placeholder="Image Title">
                                <?php }else{ ?>
                                    <input type="text" name="text"  required="" class="form-control input-sm" placeholder="Marquee Text">
                                <?php } } ?>
                                    
                               </div>
                            </div>
                        </div>
                        
                        
                        
                        <div class="form-example-int mg-t-15">
                            <button class="btn btn-success notika-btn-success" type="submit"><?php if(isset($data)){ ?> UPDATE MARQUEE <?php }else{ ?>ADD MARQUEE <?php } ?></button>
                        </div>
                    </div>
                    </form>
                </div>
            </div>
            
            
        </div>
    </div>
    <!-- Form Examples area End-->
    