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}