Files
cwsvJudo/homepage/redesign2018/markdownExperiment/admin/phpcount/phpcountLog.php
marko 3b76889655 - ein adminBereich
neue Datei:     admin/newsAdmin.php
	neue Datei:     admin/phpcount/phpcountLog.php
- die Originale der Wappen
	neue Datei:     graphiken/cwsvJudoLogoWappen.xcf
	neue Datei:     graphiken/cwsvLogoWappen.xcf
- Entwicklung einer Galerieansicht innerhalb des reDesigns2018
	neue Datei:     yaml/galerie.subNav.yaml
	neue Datei:     md/galerie.md
- Erweiterung des Templates
	geändert:       pandocTemplate/cwsvJudo.html5.pandocTemplate
- zu Testzwecken das Originaltemplate
	neue Datei:     pandocTemplate/html5.pandocTemplate
- redirectFunktion für die Galerien
	neue Datei:     phpLib/cwsvJudo/galleryRedirector.php
2018-06-10 16:35:34 +02:00

30 lines
655 B
PHP

<?php
// getting a dbConnection
try{
$dbConnection = new PDO(
'mysql:host=localhost;dbname=cwsvjudo',
'cwsvjudo',
'Dee4oquu'
);
$nodupesQuery = $dbConnection->prepare(
"SELECT * FROM cwsvjudo.phpcount_nodupes;"
);
$nodupesQuery->execute();
$nodupesList = $nodupesQuery->fetchAll(PDO::FETCH_ASSOC);
}
catch(PDOException $db_error){
die( "Error!: " . $db_error->getMessage() );
}
?>
<html>
<body>
<table>
<tr><th>ids_hash</th><th>time</th></tr>
<?php foreach($nodupesList as $nodupesEntry)
echo( "\t\t\t\t<tr><td>".$nodupesEntry['ids_hash']."</td><td>".date("r", $nodupesEntry['time'])."</tr>" );
?>
</table>
</body>
</html>