From 10d53cb144850408419c6c191c983aa7c33951dc Mon Sep 17 00:00:00 2001 From: RomanGolienko Date: Mon, 25 Nov 2024 14:26:54 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B0=20=D0=BB=D0=BE=D0=B3=D0=B8=D0=BA=D0=B0=20=D0=BE=D1=82?= =?UTF-8?q?=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D1=8F,=20?= =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=20=D0=B2=D0=BE?= =?UTF-8?q?=D0=BE=D0=B4=20=D0=B4=D0=B0=D1=82=D1=8B=20=D0=B2=20=D0=B2=D0=B8?= =?UTF-8?q?=D0=B4=D0=B5=20=D0=BA=D0=B0=D0=BB=D0=B5=D0=BD=D0=B4=D0=B0=D1=80?= =?UTF-8?q?=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tpl/main_page.html | 151 +++++++++++++++++++++++++-------------------- 1 file changed, 84 insertions(+), 67 deletions(-) diff --git a/tpl/main_page.html b/tpl/main_page.html index 240b987..10ab9ba 100644 --- a/tpl/main_page.html +++ b/tpl/main_page.html @@ -29,86 +29,103 @@ {if $des == 'show'} Вернуться
-
+
-

Посещение группы {$groupName}

+

Посещение группы {$groupName}

-
- -
- {foreach from=$actionResult.info key=key item=day} -
-
- {foreach from=$day key=key item=class} - {if $key != 0} - +
+

+ ({$actionResult.day_name}) + {if isset($smarty.post.date_request)} + {$smarty.post.date_request} + {else} + {$currentTime.date} + Сегодня! + {/if} + +

+ {foreach from=$actionResult.day_info key=key item=class} + {if $key != 0} +
+ + + + + + + +

{$class.time1}

+ +
+
+
+ + + + + + + + + - - - - + {foreach from=$actionResult.students.students key=key item=student} + + + + + + + {/foreach} -
NoФИОПрисутствиеПримечание

{$class.time1}

- -
-
- - - - - - - - - - - - {foreach from=$actionResult.students.students key=key item=student} - - - - - - - {/foreach} - -
NoФИОПрисутствиеПримечание
{$key}{$student} - - - - - - - -
- - -
-
- -
{$key}{$student} + + + + + + + +
- {/if} - {/foreach} -
+ +
- {/foreach} -
+ + +
+ {/if} + {/foreach}
+
+
+
+

Календарь посещений группы {$groupName}

+ +
+
+
+ + + +
+
+
+
{else}