first commit

This commit is contained in:
2026-05-23 21:02:06 +02:00
commit a64306a939
293 changed files with 32012 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' );
}
}
?>