Exemple #1
0
$status = "";
if (array_key_exists("mark", $_REQUEST)) {
    $status = decodeInput($_REQUEST['mark']);
}
?>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        Contributions
      </h1>
    </section>
    <?php 
if ($searchKey != "") {
    $dataList = $contributionController->search($searchKey, $offset, $rowsPerPage);
} else {
    if ($status == "") {
        $dataList = $contributionController->getAll($offset, $rowsPerPage);
    } else {
        $dataList = $contributionController->getByStatus($status, $offset, $rowsPerPage);
    }
}
if ($dataList) {
    ?>

    <!-- Main content -->
    <section class="content">
      <div class="row">
        <div class="col-xs-12">
          <div class="box">