public function action_renew() { $id = $_GET['id']; $interval = $_GET['interval']; Card::renew($id, $interval); header('Location: /index.php?act=one&id=' . $id); }