added admin function: add user
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
require_once 'participoLib/participo.php';
|
||||
|
||||
/** frame for a shiai
|
||||
*/
|
||||
@@ -59,6 +60,8 @@ class Shiai
|
||||
|
||||
public static function loadFromDb(int $id)
|
||||
{
|
||||
$id = filterId($id);
|
||||
|
||||
$query = 'SELECT * FROM `cwsvjudo`.`wettkampfkalender` WHERE `lfdeNr` = :id;';
|
||||
$params = [':id' => ['value' => $id, 'data_type' => PDO::PARAM_INT]];
|
||||
$response = dbConnector::query($query, $params);
|
||||
@@ -88,7 +91,7 @@ class Shiai
|
||||
/**
|
||||
* shiai event as html code for displaying
|
||||
*
|
||||
* @return html formated string
|
||||
* @return html formatted string
|
||||
*/
|
||||
public function getHtml()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user