add template files and compose file, fix syntax errors in template

This commit is contained in:
boris committed 2024-11-21 12:33:19 +00:00
1 parent f9d57038bf
commit b64c6d835e
55 files changed
+16384 -7288

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
<?php
class UserData {
protected $_id, $_username, $_name, $_password, $_usertype;
public function __construct($dbRow) {
$this->_id = $dbRow['_id'];
$this->_username = $dbRow['username'];
$this->_name = $dbRow['name'];
$this->_password = $dbRow['password'];
$this->_usertype = $dbRow['usertype'];
}
public function getId() {
return $this->_id;
}
public function getUsername() {
return $this->_username;
}
public function getName() {
return $this->_name;
}
}