first commit

This commit is contained in:
2025-06-26 22:58:38 +02:00
commit 6a43f12753
674 changed files with 31666 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace admin\view;
class Users
{
public static function login_form()
{
$tpl = new \Tpl;
return $tpl -> render( 'site/unlogged-layout' );
}
public static function users_list()
{
$tpl = new \Tpl;
return $tpl -> render( 'users/users-list' );
}
public static function user_edit( $user, $privileges )
{
$tpl = new \Tpl;
$tpl -> user = $user;
$tpl -> privileges = $privileges;
return $tpl -> render( 'users/user-edit' );
}
}
?>