PHP Classes
elePHPant
Icontem

File: application/views/admin/default/footer.php

Recommend this page to a friend!
  Classes of harold rita  >  PHP Thesis Proposal Hub  >  application/views/admin/default/footer.php  >  Download  
File: application/views/admin/default/footer.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Thesis Proposal Hub
Store and publish research thesis documents
Author: By
Last change:
Date: 1 year ago
Size: 4,471 bytes
 

 

Contents

Class file image Download

      
<div class="row">
    <!-- Modal -->
    <div id="readinfo" class="modal fade" role="dialog">
        <div class="modal-dialog">

            <!-- Modal content-->
            <div class="modal-content">
                <div class="modal-header login-header">

                    <h4 class="modal-title"></h4>
                </div>
                <div class="modal-body">

                    </div>
                <div class="modal-footer">
                    <button type="button" class="cancel" data-dismiss="modal">Close</button>
                    <button type="button" class="add-project" data-dismiss="modal">Edit</button>
                </div>
            </div>

        </div>
    </div>
</div>
                    </div>
            <!-- /.content-area -->
                </div>

            </div>
            <!-- /.row -->

   
        </div>
        <!-- /.container-fluid -->
    </div>
    <!-- /#page-wrapper -->
</div><!-- /#wrapper -->
<?php
if($this->uri->segment(3)) {
   
$segment = $this->uri->segment(3);
}else{
   
$segment = '';
}
//echo $segment;
?>
<script type="text/javascript">
   
    $(function(){
        $('#txtsearch').on('keyup',function(){
           
            var searchh = $('#txtsearch').val();
            var data = "txtsearch=" + searchh;
            $('#searchoutput').html('');
            if(searchh.length < 2){
                return false;
            }
                    $.ajax({
                        type: 'post',
                        url: '<?=site_url("post/searchee").'/'.$segment;?>',
                        data: data,
                        success: function(response){
                            console.clear();
                            console.log(response);
                            //alert(response);
                            if(response.length <= 0){
                            $('#searchoutput').html("<div class='alert alert-danger'>No result.</div>");
                            return false;

                            }
                            $('#searchoutput').html(response);



                        }
                    });
            return false;
        });


        $('#frmsearch').on('submit',function(e){
            var searchh = $('#txtsearch').val();
            var data = "txtsearch=" + searchh;
            $('#searchoutput').html('');
            if(searchh.length < 2){
                return false;
            }
                    $.ajax({
                        type: 'post',
                        url: '<?=site_url("post/searchee").'/'.$segment;?>',
                        data: data,
                        success: function(response){
                            console.clear();
                            console.log(response);
                            //alert(response);
                            if(response.length <= 0){
                            $('#searchoutput').html("<div class='alert alert-danger'>No result.</div>");
                            return false;

                            }
                            $('#searchoutput').html(response);



                        }
                    });
            return false;
        });
    });
</script>
<?php
        $this
->pagecounter->run_counter('page');
?>
</body>
</html>


<script type="text/javascript">

var isLookBehindSupported = false;
try { isLookBehindSupported = !!new RegExp("(?<=)"); } catch (e) {
/*In unsupported browsers, trying to create a lookbehind expression will simply error will simply error, which is caught here*/
}
if (isLookBehindSupported) {
    // Yay, lookbehind expressions are supported
    // alert('Yay, lookbehind expressions are supported');
    if (navigator.userAgent.indexOf("Chrome") !== -1){
    // YES, the user is suspected to support look-behind regexps
    } else {
     /*put your old fall back code here*/
    //alert('Some feature may not work properly. Please used Chrome Version 50 to 63');
    $('.side-body').prepend('<div class="col-md-12><div><br /><p class="alert alert-warning" style="color:red;background:#fff;padding:2px;font-size:11px;">Seems like you are not using google chrome browser. Some feature may not work properly. Please used Chrome Version 63 <i>(it may also work in Chrome Version 50 or later)</i> and javascript must be enable.</p></div></div>');
    }
} else {
    // Booo! Lookbehind not supported

    $('.side-body').prepend('<div class="col-md-12><div><br /><p class="alert alert-warning" style="color:red;background:#fff;padding:2px;font-size:11px;">Seems like you are not using google chrome browser. Some feature may not work properly. Please used Chrome Version 63 <i>(it may also work in Chrome Version 50 or later)</i> and javascript must be enable.</p></div></div>');
}
</script>