} ?> <div id="gridcontent" class ="content"> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-header"> <h3 class="box-title">Community List</h3> <a title="Create Community" class="btn btn-default pull-right btn-sm " href="javascript:void(0)" onclick="getcontents('pages/events/updatecommunities.php','content');" > <i class="glyphicon glyphicon-plus-sign"></i>Add new community</a> </div> <div class="box-body"> <div id="example2_wrapper" class="dataTables_wrapper form-inline" role="grid"> <?php $totlaCommunities = $community->getTotalCommunities(null); if ($totlaCommunities > 0) { if ($totlaCommunities >= ($page - 1) * $rows) { include_once CLASSFOLDER . "/catalogs.php"; $catalog = new catalogclass($dbconnection->dbconnector); $catalogArray = $catalog->GetAllCatalogValuesByMasterNames("State,Zone"); $communitylist = $community->getallcommunityLists($page, $rows, null); ?> <table id="communitytable" class="table table-bordered table-hover dataTable" aria-describedby="example2_info"> <thead><tr > <th>Community Id</th> <th>Name</th> <th >States</th> <th >Zones</th> <th >Created On</th>