<label>Unique Id</label> <input class="width-1" type="text" name="file_id" id="file_id" value="<?php echo rgget('file_id'); ?> "> <a href="javascript:search()" name="submit" id="submit" style="cursor:pointer;margin-left:5px;"><i class="fa fa-search fa-lg"></i></a> <a name="reset" id="reset" style="cursor:pointer;margin-left:5px;"><i class="fa fa-refresh fa-lg"></i></a> </form> <br/> <?php $page_index = empty($_GET["paged"]) ? 0 : intval($_GET["paged"]) - 1; $page_size = 10; $first_item_index = $page_index * $page_size; $paging = array('offset' => $first_item_index, 'page_size' => $page_size); $total_count = 0; $total_count = TemplateData::count_doc_entries($form_id, $name, $email, $file_id); $display_total = ceil($total_count / $page_size); $page_links = paginate_links(array('base' => admin_url("admin.php") . "?page=filelist&form_id=" . $form_id . "&name=" . urlencode($name) . "&email=" . $email . "&file_id=" . $file_id . "&%_%", '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/><br/> <table class="widefat fixed" cellspacing="0"> <thead> <tr> <th scope="col" id="cb" class="manage-column column-cb " style="width:5%;text-align:center">S.No</th> <th scope="col" class="manage-column"><?php _e("Person Name", "templatemerge"); ?> </th> <th scope="col" class="manage-column" style="width:20%;"><?php