<?php
require_once __DIR__.'/../includes/functions.php';
require_admin();
$tab = 'review';
if (isset($_GET['status']) && in_array((string)$_GET['status'], ['approved','paid','rejected'], true)) { $tab = 'history'; }
redirect('payment-center.php?tab='.$tab);
