diff --git a/functions.php b/functions.php index 2e94981..a27fe7b 100644 --- a/functions.php +++ b/functions.php @@ -1987,17 +1987,6 @@ function addlog($id, $log) unset($id, $log); } -//function star_sign($month, $day) -//{ -// if (empty($month) || empty($day)) { -// $month = (int)sprintf("%02d", mt_rand(1, 12)); -// $day = (int)sprintf("%02d", mt_rand(1, 29)); -// } -// $signs = ["10", "11", "12", "01", "02", "03", "04", "05", "06", "07", "08", "09"]; -// $signsstart = ['01' => 21, '02' => 20, '03' => 20, '04' => 20, '05' => 20, '06' => 20, '07' => 21, '08' => 22, '09' => 23, '10' => 23, '11' => 23, '12' => 23]; -// return $day < $signsstart[$month + 1] ? $signs[$month - 1] : $signs[$month % 12]; -//} - function star_sign($date) { /* diff --git a/inf.php b/inf.php index 515c816..5054569 100644 --- a/inf.php +++ b/inf.php @@ -64,7 +64,7 @@ if (empty($user->id)): ?> - Родовой знак + Родовой знак