<td class="ta_r"> <a href="/admin/?page=products&action=edit&id=<?php echo $product['id']; ?> ">Edit</a> </td> </tr> <?php } ?> </table> <?php echo $objPaging->getPaging(); ?> <?php } else { echo '<p>' . $empty . '</p>'; } ?> <?php require_once 'template/_footer.php'; ?>
if ($this->admin['access'] != 1) { Helper::redirect('/panel/content/c/pages/a/index'); } $objForm = new Form($this->objUrl); $objForm->post2Url('srch'); $search = $this->objUrl->get('srch'); $search = urldecode(stripslashes($search)); if (!empty($search)) { $admins = $this->objAdmin->getAll(array('first_name' => $search, 'last_name' => $search)); } else { $admins = $this->objAdmin->getAll(); } $objPaging = new Paging($this->objUrl, $this->objLanguage, $admins, 10); $admins = $objPaging->getRecords(); $paging = $objPaging->getPaging(); require_once 'header.php'; ?> <h1><?php echo $this->objLanguage->labels[85]; ?> </h1> <form method="post" id="search"> <table class="tbl_repeat"> <tr> <th> <input type="text" name="srch" id="srch" class="table-field fll mrr4" value="<?php