<h2><?php _e("TemplateMerge Tag Mapping", "templatemerge"); ?> <a class="button add-new-h2" href="admin.php?page=parsefield&view=edit&id=0"><?php _e("Add New", "templatemerge"); ?> </a> </h2> <?php $page_index = empty($_GET["paged"]) ? 0 : intval($_GET["paged"]) - 1; $page_size = 20; $first_item_index = $page_index * $page_size; $paging = array('offset' => $first_item_index, 'page_size' => $page_size); $total_count = 0; $total_count = TemplateData::count_from_entries(); $display_total = ceil($total_count / $page_size); $page_links = paginate_links(array('base' => admin_url("admin.php") . "?page=parsefield&%_%", 'format' => 'paged=%#%', 'prev_text' => __('«', 'gravityforms'), 'next_text' => __('»', 'gravityforms'), 'total' => $display_total, 'current' => $page_index + 1, 'show_all' => false)); echo self::display_paging_links("header", $page_links, $first_item_index, $page_size, $total_count); ?> <br/><br/> <table class="widefat fixed" style="width:70%!important" cellspacing="0"> <thead> <tr> <th scope="col" id="cb" class="manage-column column-cb " style="width:20%;text-align:center">S.No</th> <th scope="col" class="manage-column"><?php _e("Form", "templatemerge"); ?> </th>