<!DOCTYPE HTML>
<html lang="la">
<head>
	<title>Index generalis Civi Romani et Scriptoris Latini – De hoc indice</title>
	<meta name="author" content="Bernd Platzdasch"><!-- 15.9.2015 // 4.11.2018 // 23.8.2020 // 23.3.2021 -->
	<meta charset="UTF-8">
	<script src="js/store.js" type="text/javascript"></script>
	<script src="js/register.js" type="text/javascript"></script>
	<link rel="stylesheet" type="text/css" href="css/main.css">
	<style>	
		table { margin-top: 1em; border-collapse: collapse; margin: 0.5em 0 2em 0; width: 100%; }
		td { border: none; padding: 0.3em; background-color: #fff; }
		td.colored { background-color: #fff; }
		td.li { text-align: left; width: 7em; }
		td.re { border-left: none; }
	</style>
	<?php
		require_once $_SERVER['DOCUMENT_ROOT'] . '/db_connection.php';
		include("php/ini.inc.php");
		//
		$select = "SELECT * FROM cr_sl_namen WHERE Name NOT LIKE '%/%'";
		$res = $db->query($select);
		$anz_nom = $res->num_rows;
		//
		$select = "SELECT * FROM cr_sl";
		$res = $db->query($select);
		$anz_sym = $res->num_rows;
		//
		$select = "SELECT * FROM cr_sl WHERE Uebersetzung = '1'";
		$res = $db->query($select);
		$anz_ver = $res->num_rows;
		//
		$select = "SELECT * FROM cr_sl WHERE Textgattung = 'Censura'";
		$res = $db->query($select);
		$anz_rec = $res->num_rows;
		
		$db->close();
	?>
</head>
<body onload="store_mnu();">
<?php include("header.inc.php"); ?>
	<div class="border">
		<div id="main">
			<h1>De hoc indice</h1>
				<table>
					<tr>
						<td class="colored li">Editio:</td><td class="colored re"><?php echo $update_datum; ?></td>
					</tr>
					<tr>
						<td class="li">Auctor:</td><td class="re"><a href="impressum.php">Bernardus Platzdasch</a></td>
					</tr>
					<tr>
						<td class="colored li">Fasciculi:</td><td class="colored re">108</td>
					</tr>
					<tr>
						<td class="li">Nomina:</td><td class="re"><?php echo $anz_nom?></td>
					</tr>
					<tr>
						<td class="colored li">Symbolae:</td><td class="colored re"><?php echo $anz_sym?></td>
					</tr>
					<tr>
						<td class="colored li">Versiones:</td><td class="colored re"><?php echo $anz_ver?></td>
					</tr>
					<tr>
						<td class="colored li">Censurae:</td><td class="colored re"><?php echo $anz_rec?></td>
					</tr>
				</table>
		</div>
	</div>
<?php include("footer.inc.php"); ?>
</body>
</html>
