From 092ebe83208535853d2c34000a766363e02bd9dd Mon Sep 17 00:00:00 2001 From: "Igor Barkov (iwork)" Date: Fri, 3 Jul 2020 19:15:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=BA=D0=BB=D1=8E?= =?UTF-8?q?=D1=87=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BD=D0=B0=20=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D1=83=D1=8E=20=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D1=8E?= =?UTF-8?q?=20star=5Fsign()=20=D0=B8=20=D0=B5=D1=91=20=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=D1=8B=D0=B9=20=D0=B2=D1=8B=D0=B7=D0=BE=D0=B2,=20=D1=83=D0=B4?= =?UTF-8?q?=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D1=82=D0=B0=D1=80?= =?UTF-8?q?=D0=BE=D0=B9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 11 ----------- inf.php | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) 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)): ?> - Родовой знак + Родовой знак