EVOLUTION-NINJA
Edit File: reg_abp_view.php
<?php echo $this->load->view('includes/region_header');?> <div id="page-wrapper"> <div class="container-fluid"> <!-- Page Heading --> <div class="row"> <div class="col-lg-12"> <!-- <h1 class="page-header"> Dashboard <small>Statistics Overview</small> </h1> <ol class="breadcrumb"> <li class="active"> <i class="fa fa-user" aria-hidden="true"></i> Manage Users </li> </ol>--> </div> </div> <!-- /.row --> <div class="row"> <!-- <section class="row">--> <!-- <div class="col-sm-8">--> <!-- <h1 style="margin-left: 15%">--> <!-- ABP --> <!-- </h1> --> <!-- </div>--> <!-- <div class="col-sm-2"></div>--> <!-- </section>--> <!-- <input type="hidden" id="demo"/>--> <!--<div class="row">--> <!-- <div class="col-sm-12">--> <!-- <div id = "jaytab" style="width: 1000px; margin-top:3%;margin-left:5%;">--> <!-- <p>Last Updated Date and Time is : <?php if(empty($time)) { echo "Data not found"; }else{ echo $time->createdate; } ?></p>--> <!-- <table id="list2"></table>--> <!-- <div id="pager2"></div>--> <!-- <div id="dialogSelectRow" title="Warning" style="display:none">--> <!-- <p>Please select row</p>--> <!-- </div> --> <!-- </div>--> <!-- </div> --> <!-- </div>--> <section class="admin_heading"> <div class="col-sm-12"> <h3>ABP</h3> </div> <input type="hidden" id="demo"/> <div class="col-sm-12"> <div id = "jaytab" style="width: 100%; margin-top:1%;"> <p>Last Updated Date and Time is : <?php if(empty($time)) { echo "Data not found"; }else{ echo $time->createdate; } ?></p> <table id="list2"></table> <div id="pager2"></div> <div id="dialogSelectRow" title="Warning" style="display:none"> <p>Please select row</p> </div> </div> </div> </section> <?php $ci =& get_instance(); $base_url = base_url(); ?> <!-- /.row end--> </div> <!-- /.container-fluid --> </div> <!-- /#page-wrapper --> <!-- /#wrapper --> <!-- jQuery <script src="<?php echo base_url('admin_assets/js/jquery.js');?>"></script> <!-- Bootstrap Core JavaScript <script src="<?php echo base_url('admin_assets/js/bootstrap.min.js');?>"></script> <!-- Morris Charts JavaScript <script src="<?php echo base_url('admin_assets/js/plugins/morris/raphael.min.js');?>"></script> <script src="<?php echo base_url('admin_assets/js/plugins/morris/morris.min.js');?>"></script> <script src="<?php echo base_url('admin_assets/js/plugins/morris/morris-data.js');?>"></script>--> <?php echo $this->load->view('includes/region_footer');?> <script> $(document).ready(function (){ //var l=$("#loc").val(); //alert(l); jQuery("#list2").jqGrid({ url:"<?php echo site_url('controller/reg_abp_view_insert');?>", mtype : "post", datatype: "json", colNames:['Id','UID','Company Name','Address','City','State','Pin','Landline','Mobile','Alt-Mobile','Email','Alt-Email','Password','PAN','TIN','Attachments'], colModel:[ {name:'id',index:'id', width:150, align:'center',key:true,editable:true,hidden:true}, {name:'uid', index:'uid', align:'center',editable:true, width:150}, // {name:'role', index:'role', width:150, align:'center', sortable:false,editable:true,edittype:'text'}, {name:'company_name', index:'company_name', width:200, align:'center',editable:true,edittype:'text'}, {name:'address', index:'address', width:150, align:'center', sortable:false,editable:true,edittype:'text'}, {name:'city', index:'city', width:150, align:'center', sortable:false,editable:true,edittype:'text'}, {name:'state', index:'state', width:150, align:'center', sortable:false,editable:true,edittype:'text'}, {name:'pin', index:'pin', width:100, align:'center', sortable:false,editable:true,edittype:'text'}, {name:'landline', index:'landline', width:150, align:'center', sortable:false,editable:true,edittype:'text'}, {name:'mobile', index:'mobile', width:150, align:'center', sortable:false,editable:true,edittype:'text'}, {name:'alt_mobile', index:'alt_mobile', width:150, align:'center', sortable:false,editable:true,edittype:'text',hidden:true}, {name:'email', index:'email', width:150, align:'center', sortable:false,editable:true,edittype:'text'}, {name:'alt_email', index:'alt_email', width:150, align:'center', sortable:false,editable:true,edittype:'text',hidden:true}, {name:'password', index:'password', width:150, align:'center', sortable:false,editable:true,edittype:'text'}, {name:'pan', index:'pan', width:150, align:'center', sortable:false,editable:true,edittype:'text'}, {name:'tin', index:'tin', width:150, align:'center', sortable:false,editable:true,edittype:'text',hidden:true}, {name:'attachments', index:'attachments', width:150, align:'center', sortable:false,editable:true,edittype:'text',hidden:true} ], rowNum:50, rowTotal: 2000, rowList : [50,100,500,1000], rownumbers: true, rownumWidth: 40, pager:"#pager2", sortname:'id', viewrecords: true, loadonce:true, gridview: true, autowidth: true, sortorder:"desc", caption:"ABP" }); $("#list2").jqGrid('filterToolbar',{searchOperators : false});//for multisearch code,remove if not required }); </script> <!-- Bootstrap Core JavaScript --> <script src="<?php echo base_url('admin_assets/js/bootstrap.min.js');?>"></script> <script src="<?php echo base_url('admin_assets/js/plugins/morris/raphael.min.js');?>"></script> <script src="<?php echo base_url('admin_assets/js/plugins/morris/morris.min.js');?>"></script> <script src="<?php echo base_url('admin_assets/js/plugins/morris/morris-data.js');?>"></script>