$searchKey = ""; if (array_key_exists("search", $_REQUEST)) { $searchKey = decodeInput($_REQUEST['search']); } ?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Feedbacks </h1> </section> <?php if ($searchKey != "") { $dataList = $feedbackController->search($searchKey, $offset, $rowsPerPage); } else { $dataList = $feedbackController->getAll($offset, $rowsPerPage); } if ($dataList) { ?> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-header"> <h3 class="box-title">All</h3><i> (<?php if ($dataList) { echo count($dataList); } else {