if (isset($_GET['choice'])) { switch ($_GET['choice']) { case 1.1: albumnotarization(); break; case 1.2: artistnotarization(); break; case 1.3: lastAlbum(); break; case 1.4: lastArtist(); break; case 1.5: lastUser(); break; case 1.51: setActive(); break; case 1.6: lastConnection(); break; } } function albumnotarization() { $db = new DBHandler(); $stmt = $db->query("SELECT n.agreement,c.cause,a.name, ar.name, u.username, n.album, n.user FROM notarizeAlbum n, user u, album a, cause c,artist ar, `release` r WHERE c.id=n.cause and n.album=a.id and ar.id=r.artist and a.id=r.album and u.id=n.user limit 10;"); $data = ""; while ($row = $stmt->fetch(PDO::FETCH_NUM)) {
<?php header('Content-Type: text/html; charset=utf-8'); require_once __DIR__ . '/../models/userRegistration.php'; ?> <a class="close-btn" href="javascript:void(0)" onclick = "document.getElementById('modal-information').style.display='none';document.getElementById('fade').style.display='none'">Закрыть</a> <span>Зарегистрировано пользователей: <?countUsers()?> </span><br> <span>Первый пользователь зарегистрировался: <?firstUser()?> </span><br> <span>Последний пользователь зарегистрировался:<?lastUser()?> </span><br>