-if (isset($_POST['year'])) {
- $year = $_POST['year'];
-}
-elseif (isset($_GET['year'])) {
- $year = $_GET['year'];
-}
-if (isset($_POST['month'])) {
- $month = $_POST['month'];
-}
-elseif (isset($_GET['month'])) {
- $month = $_GET['month'];
-}
-if (isset($_POST['day'])) {
- $day = $_POST['day'];
-}
-elseif (isset($_GET['day'])) {
- $day = $_GET['day'];
-}
-if (isset($_POST['hour'])) {
- $hour = $_POST['hour'];
-}
-elseif (isset($_GET['hour'])) {
- $hour = $_GET['hour'];