From 19c0440622531c6f2803b60a241c0d227e53ea4d Mon Sep 17 00:00:00 2001 From: RomanGolienko Date: Fri, 17 Jan 2025 14:14:08 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BE=D0=B3=D1=80=D0=B0=D0=BD=D0=B8=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=BE=20=D0=B4=D0=B0=D1=82=D0=B0?= =?UTF-8?q?=D0=BC=20=D0=B8=20=D0=B2=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=B8=20?= =?UTF-8?q?=D0=BF=D0=B0=D1=80=D1=8B=20=D0=B4=D0=BB=D1=8F=20=D0=B2=D1=8B?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BF?= =?UTF-8?q?=D0=BE=D1=81=D0=B5=D1=89=D0=B0=D0=B5=D0=BC=D0=BE=D1=81=D1=82?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tpl/main_page.html | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/tpl/main_page.html b/tpl/main_page.html index 5a49a1f..3ecab00 100644 --- a/tpl/main_page.html +++ b/tpl/main_page.html @@ -93,9 +93,18 @@
{$class.time_name.0} - {$class.time_name.1}
- + {if $key > $currentTime.time1 AND ! isset($smarty.post.date_request) } +
{$class.predmet} - еще не наступил!
+ {else if $key > $currentTime.time1 AND $smarty.post.date_request == $currentTime.date} + + {else} + + {/if} +
@@ -115,7 +124,7 @@ - + @@ -134,11 +143,11 @@
- +
{if $currentUserInfo.role != 'student'}
- +
{/if}