Revize c058c65c
Přidáno uživatelem Ondřej Anděl před téměř 4 roky(ů)
application/changes.php | ||
---|---|---|
1 |
<?php session_start()?> |
|
1 | 2 |
<!doctype html> |
2 |
<?php |
|
3 |
session_start(); |
|
4 |
?> |
|
5 | 3 |
<html > |
6 | 4 |
<head> |
7 | 5 |
<meta charset="utf-8"> |
application/contacts.php | ||
---|---|---|
1 |
<?php |
|
2 |
session_start(); |
|
3 |
?> |
|
4 |
|
|
1 |
<?php session_start()?> |
|
5 | 2 |
<!doctype html> |
6 |
|
|
7 | 3 |
<html > |
8 | 4 |
<head> |
9 | 5 |
<meta charset="utf-8"> |
application/index.php | ||
---|---|---|
1 |
<?php |
|
2 |
session_start(); |
|
3 |
?> |
|
4 |
|
|
1 |
<?php session_start()?> |
|
5 | 2 |
<!doctype html> |
6 |
|
|
7 | 3 |
<html > |
8 | 4 |
<head> |
9 | 5 |
<meta charset="utf-8"> |
application/manual.php | ||
---|---|---|
1 |
<?php |
|
2 |
session_start(); |
|
3 |
?> |
|
4 |
|
|
1 |
<?php session_start()?> |
|
5 | 2 |
<!doctype html> |
6 |
|
|
7 | 3 |
<html > |
8 | 4 |
<head> |
9 | 5 |
<meta charset="utf-8"> |
application/material.php | ||
---|---|---|
1 |
<?php |
|
2 |
session_start(); |
|
3 |
?> |
|
4 |
|
|
1 |
<?php session_start()?> |
|
5 | 2 |
<!doctype html> |
6 |
|
|
7 | 3 |
<html > |
8 | 4 |
<head> |
9 | 5 |
<meta charset="utf-8"> |
application/model/DB.php | ||
---|---|---|
5 | 5 |
private $pdo = null; |
6 | 6 |
private $stmt = null; |
7 | 7 |
function __construct () { |
8 |
ini_set('memory_limit', '1024M'); |
|
8 | 9 |
try { |
9 | 10 |
$this->pdo = new PDO( |
10 | 11 |
"pgsql:host=".DB_HOST.";dbname=".DB_NAME, |
application/search.php | ||
---|---|---|
1 |
<!doctype html> |
|
2 | 1 |
<?php session_start()?> |
2 |
<!doctype html> |
|
3 | 3 |
<html > |
4 | 4 |
<head> |
5 | 5 |
<meta charset="utf-8"> |
application/userManual.php | ||
---|---|---|
1 |
<?php |
|
2 |
session_start(); |
|
3 |
?> |
|
4 |
|
|
1 |
<?php session_start()?> |
|
5 | 2 |
<!doctype html> |
6 |
|
|
7 | 3 |
<html > |
8 | 4 |
<head> |
9 | 5 |
<meta charset="utf-8"> |
application/users.php | ||
---|---|---|
1 |
<?php session_start()?> |
|
1 | 2 |
<!doctype html> |
2 |
<?php |
|
3 |
session_start(); |
|
4 |
?> |
|
5 | 3 |
<html > |
6 | 4 |
<head> |
7 | 5 |
<meta charset="utf-8"> |
application/view/contents/userContent.php | ||
---|---|---|
1 |
<p>Vítejte na stránce správy uživatelů. Pro nápovědu klikněte <a href="userManual.php">zde</a></p> |
|
2 | 1 |
<?php |
3 | 2 |
if (isset($_SESSION['role']) && $_SESSION['role'] == "admin") { |
4 | 3 |
$loggedUserId = $_SESSION['id']; |
... | ... | |
10 | 9 |
</script> |
11 | 10 |
|
12 | 11 |
<div class=\"search-results my-4\"> |
12 |
<p>Vítejte na stránce správy uživatelů. Pro nápovědu klikněte <a href=\"userManual.php\">zde</a></p> |
|
13 | 13 |
<table class=\"table table-striped\"> |
14 | 14 |
<thead> |
15 | 15 |
<tr> |
Také k dispozici: Unified diff
fix: docker-container errors